Check a much more ergonomic version here!
A simple web page to code in Etherpad and visualize in PlantUML.
You can test it here:
http://andresmrm.github.io/EtherPlant/src/etherplant.html
Add "?" and a link to a pad in the end of the url, like:
http://andresmrm.github.io/EtherPlant/src/etherplant.html?https://pad.okfn.org/p/etherplant
Changining the last word in the link you can change the pad! =D
http://andresmrm.github.io/EtherPlant/src/etherplant.html?https://pad.okfn.org/p/mypersonalplantuml
Just serve the files in the folder src via an HTTP server.
I'm no good at UML, but I made a diagram to try to show the architecture of EtherPlant: http://andresmrm.github.io/EtherPlant/src/etherplant.html?https://pad.okfn.org/p/etherplant-architecture
The code is not big, but was made in a few hours, so it's not good to look at... Feel free to submit patches.