Type alias VertexDrawingPluginTypeGenerator
VertexDrawingPluginTypeGenerator: ((origin, e) => {
data?: ObjectData;
objectType: typeof Node.objectType | typeof Group.objectType;
type: string;
})
Type declaration
- (origin, e): {
data?: ObjectData;
objectType: typeof Node.objectType | typeof Group.objectType;
type: string;
} Returns {
data?: ObjectData;
objectType: typeof Node.objectType | typeof Group.objectType;
type: string;
}
Optional
data?: ObjectData
objectType: typeof Node.objectType | typeof Group.objectType
type: string
Defines a function used by the vertex drawing plugin to generate an
objectType
(Group/Node) andtype
(app-specific) for a vertex that is about to be drawn.