|[ZEST] Define node positions [message #728102]
||Thu, 22 September 2011 10:29
| Rui Gameiro
Registered: September 2011
I'm new in zest, after locking for source code I don't understand how the node coordinates are
the process used is something like this
dot string -> dot file -> ??? -> nodes coordinates -> graph
I'm expecting something like
dot string -> dot file (with plain info of the graph) -> parser of file -> draw graph with that info.
I would like to know if anyone knows how zest obtain the coordinates, since the node coordinates are different from the values of the dot plain info (with the necessary adjustments to the scale of the original dot window and the final window), for that reason the final graph will be different.
I create a simple program in java to verify that the values return by the dot plain file applied with the scale value draw the same graph of the original dot file.
if anyone knows why the graph obtain by the zest is different to the obtain by the dot, please tell me.
[Updated on: Tue, 27 September 2011 05:30]
Report message to a moderator