forked from BhallaLab/FindSimLayout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.html
50 lines (43 loc) · 1.05 KB
/
layout.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<meta charset="utf-8">
<style>
div.tooltip {
position: absolute;
text-align: centre;
width: 150px;
height: 38px;
padding: 2px;
font: 12px sans-serif;
background: lightsteelblue;
border: 0px;
border-radius: 8px;
pointer-events: none;
}
</style>
<html>
<head>
<script src="http://d3js.org/d3.v2.min.js"></script>
<script src="http://d3js.org/d3-color.v1.min.js"></script>
<script src="http://d3js.org/d3-interpolate.v1.min.js"></script>
<script src="http://d3js.org/d3-scale-chromatic.v1.min.js"></script>
<style type="text/css">
#arrow{
stroke-width:1;
stroke-dasharray:0;
}
</style>
</head>
<body>
<h2> Example to read and display layout of SBML file</h2>
<input class="inputFile" type="file" id="sbmlFile" size="50" onchange="loadXMLDoc()">
<p id="fname">Select an SBML file</p>
<p id="pools">Pool</p>
<p id="reacs">Reac</p>
<p id="enz">Enz</p>
<p id="mmenz">MMEnz</p>
<p id="groups">Groups</p>
<p id="msgs">Msg</p>
<p id="ErrMsg"> Err Msg </p>
<script type="text/javascript" src="layoutSBML.js"> </script>
</body>
<html>