Skip to content

Rotation | Topology Syntax Guide

Michael Albert edited this page Jun 16, 2017 · 2 revisions

The 'rotation' tag can only be applied to sub topologies and topologies. It rotates the positions of all of the nodes of that topology, and all of it's sub topologies positions. The rotation is performed relative to the center of the topology (which can move). Rotations do not rotate the position of the topology the tag is used on, only it's nodes, sub topologies, and their nodes and sub topologies etc.

Rotations are performed in degrees counter-clockwise.

Examples

Rotate the position of the nodes and sub topologies of "someOtherTemplate" Topology by 180 degrees counter-clockwise.

#...
topologies:
  - myTopology:
      template: someOtherTopology
      rotation: 180