Skip to content

Commit fc9ec9a

Browse files
committed
fix: position q0
1 parent 8ac1de4 commit fc9ec9a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ function run() {
7272
automata.finalStates = finalStates;
7373
automata.transitions = transitions;
7474

75-
console.log(automata);
76-
7775
renderOut("Loading ...");
7876
renderOutString(string);
7977
verifyAFD(paper, graph, automata, string);
@@ -114,7 +112,7 @@ window.addEventListener("DOMContentLoaded", () => {
114112
startDragTools(graph);
115113

116114
const circle = new CircleShape({
117-
position: { x: 50, y: CANVAS_HEIGHT / 2 - NODE_WIDTH },
115+
position: { x: 50, y: 250 },
118116
attrs: { label: { text: "q0" } },
119117
});
120118

0 commit comments

Comments
 (0)