These docs are for v1.0. Click to read the latest docs for v1.2.

CONTAINEDBY

Returns all visualizations that contain the shape, and any other containers that hold the shape's top-left corner. Defaults to THIS when no argument is provided. Optionally specify the type of container to filter the results.

Syntax

=CONTAINEDBY

=CONTAINEDBY(element)

=CONTAINEDBY(containerType)

=CONTAINEDBY(containerType, element)

Arguments

ArgumentTypeDescription
containerTypeContainer type(Optional) The type of container the items should be contained within
elementReference(Optional) Item to use instead of THIS

Syntax

=CONTAINEDBY

Examples

=CONTAINEDBY[Container 1, Container 2]

=CONTAINEDBY(@other)[Container 1]

=CONTAINEDBY($SWIMLANELANE)[Swim lane 1]
Given that THIS shape's top-left corner is contained within Swim lane 1, an individual lane within a swimlane shape.

=CONTAINEDBY($SWIMLANE, @other)[Swim lane]