GUIDE
- Left-click and drag the background to move the graph
- Left-click and drag the nodes to reorganize
- Left-click a node to view first level connections
- Double left-click a node to navigate to its page
- Double left-click the background to zoom in
- Right-click the background to zoom out
sigma.utils.pkg('sigma.canvas.nodes');
sigma.canvas.nodes.image = (function() {
var _cache = {},
_loading = {},
_callbacks = {};
// Return the renderer itself:
var renderer = function(node, context, settings) {
var args = arguments,
prefix = settings('prefix') || '',
size = node[prefix + 'size'],
color = node.color || settings('defaultNodeColor'),
url = node.url;
if (_cache[url]) {
context.save();
// Draw the clipping disc:
context.beginPath();
context.arc(
node[prefix + 'x'],
node[prefix + 'y'],
node[prefix + 'size'],
0,
Math.PI * 2,
true
);
context.closePath();
context.clip();
// Draw the image
context.drawImage(
_cache[url],
node[prefix + 'x'] - size,
node[prefix + 'y'] - size,
2 * size,
2 * size
);
// Quit the "clipping mode":
context.restore();
// Draw the border:
context.beginPath();
context.arc(
node[prefix + 'x'],
node[prefix + 'y'],
node[prefix + 'size'],
0,
Math.PI * 2,
true
);
context.lineWidth = 1;
context.strokeStyle = node.color || settings('defaultNodeColor');
context.stroke();
} else {
sigma.canvas.nodes.image.cache(url);
sigma.canvas.nodes.def.apply(
sigma.canvas.nodes,
args
);
}
};
// Let's add a public method to cache images, to make it possible to
// preload images before the initial rendering:
renderer.cache = function(url, callback) {
if (callback)
_callbacks[url] = callback;
if (_loading[url])
return;
var img = new Image();
img.onload = function() {
_loading[url] = false;
_cache[url] = img;
if (_callbacks[url]) {
_callbacks[url].call(this, img);
delete _callbacks[url];
}
};
_loading[url] = true;
img.src = url;
};
return renderer;
})();
var i,
s,
o,
offset_left = 0.5,
N = 1,
E = 40,
C = 5,
d = 0.5,
cs = [],
g = {
nodes: [],
edges: []
};
if (!sigma.classes.graph.hasMethod('neighbors')){
sigma.classes.graph.addMethod('neighbors', function(nodeId) {
var k,
neighbors = {},
index = this.allNeighborsIndex[nodeId] || {};
for (k in index)
neighbors[k] = this.nodesIndex[k];
return neighbors;
});
}
//adding the central node
g.nodes.push({
id: 4275,
label: 'Tamara Giles-Vernick',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dsc6500-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var biggest_node_size = 0;
N=39
// 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: 225966,
label: 'PROJECT: Développement d’un écosystème mondial de diagnostic pour la détection et la surveillance des agents pathogènes susceptibles d’être à l’origine d’une situation d’urgence, pour toutes les espèces et de manière unifiée (UniHealth)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/development-of-a-global-diagnostic-ecosystem-for-detecting-and-monitoring-emergency-prone-pathogens-across-species-and-in-a-unified-way-unihealth/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275225966,
size: 0.5,
source: 4275,
target: 225966,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2259664275,
size: 0.5,
source: 225966,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 147177,
label: 'Nastassia Tvardik',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/09/research_pasteur-nastassia-tvardik-research-p-e1607521913384-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/nastassia-tvardik/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 225966147177,
size: 0.5,
source: 225966,
target: 147177 });
// 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: 225963,
label: 'PROJECT: Mesures d’éducation à la préparation et à la prévention de l’encéphalite à tiques pour l’Europe (STICKEM)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/situated-tickborne-encephalitis-preparedness-and-prevention-education-measures-for-europe-stickem/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275225963,
size: 0.5,
source: 4275,
target: 225963,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 147173,
label: 'Léonard Heyerdahl',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/leonard-heyerdahl/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 225963147173,
size: 0.5,
source: 225963,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2259634275,
size: 0.5,
source: 225963,
target: 4275 });
// 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: 225961,
label: 'PROJECT: Co-développer la préparation et la communication des risques pour la fièvre hémorragique de Crimée-Congo : connaissances, politiques et expériences dans les zones frontalières européennes (TICKRISK)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/co-developing-preparedness-and-risk-communication-crimean-congo-hemorrhagic-fever-knowledge-politics-experience-in-european-borderlands-tickrisk/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275225961,
size: 0.5,
source: 4275,
target: 225961,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 225961147173,
size: 0.5,
source: 225961,
target: 147173 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 229996,
label: 'Léa Delmaire',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/09/research_pasteur-enlea-delmairefrlea-delmaire-portrait-lea-delmaire-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/lea-delmaire/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 225961229996,
size: 0.5,
source: 225961,
target: 229996 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 183926,
label: 'Clément Tarantini',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/quentin-tarantini/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 225961183926,
size: 0.5,
source: 225961,
target: 183926 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2259614275,
size: 0.5,
source: 225961,
target: 4275 });
// 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: 225957,
label: 'PROJECT: Recherche-action participative en sciences sociales pour la gestion des risques de catastrophes et d’urgences sanitaires dans les villes d’Europe (Sonar-Cities)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/social-sciences-participatory-research-action-in-risk-management-for-in-disasters-and-health-emergencies-in-europes-cities-sonar-cities/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275225957,
size: 0.5,
source: 4275,
target: 225957,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 147170,
label: 'Benedetta Lana',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/09/research_pasteur-enbenedetta-lanafrbenedetta-lana-benedetta-pic-for-website-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/benedetta-lana/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 225957147170,
size: 0.5,
source: 225957,
target: 147170 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2259574275,
size: 0.5,
source: 225957,
target: 4275 });
// 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: 215037,
label: 'PROJECT: PvSTATEM : tests sérologiques et traitement du paludisme à Plasmodium vivax',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/pvstatem-serological-testing-treatment-of-vivax-malaria/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275215037,
size: 0.5,
source: 4275,
target: 215037,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 94079,
label: 'Michael White',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/08/research_pasteur-michael-white-michael-photo-cropped-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/fr-michael-white/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21503794079,
size: 0.5,
source: 215037,
target: 94079 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2150374275,
size: 0.5,
source: 215037,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 199123,
label: 'Rob Van Der Pluijm',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/rob-van-der-pluijm/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037199123,
size: 0.5,
source: 215037,
target: 199123 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 215037147173,
size: 0.5,
source: 215037,
target: 147173 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 157508,
label: 'Stéphane Pelleau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-stephane-pelleau-pelleau-stephane-1307-3-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/stephane-pelleau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037157508,
size: 0.5,
source: 215037,
target: 157508 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 70981,
label: 'Thomas Obadia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_p1040999_crop-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thomas-obadia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21503770981,
size: 0.5,
source: 215037,
target: 70981 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 211446,
label: 'Despoina Mademtzoglou',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/despoina-mademtzoglou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037211446,
size: 0.5,
source: 215037,
target: 211446 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 199093,
label: 'Gaëlle Baudemont',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/gaelle-baudemont/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037199093,
size: 0.5,
source: 215037,
target: 199093 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 157511,
label: 'Constanze Ciavarella',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-constanze-ciavarella-ohne-titel-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/constanze-ciavarella/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037157511,
size: 0.5,
source: 215037,
target: 157511 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 169053,
label: 'Aimée Taylor',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/aimee-taylor/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037169053,
size: 0.5,
source: 215037,
target: 169053 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 168444,
label: 'Mathilde Grimée',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/10/research_pasteur-mathilde-grimee-de02585c-b3fe-4ba9-bb57-d829f1f4a5e4-1-105-c-1-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/mathilde-grimee/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215037168444,
size: 0.5,
source: 215037,
target: 168444 });
// 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: 209449,
label: 'PROJECT: Social Sciences for Community engagement in Humanitarian Action (SS4CE in HA)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/social-sciences-for-community-engagement-in-humanitarian-action-ss4ce-in-ha/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275209449,
size: 0.5,
source: 4275,
target: 209449,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2094494275,
size: 0.5,
source: 209449,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147170) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209449147170,
size: 0.5,
source: 209449,
target: 147170 });
// 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: 208566,
label: 'PROJECT: RETRACE – ANR PRC AAPG2023',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/09/research_pasteur-koli-bacteria-123081-1920-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/project/retrace-anr-prc-aapg2023/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275208566,
size: 0.5,
source: 4275,
target: 208566,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 4094,
label: 'Javier Pizarro-Cerda',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-javier-pizarro-cerda-javier-pizarro-1300-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/javier-pizarro-cerda/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2085664094,
size: 0.5,
source: 208566,
target: 4094 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4019,
label: 'Anne-Sophie Le Guern',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/07/research.pasteur.fr_photo-aslg-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/anne-sophie-le-guern/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2085664019,
size: 0.5,
source: 208566,
target: 4019 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2085664275,
size: 0.5,
source: 208566,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 146160,
label: 'Nicolas Rascovan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/09/research_pasteur-nicolas-rascovan-carnet-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/nicolas-rascovan/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 208566146160,
size: 0.5,
source: 208566,
target: 146160 });
// 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: 199751,
label: 'PROJECT: Évaluation de la vulnérabilité pour la riposte au Covid-19 en France (VA)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/vulnerability-assessment-for-the-covid-19-response-in-france/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275199751,
size: 0.5,
source: 4275,
target: 199751,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147170) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 199751147170,
size: 0.5,
source: 199751,
target: 147170 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 162241,
label: 'Papa Mamadou Diagne',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/papa-mamadou-diagne/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 199751162241,
size: 0.5,
source: 199751,
target: 162241 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 160438,
label: 'Milena Reig-Amette',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/milena-reig-amette/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 199751160438,
size: 0.5,
source: 199751,
target: 160438 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1997514275,
size: 0.5,
source: 199751,
target: 4275 });
// 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: 185778,
label: 'EVENT: INCEPTION 2022 meeting: Integrative Biology, Social and Data Sciences to understand the Emergence of Diseases in Populations and in Individuals',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/inception-2022-meeting-integrative-biology-social-and-data-sciences-to-understand-the-emergence-of-diseases-in-populations-and-in-individuals/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275185778,
size: 0.5,
source: 4275,
target: 185778,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 3770,
label: 'Thomas Bourgeron',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_thomas-bourgeron-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thomas-bourgeron/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1857783770,
size: 0.5,
source: 185778,
target: 3770 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4977,
label: 'Christophe Zimmer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-christophe-zimmer-chz-photo-resized-bw-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/christophe-zimmer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1857784977,
size: 0.5,
source: 185778,
target: 4977 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1857784275,
size: 0.5,
source: 185778,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 153863,
label: 'Maha David',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/02/research_pasteur-maha-david-david-maha-dsc2887-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/maha-david/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 185778153863,
size: 0.5,
source: 185778,
target: 153863 });
// 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: 180962,
label: 'PROJECT: Rapid European COVID-19 Emergency Response research (RECOVER project)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/rapid-european-covid-19-emergency-response-research-recover-project/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275180962,
size: 0.5,
source: 4275,
target: 180962,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1809624275,
size: 0.5,
source: 180962,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147170) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180962147170,
size: 0.5,
source: 180962,
target: 147170 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180962147173,
size: 0.5,
source: 180962,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147177) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180962147177,
size: 0.5,
source: 180962,
target: 147177 });
// 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: 180960,
label: 'PROJECT: Pro-actively addressing the challenges for an effective uptake of COVID-19 vaccination in Belgium: a transdisciplinary approach (Transvaxx project)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/pro-actively-addressing-the-challenges-for-an-effective-uptake-of-covid-19-vaccination-in-belgium-a-transdisciplinary-approach-transvaxx-project/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275180960,
size: 0.5,
source: 4275,
target: 180960,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1809604275,
size: 0.5,
source: 180960,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180960147173,
size: 0.5,
source: 180960,
target: 147173 });
// 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: 180954,
label: 'PROJECT: Optimizing community antibiotic use and infection control with behavioural interventions in rural Burkina Faso and Democratic Republic of Congo (CABU-EICO project)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/optimizing-community-antibiotic-use-and-infection-control-with-behavioural-interventions-in-rural-burkina-faso-and-democratic-republic-of-congo-cabu-eico-project/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275180954,
size: 0.5,
source: 4275,
target: 180954,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1809544275,
size: 0.5,
source: 180954,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 162241) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180954162241,
size: 0.5,
source: 180954,
target: 162241 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180954147173,
size: 0.5,
source: 180954,
target: 147173 });
// 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: 180918,
label: 'PROJECT: Cultivating Online Safe Spaces: Addressing unspoken hesitancy to build vaccine confidence in healthcare workers in Belgium (OSS project)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/cultivating-online-safe-spaces-addressing-unspoken-hesitancy-to-build-vaccine-confidence-in-healthcare-workers-in-belgium-oss-project-2021-22/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275180918,
size: 0.5,
source: 4275,
target: 180918,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 180918147173,
size: 0.5,
source: 180918,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1809184275,
size: 0.5,
source: 180918,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 13 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 13 * Math.PI / N) * 10;
g.nodes.push({
id: 168801,
label: 'NEWS: INCEPTION 2021 meeting. A joint event: 5th annual meeting & Symposium « Social Sciences and Biology for Understanding Emerging Diseases »',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/10/research_pasteur-inception-2021-meeting-a-joint-event-5th-annual-meeting-amp-symposium-social-sciences-and-biology-for-understanding-emerging-diseases-affiche-inception-meeting-2021-web-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/inception-2021-meeting-a-joint-event-5th-annual-meeting-symposium-social-sciences-and-biology-for-understanding-emerging-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275168801,
size: 0.5,
source: 4275,
target: 168801,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1688014275,
size: 0.5,
source: 168801,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3770) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1688013770,
size: 0.5,
source: 168801,
target: 3770 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 153863) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 168801153863,
size: 0.5,
source: 168801,
target: 153863 });
// adding node
var x_node = Math.cos(2 * 14 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 14 * Math.PI / N) * 10;
g.nodes.push({
id: 168783,
label: 'EVENT: INCEPTION 2021 meeting. A joint event: 5th annual meeting & Symposium « Social Sciences and Biology for Understanding Emerging Diseases »',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/inception-2021-meeting-a-joint-event-5th-annual-meeting-symposium-social-sciences-and-biology-for-understanding-emerging-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275168783,
size: 0.5,
source: 4275,
target: 168783,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1687834275,
size: 0.5,
source: 168783,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3770) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1687833770,
size: 0.5,
source: 168783,
target: 3770 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 153863) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 168783153863,
size: 0.5,
source: 168783,
target: 153863 });
// adding node
var x_node = Math.cos(2 * 15 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 15 * Math.PI / N) * 10;
g.nodes.push({
id: 158973,
label: 'EVENT: Call for abstracts – INCEPTION Symposium: Social Sciences and Biology for Understanding Emerging Diseases',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/call-for-abstracts-inception-symposium-social-sciences-and-biology-for-understanding-emerging-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275158973,
size: 0.5,
source: 4275,
target: 158973,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1589734275,
size: 0.5,
source: 158973,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3770) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1589733770,
size: 0.5,
source: 158973,
target: 3770 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 153863) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 158973153863,
size: 0.5,
source: 158973,
target: 153863 });
// adding node
var x_node = Math.cos(2 * 16 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 16 * Math.PI / N) * 10;
g.nodes.push({
id: 151713,
label: 'NEWS: Keynote: Socio-cultural context of infectious threats in Africa',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/keynote-socio-cultural-context-of-infectious-threats-in-africa/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275151713,
size: 0.5,
source: 4275,
target: 151713,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1517134275,
size: 0.5,
source: 151713,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 17 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 17 * Math.PI / N) * 10;
g.nodes.push({
id: 151710,
label: 'NEWS: “The end of COVID-19”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/151710/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275151710,
size: 0.5,
source: 4275,
target: 151710,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1517104275,
size: 0.5,
source: 151710,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 18 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 18 * Math.PI / N) * 10;
g.nodes.push({
id: 151704,
label: 'NEWS: (Re)thinking the infodemic: Social media and offline engagement in the COVID-19 pandemic',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/rethinking-the-infodemic-social-media-and-offline-engagement-in-the-covid-19-pandemic-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275151704,
size: 0.5,
source: 4275,
target: 151704,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1517044275,
size: 0.5,
source: 151704,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 151704147173,
size: 0.5,
source: 151704,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147170) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 151704147170,
size: 0.5,
source: 151704,
target: 147170 });
// adding node
var x_node = Math.cos(2 * 19 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 19 * Math.PI / N) * 10;
g.nodes.push({
id: 148815,
label: 'PROJECT: Red Cross health workers and the continuity of care in the COVID-19 pandemic: A mixed methods operational approach',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/red-cross-health-workers-and-the-continuity-of-care-in-the-covid-19-pandemic-a-mixed-methods-operational-approach/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275148815,
size: 0.5,
source: 4275,
target: 148815,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 148815147173,
size: 0.5,
source: 148815,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147170) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 148815147170,
size: 0.5,
source: 148815,
target: 147170 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1488154275,
size: 0.5,
source: 148815,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 20 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 20 * Math.PI / N) * 10;
g.nodes.push({
id: 148811,
label: 'PROJECT: Anthropological Study for the Programmatic Response to Ebola Virus Disease (EVD) in the Central African Republic',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/etude-anthropologique-pour-la-reponse-programmatique-a-la-maladie-a-virus-ebola-mve-en-republique-centrafricaine/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275148811,
size: 0.5,
source: 4275,
target: 148811,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 120408,
label: 'Romain Duda',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-romain-duda-img-20201109-204137-3171-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/romain-duda/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 148811120408,
size: 0.5,
source: 148811,
target: 120408 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 148811147173,
size: 0.5,
source: 148811,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1488114275,
size: 0.5,
source: 148811,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 21 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 21 * Math.PI / N) * 10;
g.nodes.push({
id: 147129,
label: 'PROJECT: Sonar-Global',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/09/research_pasteur-sonar-global-logo-sg-150x150.png',
page_url: 'https://research.pasteur.fr/fr/project/sonar-global/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275147129,
size: 0.5,
source: 4275,
target: 147129,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1471294275,
size: 0.5,
source: 147129,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 139092,
label: 'Joy Cremesty',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=139092',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 147129139092,
size: 0.5,
source: 147129,
target: 139092 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 147182,
label: 'Valeria Martin',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=147182',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 147129147182,
size: 0.5,
source: 147129,
target: 147182 });
// adding node
var x_node = Math.cos(2 * 22 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 22 * Math.PI / N) * 10;
g.nodes.push({
id: 143621,
label: 'PROJECT: AFRIPOX – A One Health approach of monkeypox in Centrafrican Republic',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/afripox/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275143621,
size: 0.5,
source: 4275,
target: 143621,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 4328,
label: 'Antoine Gessain',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_a.g-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/antoine-gessain/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214328,
size: 0.5,
source: 143621,
target: 4328 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4508,
label: 'Jean-Claude Manuguerra',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig43-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jean-claude-manuguerra/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214508,
size: 0.5,
source: 143621,
target: 4508 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4515,
label: 'Nicolas Berthet',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/nicolas-berthet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214515,
size: 0.5,
source: 143621,
target: 4515 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4510,
label: 'Jessica Vanhomwegen',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-jessica-vanhomwegen-photo-j-vanhomwegen-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jessica-vanhomwegen/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214510,
size: 0.5,
source: 143621,
target: 4510 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4273,
label: 'Romulus Breban',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_breban-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/romulus-breban/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214273,
size: 0.5,
source: 143621,
target: 4273 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1436214275,
size: 0.5,
source: 143621,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 120408) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 143621120408,
size: 0.5,
source: 143621,
target: 120408 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 72419,
label: 'Emmanuel Nakouné',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/riip_member/emmanuel-nakoune/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 14362172419,
size: 0.5,
source: 143621,
target: 72419 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 7885,
label: 'Cassandre Von Platen',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/02/research_pasteur-photo_cassandre.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cassandre-von-platen/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436217885,
size: 0.5,
source: 143621,
target: 7885 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4501,
label: 'Christophe Batejat',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_christophe-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/christophe-batejat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214501,
size: 0.5,
source: 143621,
target: 4501 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4503,
label: 'Valérie Caro',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/07/research_pasteur-valerie_2020-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/valerie-caro/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214503,
size: 0.5,
source: 143621,
target: 4503 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4266,
label: 'Laura Schaeffer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_schaeffer-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/laura-schaeffer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214266,
size: 0.5,
source: 143621,
target: 4266 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 2624,
label: 'Arnaud Fontanet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_arnaud-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/arnaud-fontanet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436212624,
size: 0.5,
source: 143621,
target: 2624 });
// adding node
var x_node = Math.cos(2 * 23 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 23 * Math.PI / N) * 10;
g.nodes.push({
id: 129030,
label: 'PROJECT: A Global Social Sciences Network for Infectious Threats and Antimicrobial Resistance (SoNAR-Global) (Horizon 2020)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/a-global-social-sciences-network-for-infectious-threats-and-antimicrobial-resistance-sonar-global-horizon-2020/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275129030,
size: 0.5,
source: 4275,
target: 129030,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1290304275,
size: 0.5,
source: 129030,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 24 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 24 * Math.PI / N) * 10;
g.nodes.push({
id: 123468,
label: 'EVENT: The emergence of HIV and viral hepatitis in Central Africa',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/the-emergence-of-hiv-and-viral-hepatitis-in-central-africa/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275123468,
size: 0.5,
source: 4275,
target: 123468,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1234684275,
size: 0.5,
source: 123468,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4729,
label: 'Marina Caillet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_marina-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marina-caillet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1234684729,
size: 0.5,
source: 123468,
target: 4729 });
// adding node
var x_node = Math.cos(2 * 25 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 25 * Math.PI / N) * 10;
g.nodes.push({
id: 120425,
label: 'PROJECT: MICROTONE – Microbial and viral circulations among people and wild and domesticated animals in an ecotone, Democratic Republic of Congo',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research_pasteur-enanthropology-and-ecology-of-disease-emergencefranthropologie-et-ecologie-de-lemergence-des-maladies-microtone-website-0776-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/microbial-and-viral-circulations-among-people-and-wild-and-domesticated-animals-in-an-ecotone-democratic-republic-of-congo-microtone/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4275120425,
size: 0.5,
source: 4275,
target: 120425,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1204254275,
size: 0.5,
source: 120425,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 120408) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 120425120408,
size: 0.5,
source: 120425,
target: 120408 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4765,
label: 'Etienne Simon-Loriere',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_e.simon-loriere_1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/etienne-simon-loriere/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1204254765,
size: 0.5,
source: 120425,
target: 4765 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 2669,
label: 'Sean Kennedy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Kennedy-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/sean-kennedy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1204252669,
size: 0.5,
source: 120425,
target: 2669 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 121242,
label: 'Victor Narat',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/02/research_pasteur-research.pasteur.fr_v_narat-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/epartner/fr-victor-narat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 120425121242,
size: 0.5,
source: 120425,
target: 121242 });
// adding node
var x_node = Math.cos(2 * 26 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 26 * Math.PI / N) * 10;
g.nodes.push({
id: 82116,
label: 'PROJECT: MITICA: Identifying the mechanisms of acquisition of a dysbiotic microbiota and pediatric environmental enteropathy in infants in the context of chronic malnutrition',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_mitica_logo-1-150x120.jpg',
page_url: 'https://research.pasteur.fr/fr/project/mitica-identifying-the-mechanisms-of-acquisition-of-a-dysbiotic-microbiota-and-pediatric-environmental-enteropathy-in-infants-in-the-context-of-chronic-malnutrition/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427582116,
size: 0.5,
source: 4275,
target: 82116,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 75605,
label: 'Violeta Moya Alvarez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/08/research_pasteur-violeta-moya-alvarez-violeta-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/violeta-moya-alvarez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8211675605,
size: 0.5,
source: 82116,
target: 75605 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4794,
label: 'Pascale Vonasch',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_pascale1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pascale-vonasch/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 821164794,
size: 0.5,
source: 82116,
target: 4794 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 821164275,
size: 0.5,
source: 82116,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4780,
label: 'Philippe Sansonetti',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_philippe-sansonetti-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-sansonetti__trashed/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 821164780,
size: 0.5,
source: 82116,
target: 4780 });
// adding node
var x_node = Math.cos(2 * 27 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 27 * Math.PI / N) * 10;
g.nodes.push({
id: 77916,
label: 'PROGRAM_PROJECT: INCEPTION – INstitut Convergences pour l’étude de l’Émergence des Pathologies au Travers des Individus et des populatiONs',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/10/research.pasteur.fr_inception-program-institut-convergence-for-the-study-of-emergence-of-pathology-through-individuals-and-populations-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/program_project/inception/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427577916,
size: 0.5,
source: 4275,
target: 77916,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4977) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 779164977,
size: 0.5,
source: 77916,
target: 4977 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 7063,
label: 'Monica Sala',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-monica-sala-research-pasteur-monica-sala-monicaphoto2020-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/monica-sala/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 779167063,
size: 0.5,
source: 77916,
target: 7063 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 203306,
label: 'Cyril Renassia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/06/research_pasteur-cyril-renassia-photo-cv-2023-cropped-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cyril-renassia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 77916203306,
size: 0.5,
source: 77916,
target: 203306 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3770) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 779163770,
size: 0.5,
source: 77916,
target: 3770 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4684,
label: 'Eduardo Rocha',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_eduardo_rocha-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/eduardo-rocha/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 779164684,
size: 0.5,
source: 77916,
target: 4684 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 779164275,
size: 0.5,
source: 77916,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2624) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 779162624,
size: 0.5,
source: 77916,
target: 2624 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4028,
label: 'Simon Cauchemez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig45-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/simon-cauchemez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 779164028,
size: 0.5,
source: 77916,
target: 4028 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4365,
label: 'Marie-Lise Gougeon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_marie-lise-gougeon-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-lise-gougeon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 779164365,
size: 0.5,
source: 77916,
target: 4365 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4623,
label: 'Michael Nilges',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research.pasteur.fr_dsc3513-copy-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/michael-nilges/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 779164623,
size: 0.5,
source: 77916,
target: 4623 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 388,
label: 'Jean-Christophe Olivo-Marin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/04/research_pasteur-photojcom_2016_2-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/jean-christophe-olivo-marin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 77916388,
size: 0.5,
source: 77916,
target: 388 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4606,
label: 'Pablo Navarro Gil',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-institut-pasteur_portraits-studio_gcc_162-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pablo-navarro-gil/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 779164606,
size: 0.5,
source: 77916,
target: 4606 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 119690,
label: 'Rayan Chikhi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-photo_pasteur-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/rayan-chikhi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 77916119690,
size: 0.5,
source: 77916,
target: 119690 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 77484,
label: 'Hugues Aschard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_p8191439-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/hugues-aschard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 7791677484,
size: 0.5,
source: 77916,
target: 77484 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 111677,
label: 'Stéphane Fournier',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/stephane-fournier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 77916111677,
size: 0.5,
source: 77916,
target: 111677 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 83824,
label: 'Grégory Batt',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research_pasteur-gregory-batt-inria-0474-034-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/gregory-batt/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 7791683824,
size: 0.5,
source: 77916,
target: 83824 });
// adding node
var x_node = Math.cos(2 * 28 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 28 * Math.PI / N) * 10;
g.nodes.push({
id: 54955,
label: 'PROJECT: A sociocultural study of hepatitis B and vaccination in two contexts: Burkina Faso and Central African Republic',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/a-sociocultural-study-of-hepatitis-b-and-vaccination-in-two-contexts-burkina-faso-and-central-african-republic/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427554955,
size: 0.5,
source: 4275,
target: 54955,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 11473,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 5495511473,
size: 0.5,
source: 54955,
target: 11473 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 54930,
label: 'Abdoulaye Traoré',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_p1020460-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/epartner/abdoulaye-traore/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 5495554930,
size: 0.5,
source: 54955,
target: 54930 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 54934,
label: 'Arma',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/epartner/armande-sanou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 5495554934,
size: 0.5,
source: 54955,
target: 54934 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 549554275,
size: 0.5,
source: 54955,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 29 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 29 * Math.PI / N) * 10;
g.nodes.push({
id: 54951,
label: 'PROJECT: Biomedical Engagement in the West African Ebola epidemic',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/biomedical-engagement-in-the-west-african-ebola-epidemic-an-oral-history/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427554951,
size: 0.5,
source: 4275,
target: 54951,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 62218,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 5495162218,
size: 0.5,
source: 54951,
target: 62218 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 549514275,
size: 0.5,
source: 54951,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 30 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 30 * Math.PI / N) * 10;
g.nodes.push({
id: 50867,
label: 'PROJECT: NéoVac (Neonatal Vaccination against Hepatitis B in Africa)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/neovac-neonatal-vaccination-against-hepatitis-b-in-africa/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427550867,
size: 0.5,
source: 4275,
target: 50867,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 508674275,
size: 0.5,
source: 50867,
target: 4275 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4277,
label: 'Yusuke Shimakawa',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_yusuke-shimakawa-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/yusuke-shimakawa/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 508674277,
size: 0.5,
source: 50867,
target: 4277 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4272,
label: 'Muriel Vray',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_vray-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/muriel-vray/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 508674272,
size: 0.5,
source: 50867,
target: 4272 });
// adding node
var x_node = Math.cos(2 * 31 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 31 * Math.PI / N) * 10;
g.nodes.push({
id: 42706,
label: 'PROJECT: Ebola 100',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/ebola-100/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427542706,
size: 0.5,
source: 4275,
target: 42706,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 427064275,
size: 0.5,
source: 42706,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 32 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 32 * Math.PI / N) * 10;
g.nodes.push({
id: 42681,
label: 'PROJECT: Hepatitis B in Burkina Faso and Central African Republic',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/hepatitis-b-in-burkina-faso-and-central-african-republic/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427542681,
size: 0.5,
source: 4275,
target: 42681,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4272) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 426814272,
size: 0.5,
source: 42681,
target: 4272 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 426814275,
size: 0.5,
source: 42681,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 33 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 33 * Math.PI / N) * 10;
g.nodes.push({
id: 42599,
label: 'PROJECT: A multi-disciplinary study of human beings, great apes, and viral emergence in equatorial Africa (SHAPES)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/02/research.pasteur.fr_img_8636-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/a-multi-disciplinary-study-of-human-beings-great-apes-and-viral-emergence-in-equatorial-africa-shapes/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427542599,
size: 0.5,
source: 4275,
target: 42599,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4272) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 425994272,
size: 0.5,
source: 42599,
target: 4272 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4328) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 425994328,
size: 0.5,
source: 42599,
target: 4328 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 54891,
label: 'Christophe Demichelis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_img_3510-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/epartner/christophe-demichelis/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4259954891,
size: 0.5,
source: 42599,
target: 54891 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 425994275,
size: 0.5,
source: 42599,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 34 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 34 * Math.PI / N) * 10;
g.nodes.push({
id: 24234,
label: 'TEAM: Anthropologie et Ecologie de l’Emergence des Maladies',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/team/anthropology-and-ecology-of-disease-emergence/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427524234,
size: 0.5,
source: 4275,
target: 24234,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 7787,
label: 'Marie-Laurence Meignan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_marie-laurence2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-laurence-meignan/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 242347787,
size: 0.5,
source: 24234,
target: 7787 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147177) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 24234147177,
size: 0.5,
source: 24234,
target: 147177 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147173) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 24234147173,
size: 0.5,
source: 24234,
target: 147173 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 147170) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 24234147170,
size: 0.5,
source: 24234,
target: 147170 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 229993,
label: 'Jules Villa',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/09/research_pasteur-enjules-villafrjules-villa-img-7182-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jules-villa/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 24234229993,
size: 0.5,
source: 24234,
target: 229993 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 229996) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 24234229996,
size: 0.5,
source: 24234,
target: 229996 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 183926) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 24234183926,
size: 0.5,
source: 24234,
target: 183926 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 183925,
label: 'Fleur Beauvieux',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/fleur-beauvieux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 24234183925,
size: 0.5,
source: 24234,
target: 183925 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 242344275,
size: 0.5,
source: 24234,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 35 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 35 * Math.PI / N) * 10;
g.nodes.push({
id: 19893,
label: 'PROJECT: THE EMERGENCE OF HIV IN AFRICA : Ethnomedical and historical perspectives',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/the-emergence-of-hiv-in-africa-ethnomedical-and-historical-perspectives/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427519893,
size: 0.5,
source: 4275,
target: 19893,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 198934275,
size: 0.5,
source: 19893,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 36 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 36 * Math.PI / N) * 10;
g.nodes.push({
id: 19880,
label: 'PROJECT: TORCADIA : Epidemiology of severe childhood diarrhea: A case control study in the Central African Republic (CAR)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/torcadia-epidemiology-of-severe-childhood-diarrhea-a-case-control-study-in-the-central-african-republic-car/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427519880,
size: 0.5,
source: 4275,
target: 19880,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 198804275,
size: 0.5,
source: 19880,
target: 4275 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4272) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 198804272,
size: 0.5,
source: 19880,
target: 4272 });
// adding node
var x_node = Math.cos(2 * 37 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 37 * Math.PI / N) * 10;
g.nodes.push({
id: 19853,
label: 'PROJECT: Malaria in southwestern Burkina Faso',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/malaria-in-southwestern-burkina-faso/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 427519853,
size: 0.5,
source: 4275,
target: 19853,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4275) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 198534275,
size: 0.5,
source: 19853,
target: 4275 });
// adding node
var x_node = Math.cos(2 * 38 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 38 * Math.PI / N) * 10;
g.nodes.push({
id: 6229,
label: 'TEAM: Epidémiologie des Maladies Emergentes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_electron-micrograph-of-ebola-virus-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/epidemiology-of-emerging-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 42756229,
size: 0.5,
source: 4275,
target: 6229,
});
//check if content 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;
}
// adding site
g.nodes.push({
id: 4263,
label: 'Yoann Madec',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_madec-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/yoann-madec/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62294263,
size: 0.5,
source: 6229,
target: 4263 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 8543,
label: 'Judith Mueller',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_mueller-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/judith-mueller/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62298543,
size: 0.5,
source: 6229,
target: 8543 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4265,
label: 'Claire Rekacewicz',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/claire-rekacewicz/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62294265,
size: 0.5,
source: 6229,
target: 4265 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4272) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62294272,
size: 0.5,
source: 6229,
target: 4272 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4266) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62294266,
size: 0.5,
source: 6229,
target: 4266 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4273) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62294273,
size: 0.5,
source: 6229,
target: 4273 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 4267,
label: 'Laura Tondeur',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_research.pasteur.fr_tondeur-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/laura-tondeur/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62294267,
size: 0.5,
source: 6229,
target: 4267 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4277) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62294277,
size: 0.5,
source: 6229,
target: 4277 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7787) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62297787,
size: 0.5,
source: 6229,
target: 7787 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 145046,
label: 'Laurie Pinaud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/11/research_pasteur-1398451-10151989867577520-1823773709-o-e1604852006341-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/laurie-pinaud-2/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229145046,
size: 0.5,
source: 6229,
target: 145046 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 176461,
label: 'Gaëlle Lievre',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/gaelle-lievre/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229176461,
size: 0.5,
source: 6229,
target: 176461 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 200126,
label: 'Josée Dussault',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/04/research_pasteur-josee-dussault-img-0326-e1681311791822-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/josee-dussault/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229200126,
size: 0.5,
source: 6229,
target: 200126 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 233386,
label: 'Alice Carli',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/alice-carli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229233386,
size: 0.5,
source: 6229,
target: 233386 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 234642,
label: 'Juan Carlos Ocampo',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/juan-carlos-ocampo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229234642,
size: 0.5,
source: 6229,
target: 234642 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 234637,
label: 'Andrea Gosset',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/andrea-gosset/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229234637,
size: 0.5,
source: 6229,
target: 234637 });
//check if content 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;
}
// adding site
g.nodes.push({
id: 234627,
label: 'Alexandra Famiglietti',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/alexandra-famiglietti/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6229234627,
size: 0.5,
source: 6229,
target: 234627 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2624) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62292624,
size: 0.5,
source: 6229,
target: 2624 });
var s = new sigma({
//container: document.getElementById('graph-main'),
graph: g,
renderer: {
// IMPORTANT:
// This works only with the canvas renderer, so the
// renderer type set as "canvas" is necessary here.
container: document.getElementById('graph-main'),
type: 'canvas'
},
settings: {
minNodeSize: 6,
maxNodeSize: 35,
mouseWheelEnabled: false,
font: 'Montserrat',
labelThreshold:25,
borderSize:1,
defaultNodeBorderColor: '#999',
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) {
});