forked from thesunRider/Reubus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
27 lines (24 loc) · 948 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="stylesheet" type="text/css" href="litegraph.css">
<script type="text/javascript" src="litem.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body style='width:100%; height:100%'>
<div id="main" style='width:100%; height:100%'>
<input type="hidden" id="debug" value="out" >
<canvas id='mycanvas' width='1800px' height='1200px' style='border: 0px solid ;position: fixed '></canvas>
</div>
<script>
var graph = new LGraph();
var canvas = new LGraphCanvas("#mycanvas", graph);
graph.start()
console.log(JSON.stringify( graph.serialize()));
</script>
<script type="text/javascript" src="nodes/default_nodes.js"></script>
<script type="text/javascript" src="nodes/customnode_ref.js"></script>
<script type="text/javascript" src="nodes/connections.js"></script>
</body>
</html>