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
,to
andproportion
. The statesfrom
andto
hold vectors of node names of the graph. Theproportion
state is a number between and including0
and1
and defines how far the navigator is between the last element offrom
and the first element ofto
. Theto
state can also be an empty string''
if there is no further node to go to. Hence, the concatenation offrom
andto
define 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