Hiding member variables in the class diagram generated by pyreverse
Asked Answered
R

1

6

I have used pyreverse to create class diagrams from python codes. By default, it shows both the member variables and methods. But usually, I only want to see methods.

If -k option is used, then it will disable both the member variables and methods, so I wonder how to disable only the member variables.

Rori answered 25/8, 2018 at 2:6 Comment(0)
H
0

There's no direct support by pyreverse to control the members shown.

You can achieve it by generating .dot files and editing them to remove the member variables. The dot file can later be rendered to the desired format using graphviz.

Helpmeet answered 29/8 at 7:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.