Home > @jsplumbtoolkit/browser-ui > ShapeGeneratorFunction
ShapeGeneratorFunction type
Defines a function that can take a vertex's data object and return a document fragment with it rendered.
Signature:
export declare type ShapeGeneratorFunction = (data: ObjectData) => DocumentFragment;
References: ObjectData