Mouse Events Plugin
Last updated
Last updated
The Mouse Events Plugin provides on-click functionality to Psiagram. When you click a Node or Edge, the item becomes the active item, and you can drag it and interact with it on the Paper.
In order to use the Mouse Events Plugin, you need to initialize it. To do this, you will create a new instance of MouseEvents and add it to the plugins
array when initializing Paper.
Let's look at initializing a Mouse Events instance.