bananen-software / gavel

A toolkit that can be used to gather insights into Software Architecture quality
1 stars 1 forks source link

Diagram of afferent and efferent packages in the component dependencies view #19

Open SoylentBob opened 2 months ago

SoylentBob commented 2 months ago

It would be a great feature to access a diagram of the afferent and efferent component dependencies directly from the component dependencies view. This should be displayed when I want to dig deeper into one specific component and find out which components use it and which components it uses.

It should basically be a graph like this (but with a more appropriate layout), where myPackage is the package I want to dig deeper into:

image

SoylentBob commented 4 weeks ago

A better way to do this could be a vertically displayed diagram:

@startuml
together {
  package "afferentPackageA" {
  }

  package "afferentPackageB" {
  }
}

package "myPackage" {
}
together {

  package "efferentPackageA" {
  }

  package "efferentPackageB" {
  }

  package "efferentPackageC" {
  }
}

afferentPackageA --> myPackage : uses
afferentPackageB --> myPackage : uses
myPackage --> efferentPackageA : uses
myPackage --> efferentPackageB : uses
myPackage --> efferentPackageC : uses
@enduml

image