Path 1: 177 calls (1.0)

'Ancestor' (19) 'Specialization' (19) 'DoNothing' (18) 'DoNothing2' (18) 'PropertyPatterns' (18) 'Interface' (17) 'CustomException' (17) 'DoSomething'...

ClassDef (177)

1def add_object(self, title: str, node: nodes.ClassDef) -> None:
2        """Create a diagram object."""
3        assert node not in self._nodes
4        ent = ClassEntity(title, node)
5        self._nodes[node] = ent
6        self.objects.append(ent)