finesse.script.graph.KatGraph

Overview

class finesse.script.graph.KatGraph(incoming_graph_data=None, **attr)[source]

Bases: networkx.classes.digraph.DiGraph

Kat script graph.

Methods

KatGraph.argument_node_order(node)

KatGraph.branch_base(path[, reference])

The branch base node name for path, relative to reference.

KatGraph.dependent_argument_nodes(node, **kwargs)

KatGraph.directive_nodes(**kwargs)

All directive nodes.

KatGraph.filter_argument_nodes(node, key)

KatGraph.filter_dependent_nodes(node, key)

KatGraph.in_edge_source_nodes_by_edge_type(...)

KatGraph.in_edges_by_edge_type(node, ...)

KatGraph.is_independent(node)

Check if the node has no external dependencies.

KatGraph.is_subpath(path, reference)

Check if path is a subpath of reference.

KatGraph.is_tree()

KatGraph.item_node_name(name, parent_path)

KatGraph.nodes_by_node_type(node_type, **kwargs)

Get nodes by type, with optional data.

KatGraph.out_edge_target_nodes_by_edge_type(...)

KatGraph.out_edges_by_edge_type(node, ...)

KatGraph.param_target_element_path(target)

The owning element path for target.

KatGraph.root_argument_edges(**kwargs)

KatGraph.root_directive_graph()

KatGraph.root_directive_nodes(**kwargs)