Installation Manuals
Using PlantUML in Jupyter Notebook
This year, we highly encourage everyone to PlantUML with Jupyter Notebook for the UML part. You can either install Jupyter Notebook with VSCode, or use it with Anaconda.
Please follow the following instructions for installation:
- Using Jupyter Notebook in VSCode: https://code.visualstudio.com/docs/datascience/jupyter-notebooks
- Using Jupyter Notebook with Anaconda: https://docs.anaconda.com/ae-notebooks/user-guide/basic-tasks/apps/jupyter/
While you can largely reuse and follow the Jupyter Notebook templete/example we provided, to use PlantUML in Jupyter Notebook you need install the iplantuml Python package: https://github.com/jbn/IPlantUML
Listed below are other ways (kept from last year) that you can use PlantUML. You can skip them if you decided to use Jupyter Notebook.
Installing PlantUML in VSCode
- Go to the Extensions page
- Type in PlantUML and Install
jebbs.plantuml
- To create a PlantUML file:
- Click
File | new Text File
- Select the language by pressing
Ctrl + K
, let go and then pressM
- Type "PlantUML" and select it
- Click
- When you want to render your PlantUML script:
- Press
Ctrl + Shift + P
to open the palette - Type "PlantUML"
- Select "PlantUML: Preview Current Diagram"
- Press
Installing PlantUML in CLion
- Go to
File | Settings | Plugins
- Type "PlantUML Integration" and Install
- To create a new PlantUML file:
- Click
File | new | file
and create a<name>.puml
file
Rendering Online
You can always access the online PlantUML Web Server to render your PlantUML instance.
Troubleshooting
On Linux you might get a rendering error if you are missing graphviz
.
To fix the error you only need to install the dependency:
sudo apt install graphviz