medpy.graphcut
medpy.graphcut.graph.Graph.get_sink_nodes
medpy.graphcut.graph.Graph.get_tweights
Graph.
get_source_nodes
Get the source nodes.
source_nodes : list
All nodes that are connected with the source as an unordered list (excluding sink and source).