diff --git a/network_examples.html b/network_examples.html index 26a041ae..694c548d 100644 --- a/network_examples.html +++ b/network_examples.html @@ -59,8 +59,8 @@ var linksContainerRect = linksContainer.getBoundingClientRect(); var linksContainerHeight = linksContainerRect.bottom - linksContainerRect.top; - networkContainer.style.height = linksContainerHeight + 'px'; - linksContainer.style.marginTop = '-' + linksContainerHeight + 'px'; + networkContainer.style.height = (linksContainerHeight + LARGE_SIZE) + 'px'; + linksContainer.style.marginTop = '-' + (linksContainerHeight + LARGE_SIZE) + 'px'; var links = linksContainer.getElementsByTagName('a'); var nodesArray = []; @@ -70,6 +70,9 @@ for (var i = 0; i < links.length; i++) { var link = links[i]; if (link.className === 'exampleLink') { + var hrefArray = link.getAttribute('href').split('/'); + var exampleName = hrefArray[hrefArray.length-1].replace('.html',''); + var linkRect = link.getBoundingClientRect(); var linkWidth = linkRect.right - linkRect.left; @@ -87,8 +90,8 @@ size:2, fixed:true }); - nodesArray.push({id:idCounter + "image", -// label:link.innerHTML, + nodesArray.push({id:idCounter + 'image', + label:exampleName, x:link.offsetLeft + 400 + 100 + (idCounter % 3) * 150, y:link.offsetTop, color:{ @@ -99,11 +102,11 @@ x:0, y:0 }, - shape:'image', - image:'./images/exampleScreenshots/network/'+(idCounter+1)+'.png', + shape:'circle', + image:'./images/exampleScreenshots/network/'+(exampleName)+'.png', size:NORMAL_SIZE }); - edgesArray.push({from: idCounter, to: idCounter+"image", arrows:'from'}); + edgesArray.push({from: idCounter, to: idCounter+'image', arrows:'from'}); idCounter += 1; } } @@ -265,24 +268,34 @@ scaling the nodes and edges with the value.
scaling the nodes, edges and labels with the value.
+

dynamic configuration interface

+ dynamic configuration
+ +

data manipulation interface

+ manipulation interface and localization
+ +

clustering

+ clustering possibilities
+ clustering by zoom
+

physics

physics configuration
+

animation

+ animation showcase
+ +

navigation buttons

+ navigation buttons and keyboard shortcuts
+

example applications

les miserables cast
loading bar during stabilization
neighbourhood heighlight
using nodes as a legend
performance test with the worldcup data
+ performance test with scale free network
+ -

other

- animation showcase
- clustering possibilities
- clustering by zoom
- dynamic configuration
- manipulation interface and localization
- navigation buttons and keyboard shortcuts
- performance test with scale free network, customize the amount of nodes