For snippets used as plugins in draw.io
insertElementsWithMenu.js – Insert elements with meny
A draw.io plugin for inserting a custom text (or ellipse) element, either by keyboard Ctrl+Shift+T (or Ctrl+Shift+Q) or by menu. Inspired by the question Looking for blackboard style note taking app (Scapple alternative) from the Software Recommendations Stack Exchange site, I wrote an answer recommending draw.io, and ended up creating this plugin to make it easier to insert a pure text element which could be linked.
Hopefully, the related wiki will come to describe various aspects of how to use and develop draw.io plugins, like How to install plugins, or how to achieve various operation related to plugins.