Enumeration Orientation

GoJS® Diagramming Components
version 3.0.1
by Northwoods Software®

This enumeration specifies possible values for GraphObject.segmentOrientation.

since

3.0

Index

Enumeration Members

Rotate the object to have the same angle as the segment it is at; use this orientation for arrow heads.

Rotate the object counter-clockwise 90 degrees to be perpendicular to the angle of the segment it is at.

Rotate the object counter-clockwise 90 degrees to be perpendicular to the angle of the segment it is at, just like Minus90, but never upside down; this is typically only used for TextBlocks or Panels that contain text.

Do not rotate the object along the segment.

Rotate the object to be 180 degrees opposite from the angle of the segment it is at.

Rotate the object clockwise 90 degrees to be perpendicular to the angle of the segment it is at.

Rotate the object clockwise 90 degrees to be perpendicular to the angle of the segment it is at, just like Plus90, but never upside down; this is typically only used for TextBlocks or Panels that contain text.

Rotate the object to have the same angle as the segment it is at, just like Along, but never upside down; this is typically only used for TextBlocks or Panels that contain text.

Rotate the object to have the same angle as the segment it is at, but never upside down and never angled more than +/- 45 degrees: when the segment's angle is with 45 degrees of vertical (90 or 270 degrees), the object's angle is set to zero; this is typically only used for TextBlocks or Panels that contain text.