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: 26,
label: 'Neuroscience',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/brain_artwork_cells_1920x1080_24208-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=4
//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: 207556,
label: 'Bruno Teste',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/bruno-teste/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26207556,
size: 0.5,
source: 26,
target: 207556 });
//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: 134269,
label: 'Rebecca Pavillard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-pavillard-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/rebecca-pavillard/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 26134269,
size: 0.5,
source: 26,
target: 134269 });
//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: 3806,
label: 'Pierre-Marie Lledo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-pierre-marie-lledo-lledo-pierre-marie-6653-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pierre-marie-lledo/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 263806,
size: 0.5,
source: 26,
target: 3806 });
//check if content already exist
x_site = Math.cos(2 * 3 * Math.PI / N) * 2;
y_site = Math.sin(2 * 3 * Math.PI / N) * 2;
// adding site
g.nodes.push({
id: 3801,
label: 'Uwe Maskos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_um_1-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/uwe-maskos/',
x: x_site,
y: y_site,
size: 10,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 263801,
size: 0.5,
source: 26,
target: 3801 });
N=8
// 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: 165876,
label: 'TEAM: Neuroanatomie Appliquée et Théorique',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/applied-and-theoretical-neuroanatomy/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 26165876,
size: 0.5,
source: 26,
target: 165876 });
//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: 90208,
label: 'Nathalie Zemmour',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-nathalie-zemmour-photo-nathalie-le-17-mai-20174-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/nathalie-zemmour/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 16587690208,
size: 0.5,
source: 165876,
target: 90208 });
//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: 187502,
label: 'Katja Heuer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/09/research_pasteur-katja-heuer-katja-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/katja-heuer/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 165876187502,
size: 0.5,
source: 165876,
target: 187502 });
//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: 187500,
label: 'Nicolas Traut',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/09/research_pasteur-nicolas-traut-photo-nicolas-upscaled-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/nicolas-traut/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 165876187500,
size: 0.5,
source: 165876,
target: 187500 });
//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: 188915,
label: 'Vaibhav Sahu',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/vaibhav-sahu/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 165876188915,
size: 0.5,
source: 165876,
target: 188915 });
//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: 188921,
label: 'Rajeev Mylapalli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-rajeev-mylapalli-31442aab-c371-42da-81a4-9a38b7bfda94-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/rajeev-mylapalli/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 165876188921,
size: 0.5,
source: 165876,
target: 188921 });
//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: 3968,
label: 'Roberto Toro',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_toror-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/roberto-toro/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1658763968,
size: 0.5,
source: 165876,
target: 3968 });
// 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: 156712,
label: 'TEAM: Interactions cerveau-immunité',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/brain-immune-communication/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 26156712,
size: 0.5,
source: 26,
target: 156712 });
//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: 8253,
label: 'Marie-Christine Vougny',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-mc-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-christine-vougny/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1567128253,
size: 0.5,
source: 156712,
target: 8253 });
//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: 158340,
label: 'Amaia Dominguez-Belloso',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/05/research_pasteur-amaia-dominguez-belloso-amaia-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/amaia-dominguez-belloso/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712158340,
size: 0.5,
source: 156712,
target: 158340 });
//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: 153773,
label: 'Olivier Mirabeau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/02/research_pasteur-olivier-mirabeau-omirabeau-badge-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/olivier-mirabeau/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712153773,
size: 0.5,
source: 156712,
target: 153773 });
//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: 4481,
label: 'Laetitia Travier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-img_2309rognee-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/laetitia-travier/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 1567124481,
size: 0.5,
source: 156712,
target: 4481 });
//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: 188083,
label: 'Ana Blas Medina',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-ana-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/ana-blas-medina/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712188083,
size: 0.5,
source: 156712,
target: 188083 });
//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: 193939,
label: 'Samir Ali-Moussa',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-photo-samir-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/samir-ali-moussa/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712193939,
size: 0.5,
source: 156712,
target: 193939 });
//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: 201926,
label: 'Mariangeles Kovacs',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/05/research_pasteur-research-pasteur-kovacs-1-copia-01-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mariangeles-kovacs/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712201926,
size: 0.5,
source: 156712,
target: 201926 });
//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: 217476,
label: 'Joseph Josephides',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-enjoseph-josephidesfrjoseph-josephides-joseph-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/joseph-josephides/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712217476,
size: 0.5,
source: 156712,
target: 217476 });
//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: 219258,
label: 'Tamara Matijevic',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/02/research_pasteur-entamara-matijevic-tamara-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/tamara-matijevic/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712219258,
size: 0.5,
source: 156712,
target: 219258 });
//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: 233637,
label: 'Letizia Mazzarella',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/11/research_pasteur-letizia-mazzarella-letizia-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/letizia-mazzarella/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712233637,
size: 0.5,
source: 156712,
target: 233637 });
//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: 156713,
label: 'Aleksandra Deczkowska',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-aleksandra-deczkowska-mg-4166-edit-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/aleksandra-deczkowska/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 156712156713,
size: 0.5,
source: 156712,
target: 156713 });
// 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: 94978,
label: 'TEAM: Dynamique Corticale et Prise de Décision',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/neural-circuit-dynamics-and-decision-making/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2694978,
size: 0.5,
source: 26,
target: 94978 });
//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: 104637,
label: 'Frédérique Bouchot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-frederique-bouchot-2-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/frederique-bouchot/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94978104637,
size: 0.5,
source: 94978,
target: 104637 });
//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: 154194,
label: 'Wilson Mena Orostica',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/02/research_pasteur-wilson-mena-orostica-research-pasteur-wilson-mena-orostica-microsoftteams-image-7-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/wilson-mena-orostica/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94978154194,
size: 0.5,
source: 94978,
target: 154194 });
//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: 190654,
label: 'Timothé Jost-Mousseau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-timothe-jost-mousseau-research-pasteur-timothe-jost-mousseau-photo-tim-e1672934457363-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/timothe-jost-mousseau/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94978190654,
size: 0.5,
source: 94978,
target: 190654 });
//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: 225212,
label: 'Lorenzo Panelatti',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/lorenzo-panelatti/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94978225212,
size: 0.5,
source: 94978,
target: 225212 });
//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: 225215,
label: 'Ervan Achirou',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/ervan-achirou/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94978225215,
size: 0.5,
source: 94978,
target: 225215 });
//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: 230145,
label: 'Bahar Asadipour',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/bahar-asadipour/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 94978230145,
size: 0.5,
source: 94978,
target: 230145 });
//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: 94979,
label: 'Florent Haiss',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-d41d84dda37815ca0f_l_c08c0-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/florent-haiss/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 9497894979,
size: 0.5,
source: 94978,
target: 94979 });
// 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: 70654,
label: 'TEAM: Décision et processus Bayesiens',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/decision-and-bayesian-computation/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2670654,
size: 0.5,
source: 26,
target: 70654 });
//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: 85997,
label: 'Christian Vestergaard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/04/research.pasteur.fr_photopasteur-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/fr-christian-vestergaard/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7065485997,
size: 0.5,
source: 70654,
target: 85997 });
//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: 80014,
label: 'François Laurent',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research_pasteur-francois-laurent-moi-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/francois-laurent/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7065480014,
size: 0.5,
source: 70654,
target: 80014 });
//check if content already exist
//link to content
g.edges.push({
id: 70654104637,
size: 0.5,
source: 70654,
target: 104637 });
//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: 191233,
label: 'Array',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-alex-barbier-chebbah-research-pasteur-alex-barbier-chebbah-photo5-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/alex-barbier-chebbah/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654191233,
size: 0.5,
source: 70654,
target: 191233 });
//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: 229418,
label: 'Astrid Nilsson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/08/research_pasteur-enastrid-nilssonfrastrid-nilson-photo-moi-ok-cropped-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/astrid-nilsson/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654229418,
size: 0.5,
source: 70654,
target: 229418 });
//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: 164842,
label: 'Alexis Bénichou',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/08/research_pasteur-alexis-benichou-photo-prairie-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/alexis-benichou/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654164842,
size: 0.5,
source: 70654,
target: 164842 });
//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: 220035,
label: 'Zografoula Vagena',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/02/research_pasteur-enzografoula-vagenafrzografoula-vagena-screenshot-2024-08-12-at-22.37.58-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/zografoula-vagena/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654220035,
size: 0.5,
source: 70654,
target: 220035 });
//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: 164837,
label: 'Alexandre Blanc',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/08/research_pasteur-alexandre-blanc-me-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/alexandre-blanc/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654164837,
size: 0.5,
source: 70654,
target: 164837 });
//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: 155894,
label: 'Francesca Raimondi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/03/research_pasteur-francesca-raimondi-img-1371-002-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/francesca-raimundi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654155894,
size: 0.5,
source: 70654,
target: 155894 });
//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: 191231,
label: 'Robin Cremese',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-robin-cremese-research-pasteur-robin-cremese-screenshot-2024-02-13-at-00.26.29-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/robin-cremese/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654191231,
size: 0.5,
source: 70654,
target: 191231 });
//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: 229422,
label: 'Eleonore Bouchereau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/08/research_pasteur-eneleonore-bouchereaufreleonore-bouchereau-research-pasteur-eneleonore-bouchereaufreleonore-bouchereau-screenshot-2024-08-12-at-22.36.03-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/eleonore-bouchereau/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654229422,
size: 0.5,
source: 70654,
target: 229422 });
//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: 220019,
label: 'Iwan Quemada',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/02/research_pasteur-eniwan-quemadafriwan-quemada-inria-0474-185-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/iwan-quemada/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 70654220019,
size: 0.5,
source: 70654,
target: 220019 });
//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: 2489,
label: 'David DiGregorio',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/david-protrait-2011-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/david-digregorio/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 706542489,
size: 0.5,
source: 70654,
target: 2489 });
//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: 50133,
label: 'Jean-Baptiste Masson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-jbm_photo_serieux_low_res-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jean-baptiste-masson/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 7065450133,
size: 0.5,
source: 70654,
target: 50133 });
// 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: 6201,
label: 'TEAM: Neurobiologie intégrative des systèmes cholinergiques',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_14282-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/integrative-neurobiology-of-cholinergic-systems/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 266201,
size: 0.5,
source: 26,
target: 6201 });
//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: 4530,
label: 'Stéphanie Pons',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/stephanie-pons/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62014530,
size: 0.5,
source: 6201,
target: 4530 });
//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: 86249,
label: 'Anaïs Victoire',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research_pasteur-anais-victoire-photo-didentite-2024-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/anais-victoire/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 620186249,
size: 0.5,
source: 6201,
target: 86249 });
//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: 3964,
label: 'Isabelle Cloez-Tayarani',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-photo-i.-cloez-tayarani-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/isabelle-cloez-tayarani/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62013964,
size: 0.5,
source: 6201,
target: 3964 });
//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: 4523,
label: 'Morgane Besson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/07/research_pasteur-capture-decran-2017-07-22-a-17.21.36-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/morgane-besson/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62014523,
size: 0.5,
source: 6201,
target: 4523 });
//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: 92973,
label: 'Romain Icick',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-roamin-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/romain-icick/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 620192973,
size: 0.5,
source: 6201,
target: 92973 });
//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: 8678,
label: 'Cécile Saint Cloment',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_img_0527-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cecile-saint-cloment/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62018678,
size: 0.5,
source: 6201,
target: 8678 });
//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: 118781,
label: 'Matthias Groszer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-capture-decran-2019-01-21-a-18.27.59-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/matthias-groszer/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201118781,
size: 0.5,
source: 6201,
target: 118781 });
//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: 168320,
label: 'Chloe Bouarab',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/10/research_pasteur-chloe-bouarab-chloe-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/chloe-bouarab/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201168320,
size: 0.5,
source: 6201,
target: 168320 });
//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: 114976,
label: 'Gabriela Ferreira de Medeiros',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/10/research_pasteur-gabi-pic-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/gabriela-ferreira-de-medeiros/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201114976,
size: 0.5,
source: 6201,
target: 114976 });
//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: 188779,
label: 'Jimena Frontera',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-jimena--150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jimena-frontera/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201188779,
size: 0.5,
source: 6201,
target: 188779 });
//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: 188798,
label: 'Francisco Palma Cerda',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-francisco-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/francisco-palma-cerda/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201188798,
size: 0.5,
source: 6201,
target: 188798 });
//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: 148641,
label: 'Daniela Gaspar Santos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/10/research_pasteur-enpaula-wildfrpaula-wild-daniela-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/daniela-gaspar-santos/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201148641,
size: 0.5,
source: 6201,
target: 148641 });
//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: 188804,
label: 'Yago Pazos Boubeta',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-yago-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/yago-pazos-boubeta/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201188804,
size: 0.5,
source: 6201,
target: 188804 });
//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: 190388,
label: 'Michiel van der Zwan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-michiel-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/michiel-van-der-zwan/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201190388,
size: 0.5,
source: 6201,
target: 190388 });
//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: 212274,
label: 'Alicia Velazquez de Castro Esteve',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-enalicia-velazquez-de-castro-estevefralicia-velazquez-de-castro-esteve-alicia-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/alicia-velazquez-de-castro-esteve/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201212274,
size: 0.5,
source: 6201,
target: 212274 });
//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: 225088,
label: 'Carla Gouin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/04/research_pasteur-encarla-gouinfrcarla-gouin-research-pasteur-encarla-gouinfrcarla-gouin-capture-decran-2024-10-12-a-18.37.22-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/carla-gouin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201225088,
size: 0.5,
source: 6201,
target: 225088 });
//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: 227317,
label: 'José Fernando Garcia Rodrigo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/06/research_pasteur-whatsapp-image-2022-04-17-at-10.41.54-am-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/jose-fernando-garcia-rodrigo/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6201227317,
size: 0.5,
source: 6201,
target: 227317 });
//check if content already exist
//link to content
g.edges.push({
id: 62013801,
size: 0.5,
source: 6201,
target: 3801 });
// 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: 6202,
label: 'TEAM: Perception & Action',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_chen_stemcells_6-2013-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/perception-and-action/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 266202,
size: 0.5,
source: 26,
target: 6202 });
//check if content already exist
//link to content
g.edges.push({
id: 6202104637,
size: 0.5,
source: 6202,
target: 104637 });
//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: 982,
label: 'Carine Moigneu',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Moigneu1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/carine-moigneu/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202982,
size: 0.5,
source: 6202,
target: 982 });
//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: 4488,
label: 'Mariana Alonso',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_foto-website-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mariana-alonso/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024488,
size: 0.5,
source: 6202,
target: 4488 });
//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: 4489,
label: 'Françoise Lazarini-Serandour',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_francoise-lazarini-serandour-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/francoise-lazarini-serandour/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024489,
size: 0.5,
source: 6202,
target: 4489 });
//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: 37097,
label: 'Chantal Henry',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_capture-d’écran-2015-09-18-à-18.07.01-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/chantal-henry/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 620237097,
size: 0.5,
source: 6202,
target: 37097 });
//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: 60986,
label: 'Lida Katsimpardi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-dsc1996-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/lida-katsimpardi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 620260986,
size: 0.5,
source: 6202,
target: 60986 });
//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: 179542,
label: 'Léa Hamon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/04/research_pasteur-lea-hamon-lea-hamon-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/lea-hamon/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202179542,
size: 0.5,
source: 6202,
target: 179542 });
//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: 156464,
label: 'Alice Dupin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/03/research_pasteur-alice-dupin-247345641-382313933681837-173136756349216491-n-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/alice-dupin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202156464,
size: 0.5,
source: 6202,
target: 156464 });
//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: 179550,
label: 'Soumia Abdellaoui',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/04/research_pasteur-soumia-abdellaoui-screenshot-2022-04-19-22-59-17-44-965bbf4d18d205f782c6b8409c5773a42-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/soumia-abdellaoui/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202179550,
size: 0.5,
source: 6202,
target: 179550 });
//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: 99390,
label: 'Mathilde Bigot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-afterlightimage-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mathilde-bigot/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 620299390,
size: 0.5,
source: 6202,
target: 99390 });
//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: 79465,
label: 'Maud Pascal',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_maud-12116-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/maud-pascal/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 620279465,
size: 0.5,
source: 6202,
target: 79465 });
//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: 4487,
label: 'Antoine Nissant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_img_6385-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/antoine-nissant/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024487,
size: 0.5,
source: 6202,
target: 4487 });
//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: 4485,
label: 'Gilles Gheusi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ggheusi-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/gilles-gheusi/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024485,
size: 0.5,
source: 6202,
target: 4485 });
//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: 4490,
label: 'Gabriel Lepousez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_gabriel-lepousez1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/gabriel-lepousez/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024490,
size: 0.5,
source: 6202,
target: 4490 });
//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: 4492,
label: 'Kurt Sailor',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_kurt-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/kurt-sailor/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024492,
size: 0.5,
source: 6202,
target: 4492 });
//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: 4496,
label: 'Sébastien Wagner',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/sebastien-wagner/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62024496,
size: 0.5,
source: 6202,
target: 4496 });
//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: 7134,
label: 'Pierre Legrain',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-pierre-legrain-photo-2016-web-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pierre-legrain/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62027134,
size: 0.5,
source: 6202,
target: 7134 });
//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: 156471,
label: 'Alain Letailleur',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/03/research_pasteur-alain-letailleur-alain-letailleur-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/alain-letailleur/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202156471,
size: 0.5,
source: 6202,
target: 156471 });
//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: 8676,
label: 'Tarek Sharshar',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_img_20151120_154248-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/tarek-sharshar/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 62028676,
size: 0.5,
source: 6202,
target: 8676 });
//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: 197745,
label: 'Claire-Hélène de Badts',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/claire-helene-de-badts/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202197745,
size: 0.5,
source: 6202,
target: 197745 });
//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: 197754,
label: 'Mihye Song',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/02/research_pasteur-mihye-song-2022--01-e1695289680675-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mihye-song/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202197754,
size: 0.5,
source: 6202,
target: 197754 });
//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: 197759,
label: 'Aurélien Mazeraud',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/aurelien-mazeraud/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202197759,
size: 0.5,
source: 6202,
target: 197759 });
//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: 105067,
label: 'Anne-Cecile Petit',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-anne-cecile-petit-img-9675-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/anne-cecile-petit/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202105067,
size: 0.5,
source: 6202,
target: 105067 });
//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: 191696,
label: 'Justus Ninnemann',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/12/research_pasteur-justus-ninnemann-sans-titre-2-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/justus-ninnemann/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 6202191696,
size: 0.5,
source: 6202,
target: 191696 });
//check if content already exist
//link to content
g.edges.push({
id: 62023806,
size: 0.5,
source: 6202,
target: 3806 });
// 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: 36,
label: 'TEAM: Génétique Humaine et Fonctions Cognitives',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_32050-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/human-genetics-and-cognitive-functions/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2636,
size: 0.5,
source: 26,
target: 36 });
//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: 178933,
label: 'Anaël Ayrolles',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/anael-ayrolles/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36178933,
size: 0.5,
source: 36,
target: 178933 });
//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: 196028,
label: 'Eli Barthome',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/eli-barthome/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36196028,
size: 0.5,
source: 36,
target: 196028 });
//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: 207775,
label: 'Aria Batut',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/aria-batut/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36207775,
size: 0.5,
source: 36,
target: 207775 });
//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: 24536,
label: 'Freddy Cliquet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-17637047_1396080250451325_800557458960161845_o-2-e1519724213254-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/freddy-cliquet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 3624536,
size: 0.5,
source: 36,
target: 24536 });
//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: 8350,
label: 'Sabrina Coqueran',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_coqueran-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/sabrina-coqueran/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 368350,
size: 0.5,
source: 36,
target: 8350 });
//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: 196069,
label: 'Sophie Dauzet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/02/research_pasteur-sophie-dauzet-photo-sophie-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/sophie-dauzet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36196069,
size: 0.5,
source: 36,
target: 196069 });
//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: 3768,
label: 'Fabrice de Chaumont',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_fabrice-de-chaumont-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/fabrice-de-chaumont/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 363768,
size: 0.5,
source: 36,
target: 3768 });
//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: 8360,
label: 'Richard Delorme',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_delorme-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/richard-delorme/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 368360,
size: 0.5,
source: 36,
target: 8360 });
//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: 119254,
label: 'Benjamin Devauchelle',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-capture-decran-2019-03-01-a-14.34.49-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/fr-benjamin-devauchelle/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36119254,
size: 0.5,
source: 36,
target: 119254 });
//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: 209349,
label: 'Mathis Fleury',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/mathis-fleury/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36209349,
size: 0.5,
source: 36,
target: 209349 });
//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: 4525,
label: 'Benoît Forget',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_picturebencv-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/benoit-forget/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 364525,
size: 0.5,
source: 36,
target: 4525 });
//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: 101504,
label: 'Claire Leblond',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-2015_claire_portrait-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/claire-leblond/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36101504,
size: 0.5,
source: 36,
target: 101504 });
//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: 156728,
label: 'Chloé Lehoucq',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-chloe-lehoucq-photo-cl-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/chloe-lehoucq/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36156728,
size: 0.5,
source: 36,
target: 156728 });
//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: 8362,
label: 'Nathalie Lemiere',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_lemiere-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/nathalie-lemiere/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 368362,
size: 0.5,
source: 36,
target: 8362 });
//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: 156840,
label: 'Anna Maruani',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/anna-maruani/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36156840,
size: 0.5,
source: 36,
target: 156840 });
//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: 3960,
label: 'Alexandre Mathieu',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_mathieua-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/alexandre-mathieu/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 363960,
size: 0.5,
source: 36,
target: 3960 });
//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: 212408,
label: 'Zakaria Mougin',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/zakaria-mougin/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36212408,
size: 0.5,
source: 36,
target: 212408 });
//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: 221240,
label: 'Manon Moreau',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/manon-moreau/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 36221240,
size: 0.5,
source: 36,
target: 221240 });
//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: 3967,
label: 'Thomas Rolland',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-photo_tr_small2-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thomas-rolland/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 363967,
size: 0.5,
source: 36,
target: 3967 });
//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: 8358,
label: 'Anne Claude Tabet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_tabetac-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/anne-claude-tabet/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 368358,
size: 0.5,
source: 36,
target: 8358 });
//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: 4668,
label: 'Elisabeth Verpy',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/elisabeth-verpy/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 364668,
size: 0.5,
source: 36,
target: 4668 });
//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: 3770,
label: 'Thomas Bourgeron',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_thomas-bourgeron-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thomas-bourgeron/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 363770,
size: 0.5,
source: 36,
target: 3770 });
// 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: 86,
label: 'TEAM: Signalisation et dynamique des récepteurs',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/research_pasteur-channel-receptors-bandeau-unite-pj-corringer-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/signaling-and-receptors-dynamics/',
size: 10,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2686,
size: 0.5,
source: 26,
target: 86 });
//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: 4156,
label: 'Nicolas Wolff',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_photo-du-30-09-2015-a-09.47-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/nicolas-wolff/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 864156,
size: 0.5,
source: 86,
target: 4156 });
//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: 102089,
label: 'Marie Prevost',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/02/research_pasteur-profilepic-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-prevost/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86102089,
size: 0.5,
source: 86,
target: 102089 });
//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: 4196,
label: 'Gaël Moneron',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_gael-moneron2-e1442504490400-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/gael-moneron/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 864196,
size: 0.5,
source: 86,
target: 4196 });
//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: 204741,
label: 'Catherine Venien-Bryan',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/catherine-venien-bryan/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86204741,
size: 0.5,
source: 86,
target: 204741 });
//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: 8432,
label: 'Nathalie Barilone',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/nathalie-barilone/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 868432,
size: 0.5,
source: 86,
target: 8432 });
//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: 8708,
label: 'Karima Medjebeur',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/karima-medjebeur/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 868708,
size: 0.5,
source: 86,
target: 8708 });
//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: 192100,
label: 'Orso Subrini',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/orso-subrini/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86192100,
size: 0.5,
source: 86,
target: 192100 });
//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: 221612,
label: 'Zahra Marouf',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/zahra-marouf/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86221612,
size: 0.5,
source: 86,
target: 221612 });
//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: 161527,
label: 'Nour Awad',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/nour-awad/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86161527,
size: 0.5,
source: 86,
target: 161527 });
//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: 154176,
label: 'Flavio Alvarez',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/flavio-alvarez/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86154176,
size: 0.5,
source: 86,
target: 154176 });
//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: 168405,
label: 'Yasmine Achat',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/yasmine-achat/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86168405,
size: 0.5,
source: 86,
target: 168405 });
//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: 175836,
label: 'Andreas Zoumpoulakis',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/andreas-zoumpoulakis/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86175836,
size: 0.5,
source: 86,
target: 175836 });
//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: 175838,
label: 'Maria Vangelatou',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/02/research_pasteur-maria-vangelatou-92350283-885252988568502-1704564789117714432-n-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/maria-vangelatou/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86175838,
size: 0.5,
source: 86,
target: 175838 });
//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: 180527,
label: 'Korantin Le Mouël',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/korantin-le-mouel/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86180527,
size: 0.5,
source: 86,
target: 180527 });
//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: 193301,
label: 'Matthieu Sèze',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/matthieu-seze/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86193301,
size: 0.5,
source: 86,
target: 193301 });
//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: 219567,
label: 'Laura Cardon',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/laura-cardon/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86219567,
size: 0.5,
source: 86,
target: 219567 });
//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: 220748,
label: 'Clarice Marty',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/clarice-marty/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86220748,
size: 0.5,
source: 86,
target: 220748 });
//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: 233147,
label: 'Antonio EL HELOU',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/10/research_pasteur-enantonio-el-heloufrantonio-el-helou-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/antonio-el-helou/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86233147,
size: 0.5,
source: 86,
target: 233147 });
//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: 217471,
label: 'Eric Figueroa Acosta',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-eneric-figueroa-acostafreric-figueroa-acosta-research-pasteur-eneric-figueroa-acostafreric-figueroa-acosta-photo-ig-portrait-email-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/eric-figueroa-acosta/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 86217471,
size: 0.5,
source: 86,
target: 217471 });
//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: 3793,
label: 'Pierre-Jean Corringer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-photo_corringer-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pierre-jean-corringer/',
x: x_site,
y: y_site,
size: 3,
color: '#DDDDDD'
});
//link to content
g.edges.push({
id: 863793,
size: 0.5,
source: 86,
target: 3793 });
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) {
});