adrai / adrai/flowchart.js

Overlapping lines

Open
#30 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Nice job!! ;)

I'm trying to do a flowchart with 2 conditions but I can't place box where i need:

I obtain:
![imagen 1](https://cloud.githubusercontent.com/assets/8124469/4115020/82bda2a2-3271-11e4-9e99-b53408849cc3.png)

My code:
st=>start: Start|past
e=>end: End
op1=>operation: op1
text center|past
op2=>operation: op2|current
cond1=>condition: cond1|approved
cond2=>condition: cond2|approved
sub1=>subroutine: sub1|future

st(right)->op1(right)->cond1
cond1(no)->op2
cond2(no)->op2
cond1(yes, right)->cond2
cond2(yes, right)->sub1
op2(right)->sub1(right)->e

And I'd like to have this position:

![imagen 2](https://cloud.githubusercontent.com/assets/8124469/4115115/0d467e34-3273-11e4-8bad-c1166ff23854.png)

is it possible to do it?

More over I'd like to center some text inside a box, is it possible too?

Thanks,
Best regards,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.