class documentation
class ClassDiagram(Figure, FilterMixIn): (source)
Known subclasses: pylint.pyreverse.diagrams.PackageDiagram
Main class diagram handling.
Method | __init__ |
Init filter modes. |
Method | add |
Create a diagram object. |
Method | add |
Create a relationship. |
Method | assign |
Undocumented |
Method | class |
Return class names if needed in diagram. |
Method | classe |
Return a class by its name, raise KeyError if not found. |
Method | classes |
Return all class nodes in the diagram. |
Method | extract |
Extract relationships between nodes in the diagram. |
Method | get |
Return visible attributes, possibly with class name. |
Method | get |
Return visible methods. |
Method | get |
Return a relationship or None. |
Method | get |
Undocumented |
Method | has |
Return true if the given node is included in the diagram. |
Method | object |
Return the diagram object mapped to node. |
Constant | TYPE |
Undocumented |
Instance Variable | objects |
Undocumented |
Instance Variable | relationships |
Undocumented |
Instance Variable | title |
Undocumented |
Instance Variable | _nodes |
Undocumented |
Inherited from Figure
:
Instance Variable | fig |
Undocumented |
Inherited from FilterMixIn
(via Figure
):
Method | show |
Return true if the node should be treated. |
Instance Variable | __mode |
Undocumented |
def add_relationship(self, from_object:
DiagramEntity
, to_object: DiagramEntity
, relation_type: str
, name: str|None
= None):
(source)
¶
Create a relationship.
def assign_association_relationship(self, value:
astroid.NodeNG
, obj: ClassEntity
, name: str
, type_relationship: str
):
(source)
¶
Undocumented
overridden in
pylint.pyreverse.diagrams.PackageDiagram
Extract relationships between nodes in the diagram.
def get_relationship(self, from_object:
DiagramEntity
, relation_type: str
) -> Relationship
:
(source)
¶
Return a relationship or None.