(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/
- Install using Package Manager to ~addons/graphics/graphviz.
- Linux - Install graphviz software:
- Centos 7 - sudo yum install graphviz.x86-64 # architecture dependant
- Ubuntu 18.04.01 - suto apt install graphviz
First-time use:load '~addons/graphics/graphviz/graphview.ijs'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 fileUser interface: simple and intuitive.
Use menu and help and links for further assistance.
All output uses Qd webview as the display engine.
Examples: Open
~addons/graphics/graphviz/graphs
folder for numerous examples.
Sequential machine definition graph visualizer.Load:
require '~addons/graphics/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/graphics/graphviz/testsm/*.ijs
for examples
Using ~addons/graphics/graphviz/smgraph.ijs
as a model, it is possible to create custom graph visualizers for
various applications.