question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flowchart truncated

See original GitHub issue
 graph LR
 A-->B
 B-->C
 C-->A
 D-->C

Tested in both here and here.

screen shot 2015-03-17 at 4 03 34 pm

screen shot 2015-03-17 at 4 04 13 pm

This issue was originally reported here: https://github.com/tylingsoft/markdown-plus/issues/3

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
logankoestercommented, Mar 24, 2015

I think I’m encountering the same issue, but it is truncating a bit differently.

Input

graph LR;
    request[Request] --> haproxy;
    haproxy[HAProxy] --> container;
    container[Service Container];

Output

<div class="mermaid" data-processed="true"><svg id="mermaidChart0" width="444" xmlns="http://www.w3.org/2000/svg" height="85" viewBox="0 0 444 85"><style type="text/css" title="mermaid-svg-internal-css">/* <![CDATA[ */
.node { fill:#eaeaea; stroke:#666; stroke-width:1.5px; }
.book .book-body .page-wrapper .page-inner section.normal * { box-sizing: border-box; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
/* ]]> */
</style><g><g class="output"><g class="clusters"></g><g class="edgePaths"><g class="edgePath" style="opacity: 1;"><path class="path" d="M98,42.5L123,42.5L148,42.5" marker-end="url(#arrowhead12)" style="stroke: #333; stroke-width: 1.5px;fill:none"></path><defs><marker id="arrowhead12" viewBox="0 0 10 10" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" style="fill: #333"></path></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" d="M229,42.5L254,42.5L279,42.5" marker-end="url(#arrowhead13)" style="stroke: #333; stroke-width: 1.5px;fill:none"></path><defs><marker id="arrowhead13" viewBox="0 0 10 10" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" style="fill: #333"></path></marker></defs></g></g><g class="edgeLabels"><g class="edgeLabel" style="opacity: 1;" transform=""><g transform="translate(0,0)" class="label"><foreignObject width="0" height="0"><div style="display: inline-block; white-space: nowrap;"><span style="background:#e8e8e8"></span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g transform="translate(0,0)" class="label"><foreignObject width="0" height="0"><div style="display: inline-block; white-space: nowrap;"><span style="background:#e8e8e8"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node" style="opacity: 1;" id="request" transform="translate(59,42.5)"><rect rx="0" ry="0" x="-39" y="-22.5" width="78" height="45"></rect><g class="label" transform="translate(0,0)"><g transform="translate(-29,-12.5)"><foreignObject width="58" height="25"><div style="display: inline-block; white-space: nowrap;">Request</div></foreignObject></g></g></g><g class="node" style="opacity: 1;" id="haproxy" transform="translate(188.5,42.5)"><rect rx="0" ry="0" x="-40.5" y="-22.5" width="81" height="45"></rect><g class="label" transform="translate(0,0)"><g transform="translate(-30.5,-12.5)"><foreignObject width="61" height="25"><div style="display: inline-block; white-space: nowrap;">HAProxy</div></foreignObject></g></g></g><g class="node" style="opacity: 1;" id="container" transform="translate(351.5,42.5)"><rect rx="0" ry="0" x="-72.5" y="-22.5" width="145" height="45"></rect><g class="label" transform="translate(0,0)"><g transform="translate(-62.5,-12.5)"><foreignObject width="125" height="25"><div style="display: inline-block; white-space: nowrap;overflow-wrap: break-word;">Service Container</div></foreignObject></g></g></g></g></g></g></svg></div>

Render

haproxy-diagram-truncated

0reactions
knsvcommented, Oct 4, 2015

Will close this one now. Let me know if you still are have problems with this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flowchart truncated · Issue #140 · mermaid-js/ ... - GitHub
I think I'm encountering the same issue, but it is truncating a bit differently. Input. graph LR; request[Request] --> haproxy; haproxy[HAProxy] ...
Read more >
10: Flowchart for truncation algorithm. - ResearchGate
It is an open-source depletion software to be used for nuclear reactor simulations, for fissile material production analysis as well as for nuclear...
Read more >
Common Flowchart Mistakes - BreezeTree Software
Truncated descriptions: One of the biggest disadvantages of flowcharts is that they require concise process step descriptions. However, not all operations ...
Read more >
Mermaid flowchart render truncates names : r/Notable - Reddit
Mermaid flowchart render truncates names. When creating graphs using mermaid, I see the name inside the box gets truncated once rendered.
Read more >
graphviz dot flow chart table-labels place and sometimes ...
graphviz dot flow chart table-labels place and sometimes truncated ... I've created a quite big flow diagram. Some of the edge-labels ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found