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

checkpoint markers #2095

Merged
merged 2 commits into from
Jun 26, 2024
Merged

checkpoint markers #2095

merged 2 commits into from
Jun 26, 2024

Conversation

mbostock
Copy link
Member

Not quite working, but trying to illustrate what I mean in #2094 (review). Could probably still be improved…

@mbostock mbostock requested a review from Fil June 18, 2024 00:27
src/marker.js Outdated Show resolved Hide resolved
@Fil Fil marked this pull request as ready for review June 26, 2024 15:32
@Fil Fil merged commit e7f25c9 into fil/group-markers Jun 26, 2024
@Fil Fil deleted the mbostock/group-markers branch June 26, 2024 15:32
mbostock added a commit that referenced this pull request Jul 28, 2024
* for lines with variable aesthetics we want to maintain the higher-level semantics of markers:
- markerStart matches the start of the line
- markerMid matches the points which are not at the start or the end
- markerEnd matches the end of the line

Since these lines are implemented as multiple paths, we have change the low-level implementation of markers:
- markerStart only applies to the first segment of a line
- markerMid applies to all the segments, complemented by the start of all but the first segments
- markerEnd only applies to the last segment of a line

closes #2093

* better marker strategy (#2095)

---------

Co-authored-by: Mike Bostock <[email protected]>
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.

2 participants