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

Add arrows #21

Merged
merged 4 commits into from
Oct 18, 2023
Merged

Add arrows #21

merged 4 commits into from
Oct 18, 2023

Conversation

rsh52
Copy link
Contributor

@rsh52 rsh52 commented Oct 18, 2023

Background

This PR introduces arrows as an additional visualization element to ggswim(), updates the documentation, and adds a supporting article.

At present, arrows are tucked into ggswim() via a few arrow arguments, but could be broken out into an add_arrows() separate function.

Pros of current setup:

  • Visually, arrows are a part of the swimlanes

Cons of current setup:

  • Arrows are a part of geom_segment() and technically add a new layer. This makes ggswim() a two layer function instead of a single layer function

Richard Hanna and others added 4 commits October 17, 2023 16:54
TODOs: update documentation, update argument so it allows for arrow distance changes, color specs, size, etc.
Tests, roxygen documentation added
1 note from xend in add_arrows
@rsh52 rsh52 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 18, 2023
@rsh52 rsh52 self-assigned this Oct 18, 2023
@rsh52 rsh52 merged commit 6ebe45f into main Oct 18, 2023
4 checks passed
@rsh52 rsh52 deleted the add_arrows branch October 18, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant