GUIDE
- Left-click and drag the background to move the graph
- Left-click and drag the nodes to reorganize
- Left-click a node to view first level connections
- Double left-click a node to navigate to its page
- Double left-click the background to zoom in
- Right-click the background to zoom out
sigma.utils.pkg('sigma.canvas.nodes');
sigma.canvas.nodes.image = (function() {
var _cache = {},
_loading = {},
_callbacks = {};
// Return the renderer itself:
var renderer = function(node, context, settings) {
var args = arguments,
prefix = settings('prefix') || '',
size = node[prefix + 'size'],
color = node.color || settings('defaultNodeColor'),
url = node.url;
if (_cache[url]) {
context.save();
// Draw the clipping disc:
context.beginPath();
context.arc(
node[prefix + 'x'],
node[prefix + 'y'],
node[prefix + 'size'],
0,
Math.PI * 2,
true
);
context.closePath();
context.clip();
// Draw the image
context.drawImage(
_cache[url],
node[prefix + 'x'] - size,
node[prefix + 'y'] - size,
2 * size,
2 * size
);
// Quit the "clipping mode":
context.restore();
// Draw the border:
context.beginPath();
context.arc(
node[prefix + 'x'],
node[prefix + 'y'],
node[prefix + 'size'],
0,
Math.PI * 2,
true
);
context.lineWidth = 1;
context.strokeStyle = node.color || settings('defaultNodeColor');
context.stroke();
} else {
sigma.canvas.nodes.image.cache(url);
sigma.canvas.nodes.def.apply(
sigma.canvas.nodes,
args
);
}
};
// Let's add a public method to cache images, to make it possible to
// preload images before the initial rendering:
renderer.cache = function(url, callback) {
if (callback)
_callbacks[url] = callback;
if (_loading[url])
return;
var img = new Image();
img.onload = function() {
_loading[url] = false;
_cache[url] = img;
if (_callbacks[url]) {
_callbacks[url].call(this, img);
delete _callbacks[url];
}
};
_loading[url] = true;
img.src = url;
};
return renderer;
})();
var i,
s,
o,
offset_left = 0.5,
N = 1,
E = 40,
C = 5,
d = 0.5,
cs = [],
g = {
nodes: [],
edges: []
};
if (!sigma.classes.graph.hasMethod('neighbors')){
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 the central node
g.nodes.push({
id: 80943,
label: 'Résistance aux agents antimicrobiens',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research_pasteur-enantimicrobial-resistance-frresistance-aux-agents-antimicrobiens-institutpasteur-34753-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var x_node = Math.cos(2 * 0 * Math.PI / N) * 2;
var y_node = Math.sin(2 * 0 * Math.PI / N) * 2;
N=11
//check if content already exist
x_site = Math.cos(2 * 0 * Math.PI / N) * 2;
y_site = Math.sin(2 * 0 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 161202,
label: 'Emilie Boutet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/06/research_pasteur-emilie-boutet-essai-jpeg-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/emilie-boutet/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 80943161202,
size: 0.5,
source: 80943,
target: 161202 });
//check if content already exist
x_site = Math.cos(2 * 1 * Math.PI / N) * 2;
y_site = Math.sin(2 * 1 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 95915,
label: 'Paola Arimondo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-p-arimondo_5757-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/paola-arimondo/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 8094395915,
size: 0.5,
source: 80943,
target: 95915 });
//check if content already exist
x_site = Math.cos(2 * 2 * Math.PI / N) * 2;
y_site = Math.sin(2 * 2 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 7209,
label: 'Philippe Glaser',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha41-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-glaser/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809437209,
size: 0.5,
source: 80943,
target: 7209 });
//check if content already exist
x_site = Math.cos(2 * 3 * Math.PI / N) * 2;
y_site = Math.sin(2 * 3 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 7850,
label: 'Fabrice Agou',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_image010-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/fabrice-agou/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809437850,
size: 0.5,
source: 80943,
target: 7850 });
//check if content already exist
x_site = Math.cos(2 * 4 * Math.PI / N) * 2;
y_site = Math.sin(2 * 4 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 4255,
label: 'Anna-Bella Failloux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_ab-failloux3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/anna-bella-failloux/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809434255,
size: 0.5,
source: 80943,
target: 4255 });
//check if content already exist
x_site = Math.cos(2 * 5 * Math.PI / N) * 2;
y_site = Math.sin(2 * 5 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 4447,
label: 'Thierry Fontaine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-20190614_185922_crop-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thierry-fontaine/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809434447,
size: 0.5,
source: 80943,
target: 4447 });
//check if content already exist
x_site = Math.cos(2 * 6 * Math.PI / N) * 2;
y_site = Math.sin(2 * 6 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 4541,
label: 'Didier Mazel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-didier-mazel-img-6478-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/didier-mazel/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809434541,
size: 0.5,
source: 80943,
target: 4541 });
//check if content already exist
x_site = Math.cos(2 * 7 * Math.PI / N) * 2;
y_site = Math.sin(2 * 7 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 95085,
label: 'Didier Ménard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/12/research_pasteur-92a3510-5-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/didier-menard/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 8094395085,
size: 0.5,
source: 80943,
target: 95085 });
//check if content already exist
x_site = Math.cos(2 * 8 * Math.PI / N) * 2;
y_site = Math.sin(2 * 8 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 8485,
label: 'Lulla Opatowski',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_photolulla4-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/lulla-opatowski/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809438485,
size: 0.5,
source: 80943,
target: 8485 });
//check if content already exist
x_site = Math.cos(2 * 9 * Math.PI / N) * 2;
y_site = Math.sin(2 * 9 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 4724,
label: 'Félix Rey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enfelix-a-reyfrfelix-rey-portrait-felixrey-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/felix-rey/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 809434724,
size: 0.5,
source: 80943,
target: 4724 });
//check if content already exist
x_site = Math.cos(2 * 10 * Math.PI / N) * 2;
y_site = Math.sin(2 * 10 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 81199,
label: 'Kathleen Victoir',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/kathleen-victoir/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 8094381199,
size: 0.5,
source: 80943,
target: 81199 });
N=73
// update positions
x_node = Math.cos(2 * 0 * Math.PI / N) * 10;
y_node = Math.sin(2 * 0 * Math.PI / N) * 10;
// 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: 225385,
label: 'TEAM: Interactions Microbiote-Hôte',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/06/research_pasteur-research-pasteur-bandeau-g5-b-chassaing-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/microbiome-host-interactions/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943225385,
size: 0.5,
source: 80943,
target: 225385 });
// 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: 198839,
label: 'TEAM: Diversité moléculaire des microbes',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/molecular-diversity-of-microbes/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943198839,
size: 0.5,
source: 80943,
target: 198839 });
// 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: 194720,
label: 'TEAM: Interactomique, ARN et immunité',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/interactomics-rna-and-immunity/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943194720,
size: 0.5,
source: 80943,
target: 194720 });
// 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: 193440,
label: 'TEAM: Biologie structurale des maladies infectieuses',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/structural-biology-of-infectious-diseases/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943193440,
size: 0.5,
source: 80943,
target: 193440 });
// 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: 175015,
label: 'TEAM: Mécanismes du Cycle Cellulaire Bactérien',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/bacterial-cell-cycle-mechanisms/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943175015,
size: 0.5,
source: 80943,
target: 175015 });
// 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: 160552,
label: 'TEAM: Biologie des ARN des parasites',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/parasite-rna-biology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943160552,
size: 0.5,
source: 80943,
target: 160552 });
// 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: 156720,
label: 'TEAM: Epidémiologie et Analyse des Maladies Infectieuses',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/infectious-disease-epidemiology-and-analytics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943156720,
size: 0.5,
source: 80943,
target: 156720 });
// 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: 153906,
label: 'TEAM: Biologie Structurale Computationnelle',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/computational-structural-biology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943153906,
size: 0.5,
source: 80943,
target: 153906 });
// 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: 152957,
label: 'TEAM: Hétérogénéité fongique',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-iuliana-ene-hyphae-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/fungal-heterogeneity/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943152957,
size: 0.5,
source: 80943,
target: 152957 });
// 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: 146163,
label: 'TEAM: Paléogénomique microbienne',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/09/research_pasteur-enmicrobial-paleogenomicsfrpaleogenomique-microbienne-lab-logo-gyc-lazaro-signed-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/microbial-paleogenomics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943146163,
size: 0.5,
source: 80943,
target: 146163 });
// 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: 143968,
label: 'TEAM: Immunologie Translationnelle',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/translational-immunology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943143968,
size: 0.5,
source: 80943,
target: 143968 });
// 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: 139045,
label: 'TEAM: Biologie de l’Infection et de la Transmission de Plasmodium',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-engroup-plasmodium-liver-biologyfrgroup-liliana-mancio-silva-photo-bandeau-l-mancio-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-of-plasmodium-infection-and-transmission/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943139045,
size: 0.5,
source: 80943,
target: 139045 });
// 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: 119692,
label: 'TEAM: Algorithmes pour les séquences biologiques',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/sequence-bioinformatics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943119692,
size: 0.5,
source: 80943,
target: 119692 });
// adding node
var x_node = Math.cos(2 * 13 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 13 * Math.PI / N) * 10;
g.nodes.push({
id: 103216,
label: 'TEAM: Adaptation au stress et Métabolisme chez les entérobactéries',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/stress-adaptation-metabolism-enterobacteria/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943103216,
size: 0.5,
source: 80943,
target: 103216 });
// adding node
var x_node = Math.cos(2 * 14 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 14 * Math.PI / N) * 10;
g.nodes.push({
id: 101904,
label: 'TEAM: Génomique évolutive des virus à ARN',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/evolutionary-genomics-rna-viruses/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943101904,
size: 0.5,
source: 80943,
target: 101904 });
// adding node
var x_node = Math.cos(2 * 15 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 15 * Math.PI / N) * 10;
g.nodes.push({
id: 101330,
label: 'TEAM: Chimie Biologique Epigénétique',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/04/research_pasteur-unite-p-arimondo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/chimie-biologique-epigenetique/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943101330,
size: 0.5,
source: 80943,
target: 101330 });
// adding node
var x_node = Math.cos(2 * 16 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 16 * Math.PI / N) * 10;
g.nodes.push({
id: 100029,
label: 'TEAM: Microfluidique Physique et Bio-ingénierie',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/physical-microfluidics-bioengineering/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 80943100029,
size: 0.5,
source: 80943,
target: 100029 });
// adding node
var x_node = Math.cos(2 * 17 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 17 * Math.PI / N) * 10;
g.nodes.push({
id: 94346,
label: 'TEAM: Biodiversité et Épidémiologie des Bactéries Pathogènes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_bordetelle-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biodiversity-and-epidemiology-of-bacterial-pathogens/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094394346,
size: 0.5,
source: 80943,
target: 94346 });
// adding node
var x_node = Math.cos(2 * 18 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 18 * Math.PI / N) * 10;
g.nodes.push({
id: 92464,
label: 'TEAM: Toxines Bactériennes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-unite-lemichez1-150x150.png',
page_url: 'https://research.pasteur.fr/fr/team/bacterial-toxins/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094392464,
size: 0.5,
source: 80943,
target: 92464 });
// adding node
var x_node = Math.cos(2 * 19 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 19 * Math.PI / N) * 10;
g.nodes.push({
id: 83826,
label: 'TEAM: InBio: Méthodes expérimentales et computationnelles pour la modélisation des processus cellulaires',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research_pasteur-experimental-and-computational-methods-for-modeling-cellular-processes-inria-0289-631-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/inbio/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094383826,
size: 0.5,
source: 80943,
target: 83826 });
// adding node
var x_node = Math.cos(2 * 20 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 20 * Math.PI / N) * 10;
g.nodes.push({
id: 75692,
label: 'TEAM: Ecologie et Evolution de la Résistance aux Antibiotiques',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/ecology-and-evolution-of-antibiotics-resistance/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094375692,
size: 0.5,
source: 80943,
target: 75692 });
// adding node
var x_node = Math.cos(2 * 21 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 21 * Math.PI / N) * 10;
g.nodes.push({
id: 65444,
label: 'TEAM: Signalisation antivirale',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/virus-sensing-and-signaling/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094365444,
size: 0.5,
source: 80943,
target: 65444 });
// adding node
var x_node = Math.cos(2 * 22 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 22 * Math.PI / N) * 10;
g.nodes.push({
id: 64141,
label: 'TEAM: Biologie moléculaire des Trypanosomes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/02/research.pasteur.fr_institutpasteur_42122-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/trypanosomes-molecular-biology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094364141,
size: 0.5,
source: 80943,
target: 64141 });
// adding node
var x_node = Math.cos(2 * 23 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 23 * Math.PI / N) * 10;
g.nodes.push({
id: 62878,
label: 'TEAM: Chimie bioorganique des acides nucléiques',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/bioorganic-chemistry-of-nucleic-acids/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094362878,
size: 0.5,
source: 80943,
target: 62878 });
// adding node
var x_node = Math.cos(2 * 24 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 24 * Math.PI / N) * 10;
g.nodes.push({
id: 62866,
label: 'TEAM: Chromatine et Infection',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_institutpasteur_50133-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/team/chromatin-and-infection/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094362866,
size: 0.5,
source: 80943,
target: 62866 });
// adding node
var x_node = Math.cos(2 * 25 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 25 * Math.PI / N) * 10;
g.nodes.push({
id: 51157,
label: 'TEAM: Pathogenèse des infections vasculaires',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_infected-vessel-melican-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/pathogenesis-of-vascular-infections/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094351157,
size: 0.5,
source: 80943,
target: 51157 });
// adding node
var x_node = Math.cos(2 * 26 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 26 * Math.PI / N) * 10;
g.nodes.push({
id: 24279,
label: 'TEAM: Systèmes transmembranaires bactériens',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i05280-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/bacterial-transmembrane-systems/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324279,
size: 0.5,
source: 80943,
target: 24279 });
// adding node
var x_node = Math.cos(2 * 27 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 27 * Math.PI / N) * 10;
g.nodes.push({
id: 24396,
label: 'TEAM: Biologie des ARN et Virus Influenza',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/08/research_pasteur-bandeau-groupe-naffakh-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/rna-biology-of-influenza-virus/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324396,
size: 0.5,
source: 80943,
target: 24396 });
// adding node
var x_node = Math.cos(2 * 28 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 28 * Math.PI / N) * 10;
g.nodes.push({
id: 24339,
label: 'TEAM: Réservoirs viraux et contrôle immunitaire',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_i00606-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/viral-reservoirs-and-immune-control/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324339,
size: 0.5,
source: 80943,
target: 24339 });
// adding node
var x_node = Math.cos(2 * 29 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 29 * Math.PI / N) * 10;
g.nodes.push({
id: 24312,
label: 'TEAM: Biologie des ARN des Pathogènes Fongiques',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_i00638-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/rna-biology-of-fungal-pathogens/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324312,
size: 0.5,
source: 80943,
target: 24312 });
// adding node
var x_node = Math.cos(2 * 30 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 30 * Math.PI / N) * 10;
g.nodes.push({
id: 24264,
label: 'TEAM: Biologie Evolutive de la Cellule Microbienne',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/evolutionary-biology-of-the-microbial-cell/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324264,
size: 0.5,
source: 80943,
target: 24264 });
// adding node
var x_node = Math.cos(2 * 31 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 31 * Math.PI / N) * 10;
g.nodes.push({
id: 24203,
label: 'TEAM: Bactériophage, bactérie, hôte',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ecoli-phage-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/bacteriophage-bacterium-host/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324203,
size: 0.5,
source: 80943,
target: 24203 });
// adding node
var x_node = Math.cos(2 * 32 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 32 * Math.PI / N) * 10;
g.nodes.push({
id: 24119,
label: 'TEAM: Infection et Immunité Paludéenne',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_malaria-biology-and-genetics-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/malaria-infection-immunity/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 8094324119,
size: 0.5,
source: 80943,
target: 24119 });
// adding node
var x_node = Math.cos(2 * 33 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 33 * Math.PI / N) * 10;
g.nodes.push({
id: 6107,
label: 'TEAM: Individualité Microbienne et Infection',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_m.tuberculosis_metabolicreporter_mergedfluorescenceimage-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/microbial-individuality-and-infection/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436107,
size: 0.5,
source: 80943,
target: 6107 });
// adding node
var x_node = Math.cos(2 * 34 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 34 * Math.PI / N) * 10;
g.nodes.push({
id: 6119,
label: 'TEAM: Immunologie Humorale',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enhumoral-immunology-frimmunologie-humorale-bandeau-labo-mouquet-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/humoral-immunology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436119,
size: 0.5,
source: 80943,
target: 6119 });
// adding node
var x_node = Math.cos(2 * 35 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 35 * Math.PI / N) * 10;
g.nodes.push({
id: 6120,
label: 'TEAM: Biologie de Synthèse',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i03590-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/synthetic-biology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436120,
size: 0.5,
source: 80943,
target: 6120 });
// adding node
var x_node = Math.cos(2 * 36 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 36 * Math.PI / N) * 10;
g.nodes.push({
id: 6122,
label: 'TEAM: Immunologie des Infections Fongiques',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_2gj7w5xc-1372179603-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/immunology-of-fungal-infections/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436122,
size: 0.5,
source: 80943,
target: 6122 });
// adding node
var x_node = Math.cos(2 * 37 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 37 * Math.PI / N) * 10;
g.nodes.push({
id: 6127,
label: 'TEAM: Pathogenèse des Bactéries Anaérobies',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/09/research_pasteur-labo-dupuy-150x150.png',
page_url: 'https://research.pasteur.fr/fr/team/pathogenesis-of-bacterial-anaerobes/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436127,
size: 0.5,
source: 80943,
target: 6127 });
// adding node
var x_node = Math.cos(2 * 38 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 38 * Math.PI / N) * 10;
g.nodes.push({
id: 6116,
label: 'TEAM: Régulation Spatiale des Génomes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_spatial-genome-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/spatial-regulation-of-genomes/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436116,
size: 0.5,
source: 80943,
target: 6116 });
// adding node
var x_node = Math.cos(2 * 39 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 39 * Math.PI / N) * 10;
g.nodes.push({
id: 6117,
label: 'TEAM: Interactions Virus-Insectes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_insect-virus-interactions-150x150.gif',
page_url: 'https://research.pasteur.fr/fr/team/insect-virus-interactions/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436117,
size: 0.5,
source: 80943,
target: 6117 });
// adding node
var x_node = Math.cos(2 * 40 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 40 * Math.PI / N) * 10;
g.nodes.push({
id: 6141,
label: 'TEAM: Biologie cellulaire de l’infection microbienne',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-cell-interactions-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/cellular-biology-of-microbial-infection/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436141,
size: 0.5,
source: 80943,
target: 6141 });
// adding node
var x_node = Math.cos(2 * 41 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 41 * Math.PI / N) * 10;
g.nodes.push({
id: 6134,
label: 'TEAM: Dynamique des interactions hôte-pathogène',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_453295a-f1.2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/dynamics-of-host-pathogen-interactions/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436134,
size: 0.5,
source: 80943,
target: 6134 });
// adding node
var x_node = Math.cos(2 * 42 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 42 * Math.PI / N) * 10;
g.nodes.push({
id: 6135,
label: 'TEAM: Imagerie et modélisation',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_superres-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/imaging-and-modeling/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436135,
size: 0.5,
source: 80943,
target: 6135 });
// adding node
var x_node = Math.cos(2 * 43 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 43 * Math.PI / N) * 10;
g.nodes.push({
id: 6152,
label: 'TEAM: Chimie des biomolécules',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_383851-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/chemistry-of-biomolecules/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436152,
size: 0.5,
source: 80943,
target: 6152 });
// adding node
var x_node = Math.cos(2 * 44 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 44 * Math.PI / N) * 10;
g.nodes.push({
id: 6157,
label: 'TEAM: Biologie des Bactéries Intracellulaires',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-intracellular-bacteria-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-of-intracellular-bacteria/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436157,
size: 0.5,
source: 80943,
target: 6157 });
// adding node
var x_node = Math.cos(2 * 45 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 45 * Math.PI / N) * 10;
g.nodes.push({
id: 6149,
label: 'TEAM: Biochimie des Interactions Macromoléculaires',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i05999-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biochemistry-of-macromolecular-interactions/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436149,
size: 0.5,
source: 80943,
target: 6149 });
// adding node
var x_node = Math.cos(2 * 46 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 46 * Math.PI / N) * 10;
g.nodes.push({
id: 6150,
label: 'TEAM: Microbiologie structurale',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_structural-microbiology-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/structural-microbiology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436150,
size: 0.5,
source: 80943,
target: 6150 });
// adding node
var x_node = Math.cos(2 * 47 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 47 * Math.PI / N) * 10;
g.nodes.push({
id: 6151,
label: 'TEAM: Bioinformatique structurale',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_structural-bioinformatics-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/structural-bioinformatics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436151,
size: 0.5,
source: 80943,
target: 6151 });
// adding node
var x_node = Math.cos(2 * 48 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 48 * Math.PI / N) * 10;
g.nodes.push({
id: 6163,
label: 'TEAM: Pathogénomique Mycobactérienne Intégrée',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_tuberculosis2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/integrated-mycobacterial-pathogenomics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436163,
size: 0.5,
source: 80943,
target: 6163 });
// adding node
var x_node = Math.cos(2 * 49 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 49 * Math.PI / N) * 10;
g.nodes.push({
id: 6164,
label: 'TEAM: Plasticité du Génome Bactérien',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_mazel-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/bacterial-genome-plasticity/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436164,
size: 0.5,
source: 80943,
target: 6164 });
// adding node
var x_node = Math.cos(2 * 50 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 50 * Math.PI / N) * 10;
g.nodes.push({
id: 6165,
label: 'TEAM: Génomique Évolutive des Microbes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_genomics-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/microbial-evolutionary-genomics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436165,
size: 0.5,
source: 80943,
target: 6165 });
// adding node
var x_node = Math.cos(2 * 51 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 51 * Math.PI / N) * 10;
g.nodes.push({
id: 6186,
label: 'TEAM: Modélisation Mathématique des Maladies Infectieuses',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_mathematical-modeling-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/mathematical-modelling-of-infectious-diseases/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436186,
size: 0.5,
source: 80943,
target: 6186 });
// adding node
var x_node = Math.cos(2 * 52 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 52 * Math.PI / N) * 10;
g.nodes.push({
id: 6177,
label: 'TEAM: Immunobiologie et Thérapie',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enimmunobiology-and-therapyfrimmunobiologie-et-therapie-institutpasteur-i04790-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/immunobiology-and-therapy/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436177,
size: 0.5,
source: 80943,
target: 6177 });
// adding node
var x_node = Math.cos(2 * 53 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 53 * Math.PI / N) * 10;
g.nodes.push({
id: 6182,
label: 'TEAM: Epidémiologie et modélisation de la résistance aux antimicrobiens',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_pharmacopepidemiology-and-infectious-diseases-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/epidemiology-and-modelling-of-bacterial-escape-to-antimicrobials/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436182,
size: 0.5,
source: 80943,
target: 6182 });
// adding node
var x_node = Math.cos(2 * 54 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 54 * Math.PI / N) * 10;
g.nodes.push({
id: 6180,
label: 'TEAM: Lyssavirus, épidémiologie et neuropathologie',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_lyssavirus-dynamics-and-host-adaptation-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/lyssavirus-epidemiology-and-neuropathology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436180,
size: 0.5,
source: 80943,
target: 6180 });
// adding node
var x_node = Math.cos(2 * 55 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 55 * Math.PI / N) * 10;
g.nodes.push({
id: 6181,
label: 'TEAM: Biologie des Infections',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-infection1-e1441559125111-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-of-infection/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436181,
size: 0.5,
source: 80943,
target: 6181 });
// adding node
var x_node = Math.cos(2 * 56 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 56 * Math.PI / N) * 10;
g.nodes.push({
id: 6184,
label: 'TEAM: Infections Bactériennes Invasives',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_invasive-bacterial-infections-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/invasive-bacterial-infections/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436184,
size: 0.5,
source: 80943,
target: 6184 });
// adding node
var x_node = Math.cos(2 * 57 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 57 * Math.PI / N) * 10;
g.nodes.push({
id: 6190,
label: 'TEAM: Biologie et Génétique de la Paroi Bactérienne',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-and-genetics-of-bacterial-cell-wall-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-and-genetics-of-bacterial-cell-wall/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436190,
size: 0.5,
source: 80943,
target: 6190 });
// adding node
var x_node = Math.cos(2 * 58 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 58 * Math.PI / N) * 10;
g.nodes.push({
id: 6192,
label: 'TEAM: Biologie des Spirochètes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i03655-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-of-spirochetes/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436192,
size: 0.5,
source: 80943,
target: 6192 });
// adding node
var x_node = Math.cos(2 * 59 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 59 * Math.PI / N) * 10;
g.nodes.push({
id: 6193,
label: 'TEAM: Génétique des Biofilms',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-unite-biofilm-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/genetics-of-biofilms/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436193,
size: 0.5,
source: 80943,
target: 6193 });
// adding node
var x_node = Math.cos(2 * 60 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 60 * Math.PI / N) * 10;
g.nodes.push({
id: 6195,
label: 'TEAM: Yersinia',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_yersinia-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/yersinia/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436195,
size: 0.5,
source: 80943,
target: 6195 });
// adding node
var x_node = Math.cos(2 * 61 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 61 * Math.PI / N) * 10;
g.nodes.push({
id: 6196,
label: 'TEAM: Biologie et Pathogénicité fongiques',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_fungal-biology-and-pathogenicity2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/fungal-biology-and-pathogenicity/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436196,
size: 0.5,
source: 80943,
target: 6196 });
// adding node
var x_node = Math.cos(2 * 62 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 62 * Math.PI / N) * 10;
g.nodes.push({
id: 6209,
label: 'TEAM: Parasitologie moléculaire et Signalisation',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_molecular-parasitology-and-signaling3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/molecular-parasitology-and-signaling/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436209,
size: 0.5,
source: 80943,
target: 6209 });
// adding node
var x_node = Math.cos(2 * 63 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 63 * Math.PI / N) * 10;
g.nodes.push({
id: 6210,
label: 'TEAM: Biologie de Plasmodium et Vaccins',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_malaria-parasite-biology-and-vaccines-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/malaria-parasite-biology-and-vaccines/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436210,
size: 0.5,
source: 80943,
target: 6210 });
// adding node
var x_node = Math.cos(2 * 64 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 64 * Math.PI / N) * 10;
g.nodes.push({
id: 6213,
label: 'TEAM: Epidémiologie et Physiopathologie des Virus Oncogènes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_oncogenic-virus-epidemiology-and-pathophysiology-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/oncogenic-virus-epidemiology-and-pathophysiology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436213,
size: 0.5,
source: 80943,
target: 6213 });
// adding node
var x_node = Math.cos(2 * 65 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 65 * Math.PI / N) * 10;
g.nodes.push({
id: 6205,
label: 'TEAM: Biologie cellulaire des Trypanosomes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_trypanosome-cell-biology-4-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/trypanosome-cell-biology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436205,
size: 0.5,
source: 80943,
target: 6205 });
// adding node
var x_node = Math.cos(2 * 66 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 66 * Math.PI / N) * 10;
g.nodes.push({
id: 6206,
label: 'TEAM: Biologie des interactions hôte-parasite',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_39695-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-of-host-parasite-interactions/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436206,
size: 0.5,
source: 80943,
target: 6206 });
// adding node
var x_node = Math.cos(2 * 67 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 67 * Math.PI / N) * 10;
g.nodes.push({
id: 6223,
label: 'TEAM: Virologie structurale',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/structural-virology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436223,
size: 0.5,
source: 80943,
target: 6223 });
// adding node
var x_node = Math.cos(2 * 68 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 68 * Math.PI / N) * 10;
g.nodes.push({
id: 6224,
label: 'TEAM: Virus and Immunity',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_40763-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/virus-and-immunity/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436224,
size: 0.5,
source: 80943,
target: 6224 });
// adding node
var x_node = Math.cos(2 * 69 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 69 * Math.PI / N) * 10;
g.nodes.push({
id: 6226,
label: 'TEAM: HIV, inflammation et persistance',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_duo-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/hiv-inflammation-and-persistence/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436226,
size: 0.5,
source: 80943,
target: 6226 });
// adding node
var x_node = Math.cos(2 * 70 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 70 * Math.PI / N) * 10;
g.nodes.push({
id: 6227,
label: 'TEAM: Bactéries Pathogènes Entériques',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-unite_fx-weill_institutpasteur_13946-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/enteric-bacterial-pathogens/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436227,
size: 0.5,
source: 80943,
target: 6227 });
// adding node
var x_node = Math.cos(2 * 71 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 71 * Math.PI / N) * 10;
g.nodes.push({
id: 6229,
label: 'TEAM: Epidémiologie des Maladies Emergentes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_electron-micrograph-of-ebola-virus-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/epidemiology-of-emerging-diseases/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436229,
size: 0.5,
source: 80943,
target: 6229 });
// adding node
var x_node = Math.cos(2 * 72 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 72 * Math.PI / N) * 10;
g.nodes.push({
id: 6232,
label: 'TEAM: Arbovirus et Insectes Vecteurs (AIV)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_arboviruses-and-insect-vectors-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/arboviruses-and-insect-vectors/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 809436232,
size: 0.5,
source: 80943,
target: 6232 });
var s = new sigma({
//container: document.getElementById('graph-main'),
graph: g,
renderer: {
// IMPORTANT:
// This works only with the canvas renderer, so the
// renderer type set as "canvas" is necessary here.
container: document.getElementById('graph-main'),
type: 'canvas'
},
settings: {
minNodeSize: 6,
maxNodeSize: 30,
mouseWheelEnabled: false,
font: 'Montserrat',
labelThreshold:25,
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;
//console.log(n.id);
//console.log(s.graph.nodes(n.id));
});
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 = '#35a9f5';
else
n.color = '#dddddd';
});
s.graph.edges().forEach(function(e) {
if (toKeep[e.source] && toKeep[e.target])
e.color = '#35a9f5';
else
e.color = '#dddddd';
});
// 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();
});
s.bind("doubleClickNode", function (e) {
$("#canvas-wrap, .sigma-scene, .sigma-mouse").val();
ajax_load_page( e.data.node.page_url );
});
var c = s.camera;
s.bind("rightClickStage", function (e) {
sigma.misc.animation.camera(c, {
ratio: c.ratio * c.settings('zoomingRatio')
}, {
duration: 200
});
});
// Configure the noverlap layout:
var noverlapListener = s.configNoverlap({
nodeMargin: 5,
scaleNodes: 0.3,
gridSize: 1,
easing: 'quadraticInOut', // animation transition function
duration: 4000 // 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) {
});