Skip to content

Instantly share code, notes, and snippets.

@abhi1010
Last active October 12, 2018 08:57
Show Gist options
  • Save abhi1010/48b85d6f2e998c8feb9e2999f6e09034 to your computer and use it in GitHub Desktop.
Save abhi1010/48b85d6f2e998c8feb9e2999f6e09034 to your computer and use it in GitHub Desktop.
class diagram from code

Some commands: Installations first

pip install hpp2plantuml
pip install plantuml
hpp2plantuml -i "*.h" -o diagram-in-plantuml.puml

# Creates png files
plantuml -o docs diagram-in-plantuml.puml

How to run it locally?

Note that this only works here, for some reason.

source /home/abhishek.pandey/apps/venvs/ve_opt_3.5/bin/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment