-
Notifications
You must be signed in to change notification settings - Fork 25
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 RFC: Label Vertical Alignment #242
Comments
@forivall Thanks for the suggestion. The philosophy behind mscgenjs is to take the hassle out of creating sequence diagrams. As any workaround to achieve a goal is a hassle, I'd like to fix it. Before starting on it, I'd like to understand the why a little better:
(The default for self-referencing arcs is to have the text above the arc so the arc remains visible. To create the second chart I temporarily expanded that behavior to other arcs.)
|
Basically, my primary use case or user story is that I want the arcs to remain visible: exactly like the self-referencing arcs. Mainly, I personally find it more aesthetically pleasing; when the label is covering the arc, I find it less readable. The diagram is exactly what I was thinking of. That's pretty awesome that the code is already there! |
…tial alignment of texts on (regular only) arcs As per #242
…tial alignment of texts on (regular only) arcs (as mentioned in sverweij/mscgen_js#242)
…tial alignment of texts on (regular only) arcs as mentioned in sverweij/mscgen_js#242
It would be great if an option was added to support vertical alignment of labels on arcs, like https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align.
My current workaround for top align is
(and inverted for bottom align).
The text was updated successfully, but these errors were encountered: