terminal_nodes#

module wntr.metrics.topographic

terminal_nodes(G)[source]#

Nodes with degree 1

Parameters:

G (networkx MultiDiGraph) – Graph

Return type:

List of terminal nodes