-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (48 loc) · 2.03 KB
/
index.html
File metadata and controls
55 lines (48 loc) · 2.03 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MindFusion JsDiagram Sample</title>
<link rel="stylesheet" href="common/samples.css" />
<link rel="stylesheet" href="themes/common-ui.css" />
<link rel="stylesheet" href="themes/business.css" />
</head>
<body>
<div id="sidebar">
<button id="newButton">New</button>
<button id="saveButton">Save</button>
<button id="loadButton">Load</button>
</div>
<div id="content" style="top: 0px; bottom: 24px;">
<div style="position: absolute; left: 0px; top: 0px; bottom: 0px; width: 200px; border-right: 1px solid #e2e4e7;
overflow: hidden; vertical-align: top;">
<!-- The Overview component is bound to the canvas element below -->
<div style="position: absolute; top: 0px; bottom: 0px; right: 0px; width: 200px;
height: 200px; border-bottom: 1px solid #e2e4e7; background-color: #c0c0c0;">
<canvas id="overview" width="200" height="200">
</canvas>
</div>
<!-- The Palette component is bound to the div element below -->
<div id="palette" style="position: absolute;bottom:0px;">
</div>
</div>
<div id="ruler" style="position: absolute; left: 201px; top: 0px; right: 0px; bottom: 0px;">
<!-- The DiagramView component is bound to the canvas element below -->
<div style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: auto;background-color: #fff;">
<canvas id="diagram" width="2100" height="2100">
This page requires a browser that supports HTML 5 Canvas element.
</canvas>
</div>
</div>
<!-- The ZoomControl component is bound to the canvas element below -->
<div style="width: 50px; height: 300px; position: absolute; top: 20px; right: 35px;
width: 50px; height: 300px;z-index:3;">
<canvas id="zoomer" width="50" height="300">
</canvas>
</div>
</div>
<div id="footer" style="height: 24px; text-align: right;">
<a id="mindfusionLink" href="https://mindfusion.dev/javascript-diagram.html">h/t MindFusion</a>
</div>
<script type="module" src="/index.js"></script>
</body>
</html>