Skip to content

Optimize layout with occupancy bitmap#71

Draft
walterra wants to merge 24 commits into
mainfrom
69-optimize-layout
Draft

Optimize layout with occupancy bitmap#71
walterra wants to merge 24 commits into
mainfrom
69-optimize-layout

Conversation

@walterra

@walterra walterra commented Nov 29, 2022

Copy link
Copy Markdown
Owner

Fixes #69.

  • Debug mode displays a canvas based chart to visualize label areas.
  • Overlap removal based on occupancy bitmap
  • Fix edge cases with last element
  • Fix edge cases with label being pushed from bottom despite enough space
  • Fix vertical layout
  • Improve performance 🤪
Before After
image image
image image
image image

@walterra walterra self-assigned this Nov 29, 2022
@walterra walterra temporarily deployed to test-ui January 12, 2023 13:32 — with GitHub Actions Inactive
@walterra walterra temporarily deployed to test-ui January 12, 2023 15:36 — with GitHub Actions Inactive
@walterra walterra temporarily deployed to test-ui January 12, 2023 17:03 — with GitHub Actions Inactive
@walterra walterra temporarily deployed to test-ui January 12, 2023 17:32 — with GitHub Actions Inactive
@walterra walterra temporarily deployed to test-ui January 13, 2023 08:52 — with GitHub Actions Inactive
@walterra walterra temporarily deployed to test-ui January 13, 2023 09:03 — with GitHub Actions Inactive
@Montmorency

Copy link
Copy Markdown

Really like milestones and this PR looks like a big improvement. Are there any specific performance optimizations blocking merge? I'm happy to help test and make PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Layout algorithms based on "Fast and Flexible Overlap Detection for Chart Labeling with Occupancy Bitmap"

2 participants