properties-inheritance-graph 1.0.0

Last updated:

0 purchases

properties-inheritance-graph 1.0.0 Image
properties-inheritance-graph 1.0.0 Images
Add to Cart

Description:

propertiesinheritancegraph 1.0.0

The purpose of this library is to quickly and easily create UML graphs
that show inheritance structure of HasProperties class hierarchies.
For more information on HasProperties classes, see
properties.
To install
pip install properties_inheritance_graph
then in Python
from properties_inheritance_graph import make_graph
import omf # or any other library built on properties

graph, registry = make_graph(
registry=omf.PointSetElement._REGISTRY,
expand_props=True,
only_new_props=True,
abstract_regex='^.*Model$',
)
In the above example, the properties-based OMF
library is used for demonstration.
To render these graphs to file or in a Jupyter notebook, you may use
nxpd. Graphviz
must also be installed.
import nxpd
nxpd.draw(graph, filename='inheritance_graph.png')

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.