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

Line been cutoff in flow chart #1288

Closed
jackycute opened this issue Mar 2, 2020 · 2 comments
Closed

Line been cutoff in flow chart #1288

jackycute opened this issue Mar 2, 2020 · 2 comments
Labels

Comments

@jackycute
Copy link

jackycute commented Mar 2, 2020

Describe the bug
Lines been cutoff in flow chart
Given a simple flow chart graph:

graph TD
    a --> c
    a --> e
    d --> e
    c --> e
    c --> d

will result in:

螢幕快照 2020-03-02 下午5 41 26

the line connects a and e nodes should not been cutoff in the output.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://mermaid-js.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgICBhIC0tPiBjXG4gICAgYSAtLT4gZVxuICAgIGQgLS0-IGVcbiAgICBjIC0tPiBlXG4gICAgYyAtLT4gZCIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19

Expected behavior
the line connects a and e nodes should not been cutoff in the output.

Screenshots
螢幕快照 2020-03-02 下午5 41 26

Desktop (please complete the following information):

  • OS: macOS 10.13.6
  • Browser: Chrome 79
  • Version: 8.4.8

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@jackycute jackycute added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Mar 2, 2020
@jackycute jackycute changed the title Lines been cutoff in flow chart Line been cutoff in flow chart Mar 2, 2020
@dcadc
Copy link

dcadc commented Mar 2, 2020

Looks like the place where a --> e was defined matters.
image
image

@GDFaber
Copy link
Member

GDFaber commented Apr 4, 2020

This has been fixed in #1333 so we can close here.

@GDFaber GDFaber closed this as completed Apr 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants