dynamic-graph  4.4.3
Dynamic graph library
Displaying the graph of entities

Description

It is possible to view the graph of entities currently instanciated. The format used by dynamic-graph is dot. Using the python interpreter the following command

from dynamic_graph import *
writeGraph('/tmp/my_dynamic_graph.dot')

is writing the my_dynamic_graph.dot in the /tmp directory

Viewing as a PDF file

To view the dot file you can simply use:

dot -Tpdf /tmp/my_dynamic_graph.dot > /tmp/my_dynamic_graph.pdf

It provides the following output:

Viewing in a browser

To view the dot file you can simply use the view_sot_dg.html file. Click on the "Choose File" to specify the filem and click on "Rendering" to display the graph.