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

Mermaid (pre-release) - Vertical flowchart cut off in viewer #2637

Closed
dpoulton-github opened this issue Mar 2, 2020 · 3 comments
Closed
Labels
bug It's a bug high High priority issues

Comments

@dpoulton-github
Copy link

dpoulton-github commented Mar 2, 2020

  • Joplin 1.0.187 (Portable) Pre-Release
  • Windows 10 Pro x64 (Virtual Machine)

As discussed on the Joplin forum.

Steps to Reproduce

Create a series of vertical flowcharts using Mermaid (See markdown below). Ensure one does not have a "node" or a "text label" in the left arm. If a vertical flowchart does not have a “node” or “label” on a left-hand flow, the left of the chart disappears off the left of the viewer.

mermaid-flow

Expected Behaviour

The flowchart should position itself to be completely visible.

Markdown Used To Test

graph TD
     a --> b;
     a --> c;
     b --> d;
     c --> d;

graph TD
     a --> c;
     a --> d;
     c --> d;

graph TD
     a --> c;
     c --> d;
     a --> d;
@dpoulton-github dpoulton-github added the bug It's a bug label Mar 2, 2020
@laurent22 laurent22 added the high High priority issues label Mar 2, 2020
@laurent22
Copy link
Owner

This appears to be a bug in Mermaid - the line is not just off screen, it's simply not drawn at all. Perhaps something to report to them.

@tessus
Copy link
Collaborator

tessus commented Mar 4, 2020

FYI: Not fixed in Mermaid 8.4.8.

Live Editor

@tessus
Copy link
Collaborator

tessus commented Mar 4, 2020

see mermaid-js/mermaid/issues/1293

@lock lock bot locked and limited conversation to collaborators Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug It's a bug high High priority issues
Projects
None yet
Development

No branches or pull requests

3 participants