SankeyEdge

An edge (link) between two nodes in a [SankeyGraph]

Properties

nodeIndex

The index of node, where the product (waste) flow of the provider node is an input (output).

providerIndex

The index of the node, that produces (treats) the linked product (waste), thus has it as an output (input)

upstreamShare

The share of the total result of the provider node that is related to this link.

Python class stub

The snippet below shows the names of the properties of the corresponding Python class of the olca-schema package. Note that this is not the full class definition but just shows the names of the class and its properties.


@dataclass
class SankeyEdge:
  node_index: int
  provider_index: int
  upstream_share: float