deflex.postprocessing.graph.Edge¶
-
class
deflex.postprocessing.graph.
Edge
(**kwargs)[source]¶ An edge of a DeflexGraph
All attributes can be defined using keyword arguments.
-
nodes
¶ The node where the edge comes from and the node where it goes to.
Type: tuple
-
label
¶ A string representation of the nodes attribute.
Type: str
-
sequence
¶ A time series of the flow variable of the edge.
Type: iterable
-
weight
¶ The sum of the sequence attribute.
Type: float
-
color
¶ A color string for plots/drawings of the graph.
Type: str
Methods
__init__
(**kwargs)Initialize self. -