Type alias ValidConnectionFunc

ValidConnectionFunc: ((connection, elements) => boolean)

Type declaration

    • (connection, elements): boolean
    • A valid connection function can determine if an attempted connection is valid or not, i.e. abort creating a new edge

      Parameters

      Returns boolean

Generated using TypeDoc