Have problem creating class diagram

I have a problem getting the diagram feature to work as expected.

Imagine a project with the following classes:

class Base(object): pass
class SubClass1(Base): pass
class SubClass2(Base): pass
prettyPrint();

I right-click on SubClass1, select Diagram | Show Diagram and select Python class diagram.

Everything fine so far.

Then I press space (Add class to diagram) and select SubClass2.

SubClass2 is added to the diagram but (and this is the problem):

There is no line on the diagram indicating that SubClass2 is a subclass of Base.

diagram.png
1 comment
Comment actions Permalink
Hi Bernt,

it's a bug. I've created an issue in our tracker – http://youtrack.jetbrains.com/issue/PY-7842. Please, feel free to vote it and get notified once it's fixed.
0

Please sign in to leave a comment.