energia.components.graph.edge#
Edge
Classes
|
Edge of a Graph |
- class Edge(label: str = '')[source]#
Bases:
_NameEdge of a Graph
- Parameters:
label (str, optional) – Label of the component, used for plotting. Defaults to None.
graph (Graph, optional) – Graph to which the edge belongs. Defaults to None.
- Variables:
name (str) – name. Defaults to ‘’.
Note
name and Graph are set when made a Graph attribute.