BeforeConnectInterceptor
BeforeConnectInterceptor = (
source,target,payload?,userInstigated?) =>any
Definition of a function to use as a beforeConnect interceptor.
Parameters
source
The source vertex for the new edge
target
The target vertex for the new edge
payload?
optional initial data for the edge, which would have
userInstigated?
boolean
If true, the new edge came from user activity, with a pointer device or touch input. This will be
false whenever the edge is added programmatically, either during a data load or via the addEdge method of the model.
Returns
any