Skip to content

Commit

Permalink
Update Array Access Representation (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
appenmaier authored Dec 4, 2024
1 parent b2d7d6f commit 691f5ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.docusaurus
build
/.project
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ stateDiagram-v2
state "[Zählvariable A] = 1" as state2
state "[Zähler] inkrementieren" as state3
state "[Zählvariable B] = [Zählvariable A]" as state4
state "[Temporäre Variable] = [Feld][[Zählvariable B]]" as state5
state "[Feld][[Zählvariable B]] = [Temporäre Variable]" as state6
state "[Temporäre Variable] = Element [Zählvariable B] von [Feld]" as state5
state "Element [Zählvariable B] von [Feld] = [Temporäre Variable]" as state6
state "Ausführen: [Feld ausgeben]" as state7
state "[Zählvariable A] inkrementieren" as state8
state "[Feld][[Zählvariable B]] = [Feld][[Zählvariable B - 1]]" as state9
state "Element [Zählvariable B] von [Feld] = Element [Zählvariable B - 1] von [Feld]" as state9
state "[Zählvariable B] dekrementieren" as state10
state if1 <<choice>>
Expand All @@ -62,7 +62,7 @@ stateDiagram-v2
state4 --> state5
state5 --> if2
if2 --> state6: sonst
if2 --> state9: [Zählvariable B] > 0 und [Feld][[Zählvariable B - 1]] > [Temporäre Variable]
if2 --> state9: [Zählvariable B] > 0 und Element [Zählvariable B - 1] von [Feld] > [Temporäre Variable]
state6 --> state7
state7 --> state8
state8 --> if1
Expand All @@ -77,7 +77,7 @@ stateDiagram-v2
stateDiagram-v2
state "Ausgabe: Durchlauf [Zähler]" as state1
state "[Zählvariable] = 0" as state2
state "Ausgabe: [Feld][[Zählvariable]]" as state3
state "Ausgabe: Element [Zählvariable] von [Feld]" as state3
state "[Zählvariable] inkrementieren" as state4
state if1 <<choice>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ stateDiagram-v2
state "[Zählvariable 2] = [Zählvariable 1] + 1" as state3
state "[Index] = [Zählvariable 2]" as state4
state "[Zählvariable 2] inkrementieren" as state5
state "[Temporäre Variable] = [Liste][[Index]]" as state6
state "[Liste][[Index]] = [Liste][[Zählvariable 1]]" as state7
state "[Liste][[Zählvariable 1]] = [Temporäre Variable]" as state8
state "[Temporäre Variable] = Element [Index] von [Liste]" as state6
state "Element [Index] von [Liste] = Element [Zählvariable 1] von [Liste]" as state7
state "Element [Zählvariable 1] von [Liste] = [Temporäre Variable]" as state8
state "[Zählvariable 1] inkrementieren" as state9
state if1 <<choice>>
Expand All @@ -64,7 +64,7 @@ stateDiagram-v2
state3 --> if2
if2 --> if3: [Zählvariable 2] < [Länge der Liste]
if2 --> state6: sonst
if3 --> state4: [Liste][[Zählvariable 2]] < [Liste][[Index]]
if3 --> state4: Element [Zählvariable 2] von [Liste] < Element [Index] von [Liste]
if3 --> fork1: sonst
state4 --> fork1
fork1 --> state5
Expand Down

0 comments on commit 691f5ec

Please sign in to comment.