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:

my_dynamic_graph.png

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.



dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03