Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SchematicNodeProps

Props passed to the canvas renderer for one schematic node.

Import

import type { SchematicNodeProps } from "@dartwic/interface-sdk/schematic-nodes";

Declaration

export interface SchematicNodeProps {
    data?: any;
    selected?: boolean;
    id?: string;
}

Members

NameTypeRequirementDescription
dataanyOptional
selectedbooleanOptional
idstringOptional