plantuml-encoder
PlantUML encoder for browsers and Node.js.
Encoded PlantUML can be used to create PlantUML URL links.
Includes patch to add decode() function. https://github.com/markushedvall/plantuml-encoder/pull/6
Install
Node.js:
npm install plantuml-encoder
browser:
bower install plantuml-encoder
Example
var plantumlEncoder = var encoded = plantumlEncoderconsole // SrJGjLDmibBmICt9oGS0 var url = 'http://www.plantuml.com/plantuml/img/' + encoded var decoded = plantumlEncoderconsole
The URL can then be used to display the diagram:
Decode example
var plantumlEncoder = var plain = plantumlEncoderconsole // A -> B: Hello
License
MIT