forked from MindFusionComponents/JavaScript-Diagram-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnimations.html
More file actions
67 lines (67 loc) · 2.67 KB
/
Copy pathAnimations.html
File metadata and controls
67 lines (67 loc) · 2.67 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
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MindFusion JsDiagram Sample - Animations</title>
<link href="common/jquery-ui.min.css" rel="stylesheet" />
<link href="common/samples.css" rel="stylesheet" />
<script type="text/javascript" src="common/jquery.min.js"></script>
<script type="text/javascript" src="common/jquery-ui.min.js"></script>
<script type="text/javascript" src="common/samples.js"></script>
</head>
<body>
<div id="header" style="height: 49px;">
<div style="float: left" id="animationControls">
<div style="float: left; margin-right: 5px;">
<span class="label">Animation type:</span>
<select id="animationType">
<option value="0">Linear</option>
<option value="1">Power</option>
<option value="2">Exponential</option>
<option value="3">Circular</option>
<option value="4">BackBow</option>
<option value="5">Bounce</option>
<option value="6">Elastic</option>
</select>
</div>
<div style="float: left;">
<span class="label">Easing type:</span>
<select id="easingType">
<option value="0">EaseIn</option>
<option value="1">EaseOut</option>
<option value="2">EaseInOut</option>
<option value="3">EaseOutIn</option>
</select>
</div>
</div>
<div style="float: right; margin-right: 5px; margin-top: 17px;">
<a href="Animations.js" style="margin-right: 10px;">View source</a>
<button id="expandButton" onclick="onExpandCollapse()">
></button>
</div>
</div>
<div id="info" style="top: 60px; bottom: 24px;">
<div id="infoTab" style="padding: 10px;">
<h1>
About this sample</h1>
<p>
In this sample the JsDiagram control is used to display an interactive decision-making
diagram with animated nodes and links. You can adjust the animation type through
the combo boxes at the top. To start, click on the pulsating red node.</p>
</div>
</div>
<div id="content" style="top: 60px; bottom: 24px;">
<!-- The Diagram component is bound to the canvas element below -->
<div style="width: 100%; height: 100%; overflow: auto;">
<canvas id="diagram" width="2100" height="2100">
This page requires a browser that supports HTML 5 Canvas element.
</canvas>
</div>
</div>
<div id="footer" style="height: 24px;">
<span id="copyright"></span>
</div>
<script src="MindFusion.Common.js" type="text/javascript"></script>
<script src="MindFusion.Diagramming.js" type="text/javascript"></script>
<script src="Animations.js" type="text/javascript"></script>
</body>
</html>