adrai / adrai/flowchart.js

Direction doesn't always work

Abierto
#142 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
8.7k
Forks
1.2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Thanks for making this, it's awesome. I'm having an issue where I can't control the direction for a condition outcome.

```
st=>start: Autobuy Triggered
e=>end: Sold

match=>operation: Match Partners
sell=>operation: Attempt Sale
portal=>end: Portal
fail=>end: Fail

matches=>condition: Have Matches?
sold=>condition: Sold?
more=>condition: More Matches?
cascade=>condition: Cascade?

st->match->matches
matches(yes,left)->sell->sold
matches(no)->portal

sold(yes)->e
sold(no)->cascade

cascade(yes)->more
cascade(no,bottom)->fail

more(yes,top)->sell
more(no)->portal

```
more(yes,top)->sell is coming out of the bottom and needlessly crossing another line

Is it something I'm doing wrong?

Thanks

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.