-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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] Having text at the start, center and end of a line #4875
Comments
Hello, @enwi! I'm interested in contributing to this project and I noticed the issue you posted. |
Sure @RipulHandoo. Currently a line/arrow between two nodes can only have text right in the center: graph LR
Left ---|Center text| Right
With this feature I would like to be able to have text right next to the If you have more questions please ask 🙂 |
Hi @enwi I understand your desire to have finer control over the placement of text in a diagram or mind map, including positioning text right next to the left node, in between both nodes, and right next to the right node. I will start working on this right away ! |
hey |
@RipulHandoo or @JaswanthJeethu18 is there any update so far or a way of seeing the progress made? |
any update on this, @JaswanthJeethu18 or @RipulHandoo ? It'd be great to have this for sequence diagrams. |
I wanted to get my hands on mermaid and this was the first issue i noticed.. I think this is very crucial. In my case i want to put a |
Proposal
It would be nice to be able to have text right at the start and end of a line and not only at the center. The current syntax
A ---|Text| B
could be extended.Example
Text at start:
A |Start|--- B
Text at center:
A -|Center|-- B
orA --|Center|- B
Text at end:
A ---|End| B
Different combinations of the three should be allowed:
A |Start|-|Center|-- B
A -|Center|--|End| B
A |Start|---|End| B
Screenshots
No response
The text was updated successfully, but these errors were encountered: