Skip to content

Commit

Permalink
Add allowed links between same nodetypes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarow committed Sep 30, 2024
1 parent ca098ff commit 59531f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions usaon_benefit_tool/constants/sankey.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

# NOTE: Each tuple is directional: `(from_node_type, to_node_type)`
ALLOWED_LINKS: Final[list[tuple[NodeType, NodeType]]] = [
(NodeType.OBSERVING_SYSTEM, NodeType.OBSERVING_SYSTEM),
(NodeType.OBSERVING_SYSTEM, NodeType.DATA_PRODUCT),
(NodeType.DATA_PRODUCT, NodeType.DATA_PRODUCT),
(NodeType.DATA_PRODUCT, NodeType.APPLICATION),
(NodeType.APPLICATION, NodeType.APPLICATION),
(NodeType.APPLICATION, NodeType.SOCIETAL_BENEFIT_AREA),
]

0 comments on commit 59531f1

Please sign in to comment.