PyMaterialXCore.Edge

class Edge

Bases: pybind11_object

An edge between two connected Element objects, returned during graph traversal.

A valid Edge consists of a downstream element, an upstream element, and optionally a connecting element that binds them. As an example, the edge between two Node elements will contain a connecting element for the Input of the downstream Node.

See:

Element.traverseGraph()

See:

https://materialx.org/docs/api/class_edge.html

Methods

__init__(*args, **kwargs)

getConnectingElement(self)

getDownstreamElement(self)

getName(self)

getUpstreamElement(self)

Methods

__init__(*args, **kwargs)
getConnectingElement(self: Edge) Element
getDownstreamElement(self: Edge) Element
getName(self: Edge) str
getUpstreamElement(self: Edge) Element