Model.node_parental_subgraph()

Model.node_parental_subgraph()#

Model.node_parental_subgraph(*of)[source]#

Returns a subgraph that consists of the input nodes and their parent nodes.

Return type:

DiGraph