then

infix fun NodeRef.then(to: NodeRef): NodeRef

Adds a static edge from this node to to and returns to, so edges can be chained: START then research then write then END.


infix fun NodeRef.then(to: String): String

Adds a static edge from this node to the node named to, usually END.


infix fun String.then(to: NodeRef): NodeRef

Adds a static edge from the node named by this string, usually START, to to.