Shows graphs and diagrams rendered by PlantUML (UML, Ditaa and Dot).
PlantUML Viewer Extension
# PlantUML
Renders UML diagram as defined in a text file. For full syntax of the text file, see:
http://plantuml.sourceforge.net/index.html
1. Install the extension from Chrome Web Store.
2. Open text file from web server with UML diagram definition in browser (the text starts with @startuml).
3. See the rendered UML diagram!
Chrome does not allow fetching content from local files anymore, so you have to start a local web server that will serve the local text file. One simple way if you have Python 3 is to run `python -m http.server` command in the directory with your PlantUML files.
## Features
- Automatically updates the diagram when the file at given URL is changed.
- You can use your own server by changing the server URL in the popup of the action button (action button is displayed while viewing PlantUML files).
## Permissions
Your data on all websites
:\tUsed to check whether the current page contains PlantUML diagram.
## History
1.2
- Added option to change type (PNG/SVG/TXT/None).
1.1
- Recognizes Ditaa and Dot graphs.
1.0
- The first version.
## Credits
Credits go to Arnaud Roques, the author of the PlantUML. If you like this plugin, support the original author via the PayPal button on the PlantUML site (http://plantuml.sourceforge.net/index.html).
Read more
Renders UML diagram as defined in a text file. For full syntax of the text file, see:
http://plantuml.sourceforge.net/index.html
1. Install the extension from Chrome Web Store.
2. Open text file from web server with UML diagram definition in browser (the text starts with @startuml).
3. See the rendered UML diagram!
Chrome does not allow fetching content from local files anymore, so you have to start a local web server that will serve the local text file. One simple way if you have Python 3 is to run `python -m http.server` command in the directory with your PlantUML files.
## Features
- Automatically updates the diagram when the file at given URL is changed.
- You can use your own server by changing the server URL in the popup of the action button (action button is displayed while viewing PlantUML files).
## Permissions
Your data on all websites
:\tUsed to check whether the current page contains PlantUML diagram.
## History
1.2
- Added option to change type (PNG/SVG/TXT/None).
1.1
- Recognizes Ditaa and Dot graphs.
1.0
- The first version.
## Credits
Credits go to Arnaud Roques, the author of the PlantUML. If you like this plugin, support the original author via the PayPal button on the PlantUML site (http://plantuml.sourceforge.net/index.html).
Source Manifest.json
{ "page_action": { "default_icon": "images/icon16.png", "default_popup": "popup.html", "default_title": "PlantUML Options..." }, "web_accessible_resources": ["rawdeflate.js"], "update_url": "https://clients2.google.com/service/update2/crx", "description": "Shows graphs and diagrams rendered by PlantUML (UML, Ditaa and Dot).", "background": {"scripts": [ "background.js", "rawdeflate.js" ]}, "name": "PlantUML Viewer", "permissions": [], "icons": { "128": "images/icon128.png", "32": "images/icon32.png", "64": "images/icon64.png", "16": "images/icon16.png" }, "content_scripts": [{ "matches": ["\\u003call_urls\\u003e"], "js": ["content-script.js"] }], "manifest_version": 2, "version": "1.2"}
Read more