Unique Id generation options.

interface UniqueIdSettings {
    getUniqueId?: (() => string);
    shouldGenerateUniqueMoleculeId?: boolean;
}

Properties

getUniqueId?: (() => string)

Type declaration

    • (): string
    • Callback for generating uniqueId. It is a way of overwriting default uniqueId generation if shouldGenerateUniqueMoleculeId config is true.

      Returns string

shouldGenerateUniqueMoleculeId?: boolean

Defines if molecules should get unique Ids. By default it is false.

Generated using TypeDoc