Closed NullVoxPopuli closed 12 years ago
I'm not sure to understand what you want. Do you want to be able to get the node position (given by the "pos" attribut - http://graphviz.org/content/attrs#dpos) ?
If yes, I just push a solution (see sample62.rb in branch "tba" - https://github.com/glejeune/Ruby-Graphviz/commit/65aa67af1186dc644574477f47261b7b9b93e021). If it's what you want, I can do something less ugly and merge it to the master for a futur release.
I think that is it. though, it would be REALLY sexy to get a hash or array returned mapping out the shapes' labels to their (x,y) coordinates. =D
OK let's do it ;)
Should I fork what you linked to? or master?
You can fork... But if you want to use my ugly patch, you must work in the 'tba' branch.
how long would it take for you to make it non-ugly? and merge into master?
Hmm... I think I'll take time to do it this weekend ;)
Excellent. I have plenty of time before I need it done. =p Apparently the feature I want to work on is "low priority" lol
I AM thinking about releasing my stuff as a js plugin for drawing directed graphs. =D
It looks interesting, please get me informed when you publish something
of course ^_^
Done \o/ and published
I'm making an interactive graph with javascript using Raphael.js, and I haven't been able to find where I can get the locations of the Graphvis DOT nodes...
How do I do that?