adrai / adrai/flowchart.js

A side effect of PR#191

Offen
#210 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
8.7k
Forks
1.2k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...

st->op1->cond
cond(yes)->io->e
cond(no)->op1
```
@robertleeplummerjr @adrai The basic example was rendered as follows after [PR#191](https://github.com/adrai/flowchart.js/pull/191) was merged. The 'no' condition draws a line to the top-right instead of right direction, even if I explicitly specify the direction.

![Screenshot_2020-09-06 Demo page(1)](https://user-images.githubusercontent.com/7542439/92323498-e3120f80-f06b-11ea-8369-36241d212bd4.png)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the supplied flowchart example in the demo page and reviewing PR#191, which introduced the side effect. Trace how the `cond(no)->op1` edge direction is selected after that change; done means the no-condition branch renders to the right as explicitly specified, without regressing the other branches.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.