Drag & drop items on the pitch
Draw lines
Extras
Serialize to JSON will serialize the canvas to JSON so it can be saved in a db. In this demo it logs the output to the console.
Import from JSON prompts for a JSON string to load into the Canvas.
Destroy removes and garbage collects the entire application. Intention is that this will be used in a dashboard with potentially multiple instances.