4 <meta http-equiv="X-UA-Compatible" content="IE=9">
6 <title>Mind Graph Canvas</title>
7 <style type="text/css">
12 font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
17 <script type="text/javascript" src="./header.js" charset="UTF-8"></script>
18 <script type="text/javascript">
23 var c = document.getElementById("mainCanvas");
24 mgmain = new MGCanvas(c);
28 "A","B","C","D","E","F",
41 "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P",
62 "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P",
84 "A","B","C","D","E","F","G","H","I","J",
107 "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O",
136 <h1>Mind Graph Canvas</h1>
137 <canvas id="mainCanvas" width="1024" height="768" style="border:1px solid #000000;"></canvas>
139 <button onclick="mgmain.bringToCenter();">Center</button>
140 <button onclick="mgmain.isPaused = !mgmain.isPaused;">Freeze</button>
141 <button onclick="mgmain.zoomIn();">+</button>
142 <button onclick="mgmain.zoomOut();">-</button>
143 <button onclick="mgmain.moveViewRelative(0, -10);">↑</button>
144 <button onclick="mgmain.moveViewRelative(0, 10);">↓</button>
145 <button onclick="mgmain.moveViewRelative(-10, 0);">←</button>
146 <button onclick="mgmain.moveViewRelative(10, 0);">→</button>
147 <input id="identBox" type="text">
148 <button onclick="mgmain.setIdentifierForSelectedNode(getElementById('identBox').value);">set</button>