glejeune / node-graphviz

Node.js interface to the GraphViz graphing tool
http://algorithmique.net
MIT License
197 stars 58 forks source link

Add imagepos to Attributes.js #36

Open monnewbie3 opened 4 years ago

monnewbie3 commented 4 years ago

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;

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

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

Thanks,

glejeune commented 4 years ago

Could you send a PR ?