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

Feature request: stat executing multiple other stats #6325

Open
teunbrand opened this issue Feb 7, 2025 · 0 comments · May be fixed by #6326
Open

Feature request: stat executing multiple other stats #6325

teunbrand opened this issue Feb 7, 2025 · 0 comments · May be fixed by #6326
Labels
feature a feature request or enhancement layers 📈

Comments

@teunbrand
Copy link
Collaborator

teunbrand commented Feb 7, 2025

From Thomas in the discussion of #6231:

Conceptually this feels like it belongs in a stat, but that would preclude it from being used together with other stats like in the examples above. However, I feel we did touch on the idea of having a stat_stack() at some point which would remove this downside

I'm lifting this out from that discussion to a separate issue as it blocks progress for #6231. Briefly, it would be good to have a stat, whose job it is to direct the serial computation of other stats. A 'composer' of stats, if you will. It would make re-implementing the position_connect() to a stat_connect() worthwhile. In addition, I think some other 'chains' of stats can be neat too, such as a typical stat (e.g. stat_bin) combined with more of a 'geometric' stat like ggforce::stat_link(), ggforce::stat_bezier() etc.

@teunbrand teunbrand added layers 📈 feature a feature request or enhancement labels Feb 7, 2025
@teunbrand teunbrand linked a pull request Feb 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement layers 📈
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant