-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Ability to change the direction of arrow lines #15
Comments
I look what I can do... ;-) PS. @stefanwey exactly what you wanted some days ago, right? |
try the newest version with this code ;-) st=>start: Start st->op1->cond1 |
wow! thank you so much for fast response adrai :) it works fine for me with st->op1->cond1 you can expect for more questions from me in the future :) |
I found an issue regarding the "op3(right)->sub1(right)->op4(right)->op1" the right arrow line did not change in size. another thing is, is it possible to change the font style,weight,family of the code? im using the default code. var o = { |
Hi @adrai , Here is my complete code, it is working but the flowchart does'nt looks fine, may you please check my codes? I hope you can suggest something to sort this out. here it is, st=>start: Start:>link here st->op1->cond1 |
try now ;-) |
Hi @adrai did you try the codes I have posted? I think the "op3(right)->sub1(right)->op4(right)->op1" the right arrow line did not change in size. |
what do you mean by did not change in size? |
and another thing is, in my codes the line "cond3(yes,right)->op6 thank you so much! |
Sir you can see it if you try my codes st=>start: Start:>link here st->op1->cond1 the right arrow line did not change its size when I use the code below, i think the "'line-length':30," is not working for the right arrow lines like "op3(right)->sub1(right)" |
is v1.2.10 better? the line-length attribute is just a proposal... the algorithm could adapt it to rearrange the whole chart... |
Hi @adrai check this screenshot the arrow lines pointing to the right doesn't have a min length. even I declare "'line-length': 30," and is it posible for the condition symbol to cond(yes,left) so that the arrow lines will not merge together incase it has a same path or way. see example image below |
I hope you can resolve the problem regarding that too long arrow lines thank you so much! |
I can't solve it, because the algorithm tries to draw the chart in this fashion:
this library can generate only "nice" charts with "simple" workflows... sorry :-( |
sorry this was a strange output... |
oh, that's too bad :( |
maybe if you just can make a condition to turn left it will be a good output. output will become
just like what you said the algorithm is forming a cone a big triangle. |
Before I made this lib I also searched for something like that and found nothing :-( The left side cases are really dangerous... a lot of conflicts will occur... |
what is the difference in posting in issues and pull request? |
A pull request is a code change request, submitting directly the changed code... |
who will submit the codes? I don't have enough knowledge to do that.. |
partially implented |
Hi sir,
I found your codes helpful for my project.
I hope you can help me with my problem.
Is there a way to change the direction of "operation"? its default is always going down which Im having a problem, I need to turn the arrow line of the "operation" to turn "right"
like the "condition" you can modify it like "cond(yes,right)".
here is my code:
st=>start: Start
e=>end
op1=>operation: 1.0 Open SAP GT
op2=>operation: 2.0 Search Account in GT
op3=>operation: 1.1 Inform immediate superior and let them contact the Resolver Group
op4=>operation: 1.3 Wait for the response
cond1=>condition: Any issues on the system?
sub1=>subroutine: Resolver Group to handle the request
st->op1->cond1
cond1(yes,right)->op3
cond1(no)->op2
op3->sub1->op4->op1
The text was updated successfully, but these errors were encountered: