Shape Library
Circle
{
"id": "shape5",
"type": "circle",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Cloud
{
"id": "shape6",
"type": "cloud",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Cross
Property | Description | |
---|---|---|
indent | Indent Determines the behavior of the indent on the shape. | Optional |
{
"id": "shape7",
"type": "cross",
"boundingBox": { ... },
"style": { ... },
"indent": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Indent
A set of values that determines the appearance of the shape. Values must be between 0 and 0.5.
{
"x": 0.25,
"y": 0.25
}
Diamond
{
"id": "shape8",
"type": "diamond",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Double Arrow
{
"id": "shape9",
"type": "doubleArrow",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Flexible Polygon
Property | Description | |
---|---|---|
vertices | Array[RelativePosition] An array of positions. Must have between 3 and 100 vertices inclusive. Defines the border of the shape relative to the bounding box. | Required |
{
"id": "shape10",
"type": "flexiblePolygon",
"boundingBox": { ... },
"style": { ... },
"vertices": [ ... ],
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Hexagon
{
"id": "shape11",
"type": "hexagon",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Isosceles Triangle
{
"id": "shape12",
"type": "isoscelesTriangle",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Octagon
{
"id": "shape13",
"type": "octagon",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Pentagon
{
"id": "shape14",
"type": "pentagon",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Poly-Star
Property | Description | |
---|---|---|
shape | Poly-Star Shape Defines the shape of the star. | Required |
{
"id": "shape15",
"type": "polyStar",
"boundingBox": { ... },
"style": { ... },
"shape": { ... },
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Poly-Star Shape
{
"numPoints": 5,
"innerRadius": 0.5
}
Rectangle
{
"id": "shape16",
"type": "rectangle",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Right Triangle [shapes-right-triangle-block]
{
"id": "shape17",
"type": "rightTriangle",
"boundingBox": { ... },
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Single Arrow
Property | Description | |
---|---|---|
orientation | Single Arrow Orientation Determines the direction of the arrow. Defaults to "right". | Optional |
{
"id": "shape18",
"type": "singleArrow",
"boundingBox": { ... },
"orientation": "right",
"style": { ... },
"text": "Text",
"actions": [ ... ],
"customData": [ ... ],
"linkedData": [ ... ],
"opacity": 100,
"note": "Test Note"
}
Single Arrow Orientation
Determines the direction of the arrow.
Value | Description |
---|---|
right | A rightward-facing arrow. |
left | A leftward-facing arrow. |
up | An upward-facing arrow. |
down | A downward-facing arrow. |
Updated 7 months ago