Options for a shape library.

interface ShapeLibraryOptions {
    categoryParameter?: string;
    typeParameter?: string;
}

Properties

categoryParameter?: string

The property to use to map an object's category (ie which shape set to use). Defaults to "category".

typeParameter?: string

The property to use to map an object's type. Defaults to "type".

Version :