BeforeStartConnectInterceptor
BeforeStartConnectInterceptor = (
source,type) =>boolean|Record<string,any>
A function to run before an edge of the given type is dragged from the given source. Returning false from this method will abort the connection.
Parameters
source
type
string
Returns
boolean | Record<string, any>
If you return boolean false from this method the connection is aborted. If you return an object from this method it will be used as the initial data for the resulting edge.