graphics/graphviz - Graph Visualization
Integrated with J, a popular graph drawing visualization library. Includes user interface Graph View and a utility to visualize sequential machines (finite automata) in testsm folder.
See doc folder and help.html in installation for furter details.
See also companion cluster analysis Addons/stats/dendrite
Based on Graphviz from
http://www.graphviz.org/
Installation
Install the graphics/graphviz addon using JAL instructions (for corresponding version)
On Windows, run install.bat from addons/graphics/graphviz/bin
Current distribution is for J503a* and above and Windows* platform.
On Mac OS X it requires installing
http://www.pixelglow.com/graphviz
Graph View
First-time use:
load 'graphics/graphviz'
Subsequent calls:
graphview '' NB. show empty view
graphview 'digraph G { a->b }',LF NB. show from graph def
graphview '~addons/graphics/graphviz/testsm/cut.dot' NB. show graph file
User 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/graphics/graphviz/graphs folder for numerous examples.
Sequential Machine View
Sequential machine definition graph visualizer. See legend image.
Load:
require 'graphics/graphviz/smgraph'
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]
Example (Full Size) of dyad ;:
"Words" using
graphics/graphviz/testsm/jdic.ijs
See ~addons/graphics/graphviz/testsm/*.ijs for examples.
Extensibility
Using ~addons/graphics/graphviz/smgraph.ijs as a model, it is possible to create custom graph visualizers for various applications.
Copyright
Portions of this program use GraphViz* -- open source graph drawing software.
(C) Copyright AT&T*.
http://www.graphviz.org/
See lisence in the installation.
* Other copyrights and trademarks of respective holders.
Authors
OlegKobchenko, see also
http://olegykj.sourceforge.net/
