Nevron Open Vision Documentation
Shape Navigation

Shape navigation refers to the built-in abilities in the NShape class to easily obtain the shapes, which are connected to a specific shape. 

The methods that facilitate shape navigation can be classified into two categories:

1D Shapes Specific Navigation

Each 1D shape can be treated as a directed connector, which connects two other shapes.

The shape to which begin-point of a 1D shape is glued to is called from shape. The from shape can be obtained from the FromShape property. You implicitly specify the FromShape by gluing the begin-point of a 1D shape to other shapes, ports, geometries etc.

Analogously the shape to which end-point of a 1D shape is glued to is called to shape. The to shape can be obtained from the ToShape property. You implicitly specify the ToShape by gluing the end-point of a 1D shape to other shapes, ports, geometries etc.

A 1D shape is said to be reflexive (i.e. is a self-loop), if its FromShape and ToShape shapes are the same shape. You can easily check whether a 1D shape is reflexive with the help of the IsReflexive property.

Generic Shape Navigation

Since you can glue the end-points of a 1D-shape to any other shape, be it 1D or 2D, the following shape navigation methods are applicable for all types of shapes.

incoming shapes outgoing shapes

destination shapes source shapes

Successor Shapes Predecessor Shapes

neighbour shapes accessible shapes

Related Examples
Windows Forms: Document Object Model - Shapes - Shape Translation Slaves
Send Feedback