Skip to content

Circular layout for dummy track #951

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

Open
etowahadams opened this issue Jul 26, 2023 · 0 comments
Open

Circular layout for dummy track #951

etowahadams opened this issue Jul 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@etowahadams
Copy link
Contributor

Currently, dummy tracks can only be used in a linear layout. Based on disucssion in #946 ideally we'd also support circular layouts as well. Here's a first attempt at supporting circular dummy tracks.

image

Challenges:

  1. Tracks in a circular layout get compiled into a HiGlass spec differently than in a linear layout: Unlike when a view layout is linear, each of these Gosling tracks will not have a corresponding HiGlass view. Instead they will become HiGlass tracks within the same view.
  2. Using a serial arrangement, tracks can be next to each other. We would want the same behavior with dummy tracks. See below for an example.
image

Implementation approach:
In general, the circular dummy track should be drawn with d3arc, which is also used in the brush track (brush-track.ts).

@etowahadams etowahadams added the enhancement New feature or request label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant