(C) Copyright 2004-2006 Oleg Kobchenko. All rights reserved.
Portions of this program use GraphViz* -- open source graph drawing software.
(C) Copyright AT&T*.
http://www.graphviz.org/
- Copy contents of graphviz.zip to j/addons/graphviz.
- Run bin\install.bat
Current distribution is for J503a* and above and Windows* platform.
First-time use:load '~addons/graphviz/graphview.ijs'Subsequent calls:
graphview '' NB. show empty view graphview 'digraph G{a->b',LF,'}' NB. show from graph def graphview '~addons/graphviz/testsm/cut.dot' NB. show graph fileUser interface: simple and intuitive.
Use menu and help and links for further assistance.
All output uses Microsoft* Internet Explorer* as the display surface. Hence any functionality, such as context menu, plug-ins, etc. function as expected.
You may need to install additional software to be able to view certain formats:
- PDF* viewer: http://www.google.com/search?q=PDF+viewer
- SVG* viewer: http://www.google.com/search?q=SVG+viewer
- PostScript* viewer: http://www.google.com/search?q=ps+viewer
Examples: Open
~addons/graphviz/graphs
folder for numerous examples.
Sequential machine definition graph visualizer.Load:
require '~addons/graphviz/smgraph.ijs'Use, where optional states and inputs are lists of labels, s is state table and r is initial state number:
[states;inputs] smview s[;r]See
~addons/graphviz/testsm/*.ijs
for examples
Using ~addons/graphviz/smgraph.ijs
as a model, it is possible to
create custom graph visualizers for various applications.