mosaicmpi.network.Network.programs_in_graph

mosaicmpi.network.Network.programs_in_graph#

property Network.programs_in_graph#

Get the nodes in the program graph as (dataset, k, program) tuples. This is helpful for indexing usage matrices etc., whereas the nodes from Dataset.program_graph.nodes will be given as pipe-delimited strings.

Returns:

list of programs

Return type:

list of tuples