make the clusterview a bit nicer
This commit is contained in:
parent
ba9d0f35f8
commit
8e50539c9c
|
@ -32,10 +32,10 @@
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<h1>EHEC Clusteranalysis</h1>
|
||||
</div>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h1>EHEC Clusteranalysis</h1>
|
||||
</div>
|
||||
<asp:Button
|
||||
ID="Button1"
|
||||
runat="server"
|
||||
|
@ -46,8 +46,8 @@
|
|||
Height="25"
|
||||
Width="80"
|
||||
/>
|
||||
<br />
|
||||
</form>
|
||||
<br />
|
||||
<div id="mynetwork"></div>
|
||||
<script type="text/javascript"> <%-- <%=Clusterdata%> --%>
|
||||
// create an array with nodes
|
||||
|
@ -74,7 +74,7 @@
|
|||
springConstant: 0.08,
|
||||
springLength: 100,
|
||||
damping: 0.4,
|
||||
avoidOverlap: 0.5,
|
||||
avoidOverlap: 0.5
|
||||
},
|
||||
maxVelocity: 50,
|
||||
minVelocity: 0.1,
|
||||
|
@ -84,10 +84,10 @@
|
|||
iterations: 1000,
|
||||
updateInterval: 100,
|
||||
onlyDynamicEdges: false,
|
||||
fit: true,
|
||||
fit: true
|
||||
},
|
||||
timestep: 0.5,
|
||||
adaptiveTimestep: true,
|
||||
adaptiveTimestep: true
|
||||
},
|
||||
layout: {
|
||||
//randomSeed: undefined,
|
||||
|
@ -101,31 +101,31 @@
|
|||
edgeMinimization: true,
|
||||
parentCentralization: true,
|
||||
direction: 'UD', // UD, DU, LR, RL
|
||||
sortMethod: 'directed', // hubsize, directed
|
||||
},
|
||||
sortMethod: 'directed' // hubsize, directed
|
||||
}
|
||||
},
|
||||
groups: {
|
||||
result: {
|
||||
shape: 'triangle',
|
||||
size: 40,
|
||||
color: {
|
||||
background: 'red',
|
||||
background: 'red'
|
||||
},
|
||||
font: {
|
||||
color: '#FFFFFF',
|
||||
color: '#FFFFFF'
|
||||
},
|
||||
borderWidth: 1,
|
||||
borderWidth: 1
|
||||
},
|
||||
origin: {
|
||||
shape: 'star',
|
||||
size: 40,
|
||||
color: {
|
||||
background: 'green',
|
||||
background: 'green'
|
||||
},
|
||||
font: {
|
||||
color: '#FFFFFF',
|
||||
color: '#FFFFFF'
|
||||
},
|
||||
borderWidth: 1,
|
||||
borderWidth: 1
|
||||
},
|
||||
patient: {
|
||||
shape: 'ellipse',
|
||||
|
@ -134,21 +134,21 @@
|
|||
background: 'yellow',
|
||||
},
|
||||
font: {
|
||||
color: '#111111',
|
||||
color: '#111111'
|
||||
},
|
||||
borderWidth: 1,
|
||||
borderWidth: 1
|
||||
}
|
||||
},
|
||||
nodes: {
|
||||
borderWidth: 1,
|
||||
borderWidthSelected: 2,
|
||||
font: {
|
||||
size: 26,
|
||||
},
|
||||
size: 26
|
||||
}
|
||||
},
|
||||
edges: {
|
||||
hoverWidth: function (width) {return width+1;},
|
||||
},
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue