ewokscore.graph.subgraph.extract_graph_nodes#
- ewokscore.graph.subgraph.extract_graph_nodes(graph, subgraphs)[source]#
Removes all graph nodes from graph and returns a list of edges between the nodes from graph and subgraphs.
Nodes in sub-graphs are defines in the link_attrs_subgraph_keys link attribute. For example:
- Parameters:
graph (
DiGraph
)- Return type:
Tuple
[list
,dict
]