This isn't so much a question but rather a place to write down missing documentation about the useful trees.js plugin.
Temporarily load a plugin
Permanently load plugins
Go under Extras->Plugins, Add... and enter the path of the plugin in the form of /plugins/foo.js (except for trees.js, which is /plugins/trees/trees.js).
This will load the plugin for every
draw.io file you use. Will result in a prompt at every page load. Only works for your current browser.
Plugin list and IDs
See help article
What Plugins are available? for a list of plugin except for trees.js which is not listed. Use ID
trees for temporarily loading or path
/plugins/trees/trees.js for permanently adding.