MaibornWolff / codecharta

CodeCharta visualizes multiple code metrics using 3D tree maps.
https://maibornwolff.github.io/codecharta/
BSD 3-Clause "New" or "Revised" License
189 stars 29 forks source link

Improve SteetMap and TreeMapStreet Layout #3653

Closed Richargh closed 2 months ago

Richargh commented 3 months ago

Feature request

The StreetMap and TreeMapStreet are important layout algorithms because they are refactoring-stable and provide slightly-better view of the logical structure (how the developers grouped code). They haven't received much love so far compared to the Squarified TreeMap and are still more or less experimental. Let's change that.

Description

As a user, I want a clearly arranged CodeMap, so that I can see all the important information and i looks nice.

Acceptance criteria

nxdxnx commented 3 months ago

For the beginning I just thickened the root/direct child of root street. It depends on whether there is a root file or not. In addition I changed how the height scale is calculated. Now it´s dynamic and depends on the number of files in the repo, so that you can see the height differences even on very large street maps. image image