PyMaterialXCore.Edge¶
- class Edge¶
Bases:
pybind11_objectAn edge between two connected
Elementobjects, returned during graph traversal.A valid
Edgeconsists of a downstream element, an upstream element, and optionally a connecting element that binds them. As an example, the edge between twoNodeelements will contain a connecting element for theInputof the downstreamNode.Methods
__init__(*args, **kwargs)getConnectingElement(self)getDownstreamElement(self)getName(self)getUpstreamElement(self)Methods¶
- __init__(*args, **kwargs)¶