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

Insufficient capacity of gantt diagrams #226

Closed
Arnoldnuo opened this issue Oct 20, 2015 · 4 comments
Closed

Insufficient capacity of gantt diagrams #226

Arnoldnuo opened this issue Oct 20, 2015 · 4 comments

Comments

@Arnoldnuo
Copy link

I try to write code like this:

gantt
    title test 
    section A
    task1       :a1, 2014-01-01, 30d
    task3       :after a2, 20d
    section B
    task2       :a2, after a1 , 12d

what I want is task3 will begin after task2 is finished, but I get below
image

and I tried this:

gantt
    title test 
    section A
    task1       :a1, 2014-01-01, 30d
    section B
    task2       :a2, after a1 , 12d
    section A
    task3       :after a2, 20d

but I got

image

what should I do?

@knsv
Copy link
Collaborator

knsv commented Oct 21, 2015

Thanks for pointing this out. I will take a look.

@knsv
Copy link
Collaborator

knsv commented Oct 21, 2015

I can reproduce the issue and I understand why it occurs.

When task3 is declared it looks for the end date of a task2 that is not yet declared. This is why it currently fails. I see this as a bug, it should work. It takes some work to fix but I will add it to 0.5.6.

@Arnoldnuo
Copy link
Author

@knsv Thank you very much| I love mermaid so much, and it has became a part of my work。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants