Skip to main content

ClikaRT::graph::Match

struct

Header: ClikaRT/graph/pattern.h

One occurrence of a Pattern in a graph: the matched node per pattern node, in add_node order. An optional pattern node absent from this occurrence reads as std::nullopt; every other entry holds a node. The nodes are views (node.h): they find their nodes again by name after an edit, and once the searched graph is gone they refuse as views whose graph is gone.

Data members​

nodes​

std::vector<std::optional<Node>> nodes

Declared in ClikaRT/graph/pattern.h, line 55