Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL, edgeURL, and labelURL support #106

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 17, 2020

  1. URL, edgeURL, and labelURL support

    `edgeURL` and `labelURL` are technically already supported via the `**attrs` Dict in `Edge`'s initializer.
    
    I added a named parameter to `Node` to accept [`URL`](https://www.graphviz.org/doc/info/attrs.html#a:URL).
    
    SVG output natively supports links in the diagram. Links can also be added to jpg and png using `cmapx` which I added to the output types.
    
    To use cmapx you will need to run the diagram generation twice. Once for the png and once for the cmapx file.
    
    I had originally detected if a url was added to a node, edge, or label and autogenerated the cmapx file. I can add that back in if interested, but it seemed to break the paradigm of generating _one file_ from a diagram.
    coryodaniel committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    323913a View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. tooltips

    coryodaniel committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    1d04713 View commit details
    Browse the repository at this point in the history
  2. tooltips

    coryodaniel committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    7ecb319 View commit details
    Browse the repository at this point in the history