BaH.Graphviz
BlitzMax Forums/Brucey's Modules/BaH.Graphviz
| ||
It's taken me long enough, but I've finally released BaH.Graphviz. Graphviz is a graph layout engine. Essentially, you feed it a graph description, and it will lay it out nicely for you. You can see examples of what it can do HERE. The Graphviz module adds the ability to interact with the generated graphs, by zooming, selecting nodes and edges, and retrieving information on them. You are also able to generate graphs on-the-fly using the built-in graph-builder object hierarchy. You might use it to show the class-structure of your sourcecode, for example, changing dynamically as the source is modified... You can learn more about it here : http://code.google.com/p/maxmods/wiki/GraphvizModule Note - You will also need the Expat and GraphvizMax2D modules, available from the Downloads section. As usual, it's cross-platform, *free*, and fully documented. Yet another niche module from the makers of the other niche modules ;-) |
| ||
Nice one. It's just that I get an error when running the examples: D:/BlitzMax/mod/bah.mod/graphviz.mod/graphviz.release.win32.x86.a(input.c.release.win32.x86.o):input.c:(.text+0xc29): undefined reference to `setenv' |
| ||
same here:C:/Programmi/BlitzMax/mod/bah.mod/graphviz.mod/graphviz.debug.win32.x86.a(input.c.debug.win32.x86.o):input.c:(.text+0xc41): undefined reference to `setenv' |
| ||
Woops... Fixed. Apologies. |
| ||
nice! everything worked as expected, thanks |
| ||
you should update your graphviz download on your homepage. Also, i noticed when loading some of the dot files that came with your module it crashes, more on this when im on my home computer. |
| ||
Here is a modified example to show the crash Also, there are several other dot files that crash it. |
| ||
I haven't checked this out yet, but it looks like something i'll definite find a great use of. Amazing addition. Thanks bruce. |
| ||
@Plash Looks like my poly drawing code wasn't very good ;-) Seems to work now - Tried it on most of the directed graphs without problems. You can get the updated BaH.GraphvizMax2D module from the Downloads section, or via SVN. @Retimer Thanks :-) It's definitely one of the more interesting modules. |