root Function (GPL)

Syntax

root("variable value")

"variable value". A variable value.

Description

Specifies which node is the root node. This corresponds to a value for the variable identified by the node function.

Examples

Figure 1. Example: Specifying a root node
ELEMENT: edge(position(layout.tree(node(id), from(fromVar), to(toVar), root("A"))))