Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
module Synopsis::Formatter::Dot
class InheritanceFormatter
Files: Synopsis/Formatter/Dot.py
InheritanceFormatter-inheritance Scopes/Synopsis/Formatter/Dot/SingleInheritanceFormatter.html

A Formatter that generates an inheritance graph


Operations Summary:
 __init__(self, os, operations, attributes) [Source]
 scope(self) [Source]
 write(self, text) [Source]
 type_ref(self) [Source]
 type_label(self) [Source]
 parameter(self) [Source]
 formatType(self, typeObj)
Returns a reference string for the given type object [Source]
 clearType(self) [Source]
 writeNode(self, ref, name, label, **attr)
helper method to generate output for a given node [Source]
 writeEdge(self, parent, child, label, **attr) [Source]
 getClassName(self, node)
Returns the name of the given class node, relative to all its parents. [Source]
 visitModifier(self, type) [Source]
 visitUnknown(self, type) [Source]
 visitBase(self, type) [Source]
 visitDependent(self, type) [Source]
 visitDeclared(self, type) [Source]
 visitParametrized(self, type) [Source]
 visitTemplate(self, type) [Source]
 visitInheritance(self, node) [Source]
 visitClass(self, node) [Source]
 visitOperation(self, operation) [Source]
 visitVariable(self, variable) [Source]

Operation Details:
  getClassName(self, node)

Returns the name of the given class node, relative to all its parents. This makes the graph simpler by making the names shorter