Type Alias DiagramCreationData

DiagramCreationData: {
    canvas: Canvas;
    constraints: Num[];
    draggingConstraints: Map<string, DragConstraint>;
    eventListeners: Map<string, [string, ((e: any, diagram: Diagram) => void)][]>;
    inputIdxsByPath: IdxsByPath;
    inputs: InputInfo[];
    interactiveOnlyShapes: Set<Shape<Num>>;
    lassoStrength: number;
    nameShapeMap: Map<string, Shape<Num>>;
    namedInputs: Map<string, number>;
    objectives: Num[];
    pinnedInputs: Set<number>;
    shapes: Shape<Num>[];
    sharedInputs: Set<SharedInput>;
    variation: string;
}

Data passed into create