EENum Positioning

Defines the position behavior.

ePackage:

common

used by:

StaticSubVertex, SubVertex, SubVertexA

The EENum provides the following literals:

  • RELATIVE = 0

    Positions the SubVertex relative to the center based on offsetX and offsetY. StaticSubVertex with positioning RELATIVE are popular to design complex shapes out of multiple GeometricShape. Alternatively use a ShapeFromResource for even more complex shapes.

  • NORTH = 1

    Positions the SubVertex along the top edge of the parent. Multiple items are arranged horizontally from left to right with spacing. Popular for ports.

  • EAST = 2

    Positions the SubVertex along the right edge of the parent. Multiple items are arranged vertically from top to bottom with spacing. Popular for ports.

  • SOUTH = 3

    Positions the SubVertex along the bottom edge of the parent. Multiple items are arranged horizontally from left to right with spacing. Popular for ports.

  • WEST = 4

    Positions the SubVertex along the left edge of the parent. Multiple items are arranged vertically from top to bottom with spacing. Popular for ports.

  • BODY = 5

    Positions the SubVertex at the center (body) of the parent. ‘isMovable’ recommended to position manually. Saves and loads position from Layout Model. Very popular for 2D arrangements.

  • LIST = 6 - Future Feature

    @future Not implemented

  • ANCHORED = 6 - Future Feature

    @future Not implemented