Type alias ShapeGeneratorFunction

ShapeGeneratorFunction: ((data) => DocumentFragment)

Defines a function that can take a vertex's data object and return a document fragment with it rendered.

Type declaration

    • (data): DocumentFragment
    • Parameters

      • data: ObjectData

      Returns DocumentFragment

Version :