Home > @jsplumbtoolkit/core > JsPlumbToolkit > getModel
JsPlumbToolkit.getModel() method
Gets the model registered with this Toolkit instance, if any. Use the Toolkit's model to map data model event handlers and other data model considerations such as the maximum number of connections a Port allows
Signature:
getModel(): DataModel;
Returns:
DataModel
Current model. May be null.