|
@ -34,10 +34,10 @@ |
|
|
// Create a data table with links. |
|
|
// Create a data table with links. |
|
|
edges = []; |
|
|
edges = []; |
|
|
|
|
|
|
|
|
nodes.push({id: 1, label: 'Main', image: DIR + 'Network-Pipe-icon.png', shape: 'image'}); |
|
|
|
|
|
|
|
|
nodes.push({id: 1, label: 'Main', image: DIR + 'Network-Pipe-icon.png', shape: 'image'}); |
|
|
nodes.push({id: 2, label: 'Office', image: DIR + 'Network-Pipe-icon.png', shape: 'image'}); |
|
|
nodes.push({id: 2, label: 'Office', image: DIR + 'Network-Pipe-icon.png', shape: 'image'}); |
|
|
nodes.push({id: 3, label: 'Wireless', image: DIR + 'Network-Pipe-icon.png', shape: 'image'}); |
|
|
nodes.push({id: 3, label: 'Wireless', image: DIR + 'Network-Pipe-icon.png', shape: 'image'}); |
|
|
edges.push({from: 1, to: 2, title:'world', length: LENGTH_MAIN}); |
|
|
|
|
|
|
|
|
edges.push({from: 1, to: 2, length: LENGTH_MAIN}); |
|
|
edges.push({from: 1, to: 3, length: LENGTH_MAIN}); |
|
|
edges.push({from: 1, to: 3, length: LENGTH_MAIN}); |
|
|
|
|
|
|
|
|
for (var i = 4; i <= 7; i++) { |
|
|
for (var i = 4; i <= 7; i++) { |
|
|