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 = 13,
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: 10372,
label: 'Institut Pasteur',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_i00845-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/teams-heads',
x: 0,
y: 0,
size: 20,
color: '#AAAAAA'
});
// adding node
var x_node = Math.cos(2 * 0 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 0 * Math.PI / N) * 10;
g.nodes.push({
id: 160139,
label: 'Hearing Institute – Institut Pasteur Center',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/department/hearing-institute-institut-pasteur-center/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372160139,
size: 0.5,
source: 10372,
target: 160139 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57,
label: 'Auditory Therapies Innovation Lab',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/dna-genes-1405932776-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/auditory-therapies-innovation-lab/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 16013957,
size: 0.5,
source: 160139,
target: 57 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24212,
label: 'Progressive Sensory Disorders, PathoPhysiology and Therapy',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/progressive-sensory-disorders-pathophysiology-and-therapy/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 16013924212,
size: 0.5,
source: 160139,
target: 24212 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160144,
label: 'Neural coding in the auditory system',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/neural-coding-in-the-auditory-system/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160144,
size: 0.5,
source: 160139,
target: 160144 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160155,
label: 'Auditory system dynamics and multisensory processing',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/auditory-system-dynamics-and-multisensory-processing/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160155,
size: 0.5,
source: 160139,
target: 160155 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160160,
label: 'Clinical and translational exploration of sensorineural hearing loss',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/clinical-and-translational-exploration-of-sensorineural-hearing-loss/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160160,
size: 0.5,
source: 160139,
target: 160160 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160165,
label: 'Plasticity of central auditory circuits',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/plasticity-of-central-auditory-circuits/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160165,
size: 0.5,
source: 160139,
target: 160165 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160171,
label: 'Technologies and Gene Therapy for Deafness',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/technologies-and-gene-therapy-for-deafness/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160171,
size: 0.5,
source: 160139,
target: 160171 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160183,
label: 'Auditory Cognition and Communication',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/auditory-cognition-and-communication/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160183,
size: 0.5,
source: 160139,
target: 160183 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160175,
label: 'Cochlear development and therapeutic perspectives',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/cochlear-development-and-therapeutic-perspectives/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139160175,
size: 0.5,
source: 160139,
target: 160175 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 164700,
label: 'Hearing Institute Bioimaging Core Facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/hearing-institute-bioimaging-core-facility/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139164700,
size: 0.5,
source: 160139,
target: 164700 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 164712,
label: 'Hearing Institute Animal Phenotyping Core Facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/hearing-institute-animal-phenotyping-core-facility/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139164712,
size: 0.5,
source: 160139,
target: 164712 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 173185,
label: 'Neural coding and neuroengineering of human speech functions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/01/research_pasteur-enneural-coding-and-neuroengineering-of-human-speech-functions-frcodage-neural-et-ingenierie-des-fonctions-de-parole-illustration-pasteur-team-copy-no-background-petite-2-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/neural-coding-and-engineering-of-human-speech-functions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139173185,
size: 0.5,
source: 160139,
target: 173185 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 182351,
label: 'Hearing Institute Data Acquisition and Signal Processing Facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/hearing-institute-data-acquisition-and-signal-processing-facility/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160139182351,
size: 0.5,
source: 160139,
target: 182351 });
// adding node
var x_node = Math.cos(2 * 1 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 1 * Math.PI / N) * 10;
g.nodes.push({
id: 125763,
label: 'Computational Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/06/research_pasteur-dept_computational_biology-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/computational-biology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372125763,
size: 0.5,
source: 10372,
target: 125763 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 77488,
label: 'Statistical Genetics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_statistical-genetics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/statistical-genetics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12576377488,
size: 0.5,
source: 125763,
target: 77488 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83826,
label: 'InBio: Experimental and Computational Methods for Modeling Cellular Processes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research_pasteur-experimental-and-computational-methods-for-modeling-cellular-processes-inria-0289-631-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/inbio/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12576383826,
size: 0.5,
source: 125763,
target: 83826 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 119692,
label: 'Sequence Bioinformatics',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/sequence-bioinformatics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 125763119692,
size: 0.5,
source: 125763,
target: 119692 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 18489,
label: 'Bioinformatics and Biostatistics HUB',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_complex-system-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/bioinformatics-and-biostatistics-hub/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12576318489,
size: 0.5,
source: 125763,
target: 18489 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70654,
label: 'Decision and Bayesian Computation – Epiméthée',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/decision-and-bayesian-computation/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12576370654,
size: 0.5,
source: 125763,
target: 70654 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6124,
label: 'Computational Systems Biomedicine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_system-biology1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/csb/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257636124,
size: 0.5,
source: 125763,
target: 6124 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6135,
label: 'Imaging and Modeling',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_superres-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/imaging-and-modeling/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257636135,
size: 0.5,
source: 125763,
target: 6135 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 195173,
label: 'Machine Learning for integrative genomics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-enmachine-learning-for-integrative-genomicsfrapprentissage-automatique-pour-la-genomique-integrative-bandeau-l-cantini-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/machine-learning-for-integrative-genomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 125763195173,
size: 0.5,
source: 125763,
target: 195173 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210082,
label: 'Evolutionary dynamics of infectious diseases',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/evolutionary-dynamics-of-infectious-diseases/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 125763210082,
size: 0.5,
source: 125763,
target: 210082 });
// adding node
var x_node = Math.cos(2 * 2 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 2 * Math.PI / N) * 10;
g.nodes.push({
id: 125756,
label: 'Global Health',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/06/research_pasteur-aquatic-beautiful-biology-920157-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/global-health/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372125756,
size: 0.5,
source: 10372,
target: 125756 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6180,
label: 'Lyssavirus epidemiology and neuropathology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_lyssavirus-dynamics-and-host-adaptation-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/lyssavirus-epidemiology-and-neuropathology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566180,
size: 0.5,
source: 125756,
target: 6180 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94346,
label: 'Biodiversity and Epidemiology of Bacterial Pathogens',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_bordetelle-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biodiversity-and-epidemiology-of-bacterial-pathogens/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12575694346,
size: 0.5,
source: 125756,
target: 94346 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6186,
label: 'Mathematical Modelling Of Infectious Diseases',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_mathematical-modeling-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mathematical-modelling-of-infectious-diseases/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566186,
size: 0.5,
source: 125756,
target: 6186 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6229,
label: 'Epidemiology of Emerging Diseases',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_electron-micrograph-of-ebola-virus-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/epidemiology-of-emerging-diseases/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566229,
size: 0.5,
source: 125756,
target: 6229 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6182,
label: 'Epidemiology and Modelling of Antibacterial Evasion (EMAE)',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_pharmacopepidemiology-and-infectious-diseases-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/epidemiology-and-modelling-of-bacterial-escape-to-antimicrobials/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566182,
size: 0.5,
source: 125756,
target: 6182 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6228,
label: 'Environment and Infectious Risks',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i03450-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/environment-and-infectious-risks/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566228,
size: 0.5,
source: 125756,
target: 6228 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6126,
label: 'Trypanosomatids Infectious Processes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_trypanosoma-infectious-processes-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/trypanosoma-infectious-processes/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566126,
size: 0.5,
source: 125756,
target: 6126 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6166,
label: 'Ecology and Emergence of Arthropod-borne Pathogens',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_malaria-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/ecology-and-emergence-of-arthropod-borne-pathogens/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566166,
size: 0.5,
source: 125756,
target: 6166 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6184,
label: 'Invasive Bacterial Infections',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_invasive-bacterial-infections-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/invasive-bacterial-infections/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566184,
size: 0.5,
source: 125756,
target: 6184 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6227,
label: 'Enteric Bacterial Pathogens',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-unite_fx-weill_institutpasteur_13946-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/enteric-bacterial-pathogens/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1257566227,
size: 0.5,
source: 125756,
target: 6227 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24234,
label: 'Anthropology and Ecology of Disease Emergence',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/anthropology-and-ecology-of-disease-emergence/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12575624234,
size: 0.5,
source: 125756,
target: 24234 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156720,
label: 'Infectious Disease Epidemiology and Analytics',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/infectious-disease-epidemiology-and-analytics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 125756156720,
size: 0.5,
source: 125756,
target: 156720 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 74430,
label: 'Cystic Fibrosis and Bronchial Diseases',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/mucoviscidose-et-bronchopathies-chroniques-biopathologie-et-phenotype-cliniques/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 12575674430,
size: 0.5,
source: 125756,
target: 74430 });
// adding node
var x_node = Math.cos(2 * 3 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 3 * Math.PI / N) * 10;
g.nodes.push({
id: 160769,
label: 'Mycology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-mycology-bandeaumyco-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/mycology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372160769,
size: 0.5,
source: 10372,
target: 160769 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6196,
label: 'Fungal Biology and Pathogenicity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_fungal-biology-and-pathogenicity2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/fungal-biology-and-pathogenicity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1607696196,
size: 0.5,
source: 160769,
target: 6196 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24312,
label: 'RNA Biology of Fungal Pathogens',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_i00638-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/rna-biology-of-fungal-pathogens/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 16076924312,
size: 0.5,
source: 160769,
target: 24312 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 96449,
label: 'Molecular Genetics and Epigenetics',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/molecular-genetics-and-epigenetics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 16076996449,
size: 0.5,
source: 160769,
target: 96449 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6122,
label: 'Immunology of Fungal Infections',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_2gj7w5xc-1372179603-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/immunology-of-fungal-infections/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1607696122,
size: 0.5,
source: 160769,
target: 6122 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 152957,
label: 'Fungal Heterogeneity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-iuliana-ene-hyphae-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/fungal-heterogeneity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160769152957,
size: 0.5,
source: 160769,
target: 152957 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 148606,
label: 'Immunobiology of Aspergillus',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/immunobiology-of-aspergillus/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 160769148606,
size: 0.5,
source: 160769,
target: 148606 });
// adding node
var x_node = Math.cos(2 * 4 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 4 * Math.PI / N) * 10;
g.nodes.push({
id: 26,
label: 'Neuroscience',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/brain_artwork_cells_1920x1080_24208-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/neuroscience/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037226,
size: 0.5,
source: 10372,
target: 26 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 36,
label: 'Human Genetics and Cognitive Functions',
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/en/team/human-genetics-and-cognitive-functions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2636,
size: 0.5,
source: 26,
target: 36 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 86,
label: 'Signaling and receptors dynamics',
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/en/team/signaling-and-receptors-dynamics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2686,
size: 0.5,
source: 26,
target: 86 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6201,
label: 'Integrative Neurobiology of Cholinergic Systems',
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/en/team/integrative-neurobiology-of-cholinergic-systems/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 266201,
size: 0.5,
source: 26,
target: 6201 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6202,
label: 'Perception & Action',
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/en/team/perception-and-action/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 266202,
size: 0.5,
source: 26,
target: 6202 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70654,
label: 'Decision and Bayesian Computation – Epiméthée',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/decision-and-bayesian-computation/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2670654,
size: 0.5,
source: 26,
target: 70654 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94978,
label: 'Neural Circuit Dynamics and Decision Making',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/neural-circuit-dynamics-and-decision-making/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2694978,
size: 0.5,
source: 26,
target: 94978 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156712,
label: 'Brain-immune communication',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/brain-immune-communication/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 26156712,
size: 0.5,
source: 26,
target: 156712 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 165876,
label: 'Applied and Theoretical Neuroanatomy',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/applied-and-theoretical-neuroanatomy/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 26165876,
size: 0.5,
source: 26,
target: 165876 });
// adding node
var x_node = Math.cos(2 * 5 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 5 * Math.PI / N) * 10;
g.nodes.push({
id: 15,
label: 'Cell Biology & Infection',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/research_pasteur-encell-biology-amp-infectionfrbiologie-cellulaire-et-infection-bandeau-dpt-bci-institutpasteur-13357-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/cell-biology-infection/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037215,
size: 0.5,
source: 10372,
target: 15 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 517,
label: 'Biological Image Analysis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/12/grid01-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/bioimage-analysis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 15517,
size: 0.5,
source: 15,
target: 517 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6181,
label: 'Biology of infection',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-infection1-e1441559125111-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-of-infection/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156181,
size: 0.5,
source: 15,
target: 6181 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6139,
label: 'Cell Polarity, Migration And Cancer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_cell-polarity-migration-and-cancer-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/cell-polarity-migration-and-cancer__trashed/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156139,
size: 0.5,
source: 15,
target: 6139 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6141,
label: 'Cellular Biology of Microbial Infection',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-cell-interactions-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/cellular-biology-of-microbial-infection/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156141,
size: 0.5,
source: 15,
target: 6141 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62866,
label: 'Chromatin and Infection',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_institutpasteur_50133-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/team/chromatin-and-infection/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1562866,
size: 0.5,
source: 15,
target: 62866 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6134,
label: 'Dynamics of Host-Pathogen Interactions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_453295a-f1.2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/dynamics-of-host-pathogen-interactions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156134,
size: 0.5,
source: 15,
target: 6134 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 170258,
label: 'Evolutionary cell biology and evolution of morphogenesis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/11/research_pasteur-enevolutionary-cell-biology-and-evolution-of-morphogenesisfrbiologie-cellulaire-evolutive-et-evolution-de-la-morphogenese-bandeau-g5-t-brunet-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/evolutionary-cell-biology-and-evolution-of-morphogenesis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 15170258,
size: 0.5,
source: 15,
target: 170258 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83820,
label: 'Membrane Biochemistry and Transport',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_membrane-biochemistry-and-transport-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/membrane-biochemistry-and-transport/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1583820,
size: 0.5,
source: 15,
target: 83820 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6462,
label: 'Membrane Traffic and Cell Division',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_mtra-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/membrane-traffic-and-cell-division/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156462,
size: 0.5,
source: 15,
target: 6462 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6140,
label: 'Membrane Traffic and Pathogenesis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_golgi-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/membrane-traffic-and-pathogenesis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156140,
size: 0.5,
source: 15,
target: 6140 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6107,
label: 'Microbial Individuality and Infection',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_m.tuberculosis_metabolicreporter_mergedfluorescenceimage-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/microbial-individuality-and-infection/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156107,
size: 0.5,
source: 15,
target: 6107 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 108862,
label: 'Mitochondrial Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-enmitochondrial-biology-frbiologie-mitochondriale-bandeau-g5-tim-way-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mitochondrial-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 15108862,
size: 0.5,
source: 15,
target: 108862 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6137,
label: 'Nuclear Organization and Oncogenesis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-photo-unite-anne-dejean-2018-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/nuclear-organization-and-oncogenesis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 156137,
size: 0.5,
source: 15,
target: 6137 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 51157,
label: 'Pathogenesis of vascular infections',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_infected-vessel-melican-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/pathogenesis-of-vascular-infections/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1551157,
size: 0.5,
source: 15,
target: 51157 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94012,
label: 'Photonic BioImaging (UTechS PBI)',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/Neuron-spark-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/photonic-bioimaging-utechs-pbi/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1594012,
size: 0.5,
source: 15,
target: 94012 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 93967,
label: 'Ultrastructural BioImaging',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/ultrastruc-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/ultrastructural-bioimaging-core-facility/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1593967,
size: 0.5,
source: 15,
target: 93967 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 98764,
label: 'Image Analysis Hub',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/11/research_pasteur-enimage-analysis-hubfrhub-danalyse-dimages-illustrationiah-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/image-analysis-hub/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 1598764,
size: 0.5,
source: 15,
target: 98764 });
// adding node
var x_node = Math.cos(2 * 6 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 6 * Math.PI / N) * 10;
g.nodes.push({
id: 34,
label: 'Virology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/HIV1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/virology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037234,
size: 0.5,
source: 10372,
target: 34 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6232,
label: 'Arboviruses and Insect Vectors',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_arboviruses-and-insect-vectors-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/arboviruses-and-insect-vectors/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346232,
size: 0.5,
source: 34,
target: 6232 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6211,
label: 'Biology of Viral Emerging Infections',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i04690-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-of-viral-emerging-infections/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346211,
size: 0.5,
source: 34,
target: 6211 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6226,
label: 'HIV, Inflammation and Persistence',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_duo-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/hiv-inflammation-and-persistence/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346226,
size: 0.5,
source: 34,
target: 6226 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6213,
label: 'Oncogenic Virus Epidemiology and Pathophysiology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_oncogenic-virus-epidemiology-and-pathophysiology-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/oncogenic-virus-epidemiology-and-pathophysiology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346213,
size: 0.5,
source: 34,
target: 6213 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6223,
label: 'Structural Virology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/structural-virology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346223,
size: 0.5,
source: 34,
target: 6223 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6215,
label: 'Archived: Innovation lab : vaccines',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_viral-genomics-and-vaccination-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=6215',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346215,
size: 0.5,
source: 34,
target: 6215 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6217,
label: 'Archived: Viral Neuro-Immunology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_viral-neuro-immunology-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=6217',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346217,
size: 0.5,
source: 34,
target: 6217 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6224,
label: 'Virus and Immunity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_40763-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/virus-and-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346224,
size: 0.5,
source: 34,
target: 6224 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6225,
label: 'Viruses and RNA Interference',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i02257-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/viruses-and-rna-interference/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346225,
size: 0.5,
source: 34,
target: 6225 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24371,
label: 'Group: MISTIC',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_virus-and-immunity-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/group-elisabeth-menu/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3424371,
size: 0.5,
source: 34,
target: 24371 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101904,
label: 'Evolutionary genomics of RNA viruses',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/evolutionary-genomics-rna-viruses/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34101904,
size: 0.5,
source: 34,
target: 101904 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6117,
label: 'Insect-Virus Interactions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_insect-virus-interactions-150x150.gif',
page_url: 'https://research.pasteur.fr/en/team/insect-virus-interactions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 346117,
size: 0.5,
source: 34,
target: 6117 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24396,
label: 'RNA Biology of Influenza Virus',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/08/research_pasteur-bandeau-groupe-naffakh-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/rna-biology-of-influenza-virus/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3424396,
size: 0.5,
source: 34,
target: 24396 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137080,
label: 'Pathogen discovery',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/pathogen-discovery/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34137080,
size: 0.5,
source: 34,
target: 137080 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 65444,
label: 'Virus sensing and signaling',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/virus-sensing-and-signaling/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3465444,
size: 0.5,
source: 34,
target: 65444 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 119282,
label: 'Advanced Molecular Virology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/advanced-molecular-virology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34119282,
size: 0.5,
source: 34,
target: 119282 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153633,
label: 'Group : Marc Lavigne',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/group-marc-lavigne/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34153633,
size: 0.5,
source: 34,
target: 153633 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193447,
label: 'Molecular mechanisms of multiplication of Pneumoviruses M3P',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/molecular-mechanisms-of-multiplication-of-pneumoviruses/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34193447,
size: 0.5,
source: 34,
target: 193447 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193440,
label: 'Structural biology of infectious diseases',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/structural-biology-of-infectious-diseases/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34193440,
size: 0.5,
source: 34,
target: 193440 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24357,
label: 'Hepacivirus-host interactions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_molecular-genetics-of-rna-viruses-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/hepacivirus-host-interactions-group/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3424357,
size: 0.5,
source: 34,
target: 24357 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193580,
label: 'Virus and cellular stress',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/virus-and-cellular-stress/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34193580,
size: 0.5,
source: 34,
target: 193580 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 194720,
label: 'Interactomics, RNA and immunity',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/interactomics-rna-and-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34194720,
size: 0.5,
source: 34,
target: 194720 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24339,
label: 'Viral reservoirs and immune control',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_i00606-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/viral-reservoirs-and-immune-control/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3424339,
size: 0.5,
source: 34,
target: 24339 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 219532,
label: 'Institut Pasteur-Oncovita joint laboratory',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/institut-pasteur-oncovita-joint-laboratory/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 34219532,
size: 0.5,
source: 34,
target: 219532 });
// adding node
var x_node = Math.cos(2 * 7 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 7 * Math.PI / N) * 10;
g.nodes.push({
id: 32,
label: 'Immunology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/research_pasteur-enimmunologyfrimmunologie-new-banniereimmuno-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/immunology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037232,
size: 0.5,
source: 10372,
target: 32 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6178,
label: 'Antibodies in Therapy and Pathology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_antibodies-in-therapy-and-pathology-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/antibodies-in-therapy-and-pathology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326178,
size: 0.5,
source: 32,
target: 6178 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6172,
label: 'Dynamics of Immune Responses',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_dynamics-of-immune-responses4-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/dynamics-of-immune-responses/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326172,
size: 0.5,
source: 32,
target: 6172 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6119,
label: 'Humoral Immunology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enhumoral-immunology-frimmunologie-humorale-bandeau-labo-mouquet-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/humoral-immunology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326119,
size: 0.5,
source: 32,
target: 6119 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6177,
label: 'Immunobiology and Therapy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enimmunobiology-and-therapyfrimmunobiologie-et-therapie-institutpasteur-i04790-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/immunobiology-and-therapy/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326177,
size: 0.5,
source: 32,
target: 6177 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6174,
label: 'Immunoregulation',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_immunoregulation-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/immunoregulation/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326174,
size: 0.5,
source: 32,
target: 6174 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6169,
label: 'Innate Immunity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_hepvir-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/innate-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326169,
size: 0.5,
source: 32,
target: 6169 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6118,
label: 'Genome integrity, Immunity and Cancer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-unite-deriano-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/genome-integrity-immunity-cancer/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326118,
size: 0.5,
source: 32,
target: 6118 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6170,
label: 'Archived: Lymphocytes and Immunity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i04863-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=6170',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326170,
size: 0.5,
source: 32,
target: 6170 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6171,
label: 'Microenvironment and Immunity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_hiv-infected-h9-t-cell-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/microenvironment-and-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 326171,
size: 0.5,
source: 32,
target: 6171 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24432,
label: 'Stroma, Inflammation and Tissue Repair',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research_pasteur-group-lucie-peduto-image-unite-lucie-peduto-2-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/group-lucie-peduto/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3224432,
size: 0.5,
source: 32,
target: 24432 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29755,
label: 'UTechS Single Cell Biomarkers',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_technical-core-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/single-cell-biomarkers/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3229755,
size: 0.5,
source: 32,
target: 29755 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 143968,
label: 'Translational Immunology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/translational-immunology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 32143968,
size: 0.5,
source: 32,
target: 143968 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 127390,
label: 'Mucosal Inflammation and Immunity',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/mucosal-inflammation-and-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 32127390,
size: 0.5,
source: 32,
target: 127390 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156712,
label: 'Brain-immune communication',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/brain-immune-communication/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 32156712,
size: 0.5,
source: 32,
target: 156712 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 199398,
label: 'Dendritic cells and adaptive immunity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/03/research_pasteur-endendritic-cells-and-adaptive-immunityfrcellules-dendritiques-et-immunite-adaptative-institutpasteur-46120-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/dendritic-cells-and-adaptive-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 32199398,
size: 0.5,
source: 32,
target: 199398 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24243,
label: 'Group: ILC development and inflammation',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i04863-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/group-rachel-golub/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3224243,
size: 0.5,
source: 32,
target: 24243 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 208020,
label: 'Group : Hematopoietic Development',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/group-hematopoietic-development/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 32208020,
size: 0.5,
source: 32,
target: 208020 });
// adding node
var x_node = Math.cos(2 * 8 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 8 * Math.PI / N) * 10;
g.nodes.push({
id: 30,
label: 'Parasites and Insect Vectors',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_parasites-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/parasites-and-insect-vectors/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037230,
size: 0.5,
source: 10372,
target: 30 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6206,
label: 'Biology of Host-parasite Interactions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_39695-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-of-host-parasite-interactions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 306206,
size: 0.5,
source: 30,
target: 6206 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1110,
label: 'Center for the Production and Infection of Anopheles',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_center-for-production-and-infection-of-anopheles1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/center-for-production-and-infection-of-anopheles/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 301110,
size: 0.5,
source: 30,
target: 1110 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6208,
label: 'Archived: Genetics and Genomics of Insect Vectors',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_38385-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=6208',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 306208,
size: 0.5,
source: 30,
target: 6208 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6210,
label: 'Malaria Parasite Biology and Vaccines',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_malaria-parasite-biology-and-vaccines-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/malaria-parasite-biology-and-vaccines/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 306210,
size: 0.5,
source: 30,
target: 6210 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6209,
label: 'Molecular Parasitology and Signaling',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_molecular-parasitology-and-signaling3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/molecular-parasitology-and-signaling/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 306209,
size: 0.5,
source: 30,
target: 6209 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6205,
label: 'Trypanosome Cell Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_trypanosome-cell-biology-4-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/trypanosome-cell-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 306205,
size: 0.5,
source: 30,
target: 6205 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24119,
label: 'Malaria Infection & Immunity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_malaria-biology-and-genetics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/malaria-infection-immunity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3024119,
size: 0.5,
source: 30,
target: 24119 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64141,
label: 'Trypanosome Molecular Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/02/research.pasteur.fr_institutpasteur_42122-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/trypanosomes-molecular-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 3064141,
size: 0.5,
source: 30,
target: 64141 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160552,
label: 'Parasite RNA Biology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/parasite-rna-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 30160552,
size: 0.5,
source: 30,
target: 160552 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 139045,
label: 'Plasmodium Infection and Transmission',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-engroup-plasmodium-liver-biologyfrgroup-liliana-mancio-silva-photo-bandeau-l-mancio-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-of-plasmodium-infection-and-transmission/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 30139045,
size: 0.5,
source: 30,
target: 139045 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 227165,
label: 'Spleen, Parasites & Infections',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/spleen-parasites-infections/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 30227165,
size: 0.5,
source: 30,
target: 227165 });
// adding node
var x_node = Math.cos(2 * 9 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 9 * Math.PI / N) * 10;
g.nodes.push({
id: 28,
label: 'Genomes and Genetics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_genome-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/genomes-genetics/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037228,
size: 0.5,
source: 10372,
target: 28 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6164,
label: 'Bacterial Genome Plasticity',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_mazel-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/bacterial-genome-plasticity/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 286164,
size: 0.5,
source: 28,
target: 6164 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6158,
label: 'Dynamics of the Genome',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_s-pombe-2_789-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/dynamics-of-the-genome/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 286158,
size: 0.5,
source: 28,
target: 6158 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6165,
label: 'Microbial Evolutionary Genomics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_genomics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/microbial-evolutionary-genomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 286165,
size: 0.5,
source: 28,
target: 6165 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6160,
label: 'Human Evolutionary Genetics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_human-genetic-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/human-evolutionary-genetics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 286160,
size: 0.5,
source: 28,
target: 6160 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6116,
label: 'Spatial Regulation of Genomes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_spatial-genome-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/spatial-regulation-of-genomes/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 286116,
size: 0.5,
source: 28,
target: 6116 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2665,
label: 'Biomics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/genetic-strand-9.25.14-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 282665,
size: 0.5,
source: 28,
target: 2665 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 90653,
label: 'Mouse Genetics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-enmouse-geneticsfrgenetique-de-la-souris-illustration-mouse-genetics-v2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mouse-genetics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2890653,
size: 0.5,
source: 28,
target: 90653 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 100029,
label: 'Physical Microfluidics and Bioengineering',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/physical-microfluidics-bioengineering/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 28100029,
size: 0.5,
source: 28,
target: 100029 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 146163,
label: 'Microbial Paleogenomics Unit',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/09/research_pasteur-enmicrobial-paleogenomicsfrpaleogenomique-microbienne-lab-logo-gyc-lazaro-signed-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/microbial-paleogenomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 28146163,
size: 0.5,
source: 28,
target: 146163 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 166172,
label: 'Comparative Functional Genomics',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/comparative-functional-genomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 28166172,
size: 0.5,
source: 28,
target: 166172 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 198839,
label: 'Molecular diversity of microbes',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/molecular-diversity-of-microbes/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 28198839,
size: 0.5,
source: 28,
target: 198839 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24220,
label: 'Archived: Cytoplasmic mRNA surveillance in yeast',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_molecular-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=24220',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2824220,
size: 0.5,
source: 28,
target: 24220 });
// adding node
var x_node = Math.cos(2 * 10 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 10 * Math.PI / N) * 10;
g.nodes.push({
id: 24,
label: 'Structural Biology and Chemistry',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_electron-mic-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/structural-biology-chemistry/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037224,
size: 0.5,
source: 10372,
target: 24 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 748,
label: 'Antibody Engineering',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_antibody-engineering-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/antibody-engineering/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24748,
size: 0.5,
source: 24,
target: 748 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6149,
label: 'Biochemistry of Macromolecular Interactions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i05999-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biochemistry-of-macromolecular-interactions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246149,
size: 0.5,
source: 24,
target: 6149 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62878,
label: 'Bioorganic chemistry of nucleic acids',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/bioorganic-chemistry-of-nucleic-acids/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2462878,
size: 0.5,
source: 24,
target: 62878 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6155,
label: 'Archived: Group : Chemistry and Biocatalysis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i03174-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=6155',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246155,
size: 0.5,
source: 24,
target: 6155 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6152,
label: 'Chemistry of Biomolecules',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_383851-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/chemistry-of-biomolecules/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246152,
size: 0.5,
source: 24,
target: 6152 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 794,
label: 'Crystallography',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_crystallography-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/crystallography/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24794,
size: 0.5,
source: 24,
target: 794 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1024,
label: 'Molecular Biophysics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research.pasteur.fr_biophysics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biophysics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 241024,
size: 0.5,
source: 24,
target: 1024 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1072,
label: 'Proteomics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/P53-Protein-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/proteomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 241072,
size: 0.5,
source: 24,
target: 1072 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6151,
label: 'Structural Bioinformatics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_structural-bioinformatics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/structural-bioinformatics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246151,
size: 0.5,
source: 24,
target: 6151 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6153,
label: 'Architecture and Dynamics of Biological Macromolecules',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_423851-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/architecture-and-dynamics-of-biological-macromolecules/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246153,
size: 0.5,
source: 24,
target: 6153 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6156,
label: 'Mass Spectrometry for Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enmass-spectrometry-for-biology-frspectrometrie-de-masse-pour-la-biologie-utechs-msbio-dsc1754-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mass-spectrometry-for-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246156,
size: 0.5,
source: 24,
target: 6156 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6150,
label: 'Structural Microbiology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_structural-microbiology-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/structural-microbiology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 246150,
size: 0.5,
source: 24,
target: 6150 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101330,
label: 'Epigenetic Chemical Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/04/research_pasteur-unite-p-arimondo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/chimie-biologique-epigenetique/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24101330,
size: 0.5,
source: 24,
target: 101330 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118434,
label: 'NanoImaging Core',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/04/research_pasteur-bat-nocard_institutpasteur_57871-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/nanoimaging/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24118434,
size: 0.5,
source: 24,
target: 118434 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 110152,
label: 'Biological NMR and HDX-MS Technological Platform',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/biological-nmr-and-hdx-ms-technological-platform/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24110152,
size: 0.5,
source: 24,
target: 110152 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 15050,
label: 'Chemogenomic and Biological Screening Platform (PF-CCB)',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_14287-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/fabrice-agou-team/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2415050,
size: 0.5,
source: 24,
target: 15050 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118961,
label: 'Production and Purification of Recombinant Proteins Technological Platform',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/09/research_pasteur-pf3pr-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/production-and-purification-of-recombinant-proteins/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24118961,
size: 0.5,
source: 24,
target: 118961 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137088,
label: 'Archived: Structural Image Analysis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/01/research_pasteur-enstructural-image-analysisfrimagerie-structurale-ip-banner2-e1666695573988-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=137088',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24137088,
size: 0.5,
source: 24,
target: 137088 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24279,
label: 'Bacterial transmembrane systems',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i05280-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/bacterial-transmembrane-systems/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2424279,
size: 0.5,
source: 24,
target: 24279 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153906,
label: 'Computational Structural Biology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/computational-structural-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24153906,
size: 0.5,
source: 24,
target: 153906 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 175015,
label: 'Bacterial Cell Cycle Mechanisms',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/bacterial-cell-cycle-mechanisms/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24175015,
size: 0.5,
source: 24,
target: 175015 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 232084,
label: 'Integrative Structural Biology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/integrative-structural-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 24232084,
size: 0.5,
source: 24,
target: 232084 });
// adding node
var x_node = Math.cos(2 * 11 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 11 * Math.PI / N) * 10;
g.nodes.push({
id: 22,
label: 'Microbiology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_microbiology-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/microbiology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037222,
size: 0.5,
source: 10372,
target: 22 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6190,
label: 'Biology and Genetics of Bacterial Cell Wall',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-and-genetics-of-bacterial-cell-wall-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-and-genetics-of-bacterial-cell-wall/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226190,
size: 0.5,
source: 22,
target: 6190 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6189,
label: 'Archived: Biology of Gram-Positive Pathogens',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_27823-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=6189',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226189,
size: 0.5,
source: 22,
target: 6189 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6192,
label: 'Biology of Spirochetes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i03655-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-of-spirochetes/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226192,
size: 0.5,
source: 22,
target: 6192 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6193,
label: 'Genetics of Biofilms',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-unite-biofilm-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/genetics-of-biofilms/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226193,
size: 0.5,
source: 22,
target: 6193 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6120,
label: 'Synthetic Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_i03590-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/synthetic-biology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226120,
size: 0.5,
source: 22,
target: 6120 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6195,
label: 'Yersinia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_yersinia-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/yersinia/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226195,
size: 0.5,
source: 22,
target: 6195 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29288,
label: 'Centre de Ressources Biologiques de l’Institut Pasteur (CRBIP)',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_16548-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=team&p=29288',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2229288,
size: 0.5,
source: 22,
target: 29288 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29245,
label: 'Collection of Cyanobacteria',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_16543-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/collection-of-cyanobacteria/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2229245,
size: 0.5,
source: 22,
target: 29245 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6127,
label: 'Pathogenesis of Bacterial Anaerobes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/09/research_pasteur-labo-dupuy-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/pathogenesis-of-bacterial-anaerobes/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226127,
size: 0.5,
source: 22,
target: 6127 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75692,
label: 'Ecology and Evolution of Antibiotics Resistance',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/ecology-and-evolution-of-antibiotics-resistance/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2275692,
size: 0.5,
source: 22,
target: 75692 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 92464,
label: 'Bacterial Toxins',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-unite-lemichez1-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/bacterial-toxins/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2292464,
size: 0.5,
source: 22,
target: 92464 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24264,
label: 'Evolutionary Biology of the Microbial Cell',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/evolutionary-biology-of-the-microbial-cell/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2224264,
size: 0.5,
source: 22,
target: 24264 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 103216,
label: 'Stress Adaptation and Metabolism (SAMe)',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/stress-adaptation-metabolism-enterobacteria/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 22103216,
size: 0.5,
source: 22,
target: 103216 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 109556,
label: 'National Collection of Cultures of Microorganisms',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-cncm_institutpasteur_27853-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/national-collection-of-cultures-of-microorganisms/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 22109556,
size: 0.5,
source: 22,
target: 109556 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 111545,
label: 'Collection of the Institut Pasteur (CIP)',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/collection-of-the-institut-pasteur-cip/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 22111545,
size: 0.5,
source: 22,
target: 111545 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6163,
label: 'Integrated Mycobacterial Pathogenomics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_tuberculosis2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/integrated-mycobacterial-pathogenomics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226163,
size: 0.5,
source: 22,
target: 6163 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6157,
label: 'Biology Of Intracellular Bacteria',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-intracellular-bacteria-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biology-of-intracellular-bacteria/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 226157,
size: 0.5,
source: 22,
target: 6157 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 126281,
label: 'Archaeal Virology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-enarchaeal-virologyfrvirologie-des-archees-gelt-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/archaeal-virology/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 22126281,
size: 0.5,
source: 22,
target: 126281 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24203,
label: 'Bacteriophage, bacterium, host',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ecoli-phage-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/bacteriophage-bacterium-host/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2224203,
size: 0.5,
source: 22,
target: 24203 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24299,
label: 'Group: Infection, Genotoxicity and Cancer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_research.pasteur.fr_helicobacter-pathogenesis-1024x684-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/group-eliette-touati/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2224299,
size: 0.5,
source: 22,
target: 24299 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 225385,
label: 'Microbiome-Host Interactions',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/06/research_pasteur-research-pasteur-bandeau-g5-b-chassaing-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/microbiome-host-interactions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 22225385,
size: 0.5,
source: 22,
target: 225385 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24210,
label: 'Group: Shaynoor Dramsi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_27823-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/group-shaynoor-dramsi/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2224210,
size: 0.5,
source: 22,
target: 24210 });
// adding node
var x_node = Math.cos(2 * 12 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 12 * Math.PI / N) * 10;
g.nodes.push({
id: 20,
label: 'Developmental and Stem Cell Biology',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/research_pasteur-endevelopmental-and-stem-cell-biologyfrbiologie-du-developpement-et-cellules-souches-bandeau-bdcs-150x150.png',
page_url: 'https://research.pasteur.fr/en/department/developmental-stem-cell-biology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 1037220,
size: 0.5,
source: 10372,
target: 20 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6109,
label: 'Cellular plasticity in age-related pathologies',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_cancercell-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/cellular-plasticity-in-age-related-pathologies/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206109,
size: 0.5,
source: 20,
target: 6109 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6143,
label: 'Dynamics of Developmental Decisions in Drosophila',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_drosophila-developmental-genetics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/4d/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206143,
size: 0.5,
source: 20,
target: 6143 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6113,
label: 'Macrophages and Endothelial Cells',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_macrophages-and-endothelial-cells1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/macrophages-and-endothelial-cells/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206113,
size: 0.5,
source: 20,
target: 6113 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6108,
label: 'Dynamic Regulation of Morphogenesis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-unite-j-gros-29-07-19-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/dynamic-regulation-of-morphogenesis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206108,
size: 0.5,
source: 20,
target: 6108 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6110,
label: 'Epigenomics, Proliferation and the Identity of Cells – EPIC',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-unite-navarro-gil_bandeau-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/epigenomics-proliferation-and-the-identity-of-cells/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206110,
size: 0.5,
source: 20,
target: 6110 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 35649,
label: 'Mechanisms of epigenetic inheritance',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research_pasteur-enmechanisms-of-epigenetic-inheritancefrmecanismes-de-lheredite-epigenetique-bandeau-cecere-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mechanisms-of-epigenetic-inheritance/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2035649,
size: 0.5,
source: 20,
target: 35649 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64152,
label: 'Zebrafish Neurogenetics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/02/research_pasteur-enzebrafish-neurogeneticsfrneurogenetique-du-poisson-zebre-research-pasteur-enzebrafish-neurogeneticsfrneurogenetique-du-poisson-zebre-bandeau-unite-l-bally-cuif-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/zebrafish-neurogenetics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2064152,
size: 0.5,
source: 20,
target: 64152 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6112,
label: 'Structures and signals in the neurogenic niche',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_neural-stem-cell-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/structures-and-signals-in-the-neurogenic-niche/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206112,
size: 0.5,
source: 20,
target: 6112 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6142,
label: 'Stem Cells And Development',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_induced-pluripotent-stem-cells-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/stem-cells-and-development/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206142,
size: 0.5,
source: 20,
target: 6142 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6144,
label: 'Human Developmental Genetics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_humangeneticdev-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/human-developmental-genetics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206144,
size: 0.5,
source: 20,
target: 6144 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6111,
label: 'Heart Morphogenesis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_heart-morphogenesis3-e1440501042975-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/heart-morphogenesis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 206111,
size: 0.5,
source: 20,
target: 6111 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 78781,
label: 'Cell death and epithelial homeostasis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_bandeau-g5-r-levayer-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/cell-death-and-epithelial-homeostasis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2078781,
size: 0.5,
source: 20,
target: 78781 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95900,
label: 'Physics of Biological Function',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/11/research_pasteur-bandeau-unite-t-gregor-v2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/physics-of-biological-functions/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2095900,
size: 0.5,
source: 20,
target: 95900 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24442,
label: 'Molecular Mechanisms of Pathological and Physiological Ageing',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_induced-pluripotent-stem-cells-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/molecular-mechanisms-of-pathological-and-physiological-ageing/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2024442,
size: 0.5,
source: 20,
target: 24442 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 170258,
label: 'Evolutionary cell biology and evolution of morphogenesis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/11/research_pasteur-enevolutionary-cell-biology-and-evolution-of-morphogenesisfrbiologie-cellulaire-evolutive-et-evolution-de-la-morphogenese-bandeau-g5-t-brunet-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/evolutionary-cell-biology-and-evolution-of-morphogenesis/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 20170258,
size: 0.5,
source: 20,
target: 170258 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 845,
label: 'Mouse Genetics Engineering',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_morphogenesis-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/mouse-genetics-engineering/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 20845,
size: 0.5,
source: 20,
target: 845 });
if (x_node < 0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79077,
label: 'Biomaterials and Microfluidics',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_biomaterials-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biomaterials-and-microfluidics/',
x: x_site,
y: y_site,
size: 4,
color: '#aaaaaa'
});
//link to node
g.edges.push({
id: 2079077,
size: 0.5,
source: 20,
target: 79077 });
// adding center
var x_node = Math.cos(2 * 0 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 0 * Math.PI / 5) * 4;
g.nodes.push({
id: 178251,
label: 'Research and Resource Centre for Scientific Informatics',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/center/research-and-resource-centre-for-scientific-informatics/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372178251,
size: 0.5,
source: 10372,
target: 178251 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 139919,
label: 'Data Management Core Facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/data-management-core-facility/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 178251139919,
size: 0.5,
source: 178251,
target: 139919 });
// check if team already exist
g.edges.push({
id: 17825118489,
size: 0.5,
source: 178251,
target: 18489 });
// create new team
// check if team already exist
g.edges.push({
id: 17825198764,
size: 0.5,
source: 178251,
target: 98764 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 134514,
label: 'HPC Core Facility',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/11/research_pasteur-enhpc-core-facilityfrplateforme-hpc-institutpasteur-56792-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/team/hpc-core-facility/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 178251134514,
size: 0.5,
source: 178251,
target: 134514 });
// check if team already exist
g.edges.push({
id: 178251182351,
size: 0.5,
source: 178251,
target: 182351 });
// create new team
// adding center
var x_node = Math.cos(2 * 1 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 1 * Math.PI / 5) * 4;
g.nodes.push({
id: 164697,
label: 'Center for Research and Innovation in Human Audiology',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/center/center-for-research-and-innovation-in-human-audiology/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372164697,
size: 0.5,
source: 10372,
target: 164697 });
// adding center
var x_node = Math.cos(2 * 2 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 2 * Math.PI / 5) * 4;
g.nodes.push({
id: 144997,
label: 'Biological Resource Center of Institut Pasteur (CRBIP)',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/center/biological-resource-center-of-institut-pasteur-crbip/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372144997,
size: 0.5,
source: 10372,
target: 144997 });
// check if team already exist
g.edges.push({
id: 144997111545,
size: 0.5,
source: 144997,
target: 111545 });
// create new team
// check if team already exist
g.edges.push({
id: 144997109556,
size: 0.5,
source: 144997,
target: 109556 });
// create new team
// check if team already exist
g.edges.push({
id: 14499729245,
size: 0.5,
source: 144997,
target: 29245 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 191152,
label: 'ICAReB-biobank : Integrated Collections for Adaptive Research in Biomedicine',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/icareb-biobank-integrated-collections-for-adaptive-research-in-biomedicine/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 144997191152,
size: 0.5,
source: 144997,
target: 191152 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 106070,
label: 'Expertise group: GIPhy – Genome Informatics and Phylogenetics',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/hub-giphy/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 144997106070,
size: 0.5,
source: 144997,
target: 106070 });
// adding center
var x_node = Math.cos(2 * 3 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 3 * Math.PI / 5) * 4;
g.nodes.push({
id: 110135,
label: 'Center for Animal Resources and Research',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/center/c2ra/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372110135,
size: 0.5,
source: 10372,
target: 110135 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 16167,
label: 'Central Animal Facility',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_zebra-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/central-animal-facility/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 11013516167,
size: 0.5,
source: 110135,
target: 16167 });
// check if team already exist
g.edges.push({
id: 1101351110,
size: 0.5,
source: 110135,
target: 1110 });
// create new team
// check if team already exist
g.edges.push({
id: 110135845,
size: 0.5,
source: 110135,
target: 845 });
// create new team
// check if team already exist
g.edges.push({
id: 110135164712,
size: 0.5,
source: 110135,
target: 164712 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 170297,
label: 'Human Disease Models core facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/human-disease-models-core-facility/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 110135170297,
size: 0.5,
source: 110135,
target: 170297 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 173275,
label: 'HistoPathology Core Facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/histopathology/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 110135173275,
size: 0.5,
source: 110135,
target: 173275 });
// adding center
var x_node = Math.cos(2 * 4 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 4 * Math.PI / 5) * 4;
g.nodes.push({
id: 110138,
label: 'Center for Technological Resources and Research',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/06/research_pasteur-center_tech-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/center/c2rt/',
x: x_node,
y: y_node,
size: 15,
color: '#aaaaaa'
});
// linking departments to IP Paris
g.edges.push({
id: 10372110138,
size: 0.5,
source: 10372,
target: 110138 });
// check if team already exist
g.edges.push({
id: 11013829755,
size: 0.5,
source: 110138,
target: 29755 });
// create new team
// check if team already exist
g.edges.push({
id: 1101386156,
size: 0.5,
source: 110138,
target: 6156 });
// create new team
// check if team already exist
g.edges.push({
id: 11013894012,
size: 0.5,
source: 110138,
target: 94012 });
// create new team
// check if team already exist
g.edges.push({
id: 11013893967,
size: 0.5,
source: 110138,
target: 93967 });
// create new team
// check if team already exist
g.edges.push({
id: 1101382665,
size: 0.5,
source: 110138,
target: 2665 });
// create new team
// check if team already exist
g.edges.push({
id: 1101381024,
size: 0.5,
source: 110138,
target: 1024 });
// create new team
// check if team already exist
g.edges.push({
id: 110138794,
size: 0.5,
source: 110138,
target: 794 });
// create new team
// check if team already exist
g.edges.push({
id: 110138748,
size: 0.5,
source: 110138,
target: 748 });
// create new team
// check if team already exist
g.edges.push({
id: 11013815050,
size: 0.5,
source: 110138,
target: 15050 });
// create new team
// check if team already exist
g.edges.push({
id: 11013879077,
size: 0.5,
source: 110138,
target: 79077 });
// create new team
// check if team already exist
g.edges.push({
id: 110138110152,
size: 0.5,
source: 110138,
target: 110152 });
// create new team
// check if team already exist
g.edges.push({
id: 1101381072,
size: 0.5,
source: 110138,
target: 1072 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 36902,
label: 'Flow Cytometry Platform',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research_pasteur-enflow-cytometry-platformfrplateforme-de-cytometrie-pf-nouvault-a5-flow-cell-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/cytometry/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 11013836902,
size: 0.5,
source: 110138,
target: 36902 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 53310,
label: 'Tech Lab',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_tech-lab-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/tech-lab/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 11013853310,
size: 0.5,
source: 110138,
target: 53310 });
// check if team already exist
g.edges.push({
id: 110138118434,
size: 0.5,
source: 110138,
target: 118434 });
// create new team
// check if team already exist
g.edges.push({
id: 110138118961,
size: 0.5,
source: 110138,
target: 118961 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 152966,
label: 'Metabolomics Core Facility',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-enmetabolomics-core-facilityfrplate-forme-de-metabolomique-bandeau-pf-metabolomics-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/metabolomics-core-facility/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 110138152966,
size: 0.5,
source: 110138,
target: 152966 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 158344,
label: 'Diagnostic Test Innovation and Development Core Facility',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/diagnostic-test-innovation-and-development-core-facility/',
x: x_node,
y: y_node,
size: 4,
color: '#999999'
});
g.edges.push({
id: 110138158344,
size: 0.5,
source: 110138,
target: 158344 });
// check if team already exist
g.edges.push({
id: 110138164700,
size: 0.5,
source: 110138,
target: 164700 });
// create new team
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: 5,
maxNodeSize: 30,
mouseWheelEnabled: false,
font: 'Montserrat',
labelThreshold:20,
borderSize:1,
defaultNodeBorderColor: '#333',
sideMargin:25,
}
});
// We first need to save the original colors of our
// nodes and edges, like this:
s.graph.nodes().forEach(function(n) {
n.originalColor = n.color;
});
s.graph.edges().forEach(function(e) {
e.originalColor = e.color;
});
// When a node is clicked, we check for each node
// if it is a neighbor of the clicked one. If not,
// we set its color as grey, and else, it takes its
// original color.
// We do the same for the edges, and we only keep
// edges that have both extremities colored.
s.bind('clickNode', function(e) {
var nodeId = e.data.node.id,
toKeep = s.graph.neighbors(nodeId);
toKeep[nodeId] = e.data.node;
s.graph.nodes().forEach(function(n) {
if (toKeep[n.id])
n.color = '#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: 10,
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) {
});
Institut Pasteur