hi,
i'm going to get text data describing the existing nodes and arcs, and i'll need to draw it nicely in 2D, avoiding crossing arcs if possible.
i'd like to know if there are some libraries that do this (i need the coordinates of the nodes) , or some algos i could implement...
IDA shows something interesting for the disassembly flowchart so it must ve been done before...
if someone has already worked on this...
thak you very much!
i'm going to get text data describing the existing nodes and arcs, and i'll need to draw it nicely in 2D, avoiding crossing arcs if possible.
i'd like to know if there are some libraries that do this (i need the coordinates of the nodes) , or some algos i could implement...
IDA shows something interesting for the disassembly flowchart so it must ve been done before...
if someone has already worked on this...
thak you very much!
I just found this links:
http://www.ics.uci.edu/~eppstein/gina/gdraw.html
and they talk of aiSee, that seems to be the tool used in IDA...
but i will need to integrate the work in another project, so i'm rather looking for code/algos (my stuff wont even be C)
Well, iirc the flowchart in IDA is based on some GPL code...
http://www.research.att.com/sw/tools/graphviz/ I have finded it via doxygen that also use this for generate some graphs for functions in the documentation or some like that (havent used it much).
See the examples in the page (with doxygen) http://www.graphviz.org/pub/graphviz/CURRENT/doxygen/html/structAgedge__t.html
See the examples in the page (with doxygen) http://www.graphviz.org/pub/graphviz/CURRENT/doxygen/html/structAgedge__t.html
IDA uses wingraph32.exe and that can be obtained from an instalation of the free IDA version.
The same tool is used by 2 Ollydbg plug-ins OllyFLow and OllyGraph that do the same as IDA...
Yes, wingraph32 is a GPL application. Source code is avalable from IDA and from the internet.
The same tool is used by 2 Ollydbg plug-ins OllyFLow and OllyGraph that do the same as IDA...
Yes, wingraph32 is a GPL application. Source code is avalable from IDA and from the internet.
in case someone needs this one day... i've found exactly what i was looking for:
DOT
http://www.research.att.com/sw/tools/graphviz/dotguide.pdf
parses text files with nodes/arcs and outputs textfiles with nodes/arcs coordinates!
(or outputs bmp/jpg)
bye
DOT
http://www.research.att.com/sw/tools/graphviz/dotguide.pdf
parses text files with nodes/arcs and outputs textfiles with nodes/arcs coordinates!
(or outputs bmp/jpg)
bye