rmapi-js
    Preparing search index...

    Interface TreeNodeBlock

    the 0x02 tree node block — a group's metadata (layer name/visibility)

    interface TreeNodeBlock {
        anchorId?: LwwValue<CrdtId>;
        anchorOriginX?: LwwValue<number>;
        anchorThreshold?: LwwValue<number>;
        anchorType?: LwwValue<number>;
        currentVersion: number;
        extraData: Uint8Array;
        label: LwwValue<string>;
        minVersion: number;
        nodeId: CrdtId;
        type: "treeNode";
        visible: LwwValue<boolean>;
    }

    Hierarchy

    • BlockCommon
      • TreeNodeBlock
    Index

    Properties

    anchorId?: LwwValue<CrdtId>

    the anchor node's crdt id, if anchored

    anchorOriginX?: LwwValue<number>

    the anchor's horizontal origin, if anchored

    anchorThreshold?: LwwValue<number>

    the anchor threshold, if anchored

    anchorType?: LwwValue<number>

    the anchor type, if anchored

    currentVersion: number

    the block's current version (selects the point encoding for lines)

    extraData: Uint8Array

    the unread tail of the block, preserved for round-tripping

    label: LwwValue<string>

    the layer name

    minVersion: number

    the block's minimum reader version

    nodeId: CrdtId

    the node's crdt id

    type: "treeNode"

    the block-type discriminant

    visible: LwwValue<boolean>

    whether the layer is visible