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

Add imagepos to Attributes.js #36

Open
monnewbie3 opened this issue Jan 8, 2020 · 1 comment
Open

Add imagepos to Attributes.js #36

monnewbie3 opened this issue Jan 8, 2020 · 1 comment

Comments

@monnewbie3
Copy link

I can't seem to find imagepos for nodes.
I manually updated my Attributes.js file and it appears to work fine.
This will position the image in the node where you would like it.
Options are as follows;

  • tl | Top Left
  • tc | Top Centered
  • tr | Top Right
  • ml | Middle Left
  • mc | Middle Centered (the default)
  • mr | Middle Right
  • bl | Bottom Left
  • bc | Bottom Centered
  • br | Bottom Right

"imagepos" : { "usage" : "N", "type" : "string" }

Reference: https://www.graphviz.org/doc/info/attrs.html#d:height

Thanks,

@glejeune
Copy link
Owner

glejeune commented Jan 8, 2020

Could you send a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants