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: 110138,
label: 'Center for Technological Resources and Research',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/06/research_pasteur-center_tech-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=3
//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: 108663,
label: 'Virginie Portelette',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/11/research_pasteur-njkynjyx-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/portelette-virginie/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 110138108663,
size: 0.5,
source: 110138,
target: 108663 });
//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: 216364,
label: 'Benjamin Leveau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-enbenjamin-leveaufrbenjamin-leveau-sans-titre-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/benjamin-leveau/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 110138216364,
size: 0.5,
source: 110138,
target: 216364 });
//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: 1589,
label: 'Spencer Shorte',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/spencer-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/spencer-shorte/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1101381589,
size: 0.5,
source: 110138,
target: 1589 });
N=19
// 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: 164700,
label: 'TEAM: Hearing Institute Bioimaging Core Facility',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/hearing-institute-bioimaging-core-facility/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138164700,
size: 0.5,
source: 110138,
target: 164700 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 164784,
label: 'Beatrix Meha',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/beatrix-meha/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 164700164784,
size: 0.5,
source: 164700,
target: 164784 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 200377,
label: 'Yannick Goulam Houssen',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/yannick-goulam-houssen/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 164700200377,
size: 0.5,
source: 164700,
target: 200377 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 164891,
label: 'Maia Brunstein',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/08/research_pasteur-maia-brunstein-photo-maia2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/maia-brunstein/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 164700164891,
size: 0.5,
source: 164700,
target: 164891 });
// 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: 158344,
label: 'TEAM: Diagnostic Test Innovation and Development Core Facility',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/diagnostic-test-innovation-and-development-core-facility/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138158344,
size: 0.5,
source: 110138,
target: 158344 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1041,
label: 'Sophie Goyard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-sophie-goyard-goyard-sophie-0463-scaled-e1666255960637-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sophie-goyard/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1583441041,
size: 0.5,
source: 158344,
target: 1041 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189108,
label: 'Camille Floch',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-camille-floch-floch-camille-photo-scaled-e1666256043285-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/camille-floch/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 158344189108,
size: 0.5,
source: 158344,
target: 189108 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189118,
label: 'Adrien Graciette',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/adrien-graciette/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 158344189118,
size: 0.5,
source: 158344,
target: 189118 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8304,
label: 'Olivier Helynck',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_olivier.h1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/olivier-helynck/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1583448304,
size: 0.5,
source: 158344,
target: 8304 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189125,
label: 'Aziliz Bothua-Mobian',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/aziliz-bothua-mobian/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 158344189125,
size: 0.5,
source: 158344,
target: 189125 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189128,
label: 'Amandine Valat',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/amandine-valat/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 158344189128,
size: 0.5,
source: 158344,
target: 189128 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8386,
label: 'Melanie Dos Santos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-photo-identite-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/melanie-dos-santos/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1583448386,
size: 0.5,
source: 158344,
target: 8386 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 836,
label: 'Thierry Rose',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Thierry_Rose-e1423234985507-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/thierry-rose/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 158344836,
size: 0.5,
source: 158344,
target: 836 });
// 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: 152966,
label: 'TEAM: Metabolomics Core Facility',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-enmetabolomics-core-facilityfrplate-forme-de-metabolomique-bandeau-pf-metabolomics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/metabolomics-core-facility/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138152966,
size: 0.5,
source: 110138,
target: 152966 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 160037,
label: 'Kathleen Rousseau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/05/research_pasteur-kathleen-rousseau-img-0204-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/kathleen-rousseau/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 152966160037,
size: 0.5,
source: 152966,
target: 160037 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 163451,
label: 'Lise Boulard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/07/research_pasteur-lise-boulard-photo-lb2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lise-boulard/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 152966163451,
size: 0.5,
source: 152966,
target: 163451 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 134185,
label: 'Huda Abuhussein',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/huda-abuhussein/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 152966134185,
size: 0.5,
source: 152966,
target: 134185 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 199794,
label: 'Quentin Vanbellingen',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/quentin-vanbellingen/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 152966199794,
size: 0.5,
source: 152966,
target: 199794 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 210021,
label: 'Arnaud MENG',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-enarnaud-mengfrarnaud-meng-arnaud-meng-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/arnaud-meng/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 152966210021,
size: 0.5,
source: 152966,
target: 210021 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 152964,
label: 'Sandrine Aros',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-sandrine-aros-photo-sa-4-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/sandrine-aros/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 152966152964,
size: 0.5,
source: 152966,
target: 152964 });
// 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: 118961,
label: 'TEAM: Production and Purification of Recombinant Proteins Technological Platform',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/09/research_pasteur-pf3pr-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/production-and-purification-of-recombinant-proteins/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138118961,
size: 0.5,
source: 110138,
target: 118961 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8598,
label: 'Marie-Christine Demazoin',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/marie-christine-demazoin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1189618598,
size: 0.5,
source: 118961,
target: 8598 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2890,
label: 'Evelyne Dufour',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/08/research_pasteur-evelynd2018quar-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/evelyne-dufour/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1189612890,
size: 0.5,
source: 118961,
target: 2890 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 948,
label: 'Mireille Nowakowski',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Mireille-Nowakowski-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mireille-nowakowski/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118961948,
size: 0.5,
source: 118961,
target: 948 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 6839,
label: 'François Déjardin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-francois-avril-2015-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francois-dejardin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1189616839,
size: 0.5,
source: 118961,
target: 6839 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 188703,
label: 'Audrey Hessel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-audrey-hessel-research-pasteur-audrey-hessel-capture-decran-2023-04-19-a-08.06.31-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/audrey-hessel/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118961188703,
size: 0.5,
source: 118961,
target: 188703 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8494,
label: 'Hélène Ribierre',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-helene-ribierre-capture-decran-2016-10-17-a-09.29.35-e1622547901836-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/helene-ribierre/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1189618494,
size: 0.5,
source: 118961,
target: 8494 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 116816,
label: 'Sara Chehboub',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/11/research_pasteur-chehboub-sara-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sara-chehboub/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118961116816,
size: 0.5,
source: 118961,
target: 116816 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 233453,
label: 'Morgan Lelièvre',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/morgan-lelievre/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118961233453,
size: 0.5,
source: 118961,
target: 233453 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2606,
label: 'Stéphane Petres',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/11/research_pasteur-img_1660-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/stephane-petres/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1189612606,
size: 0.5,
source: 118961,
target: 2606 });
// 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: 118434,
label: 'TEAM: NanoImaging Core',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/04/research_pasteur-bat-nocard_institutpasteur_57871-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/nanoimaging/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138118434,
size: 0.5,
source: 110138,
target: 118434 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8391,
label: 'Natacha Haikine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_haikine-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/natacha-haikine/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1184348391,
size: 0.5,
source: 118434,
target: 8391 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 126366,
label: 'Jean-Marie Winter',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-img_7221-modifiee-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-marie-winter/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118434126366,
size: 0.5,
source: 118434,
target: 126366 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 132316,
label: 'Stéphane Tachon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/09/research_pasteur-stephane_20190923-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/stephane-tachon/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118434132316,
size: 0.5,
source: 118434,
target: 132316 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 73313,
label: 'Eduard Baquero Salazar',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_eduardbaquerosalazar.jpg',
page_url: 'https://research.pasteur.fr/en/member/eduard-baquero-salazar/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 11843473313,
size: 0.5,
source: 118434,
target: 73313 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1563,
label: 'Anna Sartori-Rupp',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/04/research_pasteur-foto-mia-cut-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anna-sartori-rupp/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1184341563,
size: 0.5,
source: 118434,
target: 1563 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 194626,
label: 'Johannes Groen',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-foto-jan-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/johannes-groen/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118434194626,
size: 0.5,
source: 118434,
target: 194626 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 118432,
label: 'Matthijn Vos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/04/research_pasteur-matthijn-vos-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/matthijn-vos/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 118434118432,
size: 0.5,
source: 118434,
target: 118432 });
// 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: 110152,
label: 'TEAM: Biological NMR and HDX-MS Technological Platform',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/biological-nmr-and-hdx-ms-technological-platform/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138110152,
size: 0.5,
source: 110138,
target: 110152 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4046,
label: 'Sébastien Brier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/11/research_pasteur-dsc_1803_hd.jpg-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sebastien-brier/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1101524046,
size: 0.5,
source: 110152,
target: 4046 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4147,
label: 'Florence Cordier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-photo_flo_2019.06.25a_crop-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florence-cordier/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1101524147,
size: 0.5,
source: 110152,
target: 4147 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4158,
label: 'Bruno Vitorge',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_bruno_vitorge-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bruno-vitorge/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1101524158,
size: 0.5,
source: 110152,
target: 4158 });
//check if content already exist
//link to content
g.edges.push({
id: 110152134185,
size: 0.5,
source: 110152,
target: 134185 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 207836,
label: 'Mathilde Briday',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/09/research_pasteur-mathilde-briday-research-pasteur-mathilde-briday-capture-decran-2023-09-01-a-14.08.02-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mathilde-briday/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 110152207836,
size: 0.5,
source: 110152,
target: 207836 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 190624,
label: 'Minh-Ha Nguyen',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-minh-ha-nguyen-imgp2936-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/minh-ha-nguyen/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 110152190624,
size: 0.5,
source: 110152,
target: 190624 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4153,
label: 'Iñaki Guijarro',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/05/research_pasteur-photo4-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/inaki-guijarro/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1101524153,
size: 0.5,
source: 110152,
target: 4153 });
// 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: 94012,
label: 'TEAM: Photonic BioImaging (UTechS PBI)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/Neuron-spark-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/photonic-bioimaging-utechs-pbi/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013894012,
size: 0.5,
source: 110138,
target: 94012 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1585,
label: 'Anne Danckaert',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/anne-danckaert/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940121585,
size: 0.5,
source: 94012,
target: 1585 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2226,
label: 'Audrey Salles',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/research_pasteur-audrey-salles-audrey-202-crop-300-v5-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/audrey-salles/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940122226,
size: 0.5,
source: 94012,
target: 2226 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4783,
label: 'Régis Tournebize',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dsc02236_rt2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/regis-tournebize/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940124783,
size: 0.5,
source: 94012,
target: 4783 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2255,
label: 'Brigitte David-Watine',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/brigitte-david-watine/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940122255,
size: 0.5,
source: 94012,
target: 2255 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 36272,
label: 'Cidalia Da Agra',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_photocidalia-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/cidalia-da-agra/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 9401236272,
size: 0.5,
source: 94012,
target: 36272 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4199,
label: 'Florian Ruckerl',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/08/research.pasteur.fr_florianr-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florian-ruckerl/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940124199,
size: 0.5,
source: 94012,
target: 4199 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 75430,
label: 'Julien Fernandes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-photo_jf-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/julien-fernandes/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 9401275430,
size: 0.5,
source: 94012,
target: 75430 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 112337,
label: 'Elric Esposito',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/08/research_pasteur-elric-esposito-eelarge-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/elric-esposito/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94012112337,
size: 0.5,
source: 94012,
target: 112337 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 106754,
label: 'Lesly Raulin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-sans-titre-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/lesly-raulin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94012106754,
size: 0.5,
source: 94012,
target: 106754 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 3952,
label: 'Christelle Travaillé',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-christelle-travaille-20240607-145817-e1717766347618-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/christelle-travaille/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940123952,
size: 0.5,
source: 94012,
target: 3952 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 165850,
label: 'Nassim Mahtal',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/nassim-mahtal/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94012165850,
size: 0.5,
source: 94012,
target: 165850 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 193310,
label: 'Yumi Gosselin',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/yumi-gosselin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94012193310,
size: 0.5,
source: 94012,
target: 193310 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4976,
label: 'Florian Muller',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-florian-muller-mueller-florian-picture-2023-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florian-muller/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940124976,
size: 0.5,
source: 94012,
target: 4976 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 179429,
label: 'Maria Isabella Gariboldi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/04/research_pasteur-maria-isabella-gariboldi-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/maria-isabella-gariboldi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94012179429,
size: 0.5,
source: 94012,
target: 179429 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189004,
label: 'Thomas Defard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/thomas-defard/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94012189004,
size: 0.5,
source: 94012,
target: 189004 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4982,
label: 'Christian Weber',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_christianweber-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/christian-weber/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940124982,
size: 0.5,
source: 94012,
target: 4982 });
//check if content already exist
//link to content
g.edges.push({
id: 940121589,
size: 0.5,
source: 94012,
target: 1589 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2232,
label: 'Nathalie Aulner',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_dsc03316-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/nathalie-aulner/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 940122232,
size: 0.5,
source: 94012,
target: 2232 });
// 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: 93967,
label: 'TEAM: Ultrastructural BioImaging',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/ultrastruc-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/ultrastructural-bioimaging-core-facility/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013893967,
size: 0.5,
source: 110138,
target: 93967 });
//check if content already exist
//link to content
g.edges.push({
id: 9396736272,
size: 0.5,
source: 93967,
target: 36272 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1546,
label: 'Perrine Bomme',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_image1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/perrine-bomme/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939671546,
size: 0.5,
source: 93967,
target: 1546 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 68441,
label: 'Anastasia Gazi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/08/research.pasteur.fr_adgaz-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anastasia-gazi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 9396768441,
size: 0.5,
source: 93967,
target: 68441 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1553,
label: 'Olivier Gorgette',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/04/Olivier-Gorgette-IM011-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/olivier-gorgette/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939671553,
size: 0.5,
source: 93967,
target: 1553 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1557,
label: 'Maryse Moya-Nilges',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-maryse-moya-nilges-maryse-e1670856755775-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/maryse-moya-nilges/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939671557,
size: 0.5,
source: 93967,
target: 1557 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 175061,
label: 'Cyril Scandola',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/01/research_pasteur-cyril-scandola-img-2285-1-scaled-e1643290796323-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/cyril-scandola/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 93967175061,
size: 0.5,
source: 93967,
target: 175061 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 183032,
label: 'Manuel Majrouh',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/06/research_pasteur-manuel-majrouh-img-20220808-135540-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/manuel-majrouh/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 93967183032,
size: 0.5,
source: 93967,
target: 183032 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 79182,
label: 'Esthel Penard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/03/research_pasteur-capture-decran-2020-03-24-a-16.34.18-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/esthel-penard/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 9396779182,
size: 0.5,
source: 93967,
target: 79182 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1565,
label: 'Christine Schmitt',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-christine-schmitt-christine-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/christine-schmitt/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939671565,
size: 0.5,
source: 93967,
target: 1565 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2982,
label: 'Catherine Thouvenot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/DSC9318-e1433491323135-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/catherine-thouvenot/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939672982,
size: 0.5,
source: 93967,
target: 2982 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1551,
label: 'Nadège Cayet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-nadege-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/nadege-cayet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939671551,
size: 0.5,
source: 93967,
target: 1551 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 212349,
label: 'Loïck Thibonnier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/11/research_pasteur-enloick-thibonnierfrloick-thibonnier-image003-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/loick-thibonnier/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 93967212349,
size: 0.5,
source: 93967,
target: 212349 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 208166,
label: 'Clémentine Vallee',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/09/research_pasteur-vallee-clementine-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/208166/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 93967208166,
size: 0.5,
source: 93967,
target: 208166 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1555,
label: 'Adeline Mallet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-adeline-mallet-sans-titre-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/adeline-mallet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 939671555,
size: 0.5,
source: 93967,
target: 1555 });
// 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: 79077,
label: 'TEAM: Biomaterials and Microfluidics',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_biomaterials-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biomaterials-and-microfluidics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013879077,
size: 0.5,
source: 110138,
target: 79077 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 951,
label: 'Emmanuel Frachon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-emmanuel-frachon-perso2021-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/emmanuel-frachon/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077951,
size: 0.5,
source: 79077,
target: 951 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 98100,
label: 'Jerome Wong Ng',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-jerome1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jerome-wong-ng/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7907798100,
size: 0.5,
source: 79077,
target: 98100 });
//check if content already exist
//link to content
g.edges.push({
id: 790778391,
size: 0.5,
source: 79077,
target: 8391 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 157885,
label: 'Viacheslav Rusanov',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-viacheslav-rusanov-slava-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/viacheslav-rusanov/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077157885,
size: 0.5,
source: 79077,
target: 157885 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 165989,
label: 'Bárbara Fonseca',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/09/research_pasteur-barbara-fonseca-cropped-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/barbara-fonseca/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077165989,
size: 0.5,
source: 79077,
target: 165989 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 106122,
label: 'Minhee Kim',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-pic-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/minhee-kim/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077106122,
size: 0.5,
source: 79077,
target: 106122 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4792,
label: 'Nathalie Sauvonnet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_nathaliesauvonnet-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/nathalie-sauvonnet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 790774792,
size: 0.5,
source: 79077,
target: 4792 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8458,
label: 'Valérie Malarde',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_malarde-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/valerie-malarde/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 790778458,
size: 0.5,
source: 79077,
target: 8458 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 193792,
label: 'Remigiusz Walocha',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/05/research_pasteur-e9587e63-61ed-4bad-8e54-1ebe41dcfd07-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/remigiusz-walocha/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077193792,
size: 0.5,
source: 79077,
target: 193792 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 199718,
label: 'Matthieu Gélin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/04/research_pasteur-mugshot-square-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/matthieu-gelin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077199718,
size: 0.5,
source: 79077,
target: 199718 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 217235,
label: 'Khadija Oukacha',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-oukacha-khadija-3-e1705660891593-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/khadija-oukacha/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077217235,
size: 0.5,
source: 79077,
target: 217235 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 219019,
label: 'Raphaelle Liquard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-1705656379072-e1705669444211-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/raphaelle-liquard__trashed/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077219019,
size: 0.5,
source: 79077,
target: 219019 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 220173,
label: 'Pol López Pérez',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/pol-lopez-perez/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077220173,
size: 0.5,
source: 79077,
target: 220173 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 231515,
label: 'Sophie Oatley',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/sophie-oatley/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79077231515,
size: 0.5,
source: 79077,
target: 231515 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 6834,
label: 'Samy Gobaa',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-samy-gobaa-gobaa-samy-1510-e1634550888980-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/samy-gobaa/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 790776834,
size: 0.5,
source: 79077,
target: 6834 });
// 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: 53310,
label: 'TEAM: Tech Lab',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_tech-lab-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/tech-lab/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013853310,
size: 0.5,
source: 110138,
target: 53310 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: ,
label: 'Ajax Graph',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/ajax-graph/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 53310,
size: 0.5,
source: 53310,
target: });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4623,
label: 'Michael Nilges',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research.pasteur.fr_dsc3513-copy-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/michael-nilges/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 533104623,
size: 0.5,
source: 53310,
target: 4623 });
// 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: 36902,
label: 'TEAM: Flow Cytometry Platform',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research_pasteur-enflow-cytometry-platformfrplateforme-de-cytometrie-pf-nouvault-a5-flow-cell-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/cytometry/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013836902,
size: 0.5,
source: 110138,
target: 36902 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7855,
label: 'Sandrine Schmutz',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dsc76931-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sandrine-schmutz/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 369027855,
size: 0.5,
source: 36902,
target: 7855 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7854,
label: 'Pierre-Henri Commere',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/pierre-henri-commere/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 369027854,
size: 0.5,
source: 36902,
target: 7854 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 102167,
label: 'Sebastien Megharba',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-sebastien-megharba-photo-pasteur-scaled-e1649164887421-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sebastien-megharba/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36902102167,
size: 0.5,
source: 36902,
target: 102167 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7856,
label: 'Sophie Novault',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_sn-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sophie-novault/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 369027856,
size: 0.5,
source: 36902,
target: 7856 });
// 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: 29755,
label: 'TEAM: UTechS Single Cell Biomarkers',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_technical-core-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/single-cell-biomarkers/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013829755,
size: 0.5,
source: 110138,
target: 29755 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 912,
label: 'Bernd Jagla',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-bernd-jagla-jagla-bernd-9029-scaled-e1619704164657-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bernd-jagla/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755912,
size: 0.5,
source: 29755,
target: 912 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 140305,
label: 'Esma Karkeni',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/fr-esma-karkeni/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755140305,
size: 0.5,
source: 29755,
target: 140305 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4236,
label: 'Laura Barrio Cano',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-laura-barrio-cano-barrio-cano-laura-9014-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laura-barrio-cano/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 297554236,
size: 0.5,
source: 29755,
target: 4236 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8547,
label: 'Valérie Seffer',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/valerie-seffer/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 297558547,
size: 0.5,
source: 29755,
target: 8547 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 79704,
label: 'Sébastien MELLA',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_sebastien-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-sebastien-mella/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2975579704,
size: 0.5,
source: 29755,
target: 79704 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 151219,
label: 'Hirumani De Silva',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/hirumani-de-silva/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755151219,
size: 0.5,
source: 29755,
target: 151219 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8546,
label: 'Cartini Mardi',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/cartini-mardi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 297558546,
size: 0.5,
source: 29755,
target: 8546 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 124366,
label: 'Carolina Moraes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-carolina-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/carolina-moraes/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755124366,
size: 0.5,
source: 29755,
target: 124366 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 104407,
label: 'Tatiana Traboulsi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-tatiana-profile-pic-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/tatiana-traboulsi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755104407,
size: 0.5,
source: 29755,
target: 104407 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 233833,
label: 'Aurore Gaudin',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/aurore-gaudin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755233833,
size: 0.5,
source: 29755,
target: 233833 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 233827,
label: 'Slobodan Culina',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/slobodan-culina/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755233827,
size: 0.5,
source: 29755,
target: 233827 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 233830,
label: 'Francois Le Guerroue',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/11/research_pasteur-enfrancois-le-guerrouefrfrancois-le-guerroue-img-0401-1-e1731664860585-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francois-le-guerroue/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 29755233830,
size: 0.5,
source: 29755,
target: 233830 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7837,
label: 'Milena Hasan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_43068-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/milena-hasan/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 297557837,
size: 0.5,
source: 29755,
target: 7837 });
// 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: 15050,
label: 'TEAM: Chemogenomic and Biological Screening Platform (PF-CCB)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_14287-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/fabrice-agou-team/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 11013815050,
size: 0.5,
source: 110138,
target: 15050 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 139594,
label: 'Jeanne Chiaravalli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-mdizoduw-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jeanne-chiaravalli/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050139594,
size: 0.5,
source: 15050,
target: 139594 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7851,
label: 'Alix Boucharlat',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-file-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/alix-boucharlat/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 150507851,
size: 0.5,
source: 15050,
target: 7851 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1734,
label: 'Agnès Zettor',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/DSC9333-e1433491207149-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/agnes-zettor/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 150501734,
size: 0.5,
source: 15050,
target: 1734 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 99492,
label: 'Mikaël Boullé',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/mikael-boulle/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1505099492,
size: 0.5,
source: 15050,
target: 99492 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 175733,
label: 'Marine Ghazarian',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/02/research_pasteur-marine-ghazarian-image-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/marine-ghazarian/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050175733,
size: 0.5,
source: 15050,
target: 175733 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 91407,
label: 'Emilie Giraud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-emilie-de-la-llave-giraud-lrrieuh--400x400-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/emilie-giraud/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1505091407,
size: 0.5,
source: 15050,
target: 91407 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189062,
label: 'Salomé Guez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-salome-guez-capture-decran-2022-10-18-a-09.09.52-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/salome-guez/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050189062,
size: 0.5,
source: 15050,
target: 189062 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 196337,
label: 'Lucas Facchinetti',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/02/research_pasteur-lucas-facchinetti-1704461585694-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lucas-facchinetti/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050196337,
size: 0.5,
source: 15050,
target: 196337 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 195773,
label: 'Siham Schacre',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/siham-schacre/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050195773,
size: 0.5,
source: 15050,
target: 195773 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 194602,
label: 'Cyrielle Durand',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-cyrielle-durand-snapchat-1724420620-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/cyrielle-durand/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050194602,
size: 0.5,
source: 15050,
target: 194602 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 216782,
label: 'Virginie Belz',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-envirginie-belzfrvirginie-belz-belz-virginie-0010-hd-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/virginie-belz/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050216782,
size: 0.5,
source: 15050,
target: 216782 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 229475,
label: 'Alexandrine Capra',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/alexandrine-capra/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050229475,
size: 0.5,
source: 15050,
target: 229475 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 199054,
label: 'Stéphanie Guillon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/03/research_pasteur-stephanie-guillon-guillon-stephanie-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/stephanie-guillon/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 15050199054,
size: 0.5,
source: 15050,
target: 199054 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// 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/en/member/fabrice-agou/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 150507850,
size: 0.5,
source: 15050,
target: 7850 });
// 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: 6156,
label: 'TEAM: Mass Spectrometry for Biology',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enmass-spectrometry-for-biology-frspectrometrie-de-masse-pour-la-biologie-utechs-msbio-dsc1754-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mass-spectrometry-for-biology/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 1101386156,
size: 0.5,
source: 110138,
target: 6156 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4043,
label: 'Martial Rey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_img_7701-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/martial-rey/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 61564043,
size: 0.5,
source: 6156,
target: 4043 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 125034,
label: 'Camille Garcia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/04/research_pasteur-img_0007-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/camille-garcia/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156125034,
size: 0.5,
source: 6156,
target: 125034 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1061,
label: 'Magalie Duchateau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-magalie-duchateau-institutpasteur-citech-029-ter-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/magalie-duchateau/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 61561061,
size: 0.5,
source: 6156,
target: 1061 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1056,
label: 'Mariette Matondo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Mariette_Matondo-e1424076805247-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mariette-matondo-bouzanda/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 61561056,
size: 0.5,
source: 6156,
target: 1056 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 29768,
label: 'Thibaut Douché',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-institutpasteur-citech-012-scaled-e1669734421390-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/thibaut-douche/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 615629768,
size: 0.5,
source: 6156,
target: 29768 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 80008,
label: 'Quentin Giai Gianetto',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_p10001292_3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/quentin-giai-gianetto/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 615680008,
size: 0.5,
source: 6156,
target: 80008 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 152026,
label: 'Megan Gant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-megan-gant-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/megan-gant/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156152026,
size: 0.5,
source: 6156,
target: 152026 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 123967,
label: 'Karen Druart',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-karen-druart-img-20210902-124522-1-scaled-e1669379413893-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/karen-druart/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156123967,
size: 0.5,
source: 6156,
target: 123967 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 186478,
label: 'Marija Nisavic',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/09/research_pasteur-marija-nisavic-img-20220710-112923-523-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marija-nisavic/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156186478,
size: 0.5,
source: 6156,
target: 186478 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 186471,
label: 'Rayen Elj',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/09/research_pasteur-rayen-elj-photo-rayen-elj-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/rayen-elj/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156186471,
size: 0.5,
source: 6156,
target: 186471 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 191305,
label: 'Eleonore Bouscasse',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-eleonore-bouscasse-image-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/eleonore-bouscasse/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156191305,
size: 0.5,
source: 6156,
target: 191305 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 199848,
label: 'Magdalena Gil Taran',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/04/research_pasteur-magdalena-gil-taran-gil-m-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/magdalena-gil-taran/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156199848,
size: 0.5,
source: 6156,
target: 199848 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 216372,
label: 'Daniele Musiani',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/daniele-musiani/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156216372,
size: 0.5,
source: 6156,
target: 216372 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 216380,
label: 'Philipp Deist',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-philipp-deist-deist-philipp-face-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/philipp-deist/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156216380,
size: 0.5,
source: 6156,
target: 216380 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 216376,
label: 'Lucile Kogey-Fuchs',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/lucile-kogey-fuchs/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6156216376,
size: 0.5,
source: 6156,
target: 216376 });
//check if content already exist
//link to content
g.edges.push({
id: 6156108663,
size: 0.5,
source: 6156,
target: 108663 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4041,
label: 'Julia Chamot-Rooke',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/03/research.pasteur.fr_dsc4714-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/julia-chamot-rooke/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 61564041,
size: 0.5,
source: 6156,
target: 4041 });
// 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: 2665,
label: 'TEAM: Biomics',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/genetic-strand-9.25.14-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biomics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 1101382665,
size: 0.5,
source: 110138,
target: 2665 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7872,
label: 'Imène Najjar',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_najjar.jpg',
page_url: 'https://research.pasteur.fr/en/member/imene-najjar/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26657872,
size: 0.5,
source: 2665,
target: 7872 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1635,
label: 'Laurence Ma',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-laurence-ma-lma-2-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/laurence-ma/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26651635,
size: 0.5,
source: 2665,
target: 1635 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1004,
label: 'Laure Lemee',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/06/research_pasteur-20200515_191840-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laure-lemee/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26651004,
size: 0.5,
source: 2665,
target: 1004 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 7857,
label: 'Laurence Motreff',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-lm-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laurence-motreff/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26657857,
size: 0.5,
source: 2665,
target: 7857 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8516,
label: 'Georges Haustant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/08/research_pasteur-avatar-tcm-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/georges-haustant/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26658516,
size: 0.5,
source: 2665,
target: 8516 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 81431,
label: 'Etienne Kornobis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-ekornobis-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/etienne-kornobis/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 266581431,
size: 0.5,
source: 2665,
target: 81431 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 138851,
label: 'Elodie Turc',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/06/research_pasteur-avatar-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/elodie-turc/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2665138851,
size: 0.5,
source: 2665,
target: 138851 });
//check if content already exist
//link to content
g.edges.push({
id: 26658391,
size: 0.5,
source: 2665,
target: 8391 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 175186,
label: 'Chloé Baum',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/01/research_pasteur-chloe-baum-b49c9dd9-4311-4bf9-a009-e56568ff7194-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/chloe-baum/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2665175186,
size: 0.5,
source: 2665,
target: 175186 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 181330,
label: 'Yakov Vitrenko',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/05/research_pasteur-yakov-vitrenko-avatar-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/yakov-vitrenko/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2665181330,
size: 0.5,
source: 2665,
target: 181330 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 188113,
label: 'Azimdine Habib',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-azimdine-habib-photo-le-26-04-2022-ae-15.09-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/azimdine-habib/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2665188113,
size: 0.5,
source: 2665,
target: 188113 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 188111,
label: 'Florence Jagorel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-florence-jagorel-florence-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florence-jagorel/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2665188111,
size: 0.5,
source: 2665,
target: 188111 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 204626,
label: 'Rania Ouazahrou',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/rania-ouazahrou/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 2665204626,
size: 0.5,
source: 2665,
target: 204626 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 4219,
label: 'Marc Monot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_marc_icone-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marc-monot/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26654219,
size: 0.5,
source: 2665,
target: 4219 });
// 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: 794,
label: 'TEAM: Crystallography',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_crystallography-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/crystallography/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138794,
size: 0.5,
source: 110138,
target: 794 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2211,
label: 'Rafael Navaza',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Rafaël-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/rafael-navaza/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7942211,
size: 0.5,
source: 794,
target: 2211 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2259,
label: 'Cédric Pissis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Cédric-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/cedric-pissis/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7942259,
size: 0.5,
source: 794,
target: 2259 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 2268,
label: 'Patrick Weber',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Patrick-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/patrick-weber/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7942268,
size: 0.5,
source: 794,
target: 2268 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 98461,
label: 'Ariel Mechaly',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-njg1njqx-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-ariel-mechaly/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 79498461,
size: 0.5,
source: 794,
target: 98461 });
//check if content already exist
//link to content
g.edges.push({
id: 7948494,
size: 0.5,
source: 794,
target: 8494 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 137591,
label: 'Cécile Sauvanet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/01/research_pasteur-image001-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/cecile-sauvanet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 794137591,
size: 0.5,
source: 794,
target: 137591 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 796,
label: 'Ahmed Haouz',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/04/ahmed-haouz-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/ahmed-haouz/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 794796,
size: 0.5,
source: 794,
target: 796 });
// 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: 1024,
label: 'TEAM: Molecular Biophysics',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_biophysics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biophysics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 1101381024,
size: 0.5,
source: 110138,
target: 1024 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 145189,
label: 'Liliana Avila Ospina',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/08/research_pasteur-photo-liliana-blanco-y-negro-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/liliana-avila-ospina/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1024145189,
size: 0.5,
source: 1024,
target: 145189 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 53317,
label: 'Sébastien Brûlé',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_img_1728-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sebastien-brule/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 102453317,
size: 0.5,
source: 1024,
target: 53317 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1035,
label: 'Bertrand Raynal',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Bertrand1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bertrand-raynal/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 10241035,
size: 0.5,
source: 1024,
target: 1035 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 165873,
label: 'Maelenn Chevreuil',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/09/research_pasteur-maelenn-chevreuil-photo-cv-lm-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/maelenn-chevreuil/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1024165873,
size: 0.5,
source: 1024,
target: 165873 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1033,
label: 'Sylviane Hoos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Sylviane1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sylviane-hoos/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 10241033,
size: 0.5,
source: 1024,
target: 1033 });
//check if content already exist
//link to content
g.edges.push({
id: 10248494,
size: 0.5,
source: 1024,
target: 8494 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8318,
label: 'Sandrine Rosario',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/sandrine-rosario/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 10248318,
size: 0.5,
source: 1024,
target: 8318 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 1022,
label: 'Patrick England',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Patrick1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/patrick-england/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 10241022,
size: 0.5,
source: 1024,
target: 1022 });
// 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: 748,
label: 'TEAM: Antibody Engineering',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_antibody-engineering-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/antibody-engineering/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 110138748,
size: 0.5,
source: 110138,
target: 748 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 99324,
label: 'Gabriel Aymé',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-iphone-006-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/gabriel-ayme/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 74899324,
size: 0.5,
source: 748,
target: 99324 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 976,
label: 'Gaëlle Chauveau-Le Friec',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/chauveau1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/gaelle-chauveau-le-friec/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 748976,
size: 0.5,
source: 748,
target: 976 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 189442,
label: 'Hiba Mejri',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/hiba-mejri/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 748189442,
size: 0.5,
source: 748,
target: 189442 });
//check if content already exist
//link to content
g.edges.push({
id: 7488494,
size: 0.5,
source: 748,
target: 8494 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 198441,
label: 'Jean Randrianaly',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/jean-randrianaly/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 748198441,
size: 0.5,
source: 748,
target: 198441 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 8659,
label: 'Catherine Vivier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_vivier-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/catherine-vivier/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7488659,
size: 0.5,
source: 748,
target: 8659 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 231914,
label: 'Quitterie Harmel',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/quitterie-harmel/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 748231914,
size: 0.5,
source: 748,
target: 231914 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 233391,
label: 'Vanina Alzogaray',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/10/research_pasteur-v-alzogaray-v-alzogaray-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/vanina-alzogaray/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 748233391,
size: 0.5,
source: 748,
target: 233391 });
//check if content already exist
if (x_node<0){
x_site = x_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
x_site = x_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
if (y_node<0){
y_site = y_node + 0.01*(((Math.random() * 2)-1) - offset_left);
}else{
y_site = y_node + 0.01*(((Math.random() * 2)-1) + offset_left);
}
// adding site
g.nodes.push({
id: 749,
label: 'Pierre Lafaye',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/01/Lafaye-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/pierre-lafaye/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 748749,
size: 0.5,
source: 748,
target: 749 });
// 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: 1072,
label: 'TEAM: Proteomics',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/P53-Protein-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/proteomics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 1101381072,
size: 0.5,
source: 110138,
target: 1072 });
//check if content already exist
//link to content
g.edges.push({
id: 10721061,
size: 0.5,
source: 1072,
target: 1061 });
//check if content already exist
//link to content
g.edges.push({
id: 107229768,
size: 0.5,
source: 1072,
target: 29768 });
//check if content already exist
//link to content
g.edges.push({
id: 107280008,
size: 0.5,
source: 1072,
target: 80008 });
//check if content already exist
//link to content
g.edges.push({
id: 1072123967,
size: 0.5,
source: 1072,
target: 123967 });
//check if content already exist
//link to content
g.edges.push({
id: 1072152026,
size: 0.5,
source: 1072,
target: 152026 });
//check if content already exist
//link to content
g.edges.push({
id: 1072186471,
size: 0.5,
source: 1072,
target: 186471 });
//check if content already exist
//link to content
g.edges.push({
id: 1072191305,
size: 0.5,
source: 1072,
target: 191305 });
//check if content already exist
//link to content
g.edges.push({
id: 1072199848,
size: 0.5,
source: 1072,
target: 199848 });
//check if content already exist
//link to content
g.edges.push({
id: 1072216372,
size: 0.5,
source: 1072,
target: 216372 });
//check if content already exist
//link to content
g.edges.push({
id: 1072108663,
size: 0.5,
source: 1072,
target: 108663 });
//check if content already exist
//link to content
g.edges.push({
id: 10721056,
size: 0.5,
source: 1072,
target: 1056 });
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) {
});