To turn a graph into a navigation graph you need to add one or more navigators. Navigator have their own set of states that can be queried and modified.
Arguments
- widget
graph widget
- from
The position of the navigator on the graph is defined by the states
from,toandproportion. The statesfromandtohold vectors of node names of the graph. Theproportionstate is a number between and including0and1and defines how far the navigator is between the last element offromand the first element ofto. Thetostate can also be an empty string''if there is no further node to go to. Hence, the concatenation offromandtodefine a path on the graph.- to
see descriptoin above for
from- proportion
see descriptoin above for
from- color
of navigator
- ...
named arguments passed on to modify navigator states
