Add imagepos to Attributes.js
monnewbie3 opened this issue · 1 comments
monnewbie3 commented
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 commented
Could you send a PR ?