Skip to main content

assert_relation

Function assert_relation 

Source
pub fn assert_relation(
    graph: &mut Graph,
    from: NodeKey,
    to: NodeKey,
    assertion: EdgeAssertion,
) -> Option<EdgeKey>
Expand description

Assert a relation between two nodes, returning the edge key (or None when either endpoint is gone).