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 geom_utterance #47

Open
bvreede opened this issue Jan 10, 2024 · 1 comment
Open

Add geom_utterance #47

bvreede opened this issue Jan 10, 2024 · 1 comment
Labels

Comments

@bvreede
Copy link
Collaborator

bvreede commented Jan 10, 2024

Instead of text integrated in the geom_turn (see #26), it would be good to have a separate geometry that allows plotting the utterance text.

It would inherit y (participant), begin and end, and provide additional aesthetics utterance for the utterance text.

Possible inspiration in this vignette for GeomTextPath.

@mdingemanse
Copy link
Contributor

Useful mental model for how to deal with overflow (when utterance content would fall outside the turn bounds) may be the CSS overflow property: https://www.w3schools.com/css/css_overflow.asp

Some combination of text wrap and overflow options, with sensible defaults, might go a long way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants