Additional perspective settings

Perspectives include a number of notable properties that control their behavior and appearance. For a description of all perspective properties, see the IDL Specification.

Perspective type

Ilograph currently supports three perspective types: flow, sequence, and ring. If not specified, perspectives will be flow diagrams if the relations property is declared on the perspective, and sequence diagrams if the sequence property is declared. To specify a ring diagram, declare relations as you would with a flow diagram, and set the type property to ring.

Controlling perspective context

What additional context, if any, is shown in a perspective can be controlled by specifying the additionalContext property on a perspective. Accepted values are:

  • super-only (default): Show only additional ancestor resources in the perspective.
  • all: Show all additional context in the perspective.
  • none: Don’t show any additional context in the perspective. The perspective will appear very flat.
  • sub-only: Show only additional descendant resources in the perspective.

Collapsed resources

Certain resources can be individually collapsed (and this hiding their children) depending on the perspective type and layout. By default, all resources are in the “expanded” (un-collapsed) state. Use the collapsed property on a perspective to define a comma-separated list of resources that are collapsed by default. Users will still be able to toggle them open and closed.

Extending perspectives

A perspective can extend previously defined perspectives by specifying the extended perspective in its extends property. The extending perspective will inherit all properties and relations of the extended perspective.

Hiding perspectives

Perspectives can be hidden in the perspective tray by setting their hidden property to true.

Last updated on 2 Feb 2020
Published on 2 Feb 2020