adrai / adrai/flowchart.js

Overlapping lines

Đang mở
#30 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
8.7k
Fork
1.2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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,

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.