Graphs
/**
* This example spawns three different renderers, two of them sharing
* their camera. Also, a ForceAtlas2 runs on the graph.
*
* It is basically a mashup between some other examples, to show how
* sigma behaves when instantiated in a weird and heavy configuration.
*/
var i,
s,
o,
offset_left = 0.5,
N = 13,
E = 40,
C = 5,
d = 0.5,
cs = [],
g = {
nodes: [],
edges: []
};
sigma.classes.graph.addMethod('neighbors', function(nodeId) {
var k,
neighbors = {},
index = this.allNeighborsIndex[nodeId] || {};
for (k in index)
neighbors[k] = this.nodesIndex[k];
return neighbors;
});
// adding node
var x_node = Math.cos(2 * 0 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 0 * Math.PI / N) * 10;
g.nodes.push({
id: 160139,
label: 'Institut de l’Audition – Centre de l’Institut Pasteur',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57,
label: 'Laboratoire d’Innovation en Thérapies de l’Audition',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16013957,
size: 0.5,
source: 160139,
target: 57 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24212,
label: 'Déficits Sensoriels Progressifs, Pathophysiologie et Thérapie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16013924212,
size: 0.5,
source: 160139,
target: 24212 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160144,
label: 'Code Neural dans le Système Auditif',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160144,
size: 0.5,
source: 160139,
target: 160144 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160155,
label: 'Dynamique du Système Auditif et Perception Multisensorielle',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160155,
size: 0.5,
source: 160139,
target: 160155 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160160,
label: 'Exploration clinique et translationnelle des synaptopathies auditives',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160160,
size: 0.5,
source: 160139,
target: 160160 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160165,
label: 'Plasticité des Circuits Auditifs Centraux',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160165,
size: 0.5,
source: 160139,
target: 160165 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160171,
label: 'Technologies et thérapie génique pour la surdité',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160171,
size: 0.5,
source: 160139,
target: 160171 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160183,
label: 'Cognition et communication auditive',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160183,
size: 0.5,
source: 160139,
target: 160183 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160175,
label: 'Développement Cochléaire et perspectives Thérapeutiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160175,
size: 0.5,
source: 160139,
target: 160175 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 164700,
label: 'Plateforme de BioImagerie de l’Institut de l’Audition',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139164700,
size: 0.5,
source: 160139,
target: 164700 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 164712,
label: 'Plateforme d’Animalerie et Phénotypage de l’Institut de l’Audition',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139164712,
size: 0.5,
source: 160139,
target: 164712 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 173185,
label: 'Codage neural et neuro-ingénierie des fonctions de parole',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139173185,
size: 0.5,
source: 160139,
target: 173185 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 182351,
label: 'Plateforme d’Acquisition et Traitement du Signal de l’Institut de l’Audition',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139182351,
size: 0.5,
source: 160139,
target: 182351 });
// adding node
var x_node = Math.cos(2 * 1 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 1 * Math.PI / N) * 10;
g.nodes.push({
id: 125763,
label: 'Biologie Computationnelle',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 77488,
label: 'Génétique Statistique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576377488,
size: 0.5,
source: 125763,
target: 77488 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83826,
label: 'InBio: Méthodes expérimentales et computationnelles pour la modélisation des processus cellulaires',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576383826,
size: 0.5,
source: 125763,
target: 83826 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 119692,
label: 'Algorithmes pour les séquences biologiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125763119692,
size: 0.5,
source: 125763,
target: 119692 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 18489,
label: 'Hub de Bioinformatique et Biostatistique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576318489,
size: 0.5,
source: 125763,
target: 18489 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70654,
label: 'Décision et processus Bayesiens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576370654,
size: 0.5,
source: 125763,
target: 70654 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6124,
label: 'Biomédecine Computationelle des Systèmes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257636124,
size: 0.5,
source: 125763,
target: 6124 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6135,
label: 'Imagerie et modélisation',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257636135,
size: 0.5,
source: 125763,
target: 6135 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 195173,
label: 'Apprentissage automatique pour la génomique intégrative',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125763195173,
size: 0.5,
source: 125763,
target: 195173 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210082,
label: 'Dynamiques évolutives des maladies infectieuses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125763210082,
size: 0.5,
source: 125763,
target: 210082 });
// adding node
var x_node = Math.cos(2 * 2 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 2 * Math.PI / N) * 10;
g.nodes.push({
id: 125756,
label: 'Santé Globale',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6180,
label: 'Lyssavirus, épidémiologie et neuropathologie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566180,
size: 0.5,
source: 125756,
target: 6180 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94346,
label: 'Biodiversité et Épidémiologie des Bactéries Pathogènes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12575694346,
size: 0.5,
source: 125756,
target: 94346 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6186,
label: 'Modélisation Mathématique des Maladies Infectieuses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566186,
size: 0.5,
source: 125756,
target: 6186 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6229,
label: 'Epidémiologie des Maladies Emergentes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566229,
size: 0.5,
source: 125756,
target: 6229 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6182,
label: 'Epidémiologie et modélisation de la résistance aux antimicrobiens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566182,
size: 0.5,
source: 125756,
target: 6182 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6228,
label: 'Environnement et risques infectieux',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566228,
size: 0.5,
source: 125756,
target: 6228 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6126,
label: 'Trypanosomatids Infectious Processes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566126,
size: 0.5,
source: 125756,
target: 6126 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6166,
label: 'Écologie et Émergence des Pathogènes Transmis par les Arthropodes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566166,
size: 0.5,
source: 125756,
target: 6166 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6184,
label: 'Infections Bactériennes Invasives',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566184,
size: 0.5,
source: 125756,
target: 6184 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6227,
label: 'Bactéries Pathogènes Entériques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566227,
size: 0.5,
source: 125756,
target: 6227 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24234,
label: 'Anthropologie et Ecologie de l’Emergence des Maladies',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12575624234,
size: 0.5,
source: 125756,
target: 24234 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156720,
label: 'Epidémiologie et Analyse des Maladies Infectieuses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125756156720,
size: 0.5,
source: 125756,
target: 156720 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 74430,
label: 'Mucoviscidose et bronchopathies chroniques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12575674430,
size: 0.5,
source: 125756,
target: 74430 });
// adding node
var x_node = Math.cos(2 * 3 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 3 * Math.PI / N) * 10;
g.nodes.push({
id: 160769,
label: 'Mycologie',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6196,
label: 'Biologie et Pathogénicité fongiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1607696196,
size: 0.5,
source: 160769,
target: 6196 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24312,
label: 'Biologie des ARN des Pathogènes Fongiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16076924312,
size: 0.5,
source: 160769,
target: 24312 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 96449,
label: 'Epigénétique et Génétique Moléculaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16076996449,
size: 0.5,
source: 160769,
target: 96449 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6122,
label: 'Immunologie des Infections Fongiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1607696122,
size: 0.5,
source: 160769,
target: 6122 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 152957,
label: 'Hétérogénéité fongique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160769152957,
size: 0.5,
source: 160769,
target: 152957 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 148606,
label: 'Immunobiologie d’Aspergillus',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160769148606,
size: 0.5,
source: 160769,
target: 148606 });
// adding node
var x_node = Math.cos(2 * 4 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 4 * Math.PI / N) * 10;
g.nodes.push({
id: 26,
label: 'Neuroscience',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 36,
label: 'Génétique Humaine et Fonctions Cognitives',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2636,
size: 0.5,
source: 26,
target: 36 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 86,
label: 'Signalisation et dynamique des récepteurs',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2686,
size: 0.5,
source: 26,
target: 86 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6201,
label: 'Neurobiologie intégrative des systèmes cholinergiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 266201,
size: 0.5,
source: 26,
target: 6201 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6202,
label: 'Perception & Action',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 266202,
size: 0.5,
source: 26,
target: 6202 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70654,
label: 'Décision et processus Bayesiens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2670654,
size: 0.5,
source: 26,
target: 70654 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94978,
label: 'Dynamique Corticale et Prise de Décision',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2694978,
size: 0.5,
source: 26,
target: 94978 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156712,
label: 'Interactions cerveau-immunité',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 26156712,
size: 0.5,
source: 26,
target: 156712 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 165876,
label: 'Neuroanatomie Appliquée et Théorique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 26165876,
size: 0.5,
source: 26,
target: 165876 });
// adding node
var x_node = Math.cos(2 * 5 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 5 * Math.PI / N) * 10;
g.nodes.push({
id: 15,
label: 'Biologie cellulaire et infection',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 517,
label: 'Analyse d’Images Biologiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 15517,
size: 0.5,
source: 15,
target: 517 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6181,
label: 'Biologie des Infections',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156181,
size: 0.5,
source: 15,
target: 6181 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6139,
label: 'Polarité cellulaire, Migration et Cancer',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156139,
size: 0.5,
source: 15,
target: 6139 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6141,
label: 'Biologie cellulaire de l’infection microbienne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156141,
size: 0.5,
source: 15,
target: 6141 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62866,
label: 'Chromatine et Infection',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1562866,
size: 0.5,
source: 15,
target: 62866 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6134,
label: 'Dynamique des interactions hôte-pathogène',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156134,
size: 0.5,
source: 15,
target: 6134 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 170258,
label: 'Biologie cellulaire évolutive et évolution de la morphogenèse',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 15170258,
size: 0.5,
source: 15,
target: 170258 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83820,
label: 'Biochimie Membranaire et Transport',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1583820,
size: 0.5,
source: 15,
target: 83820 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6462,
label: 'Trafic membranaire et division cellulaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156462,
size: 0.5,
source: 15,
target: 6462 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6140,
label: 'Trafic membranaire et Pathogénèse',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156140,
size: 0.5,
source: 15,
target: 6140 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6107,
label: 'Individualité Microbienne et Infection',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156107,
size: 0.5,
source: 15,
target: 6107 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 108862,
label: 'Biologie mitochondriale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 15108862,
size: 0.5,
source: 15,
target: 108862 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6137,
label: 'Organisation nucléaire et oncogénèse',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156137,
size: 0.5,
source: 15,
target: 6137 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 51157,
label: 'Pathogenèse des infections vasculaires',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1551157,
size: 0.5,
source: 15,
target: 51157 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94012,
label: 'BioImagerie Photonique (UTechS PBI)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1594012,
size: 0.5,
source: 15,
target: 94012 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 93967,
label: 'BioImagerie Ultrastructurale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1593967,
size: 0.5,
source: 15,
target: 93967 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 98764,
label: 'Hub d’Analyse d’Images',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1598764,
size: 0.5,
source: 15,
target: 98764 });
// adding node
var x_node = Math.cos(2 * 6 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 6 * Math.PI / N) * 10;
g.nodes.push({
id: 34,
label: 'Virologie',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6232,
label: 'Arbovirus et Insectes Vecteurs (AIV)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346232,
size: 0.5,
source: 34,
target: 6232 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6211,
label: 'Biologie des infections virales émergentes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346211,
size: 0.5,
source: 34,
target: 6211 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6226,
label: 'HIV, inflammation et persistance',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346226,
size: 0.5,
source: 34,
target: 6226 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6213,
label: 'Epidémiologie et Physiopathologie des Virus Oncogènes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346213,
size: 0.5,
source: 34,
target: 6213 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6223,
label: 'Virologie structurale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346223,
size: 0.5,
source: 34,
target: 6223 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6215,
label: 'Archivé: Laboratoire d’innovation : vaccins',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346215,
size: 0.5,
source: 34,
target: 6215 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6217,
label: 'Archivé: Neuro-Immunologie Virale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346217,
size: 0.5,
source: 34,
target: 6217 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6224,
label: 'Virus and Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346224,
size: 0.5,
source: 34,
target: 6224 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6225,
label: 'Virus et interférence ARN',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346225,
size: 0.5,
source: 34,
target: 6225 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24371,
label: 'Groupe: MISTIC',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424371,
size: 0.5,
source: 34,
target: 24371 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101904,
label: 'Génomique évolutive des virus à ARN',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34101904,
size: 0.5,
source: 34,
target: 101904 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6117,
label: 'Interactions Virus-Insectes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346117,
size: 0.5,
source: 34,
target: 6117 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24396,
label: 'Biologie des ARN et Virus Influenza',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424396,
size: 0.5,
source: 34,
target: 24396 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137080,
label: 'Découverte de Pathogènes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34137080,
size: 0.5,
source: 34,
target: 137080 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 65444,
label: 'Signalisation antivirale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3465444,
size: 0.5,
source: 34,
target: 65444 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 119282,
label: 'Virologie Moléculaire Avancée',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34119282,
size: 0.5,
source: 34,
target: 119282 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153633,
label: 'Groupe : Marc Lavigne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34153633,
size: 0.5,
source: 34,
target: 153633 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193447,
label: 'Mécanismes moléculaires de la multiplication des Pneumovirus',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34193447,
size: 0.5,
source: 34,
target: 193447 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193440,
label: 'Biologie structurale des maladies infectieuses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34193440,
size: 0.5,
source: 34,
target: 193440 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24357,
label: 'Interactions Hepacivirus – hôte',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424357,
size: 0.5,
source: 34,
target: 24357 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193580,
label: 'Virus et stress cellulaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34193580,
size: 0.5,
source: 34,
target: 193580 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 194720,
label: 'Interactomique, ARN et immunité',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34194720,
size: 0.5,
source: 34,
target: 194720 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24339,
label: 'Réservoirs viraux et contrôle immunitaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424339,
size: 0.5,
source: 34,
target: 24339 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 219532,
label: 'Laboratoire commun Institut Pasteur-Oncovita',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34219532,
size: 0.5,
source: 34,
target: 219532 });
// adding node
var x_node = Math.cos(2 * 7 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 7 * Math.PI / N) * 10;
g.nodes.push({
id: 32,
label: 'Immunologie',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6178,
label: 'Anticorps en Thérapie et Pathologie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326178,
size: 0.5,
source: 32,
target: 6178 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6172,
label: 'Dynamiques des Réponses Immunes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326172,
size: 0.5,
source: 32,
target: 6172 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6119,
label: 'Immunologie Humorale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326119,
size: 0.5,
source: 32,
target: 6119 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6177,
label: 'Immunobiologie et Thérapie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326177,
size: 0.5,
source: 32,
target: 6177 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6174,
label: 'Immunorégulation',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326174,
size: 0.5,
source: 32,
target: 6174 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6169,
label: 'Immunité innée',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326169,
size: 0.5,
source: 32,
target: 6169 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6118,
label: 'Intégrité du Génome, Immunité et Cancer',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326118,
size: 0.5,
source: 32,
target: 6118 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6170,
label: 'Archivé: Lymphocytes et Immunité',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326170,
size: 0.5,
source: 32,
target: 6170 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6171,
label: 'Microenvironnement et immunité',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326171,
size: 0.5,
source: 32,
target: 6171 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24432,
label: 'Stroma, inflammation et réparation tissulaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3224432,
size: 0.5,
source: 32,
target: 24432 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29755,
label: 'UTechS Single Cell Biomarkers',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3229755,
size: 0.5,
source: 32,
target: 29755 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 143968,
label: 'Immunologie Translationnelle',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32143968,
size: 0.5,
source: 32,
target: 143968 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 127390,
label: 'Inflammation et immunité des muqueuses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32127390,
size: 0.5,
source: 32,
target: 127390 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156712,
label: 'Interactions cerveau-immunité',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32156712,
size: 0.5,
source: 32,
target: 156712 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 199398,
label: 'Cellules dendritiques et immunité adaptative',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32199398,
size: 0.5,
source: 32,
target: 199398 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24243,
label: 'Groupe: Développement des ILC et inflammation',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3224243,
size: 0.5,
source: 32,
target: 24243 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 208020,
label: 'Groupe : Développement Hématopoïétique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32208020,
size: 0.5,
source: 32,
target: 208020 });
// adding node
var x_node = Math.cos(2 * 8 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 8 * Math.PI / N) * 10;
g.nodes.push({
id: 30,
label: 'Parasites et Insectes Vecteurs',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6206,
label: 'Biologie des interactions hôte-parasite',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306206,
size: 0.5,
source: 30,
target: 6206 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1110,
label: 'Centre de Production et d’Infection des Anophèles (CEPIA)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 301110,
size: 0.5,
source: 30,
target: 1110 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6208,
label: 'Archivé: Génétique et génomique des insectes vecteurs',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306208,
size: 0.5,
source: 30,
target: 6208 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6210,
label: 'Biologie de Plasmodium et Vaccins',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306210,
size: 0.5,
source: 30,
target: 6210 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6209,
label: 'Parasitologie moléculaire et Signalisation',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306209,
size: 0.5,
source: 30,
target: 6209 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6205,
label: 'Biologie cellulaire des Trypanosomes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306205,
size: 0.5,
source: 30,
target: 6205 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24119,
label: 'Infection et Immunité Paludéenne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3024119,
size: 0.5,
source: 30,
target: 24119 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64141,
label: 'Biologie moléculaire des Trypanosomes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3064141,
size: 0.5,
source: 30,
target: 64141 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160552,
label: 'Biologie des ARN des parasites',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 30160552,
size: 0.5,
source: 30,
target: 160552 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 139045,
label: 'Biologie de l’Infection et de la Transmission de Plasmodium',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 30139045,
size: 0.5,
source: 30,
target: 139045 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 227165,
label: 'Rate, Infections & Parasites',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 30227165,
size: 0.5,
source: 30,
target: 227165 });
// adding node
var x_node = Math.cos(2 * 9 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 9 * Math.PI / N) * 10;
g.nodes.push({
id: 28,
label: 'Génomes et Génétique',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6164,
label: 'Plasticité du Génome Bactérien',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286164,
size: 0.5,
source: 28,
target: 6164 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6158,
label: 'Dynamique du Génome',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286158,
size: 0.5,
source: 28,
target: 6158 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6165,
label: 'Génomique Évolutive des Microbes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286165,
size: 0.5,
source: 28,
target: 6165 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6160,
label: 'Génétique Évolutive Humaine',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286160,
size: 0.5,
source: 28,
target: 6160 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6116,
label: 'Régulation Spatiale des Génomes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286116,
size: 0.5,
source: 28,
target: 6116 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2665,
label: 'Biomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 282665,
size: 0.5,
source: 28,
target: 2665 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 90653,
label: 'Génétique de la Souris',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2890653,
size: 0.5,
source: 28,
target: 90653 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 100029,
label: 'Microfluidique Physique et Bio-ingénierie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28100029,
size: 0.5,
source: 28,
target: 100029 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 146163,
label: 'Paléogénomique microbienne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28146163,
size: 0.5,
source: 28,
target: 146163 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 166172,
label: 'Génomique fonctionnelle comparative',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28166172,
size: 0.5,
source: 28,
target: 166172 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 198839,
label: 'Diversité moléculaire des microbes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28198839,
size: 0.5,
source: 28,
target: 198839 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24220,
label: 'Archivé: Surveillance cytoplasmique des ARNm chez la levure',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2824220,
size: 0.5,
source: 28,
target: 24220 });
// adding node
var x_node = Math.cos(2 * 10 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 10 * Math.PI / N) * 10;
g.nodes.push({
id: 24,
label: 'Biologie structurale et chimie',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 748,
label: 'Ingénierie des Anticorps',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24748,
size: 0.5,
source: 24,
target: 748 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6149,
label: 'Biochimie des Interactions Macromoléculaires',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246149,
size: 0.5,
source: 24,
target: 6149 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62878,
label: 'Chimie bioorganique des acides nucléiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2462878,
size: 0.5,
source: 24,
target: 62878 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6155,
label: 'Archivé: Chimie et biocatalyse',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246155,
size: 0.5,
source: 24,
target: 6155 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6152,
label: 'Chimie des biomolécules',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246152,
size: 0.5,
source: 24,
target: 6152 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 794,
label: 'Cristallographie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24794,
size: 0.5,
source: 24,
target: 794 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1024,
label: 'Biophysique moléculaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 241024,
size: 0.5,
source: 24,
target: 1024 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1072,
label: 'Protéomique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 241072,
size: 0.5,
source: 24,
target: 1072 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6151,
label: 'Bioinformatique structurale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246151,
size: 0.5,
source: 24,
target: 6151 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6153,
label: 'Architecture et Dynamique des Macromolécules Biologiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246153,
size: 0.5,
source: 24,
target: 6153 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6156,
label: 'Spectrométrie de Masse pour la Biologie (UTechS MSBio)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246156,
size: 0.5,
source: 24,
target: 6156 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6150,
label: 'Microbiologie structurale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246150,
size: 0.5,
source: 24,
target: 6150 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101330,
label: 'Chimie Biologique Epigénétique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24101330,
size: 0.5,
source: 24,
target: 101330 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118434,
label: 'Nanoimagerie',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24118434,
size: 0.5,
source: 24,
target: 118434 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 110152,
label: 'Plate-Forme Technologique de RMN Biologique et HDX-MS',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24110152,
size: 0.5,
source: 24,
target: 110152 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 15050,
label: 'Plateforme de Criblage Chémogénomique et Biologique (PF-CCB)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2415050,
size: 0.5,
source: 24,
target: 15050 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118961,
label: 'Plate-Forme Technologique Production et Purification de Protéines Recombinantes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24118961,
size: 0.5,
source: 24,
target: 118961 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137088,
label: 'Archivé: Imagerie Structurale',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24137088,
size: 0.5,
source: 24,
target: 137088 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24279,
label: 'Systèmes transmembranaires bactériens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2424279,
size: 0.5,
source: 24,
target: 24279 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153906,
label: 'Biologie Structurale Computationnelle',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24153906,
size: 0.5,
source: 24,
target: 153906 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 175015,
label: 'Mécanismes du Cycle Cellulaire Bactérien',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24175015,
size: 0.5,
source: 24,
target: 175015 });
// adding node
var x_node = Math.cos(2 * 11 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 11 * Math.PI / N) * 10;
g.nodes.push({
id: 22,
label: 'Microbiologie',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6190,
label: 'Biologie et Génétique de la Paroi Bactérienne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226190,
size: 0.5,
source: 22,
target: 6190 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6189,
label: 'Archivé: Biologie des Bactéries Pathogènes à Gram-Positif',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226189,
size: 0.5,
source: 22,
target: 6189 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6192,
label: 'Biologie des Spirochètes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226192,
size: 0.5,
source: 22,
target: 6192 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6193,
label: 'Génétique des Biofilms',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226193,
size: 0.5,
source: 22,
target: 6193 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6120,
label: 'Biologie de Synthèse',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226120,
size: 0.5,
source: 22,
target: 6120 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6195,
label: 'Yersinia',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226195,
size: 0.5,
source: 22,
target: 6195 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29288,
label: 'Centre de Ressources Biologiques de l’Institut Pasteur (CRBIP)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2229288,
size: 0.5,
source: 22,
target: 29288 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29245,
label: 'Collection des Cyanobactéries',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2229245,
size: 0.5,
source: 22,
target: 29245 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6127,
label: 'Pathogenèse des Bactéries Anaérobies',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226127,
size: 0.5,
source: 22,
target: 6127 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75692,
label: 'Ecologie et Evolution de la Résistance aux Antibiotiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2275692,
size: 0.5,
source: 22,
target: 75692 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 92464,
label: 'Toxines Bactériennes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2292464,
size: 0.5,
source: 22,
target: 92464 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24264,
label: 'Biologie Evolutive de la Cellule Microbienne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224264,
size: 0.5,
source: 22,
target: 24264 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 103216,
label: 'Adaptation au stress et Métabolisme chez les entérobactéries',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22103216,
size: 0.5,
source: 22,
target: 103216 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 109556,
label: 'Collection Nationale de Cultures de Microorganismes (CNCM)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22109556,
size: 0.5,
source: 22,
target: 109556 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 111545,
label: 'Collection de l’Institut Pasteur (CIP)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22111545,
size: 0.5,
source: 22,
target: 111545 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6163,
label: 'Pathogénomique Mycobactérienne Intégrée',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226163,
size: 0.5,
source: 22,
target: 6163 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6157,
label: 'Biologie des Bactéries Intracellulaires',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226157,
size: 0.5,
source: 22,
target: 6157 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 126281,
label: 'Virologie des Archées',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22126281,
size: 0.5,
source: 22,
target: 126281 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24203,
label: 'Bactériophage, bactérie, hôte',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224203,
size: 0.5,
source: 22,
target: 24203 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24299,
label: 'Groupe: Infection, génotoxicité et cancer',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224299,
size: 0.5,
source: 22,
target: 24299 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 225385,
label: 'Interactions Microbiote-Hôte',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22225385,
size: 0.5,
source: 22,
target: 225385 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24210,
label: 'Groupe: Shaynoor Dramsi',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224210,
size: 0.5,
source: 22,
target: 24210 });
// adding node
var x_node = Math.cos(2 * 12 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 12 * Math.PI / N) * 10;
g.nodes.push({
id: 20,
label: 'Biologie du développement et cellules souches',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6109,
label: 'Plasticité cellulaire dans les pathologies liées à l’âge',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206109,
size: 0.5,
source: 20,
target: 6109 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6143,
label: 'Dynamique des Décisions de Développement chez la Drosophile',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206143,
size: 0.5,
source: 20,
target: 6143 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6113,
label: 'Macrophages et Cellules Endothéliales',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206113,
size: 0.5,
source: 20,
target: 6113 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6108,
label: 'Dynamic Regulation of Morphogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206108,
size: 0.5,
source: 20,
target: 6108 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6110,
label: 'Epigénomique, Prolifération et Identité Cellulaire',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206110,
size: 0.5,
source: 20,
target: 6110 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 35649,
label: 'Mécanismes de l’hérédité épigénétique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2035649,
size: 0.5,
source: 20,
target: 35649 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64152,
label: 'Neurogénétique du poisson zébré',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2064152,
size: 0.5,
source: 20,
target: 64152 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6112,
label: 'Structures et signaux dans la niche neurogénique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206112,
size: 0.5,
source: 20,
target: 6112 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6142,
label: 'Cellules souches et Développement',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206142,
size: 0.5,
source: 20,
target: 6142 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6144,
label: 'Génétique du Développement Humain',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206144,
size: 0.5,
source: 20,
target: 6144 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6111,
label: 'Morphogenèse du coeur',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206111,
size: 0.5,
source: 20,
target: 6111 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 78781,
label: 'Mort cellulaire et homéostasie des épithéliums',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2078781,
size: 0.5,
source: 20,
target: 78781 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95900,
label: 'Physique des fonctions biologiques',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2095900,
size: 0.5,
source: 20,
target: 95900 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24442,
label: 'Mécanismes Moléculaires du Vieillissement Pathologique et Physiologique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2024442,
size: 0.5,
source: 20,
target: 24442 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 170258,
label: 'Biologie cellulaire évolutive et évolution de la morphogenèse',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 20170258,
size: 0.5,
source: 20,
target: 170258 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 845,
label: 'Centre d’ingénierie génétique murine',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 20845,
size: 0.5,
source: 20,
target: 845 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79077,
label: 'Biomatériaux et Microfluidique',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2079077,
size: 0.5,
source: 20,
target: 79077 });
// adding center
var x_node = Math.cos(2 * 0 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 0 * Math.PI / 5) * 4;
g.nodes.push({
id: 178251,
label: 'Centre de Ressources et Recherche en Informatique',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 139919,
label: 'Plateforme de Data Management',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 178251139919,
size: 0.5,
source: 178251,
target: 139919 });
// check if team already exist
g.edges.push({
id: 17825118489,
size: 0.5,
source: 178251,
target: 18489 });
// create new team
// check if team already exist
g.edges.push({
id: 17825198764,
size: 0.5,
source: 178251,
target: 98764 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 134514,
label: 'Plateforme HPC',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 178251134514,
size: 0.5,
source: 178251,
target: 134514 });
// check if team already exist
g.edges.push({
id: 178251182351,
size: 0.5,
source: 178251,
target: 182351 });
// create new team
// adding center
var x_node = Math.cos(2 * 1 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 1 * Math.PI / 5) * 4;
g.nodes.push({
id: 164697,
label: 'Centre de Recherche et d’Innovation en Audiologie Humaine',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// adding center
var x_node = Math.cos(2 * 2 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 2 * Math.PI / 5) * 4;
g.nodes.push({
id: 144997,
label: 'Centre de Ressources Biologiques de l’Institut Pasteur (CRBIP)',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
g.edges.push({
id: 144997111545,
size: 0.5,
source: 144997,
target: 111545 });
// create new team
// check if team already exist
g.edges.push({
id: 144997109556,
size: 0.5,
source: 144997,
target: 109556 });
// create new team
// check if team already exist
g.edges.push({
id: 14499729245,
size: 0.5,
source: 144997,
target: 29245 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 191152,
label: 'ICAReB-biobank : Integrated Collections for Adaptive Research in Biomedicine',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 144997191152,
size: 0.5,
source: 144997,
target: 191152 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 106070,
label: 'Groupe d’expertise : GIPhy – Groupe d’Inférence Phylogénétique',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 144997106070,
size: 0.5,
source: 144997,
target: 106070 });
// adding center
var x_node = Math.cos(2 * 3 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 3 * Math.PI / 5) * 4;
g.nodes.push({
id: 110135,
label: 'Centre de Ressources et de Recherches Animales',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 16167,
label: 'Animalerie Centrale',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 11013516167,
size: 0.5,
source: 110135,
target: 16167 });
// check if team already exist
g.edges.push({
id: 1101351110,
size: 0.5,
source: 110135,
target: 1110 });
// create new team
// check if team already exist
g.edges.push({
id: 110135845,
size: 0.5,
source: 110135,
target: 845 });
// create new team
// check if team already exist
g.edges.push({
id: 110135164712,
size: 0.5,
source: 110135,
target: 164712 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 170297,
label: 'Plateforme Modèles de Pathologies Humaines',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110135170297,
size: 0.5,
source: 110135,
target: 170297 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 173275,
label: 'HistoPathology Core Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110135173275,
size: 0.5,
source: 110135,
target: 173275 });
// adding center
var x_node = Math.cos(2 * 4 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 4 * Math.PI / 5) * 4;
g.nodes.push({
id: 110138,
label: 'Centre de Ressources et Recherches Technologiques',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
g.edges.push({
id: 11013829755,
size: 0.5,
source: 110138,
target: 29755 });
// create new team
// check if team already exist
g.edges.push({
id: 1101386156,
size: 0.5,
source: 110138,
target: 6156 });
// create new team
// check if team already exist
g.edges.push({
id: 11013894012,
size: 0.5,
source: 110138,
target: 94012 });
// create new team
// check if team already exist
g.edges.push({
id: 11013893967,
size: 0.5,
source: 110138,
target: 93967 });
// create new team
// check if team already exist
g.edges.push({
id: 1101382665,
size: 0.5,
source: 110138,
target: 2665 });
// create new team
// check if team already exist
g.edges.push({
id: 1101381024,
size: 0.5,
source: 110138,
target: 1024 });
// create new team
// check if team already exist
g.edges.push({
id: 110138794,
size: 0.5,
source: 110138,
target: 794 });
// create new team
// check if team already exist
g.edges.push({
id: 110138748,
size: 0.5,
source: 110138,
target: 748 });
// create new team
// check if team already exist
g.edges.push({
id: 11013815050,
size: 0.5,
source: 110138,
target: 15050 });
// create new team
// check if team already exist
g.edges.push({
id: 11013879077,
size: 0.5,
source: 110138,
target: 79077 });
// create new team
// check if team already exist
g.edges.push({
id: 110138110152,
size: 0.5,
source: 110138,
target: 110152 });
// create new team
// check if team already exist
g.edges.push({
id: 1101381072,
size: 0.5,
source: 110138,
target: 1072 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 36902,
label: 'Plateforme de Cytométrie',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 11013836902,
size: 0.5,
source: 110138,
target: 36902 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 53310,
label: 'Tech Lab',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 11013853310,
size: 0.5,
source: 110138,
target: 53310 });
// check if team already exist
g.edges.push({
id: 110138118434,
size: 0.5,
source: 110138,
target: 118434 });
// create new team
// check if team already exist
g.edges.push({
id: 110138118961,
size: 0.5,
source: 110138,
target: 118961 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 152966,
label: 'Plate-Forme de Métabolomique',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110138152966,
size: 0.5,
source: 110138,
target: 152966 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 158344,
label: 'Plateforme d’Innovation et de Développement de Tests Diagnostiques',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110138158344,
size: 0.5,
source: 110138,
target: 158344 });
// check if team already exist
g.edges.push({
id: 110138164700,
size: 0.5,
source: 110138,
target: 164700 });
// create new team
// linking nodes
/*
for (i = 0; i < N; i++) {
for (j = 0; j < N; j++) {
g.edges.push({
id: 'e' + i + j,
size: 0.5,
source: 'n' + i,
target: 'n' + j
});
}
}
*/
var s = new sigma({
container: document.getElementById('graph-container'),
graph: g,
settings: {
minNodeSize: 3,
maxNodeSize: 10,
mouseWheelEnabled: false,
font: 'Source Sans Pro',
labelThreshold:7,
borderSize:1,
defaultNodeBorderColor: '#333',
sideMargin:25,
}
});
// We first need to save the original colors of our
// nodes and edges, like this:
s.graph.nodes().forEach(function(n) {
n.originalColor = n.color;
});
s.graph.edges().forEach(function(e) {
e.originalColor = e.color;
});
// When a node is clicked, we check for each node
// if it is a neighbor of the clicked one. If not,
// we set its color as grey, and else, it takes its
// original color.
// We do the same for the edges, and we only keep
// edges that have both extremities colored.
s.bind('clickNode', function(e) {
var nodeId = e.data.node.id,
toKeep = s.graph.neighbors(nodeId);
toKeep[nodeId] = e.data.node;
s.graph.nodes().forEach(function(n) {
if (toKeep[n.id])
n.color = n.originalColor;
else
n.color = '#ddd';
});
s.graph.edges().forEach(function(e) {
if (toKeep[e.source] && toKeep[e.target])
e.color = e.originalColor;
else
e.color = '#ddd';
});
// Since the data has been modified, we need to
// call the refresh method to make the colors
// update effective.
s.refresh();
});
// When the stage is clicked, we just color each
// node and edge with its original color.
s.bind('clickStage', function(e) {
s.graph.nodes().forEach(function(n) {
n.color = n.originalColor;
});
s.graph.edges().forEach(function(e) {
e.color = e.originalColor;
});
// Same as in the previous event:
s.refresh();
});
// Configure the noverlap layout:
var noverlapListener = s.configNoverlap({
nodeMargin: 10,
scaleNodes: 0.3,
gridSize: 1,
easing: 'quadraticInOut', // animation transition function
duration: 8000 // animation duration. Long here for the purposes of this example only
});
// Bind the events:
noverlapListener.bind('start stop interpolate', function(e) {
//console.log(e.type);
if(e.type === 'start') {
//console.time('noverlap');
}
if(e.type === 'interpolate') {
//console.timeEnd('noverlap');
}
});
// Start the layout:
s.startNoverlap();
//s.refresh();
// Initialize the dragNodes plugin:
var dragListener = sigma.plugins.dragNodes(s, s.renderers[0]);
dragListener.bind('startdrag', function(event) {
});
dragListener.bind('drag', function(event) {
});
dragListener.bind('drop', function(event) {
});
dragListener.bind('dragend', function(event) {
});