Class DependencyDiagram


public class DependencyDiagram extends Diagram
UML diagram representing the dependencies between the documented Java packages.
  • Constructor Details

  • Method Details

    • getChildren

      public List<UMLNode> getChildren()
      Overrides:
      getChildren in class UMLNode
    • addPackageDependency

      public void addPackageDependency(String fromPackage, String toPackage)
    • getPlantUmlFile

      protected File getPlantUmlFile()
      Description copied from class: Diagram
      Determine the physical file location for the plantuml output.

      This will even be called if -createPumlFiles is not enabled, to determine the Diagram.getDiagramBaseFile().

      Specified by:
      getPlantUmlFile in class Diagram
      Returns:
      The physical file for the plantuml output.
    • writeChildrenTo

      protected IndentingPrintWriter writeChildrenTo(IndentingPrintWriter output)
      Description copied from class: UMLNode
      Helper method to write all children to the specified output.
      Overrides:
      writeChildrenTo in class UMLNode
      Parameters:
      output - The output to write the children to.
      Returns:
      A reference to the output for method chaining purposes.