Skip to content

Commit b81fa91

Browse files
committed
remove out step by step
1 parent a2136fd commit b81fa91

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/afnd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function verifyAFND(paper, graph, automata, string) {
5757
step[2],
5858
);
5959

60-
document.querySelector("#string-out").textContent += step[3];
60+
// document.querySelector("#string-out").textContent += step[3];
6161

6262
indexStep++;
6363
}, 1000);

src/main.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ function run() {
5151
if (el.type === "Link") {
5252
alphabet.push(...el.labels[0].attrs.text.text.split(","));
5353

54-
// transitions.push({
55-
// state: states[el.source.id].text,
56-
// symbol: el.labels[0].attrs.text.text.split(",") || "transition",
57-
// nextState: states[el.target.id].text,
58-
// });
59-
6054
el.labels[0].attrs.text.text.split(",").forEach((symbol) => {
6155
if (transitions[states[el.source.id].text].length >= 0) {
6256
transitions[states[el.source.id].text].push([

0 commit comments

Comments
 (0)