Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize layout with occupancy bitmap #71

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft

Conversation

walterra
Copy link
Owner

@walterra walterra commented Nov 29, 2022

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

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