MaibornWolff / MaibornWolff/codecharta

Area metric options do not work for street-layout-algorithms

Open
#3,517 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority:medium
Dominant language
TypeScript
Stars
529
Forks
56
Avg merge
7h 17m
Merged PRs (30d)
34

Description

# Bug

## Expected Behavior

When a map is loaded and the layout algorithm is set to either "StreetMap" or "TreeMapStreet", selecting any option from the area-metric-options menu results in map changes identical to those observed when the "Squarified Treemap" layout algorithm is chosen.

## Actual Behavior
- Increasing the margin only increases the height of building labels
- Selecting and deselecting floor labels does not not yield any change
- Inverting the area does not work

## Notes
- The feature for automatically detecting and inverting the area, outlined in issue #2486, was not implemented for "StreetMap" and "TreeMapStreet" and needs to be implemented once this issue is resolved

## Screenshots

## Steps to Reproduce the Problem
1. Open the online demo
2. Switch the layout-algorithm to "StreetMap" or "TreeMapStreet"
3. Adjust any of the options in the area-metric-options-menu

## Specifications
- is released in [online-demo](https://maibornwolff.github.io/codecharta/visualization/app/index.html?file=codecharta.cc.json.gz&file=codecharta_analysis.cc.json.gz): yes
- CodeCharta Version: 1.123.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the online demo and reproduce the area-metric-options-menu behavior for the StreetMap and TreeMapStreet algorithms, comparing it with Squarified Treemap. Trace how margin, floor labels, area inversion, and automatic detection from issue #2486 are handled, then verify every option changes these layouts as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.