Skip to main content

START

Static START 

Source
pub static START: NodeId
Expand description

The START sentinel node.

This represents the entry point of the graph. Use start() when adding edges from the beginning of the graph to the first node(s).

ยงExamples

use regula_core::{start, NodeId};

// Add an edge from START to the first node
let s = start();

assert!(s.is_start());
assert!(s.is_sentinel());