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

Standard Library

Default Block

Default Block

{
    "id": "shape1",
    "type": "rectangle",
    "boundingBox": { ... },
    "style": { ... },
    "text": "Text",
    "actions": [ ... ],
    "customData": [ ... ],
    "linkedData": [ ... ],
    "opacity": 100,
    "note": "Test Note"
}

Text Block

This shape does not accept the style property.

Text Block

{
    "id": "text1",
    "type": "text",
    "boundingBox": { ... },
    "text": "Text",
    "actions": [ ... ],
    "customData": [ ... ],
    "linkedData": [ ... ],
    "opacity": 100,
    "note": "Test Note"
}

Hotspot Block

This shape does not accept the text property.

Hotspot Block

{
    "id": "shape2",
    "type": "hotspot",
    "boundingBox": { ... },
    "style": { ... },
    "actions": [ ... ],
    "customData": [ ... ],
    "linkedData": [ ... ],
    "opacity": 100,
    "note": "Test Note"
}

Image Block

PropertyDescription
strokeStroke
Define the look of the border.
Required
imageImageFill
The image to fill the shape.
Required

Image Block

{
    "id": "shape3",
    "type": "image",
    "boundingBox": { ... },
    "stroke": { ... },
    "image": { ... },
    "actions": [ ... ],
    "customData": [ ... ],
    "linkedData": [ ... ],
    "opacity": 100,
    "note": "Test Note"
}

Sticky Note

Sticky Note Block

{
    "id": "shape4",
    "type": "stickyNote",
    "boundingBox": { ... },
    "style": { ... },
    "text": "Text",
    "actions": [ ... ],
    "customData": [ ... ],
    "linkedData": [ ... ],
    "opacity": 100,
    "note": "Test Note"
}