diff --git a/js/lib/sigma/plugins/sigma.layout.forceAtlas2.min.js b/js/lib/sigma/plugins/sigma-layout-forceAtlas2-min.js similarity index 100% rename from js/lib/sigma/plugins/sigma.layout.forceAtlas2.min.js rename to js/lib/sigma/plugins/sigma-layout-forceAtlas2-min.js diff --git a/js/lib/sigma/plugins/sigma.plugins.animate.min.js b/js/lib/sigma/plugins/sigma-plugins-animate-min.js similarity index 100% rename from js/lib/sigma/plugins/sigma.plugins.animate.min.js rename to js/lib/sigma/plugins/sigma-plugins-animate-min.js diff --git a/js/lib/sigma/plugins/sigma.renderers.customShapes.min.js b/js/lib/sigma/plugins/sigma-renderers-customShapes-min.js similarity index 100% rename from js/lib/sigma/plugins/sigma.renderers.customShapes.min.js rename to js/lib/sigma/plugins/sigma-renderers-customShapes-min.js diff --git a/manager/module/chart/networkChart.php b/manager/module/chart/networkChart.php index 1fb0630..320bbe0 100644 --- a/manager/module/chart/networkChart.php +++ b/manager/module/chart/networkChart.php @@ -20,54 +20,54 @@ /* (2) Liste des alters */ 'alter' => array( // Pour chaque alter, on a ID_ALTER, NOM_ALTER, AFFINITE_ALTER - array( 653, "Norris", 2 ), - array( 1743, "Melissa", 79 ), - array( 3739, "Sue", 38 ), - array( 36, "Rasmussen", 34 ), - array( 1372, "Brown", 35 ), - array( 3030, "Brock", 84 ), - array( 3821, "Savage", 21 ), - array( 1288, "Black", 17 ), - array( 1443, "Susie", 69 ), - array( 4129, "Rowe", 66 ), - array( 71, "Dillard", 87 ), - array( 1002, "Richmond", 5 ), - array( 640, "Morris", 24 ), - array( 2335, "Daugherty", 53 ), - array( 2541, "Hughes", 74 ), - array( 3963, "Roach", 13 ), - array( 4550, "Hazel", 30 ), - array( 3120, "Eugenia", 97 ), - array( 4302, "Nicholson", 25 ), - array( 859, "Marguerite", 70 ), - array( 2551, "Aurora", 36 ), - array( 3612, "Tracie", 55 ), - array( 3040, "Fulton", 62 ), - array( 1895, "Stuart", 37 ), - array( 4342, "Latasha", 21 ), - array( 2957, "Coleen", 1 ), - array( 2493, "Contreras", 100 ), - array( 4776, "Holmes", 97 ), - array( 3623, "Hallie", 88 ), - array( 3660, "Ginger", 26 ), - array( 471, "Slater", 23 ), - array( 4581, "Elnora", 23 ), - array( 286, "Patton", 71 ), - array( 3210, "Autumn", 23 ), - array( 1896, "Benton", 99 ), - array( 4875, "Fern", 17 ), - array( 2156, "Bond", 99 ), - array( 1556, "Ingrid", 34 ), - array( 2097, "Case", 23 ), - array( 3024, "Pat", 57 ), - array( 1121, "Reeves", 41 ), - array( 1832, "Francis", 75 ), - array( 3733, "Moore", 77 ), - array( 737, "Elva", 49 ), - array( 1137, "Stevenson", 10 ), - array( 988, "Lauri", 44 ), - array( 1182, "Boone", 19 ), - array( 909, "Morin", 68 ) + array( 653, "Norris", 2*5/100 ), + array( 1743, "Melissa", 79*5/100 ), + array( 3739, "Sue", 38*5/100 ), + array( 36, "Rasmussen", 34*5/100 ), + array( 1372, "Brown", 35*5/100 ), + array( 3030, "Brock", 84*5/100 ), + array( 3821, "Savage", 21*5/100 ), + array( 1288, "Black", 17*5/100 ), + array( 1443, "Susie", 69*5/100 ), + array( 4129, "Rowe", 66*5/100 ), + array( 71, "Dillard", 87*5/100 ), + array( 1002, "Richmond", 5*5/100 ), + array( 640, "Morris", 24*5/100 ), + array( 2335, "Daugherty", 53*5/100 ), + array( 2541, "Hughes", 74*5/100 ), + array( 3963, "Roach", 13*5/100 ), + array( 4550, "Hazel", 30*5/100 ), + array( 3120, "Eugenia", 97*5/100 ), + array( 4302, "Nicholson", 25*5/100 ), + array( 859, "Marguerite", 70*5/100 ), + array( 2551, "Aurora", 36*5/100 ), + array( 3612, "Tracie", 55*5/100 ), + array( 3040, "Fulton", 62*5/100 ), + array( 1895, "Stuart", 37*5/100 ), + array( 4342, "Latasha", 21*5/100 ), + array( 2957, "Coleen", 1*5/100 ), + array( 2493, "Contreras", 100*5/100 ), + array( 4776, "Holmes", 97*5/100 ), + array( 3623, "Hallie", 88*5/100 ), + array( 3660, "Ginger", 26*5/100 ), + array( 471, "Slater", 23*5/100 ), + array( 4581, "Elnora", 23*5/100 ), + array( 286, "Patton", 71*5/100 ), + array( 3210, "Autumn", 23*5/100 ), + array( 1896, "Benton", 99*5/100 ), + array( 4875, "Fern", 17*5/100 ), + array( 2156, "Bond", 99*5/100 ), + array( 1556, "Ingrid", 34*5/100 ), + array( 2097, "Case", 23*5/100 ), + array( 3024, "Pat", 57*5/100 ), + array( 1121, "Reeves", 41*5/100 ), + array( 1832, "Francis", 75*5/100 ), + array( 3733, "Moore", 77*5/100 ), + array( 737, "Elva", 49*5/100 ), + array( 1137, "Stevenson", 10*5/100 ), + array( 988, "Lauri", 44*5/100 ), + array( 1182, "Boone", 19*5/100 ), + array( 909, "Morin", 68*5/100 ) ), /* (1) Liste des relations */ @@ -91,7 +91,6 @@ array( 2156, 3030 ), array( 4342, 4302 ), array( 71, 286 ), - array( 1896, 1896 ), array( 3120, 1182 ), array( 3821, 3660 ), array( 2541, 1743 ), @@ -171,8 +170,8 @@ foreach($data['alter'] as $i=>$alter){ // On calcule l'origine (centre du cercle) $origins[$alter[0]] = array( - 'x' => 500 + (100-$alter[2])*(400/100) * cos($ang*$i), - 'y' => 500 + (100-$alter[2])*(400/100) * sin($ang*$i) + 'x' => 500 + (5-$alter[2])*(400/5) * cos($ang*$i), + 'y' => 500 + (5-$alter[2])*(400/5) * sin($ang*$i) ); // On ajoute le cercle associe a l'alter courant diff --git a/view.php b/view.php index 3b6a360..2a76531 100755 --- a/view.php +++ b/view.php @@ -25,14 +25,14 @@ - - - - + + + + - - + +
diff --git a/view/charts.php b/view/charts.php index 5094566..9183c76 100755 --- a/view/charts.php +++ b/view/charts.php @@ -49,6 +49,14 @@ $render = $answer->get('render'); + +