Skip to content

Feature Request: Visual Grouping of Submodules by Parent Module (--groups command) #375

@J4CKVVH173

Description

@J4CKVVH173

Description

Currently, modules are displayed individually, without any visual indication of their logical grouping. This makes it difficult to quickly understand the high-level structure of the project, especially when dealing with common architectural layers such as application or infrastructure.

Feature Proposal

Introduce a new command-line option:

crago modules --groups <NAMES>

This option would allow users to specify high-level parent module names (e.g., application, infrastructure) and have all submodules under those namespaces visually grouped together in the output.

For example:

crago modules --groups application,infrastructure

This would visually group all modules under the application and infrastructure trees accordingly, helping users identify which modules belong to which major architectural layers.

Benefits

  • Improves readability and navigability of module structures
  • Highlights architectural boundaries and responsibilities
  • Makes large codebases more approachable for new developers
  • Useful for presentations, documentation, or architecture reviews

Image

If it fits into the idea of developing the system, I could implement this functionality if it appears in the next release. I am extremely interested in it and would not like to write an intermediate solution in the form of a parser of the output dot file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions