Comments (6)
Again a good suggestion. I link things that makes the graphs more readable. The markdowish approach suggests graphs should be as readable as possible in code without rendering the diagram also.
Will add this one to the list.
Will not do this as a patch release though as this might break backwards compatibility but will add it in a bigger release. Best would be to support both, will see how messy the grammar becomes. Right now there is other activities for example syntax for dotted lines. Will wait until those thing are completed before getting onto this one.
Also... we should have some sort of versioning on the grammar itself and a way of communicating when syntax changes
from mermaid.
I have done some work on this but with small adjustment, a leading space for the text in the links as below:
A---|Link text|B
becomes
A-- Link Text --B
from mermaid.
Looks good.
from mermaid.
Seems that A-->|Link text|B generate a line instead of a arrow?
Then how to generate a arrow with a link text?
from mermaid.
Hello!
The code below, should generate an arrow:
A-->|Link text|B
This code should generate a line:
A---|Link text|B
When I test this I see the expected behaviour. Can you help me reproduce your problem?
from mermaid.
Released in 0.3.1
from mermaid.
Related Issues (20)
- Comparison with -0 using the "==" operator will also match 0 [equals-negative-zero] HOT 1
- Concept Map (Mindmap connection lines)
- Edge labels in flow chart use primaryTextColor rather than secondaryTextColor HOT 2
- 4 Tests failed because the test timeout is 5 seconds
- Configure Class Diagram to Use Other Curves HOT 2
- Impossible to link from a subgraph if it contains only subgraphs (and no node) -> syntax error in text
- Avoidable overlapping curves in flow-chart HOT 2
- TypeError: Cannot read properties of undefined (reading 'x') HOT 1
- The timeline is horizontally laid out; can it be implemented in a vertical layout? HOT 1
- How to identify in the text where a node is HOT 3
- Regarding the interaction of the flow chart, add a js callback function mechanism for clicking on the node, and report an error when clicking on the node. HOT 1
- Flowchart comments broken v10.5.0 when using getDiagramFromText API
- Flowchart (TD): Styling node with height/width 0 and annotated link results in error
- i have problem to import mermaid from "mermaid" HOT 5
- LineChart alternate syntax HOT 2
- Annonations on classes from the mermaid example give syntax error in text HOT 4
- Is it possible to increase a subgraph title's font size?
- Mermaid Class Diagram incorrect in the Docs HOT 6
- The name U cannot be used in an erDiagram
- After upgrading to 10.6.1, charts that could be displayed before no longer be displayed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mermaid.