make_class_diagram_with_pyreverse.sh
1022 Bytes
cd ../
# CELME
pyreverse -A -f PUB_ONLY -o png -p celme_pub core/celme/
mv *_celme_pub.png doc/
pyreverse -A -f ALL -o png -p celme core/celme/
mv *_celme.png doc/
# DC
pyreverse -A -f PUB_ONLY -o png -p devices_pub device_controller/
mv *_devices_pub.png doc/
pyreverse -A -f ALL -o png -p devices device_controller/
mv *_devices.png doc/
# TOO BIG
#pyreverse -a1 -f ALL -o png -p pyros core/pyros_django
# AGENT
# marche pas bien
#pyreverse -A -f ALL -o png -p pyros_agents core/pyros_django/agent/
# il faut aller dans le repertoire core/pyros_django/ :
cd core/pyros_django/
pyreverse -A -f PUB_ONLY -o png -p agents_pub agent/
mv *_agents_pub.png ../../doc/
pyreverse -A -f ALL -o png -p agents agent/
mv *_agents.png ../../doc/
cd -
# With association links
#pyreverse -A -S -f ALL -o png -p devices device_controller
# only public methods & attr
#pyreverse -A -f PUB_ONLY -o png -p devices device_controller
# Pour avoir le diagramme dot modifiable :
#pyreverse -A -f ALL -o dot -p devices device_controller