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: 2624,
label: 'Arnaud Fontanet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_arnaud-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var biggest_node_size = 0;
N=37
// 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: 233094,
label: 'PROJECT: Pasteur-Cnam-EHESP school of public health',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/pasteur-cnam-ehesp-school-of-public-health/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624233094,
size: 0.5,
source: 2624,
target: 233094,
});
//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: 2330944266,
size: 0.5,
source: 233094,
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: 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: 2330944267,
size: 0.5,
source: 233094,
target: 4267 });
//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: 2330944263,
size: 0.5,
source: 233094,
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: 4380,
label: 'Lénaig Le Fouler',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research.pasteur.fr_lle_fouler_photo-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/lenaig-le-fouler/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330944380,
size: 0.5,
source: 233094,
target: 4380 });
//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: 4379,
label: 'Bich-Tram Huynh',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_bth-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/bich-tram-huynh/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330944379,
size: 0.5,
source: 233094,
target: 4379 });
//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: 2330944272,
size: 0.5,
source: 233094,
target: 4272 });
//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: 80011,
label: 'Vincent Guillemot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_vincent-guillemot-1-e1479989507346-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/vincent-guillemot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 23309480011,
size: 0.5,
source: 233094,
target: 80011 });
//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: 4209,
label: 'Dea Garcia-Hermoso',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_dgh-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/dea-garcia-hermoso/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330944209,
size: 0.5,
source: 233094,
target: 4209 });
//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: 4203,
label: 'Olivier Lortholary',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_sans-titre-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/olivier-lortholary/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330944203,
size: 0.5,
source: 233094,
target: 4203 });
//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: 2330944028,
size: 0.5,
source: 233094,
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: 230850,
label: 'Yasmine Belkaid',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/09/research_pasteur-enyasmine-belkaidfryasmine-belkaid-belkaid-yasmine-0491-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/yasmine-belkaid/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 233094230850,
size: 0.5,
source: 233094,
target: 230850 });
//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: 2330944328,
size: 0.5,
source: 233094,
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: 4058,
label: 'Chetan Chitnis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_chitnis_photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/chetan-chitnis/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330944058,
size: 0.5,
source: 233094,
target: 4058 });
//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: 4790,
label: 'Armelle Phalipon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_phalipon-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/armelle-phalipon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330944790,
size: 0.5,
source: 233094,
target: 4790 });
//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: 2330947063,
size: 0.5,
source: 233094,
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: 90725,
label: 'Virginie Ponticelli',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/virginie-ponticelli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 23309490725,
size: 0.5,
source: 233094,
target: 90725 });
//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: 7199,
label: 'Hervé Waxin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_herve-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/herve-waxin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2330947199,
size: 0.5,
source: 233094,
target: 7199 });
//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: 232303,
label: 'Sarah Michel-Anfray',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/sarah-michel-anfray/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 233094232303,
size: 0.5,
source: 233094,
target: 232303 });
//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: 233094233386,
size: 0.5,
source: 233094,
target: 233386 });
//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: 2330942624,
size: 0.5,
source: 233094,
target: 2624 });
// 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: 232762,
label: 'COURSE: Analyse de données avec Stata (3 sessions)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/analyse-de-donnees-avec-stata-3-sessions/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624232762,
size: 0.5,
source: 2624,
target: 232762,
});
//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: 2327622624,
size: 0.5,
source: 232762,
target: 2624 });
//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: 2327624266,
size: 0.5,
source: 232762,
target: 4266 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4267) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327624267,
size: 0.5,
source: 232762,
target: 4267 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4263) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327624263,
size: 0.5,
source: 232762,
target: 4263 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4380) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327624380,
size: 0.5,
source: 232762,
target: 4380 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7063) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327627063,
size: 0.5,
source: 232762,
target: 7063 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7199) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327627199,
size: 0.5,
source: 232762,
target: 7199 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 90725) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 23276290725,
size: 0.5,
source: 232762,
target: 90725 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 232303) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 232762232303,
size: 0.5,
source: 232762,
target: 232303 });
// 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: 232727,
label: 'COURSE: Mother and child dyad: current evidence in a global perspective',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/dyade-mere-enfant-donnees-actuelles-dans-une-perspective-mondiale/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624232727,
size: 0.5,
source: 2624,
target: 232727,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4379) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327274379,
size: 0.5,
source: 232727,
target: 4379 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 230850) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 232727230850,
size: 0.5,
source: 232727,
target: 230850 });
//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: 2327272624,
size: 0.5,
source: 232727,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7063) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327277063,
size: 0.5,
source: 232727,
target: 7063 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7199) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2327277199,
size: 0.5,
source: 232727,
target: 7199 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 90725) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 23272790725,
size: 0.5,
source: 232727,
target: 90725 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 232303) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 232727232303,
size: 0.5,
source: 232727,
target: 232303 });
// 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: 231335,
label: 'COURSE: Changements climatiques et santé des populations',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/changements-climatiques-et-sante-des-populations/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624231335,
size: 0.5,
source: 2624,
target: 231335,
});
//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: 2313352624,
size: 0.5,
source: 231335,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7063) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2313357063,
size: 0.5,
source: 231335,
target: 7063 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7199) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2313357199,
size: 0.5,
source: 231335,
target: 7199 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 90725) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 23133590725,
size: 0.5,
source: 231335,
target: 90725 });
// 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: 231339,
label: 'COURSE: Vaccine epidemiology',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/vaccine-epidemiology/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624231339,
size: 0.5,
source: 2624,
target: 231339,
});
//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: 2313392624,
size: 0.5,
source: 231339,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7063) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2313397063,
size: 0.5,
source: 231339,
target: 7063 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7199) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2313397199,
size: 0.5,
source: 231339,
target: 7199 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 90725) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 23133990725,
size: 0.5,
source: 231339,
target: 90725 });
// 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: 219039,
label: 'EVENT: Webinaire de l’Enseignement – Arnaud FONTANET',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/12/research_pasteur-shutterstock-1769187632-ld-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/event/webinaire-de-lenseignement-arnaud-fontanet/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624219039,
size: 0.5,
source: 2624,
target: 219039,
});
//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: 2190392624,
size: 0.5,
source: 219039,
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: 6816,
label: 'Clementine Schilte',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-clementine-schilte-photo-2022-scaled-e1692277761405-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/clementine-schilte/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2190396816,
size: 0.5,
source: 219039,
target: 6816 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7199) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2190397199,
size: 0.5,
source: 219039,
target: 7199 });
//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: 165941,
label: 'Emerson Leonardo Alvarez Quinche',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/emerson-leonardo-alvarez-quinche/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 219039165941,
size: 0.5,
source: 219039,
target: 165941 });
//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: 917,
label: 'Odile Sismeiro',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/OdileSismeiro-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/odile-sismeiro/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 219039917,
size: 0.5,
source: 219039,
target: 917 });
// 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: 216141,
label: 'COURSE: Viral Outbreaks and Pandemics, A One Health Approach MOOC',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/12/research_pasteur-shutterstock-1769187632-ld-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/course/viral-outbreaks-and-pandemics-a-one-health-approach/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624216141,
size: 0.5,
source: 2624,
target: 216141,
});
//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: 2161412624,
size: 0.5,
source: 216141,
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: 4324,
label: 'Pierre-Emmanuel Ceccaldi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_pephoto-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pierre-emmanuel-ceccaldi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2161414324,
size: 0.5,
source: 216141,
target: 4324 });
//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: 4962,
label: 'Jean-Pierre Vartanian',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/09/research_pasteur-jean-pierre-vartanian-photo-jpv--150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jean-pierre-vartanian/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2161414962,
size: 0.5,
source: 216141,
target: 4962 });
//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: 23965,
label: 'Stephan Zientara',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig103-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/epartner/stephan-zientara/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21614123965,
size: 0.5,
source: 216141,
target: 23965 });
//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: 216141145046,
size: 0.5,
source: 216141,
target: 145046 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6816) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2161416816,
size: 0.5,
source: 216141,
target: 6816 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 216141917,
size: 0.5,
source: 216141,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 165941) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 216141165941,
size: 0.5,
source: 216141,
target: 165941 });
// 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: 178820,
label: 'COURSE: Viral Hepatitis MOOC',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/03/research_pasteur-viral-hepatitis-mooc-institutpasteur-28274-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/course/viral-hepatitis-mooc/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624178820,
size: 0.5,
source: 2624,
target: 178820,
});
//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: 7142,
label: 'Christian Bréchot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/0305_CB-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/christian-brechot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1788207142,
size: 0.5,
source: 178820,
target: 7142 });
//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: 1788202624,
size: 0.5,
source: 178820,
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: 4133,
label: 'Pascal Pineau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ef317547742df3f889_l_1e91c-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pascal-pineau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1788204133,
size: 0.5,
source: 178820,
target: 4133 });
//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: 1788204277,
size: 0.5,
source: 178820,
target: 4277 });
//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: 1788204272,
size: 0.5,
source: 178820,
target: 4272 });
//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: 180778,
label: 'Stefaniia Ivashchenko',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/stefaniia-ivashchenko/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 178820180778,
size: 0.5,
source: 178820,
target: 180778 });
// 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: 178797,
label: 'NEWS: CORSER 5 : Etude de la réponse immunitaire chez des personnes en cours d’infection par le SARS-CoV-2',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/corser-5-etude-de-la-reponse-immunitaire-chez-des-personnes-en-cours-dinfection-par-le-sars-cov-2-3/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624178797,
size: 0.5,
source: 2624,
target: 178797,
});
//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: 1787972624,
size: 0.5,
source: 178797,
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: 176455,
label: 'Simon Galmiche',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/simon-galmiche/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 178797176455,
size: 0.5,
source: 178797,
target: 176455 });
//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: 81076,
label: 'Sandrine Fernandes Pellerin',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/sandrine-fernandes-pellerin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17879781076,
size: 0.5,
source: 178797,
target: 81076 });
//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: 164220,
label: 'Yanis Dahoumane',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/yanis-dahoumane/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 178797164220,
size: 0.5,
source: 178797,
target: 164220 });
//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: 78192,
label: 'Olivia Chény',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_dsc0616mod2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/olivia-cheny/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17879778192,
size: 0.5,
source: 178797,
target: 78192 });
//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: 1787977885,
size: 0.5,
source: 178797,
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: 7878,
label: 'Marie-Noelle Ungeheuer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_43070-e1437491181428-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-noelle-ungeheuer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1787977878,
size: 0.5,
source: 178797,
target: 7878 });
//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: 8600,
label: 'Hélène Laude',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/10/research_pasteur-photo_helene_laude-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/helene-laude/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1787978600,
size: 0.5,
source: 178797,
target: 8600 });
//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: 4958,
label: 'Laurence Arowas',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-la-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/laurence-arowas/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1787974958,
size: 0.5,
source: 178797,
target: 4958 });
//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: 167546,
label: 'Emmanuel Roux',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/emmanuel-roux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 178797167546,
size: 0.5,
source: 178797,
target: 167546 });
//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: 154423,
label: 'Ayla Zayoud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/02/research_pasteur-ayla-zayoud-1604574096423-removebg-preview-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/ayla-zayoud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 178797154423,
size: 0.5,
source: 178797,
target: 154423 });
// 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: 163908,
label: 'NEWS: Benefits and risks associated with the COVID-19 vaccine Vaxzevria',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/benefits-and-risks-associated-with-the-covid-19-vaccine-vaxzevria/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624163908,
size: 0.5,
source: 2624,
target: 163908,
});
//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: 135032,
label: 'Cécile Tran Kiem',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/11/research_pasteur-encecile-tran-kiemfrcecile-tran-kiem-20210720-fwis-c-tran-kiem-0076-crop-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cecile-tran-kiem/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 163908135032,
size: 0.5,
source: 163908,
target: 135032 });
//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: 4027,
label: 'Alessio Andronico',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=4027',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1639084027,
size: 0.5,
source: 163908,
target: 4027 });
//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: 120059,
label: 'Paolo Bosetti',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-20190314_185852-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/paolo-bosetti/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 163908120059,
size: 0.5,
source: 163908,
target: 120059 });
//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: 82057,
label: 'Juliette Paireau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-img_7168-34-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/juliette-paireau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16390882057,
size: 0.5,
source: 163908,
target: 82057 });
//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: 1639082624,
size: 0.5,
source: 163908,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4028) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1639084028,
size: 0.5,
source: 163908,
target: 4028 });
// 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: 163902,
label: 'NEWS: Humoral immunity to SARS-CoV-2 and seasonal coronaviruses in children and adults in north-eastern France',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/humoral-immunity-to-sars-cov-2-and-seasonal-coronaviruses-in-children-and-adults-in-north-eastern-france/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624163902,
size: 0.5,
source: 2624,
target: 163902,
});
//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: 157520,
label: 'Tom Woudenberg',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=157520',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 163902157520,
size: 0.5,
source: 163902,
target: 157520 });
//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: 163902157508,
size: 0.5,
source: 163902,
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: 65932,
label: 'François Anna',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/francois-anna/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16390265932,
size: 0.5,
source: 163902,
target: 65932 });
//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: 156774,
label: 'Mikaël Attia',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/mikael-attia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 163902156774,
size: 0.5,
source: 163902,
target: 156774 });
//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: 8453,
label: 'Françoise Donnadieu',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_donadieu-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/francoise-donnadieu/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1639028453,
size: 0.5,
source: 163902,
target: 8453 });
//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: 4051,
label: 'Pierre Charneau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig10-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/pierre-charneau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1639024051,
size: 0.5,
source: 163902,
target: 4051 });
//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: 4926,
label: 'Caroline Demeret',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dscn7482-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/caroline-demeret/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1639024926,
size: 0.5,
source: 163902,
target: 4926 });
//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: 4920,
label: 'Sylvie van Der Werf',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/07/research_pasteur-photo_sylvie-vdw1-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/sylvie-van-der-werf/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1639024920,
size: 0.5,
source: 163902,
target: 4920 });
//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: 1639022624,
size: 0.5,
source: 163902,
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: 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: 16390294079,
size: 0.5,
source: 163902,
target: 94079 });
// 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: 143699,
label: 'NEWS: Séro-épidémiologie du SARS-CoV-2 (études CORSER)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/06/research_pasteur-capture-decran-2020-06-19-a-14.45.41-1-150x150.png',
page_url: 'https://research.pasteur.fr/fr/news/sero-epidemiologie-du-sars-cov-2-etudes-corser/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624143699,
size: 0.5,
source: 2624,
target: 143699,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7878) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1436997878,
size: 0.5,
source: 143699,
target: 7878 });
//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: 1436992624,
size: 0.5,
source: 143699,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 81076) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14369981076,
size: 0.5,
source: 143699,
target: 81076 });
//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: 121855,
label: 'Isabelle Cailleau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/04/research_pasteur-capture-decran-2019-04-09-a-17.09.03-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/isabelle-cailleau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 143699121855,
size: 0.5,
source: 143699,
target: 121855 });
//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: 7888,
label: 'Nathalie Jolly',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dsc7459_sqr-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/nathalie-jolly/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436997888,
size: 0.5,
source: 143699,
target: 7888 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7885) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1436997885,
size: 0.5,
source: 143699,
target: 7885 });
// 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: 161687,
label: 'NEWS: Zika virus epidemiology and virology study : maternal and neonatal outcomes in southern Vietnam',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/zika-virus-epidemiology-and-virology-study-maternal-and-neonatal-outcomes-in-southern-vietnam/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624161687,
size: 0.5,
source: 2624,
target: 161687,
});
//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: 67917,
label: 'Rebecca Grant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/07/research.pasteur.fr_21dfcdd-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/rebecca-grant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16168767917,
size: 0.5,
source: 161687,
target: 67917 });
//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: 1616872624,
size: 0.5,
source: 161687,
target: 2624 });
// 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: 160781,
label: 'NEWS: Covid-19, un an après : persistance des anticorps protecteurs et réduction significative du risque de réinfection',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/covid-19-un-an-apres-persistance-des-anticorps-protecteurs-et-reduction-significative-du-risque-de-reinfection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624160781,
size: 0.5,
source: 2624,
target: 160781,
});
//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: 1607812624,
size: 0.5,
source: 160781,
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: 4817,
label: 'Timothée Bruel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-photo2-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/timothee-bruel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1607814817,
size: 0.5,
source: 160781,
target: 4817 });
// 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: 157819,
label: 'PROJECT: Longitudinal follow-up of a population cohort in a French city with high SARS-CoV-2 circulation in early 2020 : the COVID-Oise cohort',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/longitudinal-follow-up-of-a-population-cohort-in-a-french-city-with-high-sars-cov-2-circulation-in-early-2020-the-covid-oise-cohort/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624157819,
size: 0.5,
source: 2624,
target: 157819,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 145046) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 157819145046,
size: 0.5,
source: 157819,
target: 145046 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4267) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1578194267,
size: 0.5,
source: 157819,
target: 4267 });
//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: 1578192624,
size: 0.5,
source: 157819,
target: 2624 });
// 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: 157817,
label: 'PROJECT: Quantifying the health impacts of Zika virus infection',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/quantifying-the-health-impacts-of-zika-virus-infection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624157817,
size: 0.5,
source: 2624,
target: 157817,
});
//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: 1578172624,
size: 0.5,
source: 157817,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 67917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15781767917,
size: 0.5,
source: 157817,
target: 67917 });
//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: 138050,
label: 'Bruno Hoen',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=138050',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 157817138050,
size: 0.5,
source: 157817,
target: 138050 });
//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: 4274,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1578174274,
size: 0.5,
source: 157817,
target: 4274 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4263) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1578174263,
size: 0.5,
source: 157817,
target: 4263 });
// 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: 157824,
label: 'PROJECT: ComCor: Study of sociodemographic factors, behaviors and practices associated with SARS-CoV-2 infection',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/comcor-study-of-sociodemographic-factors-behaviors-and-practices-associated-with-sars-cov-2-infection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624157824,
size: 0.5,
source: 2624,
target: 157824,
});
//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: 1578244266,
size: 0.5,
source: 157824,
target: 4266 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 67917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15782467917,
size: 0.5,
source: 157824,
target: 67917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 78192) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15782478192,
size: 0.5,
source: 157824,
target: 78192 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7885) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1578247885,
size: 0.5,
source: 157824,
target: 7885 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 176455) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 157824176455,
size: 0.5,
source: 157824,
target: 176455 });
//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: 1578242624,
size: 0.5,
source: 157824,
target: 2624 });
// 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: 158419,
label: 'PROGRAM_PROJECT: Maladies Infectieuses Emergentes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/05/research_pasteur-enemerging-infectious-diseasesfrmaladies-infectieuses-emergentes-institutpasteur-i038212-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/program_project/emerging-infectious-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624158419,
size: 0.5,
source: 2624,
target: 158419,
});
//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: 4171,
label: 'Caroline Demangel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-caroline-demangel-id-caro2-2018-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/caroline-demangel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1584194171,
size: 0.5,
source: 158419,
target: 4171 });
//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: 1584192624,
size: 0.5,
source: 158419,
target: 2624 });
// 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: 147702,
label: 'NEWS: Suivi de la persistance de la réponse immunitaire contre le SARS-CoV-2 au sein de la cohorte de Crépy-en-Valois (COVID-Oise)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/suivi-de-la-persistance-de-la-reponse-immunitaire-contre-le-sars-cov-2-au-sein-de-la-cohorte-de-crepy-en-valois-covid-oise/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624147702,
size: 0.5,
source: 2624,
target: 147702,
});
//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: 1477022624,
size: 0.5,
source: 147702,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 145046) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 147702145046,
size: 0.5,
source: 147702,
target: 145046 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 81076) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14770281076,
size: 0.5,
source: 147702,
target: 81076 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4267) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1477024267,
size: 0.5,
source: 147702,
target: 4267 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7888) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1477027888,
size: 0.5,
source: 147702,
target: 7888 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4263) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1477024263,
size: 0.5,
source: 147702,
target: 4263 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7878) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1477027878,
size: 0.5,
source: 147702,
target: 7878 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 121855) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 147702121855,
size: 0.5,
source: 147702,
target: 121855 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4920) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1477024920,
size: 0.5,
source: 147702,
target: 4920 });
// 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: 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: 2624143621,
size: 0.5,
source: 2624,
target: 143621,
});
//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: 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
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
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',
page_url: 'https://research.pasteur.fr/fr/member/tamara-giles-vernick/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1436214275,
size: 0.5,
source: 143621,
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: 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: 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
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7885) {
n.size = n.size + 8;
}
});
//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
// 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: 1436214266,
size: 0.5,
source: 143621,
target: 4266 });
//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: 1436212624,
size: 0.5,
source: 143621,
target: 2624 });
// 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: 138623,
label: 'NEWS: Coronavirus : Mobilisation Equipes de l’Institut Pasteur',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/coronavirus-mobilisation-equipes-de-linstitut-pasteur/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624138623,
size: 0.5,
source: 2624,
target: 138623,
});
//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: 1386232624,
size: 0.5,
source: 138623,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4920) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1386234920,
size: 0.5,
source: 138623,
target: 4920 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4508) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1386234508,
size: 0.5,
source: 138623,
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: 4919,
label: 'Vincent Enouf',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_fdf-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/vincent-enouf/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1386234919,
size: 0.5,
source: 138623,
target: 4919 });
//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: 4918,
label: 'Sylvie Behillil',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=4918',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1386234918,
size: 0.5,
source: 138623,
target: 4918 });
//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: 4724,
label: 'Félix Rey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enfelix-a-reyfrfelix-rey-portrait-felixrey-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/felix-rey/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1386234724,
size: 0.5,
source: 138623,
target: 4724 });
//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: 4955,
label: 'Marco Vignuzzi',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=4955',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1386234955,
size: 0.5,
source: 138623,
target: 4955 });
//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: 4107,
label: 'Christophe D’Enfert',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/denfert_0-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/christophe-denfert/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1386234107,
size: 0.5,
source: 138623,
target: 4107 });
//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: 58995,
label: 'Mallory Perrin-Wolff',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-mallory-perrin-wolff-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mallory-perrin-wolff/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 13862358995,
size: 0.5,
source: 138623,
target: 58995 });
// 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: 138437,
label: 'NEWS: Coronavirus de Wuhan',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/coronavirus-de-wuhan/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624138437,
size: 0.5,
source: 2624,
target: 138437,
});
//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: 1384372624,
size: 0.5,
source: 138437,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4918) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1384374918,
size: 0.5,
source: 138437,
target: 4918 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1384374919,
size: 0.5,
source: 138437,
target: 4919 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4920) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1384374920,
size: 0.5,
source: 138437,
target: 4920 });
// 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: 136093,
label: 'NEWS: Mémoires de mastère spécialisé de santé publique Pasteur-Cnam – 18 décembre 2019',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/memoires-de-mastere-specialise-de-sante-publique-pasteur-cnam-18-decembre-2019/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624136093,
size: 0.5,
source: 2624,
target: 136093,
});
//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: 1360932624,
size: 0.5,
source: 136093,
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: 134917,
label: 'NEWS: ZIKA : Indigenous cases for the first time in mainland France',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/zika-indigenous-cases-for-the-first-time-in-mainland-france/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624134917,
size: 0.5,
source: 2624,
target: 134917,
});
//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: 1349172624,
size: 0.5,
source: 134917,
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: 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: 1349177787,
size: 0.5,
source: 134917,
target: 7787 });
// 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: 117041,
label: 'EVENT: Infection & Epidemiology Department : PhD thesis Defense “Reconciling the first epidemiological findings following emerging disease events: examples from Zika and Hepatitis C” with Anna FUNK',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/infection-epidemiology-department-phd-thesis-defense-reconciling-the-first-epidemiological-findings-following-emerging-disease-events-examples-from-zika-and-hepatitis-c-with-anna-funk/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624117041,
size: 0.5,
source: 2624,
target: 117041,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4274) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1170414274,
size: 0.5,
source: 117041,
target: 4274 });
//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: 1170412624,
size: 0.5,
source: 117041,
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: 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: 1170414365,
size: 0.5,
source: 117041,
target: 4365 });
// 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: 104691,
label: 'EVENT: “Genome-wide association study on Viral hepatitis C and hepatocellular carcinoma” with Prof. Yasuhito Tanaka – Infection & Epidemiology department',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/genome-wide-association-study-viral-hepatitis-c-hepatocellular-carcinoma-prof-yasuhito-tanaka-infection-epidemiology-department/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2624104691,
size: 0.5,
source: 2624,
target: 104691,
});
//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: 1046914277,
size: 0.5,
source: 104691,
target: 4277 });
//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: 1046912624,
size: 0.5,
source: 104691,
target: 2624 });
// 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: 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: 262477916,
size: 0.5,
source: 2624,
target: 77916,
});
//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: 779164977,
size: 0.5,
source: 77916,
target: 4977 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7063) {
n.size = n.size + 8;
}
});
//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
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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: 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
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4028) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 779164028,
size: 0.5,
source: 77916,
target: 4028 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4365) {
n.size = n.size + 8;
}
});
//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 * 27 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 27 * Math.PI / N) * 10;
g.nodes.push({
id: 75229,
label: 'NEWS: Understanding Zika Virus with a MOOC !',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/08/research.pasteur.fr_visuel-zika-prop_fb-150x150.png',
page_url: 'https://research.pasteur.fr/fr/news/understanding-zika-virus-with-a-mooc/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262475229,
size: 0.5,
source: 2624,
target: 75229,
});
//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: 26915,
label: 'Jennifer Fatni',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/05/research.pasteur.fr_13112991_1125720684116133_546498389102343323_o-1-e1463735670878-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jennifer-fatni/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 7522926915,
size: 0.5,
source: 75229,
target: 26915 });
//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: 4268,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 752294268,
size: 0.5,
source: 75229,
target: 4268 });
//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: 752292624,
size: 0.5,
source: 75229,
target: 2624 });
// 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: 67161,
label: 'NEWS: Open registrations for the 3rd edition of the Cnam MOOC « Concepts and methods in Epidemiology ».',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/03/research.pasteur.fr_mooc-af-150x150.png',
page_url: 'https://research.pasteur.fr/fr/news/open-registrations-for-the-3rd-edition-of-the-cnam-mooc-concepts-and-methods-in-epidemiology/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262467161,
size: 0.5,
source: 2624,
target: 67161,
});
//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: 671612624,
size: 0.5,
source: 67161,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 26915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6716126915,
size: 0.5,
source: 67161,
target: 26915 });
// 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: 67148,
label: 'NEWS: Pasteur/Cnam School of Public Health : open registrations for 2016-2017 open until 30 June 2016',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/03/research.pasteur.fr_spe-150x150.png',
page_url: 'https://research.pasteur.fr/fr/news/pasteurcnam-school-of-public-health-open-registrations-for-2016-2017-open-until-30-june-2016/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262467148,
size: 0.5,
source: 2624,
target: 67148,
});
//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: 671482624,
size: 0.5,
source: 67148,
target: 2624 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 26915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6714826915,
size: 0.5,
source: 67148,
target: 26915 });
// 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: 35021,
label: 'PROJECT: ANRS 12332 HepNile: Evaluation of “Real Life” Efficacy and Safety of antiviral treatments including new Direct Antiviral Agents among patients treated for Chronic Hepatitis C at Egyptian National Treatment Centres',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/anrs-12332-hepnile-evaluation-of-real-life-efficacy-and-safety-of-antiviral-treatments-including-new-direct-antiviral-agents-among-patients-treated-for-chronic-hepatitis-c-at-egyptian-national-tr/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262435021,
size: 0.5,
source: 2624,
target: 35021,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4274) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 350214274,
size: 0.5,
source: 35021,
target: 4274 });
//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: 350214277,
size: 0.5,
source: 35021,
target: 4277 });
//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: 350214266,
size: 0.5,
source: 35021,
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: 63491,
label: 'Larissa Vernier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/03/research.pasteur.fr_dsc1831-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/larissa-vernier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 3502163491,
size: 0.5,
source: 35021,
target: 63491 });
//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: 350212624,
size: 0.5,
source: 35021,
target: 2624 });
// 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: 31431,
label: 'PROGRAM_PROJECT: The Healthy Human Global Project',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_i01784-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/program_project/the-healthy-human-global-project/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262431431,
size: 0.5,
source: 2624,
target: 31431,
});
//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: 7844,
label: 'Darragh Duffy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-duffy_photo-1-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/darragh-duffy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314317844,
size: 0.5,
source: 31431,
target: 7844 });
//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: 4180,
label: 'James Di Santo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/05/research.pasteur.fr_photojd-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/james-di-santo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314314180,
size: 0.5,
source: 31431,
target: 4180 });
//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: 4715,
label: 'Lluis Quintana-Murci',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_quintana_photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/lluis-quintana-murci/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314314715,
size: 0.5,
source: 31431,
target: 4715 });
//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: 314312624,
size: 0.5,
source: 31431,
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: 7884,
label: 'Cécile Artaud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-cecile-artaud-dsc7491-e1512645021182-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cecile-artaud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314317884,
size: 0.5,
source: 31431,
target: 7884 });
//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: 8541,
label: 'Fabien Taieb',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_taieb-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/fabien-taieb/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314318541,
size: 0.5,
source: 31431,
target: 8541 });
//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: 4714,
label: 'Etienne Patin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-etienne-patin-patin-portrait-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/etienne-patin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314314714,
size: 0.5,
source: 31431,
target: 4714 });
//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: 55572,
label: 'Aissatou Touré',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_aissatou-toure-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/aissatou-toure/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 3143155572,
size: 0.5,
source: 31431,
target: 55572 });
//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: 7837,
label: 'Milena Hasan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_43068-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/milena-hasan/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 314317837,
size: 0.5,
source: 31431,
target: 7837 });
// 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: 14686,
label: 'PROGRAM_PROJECT: Labex IBEID – Integrative Biology of Emerging Infectious Diseases',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_labex-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/program_project/integrative-biology-of-emerging-infectious-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262414686,
size: 0.5,
source: 2624,
target: 14686,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 203306) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14686203306,
size: 0.5,
source: 14686,
target: 203306 });
//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: 3949,
label: 'Philippe Bastin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_philippe_bastin-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-bastin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 146863949,
size: 0.5,
source: 14686,
target: 3949 });
//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: 4775,
label: 'Carla Saleh',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha68-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/carla-saleh/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 146864775,
size: 0.5,
source: 14686,
target: 4775 });
// 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: 19844,
label: 'PROJECT: HCV research in Egypt',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/hcv-research-in-egypt/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262419844,
size: 0.5,
source: 2624,
target: 19844,
});
//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: 198442624,
size: 0.5,
source: 19844,
target: 2624 });
// 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: 19774,
label: 'PROJECT: Epidemiology of Buruli ulcer in Cameroon',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/epidemiology-of-buruli-ulcer-in-cameroon/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262419774,
size: 0.5,
source: 2624,
target: 19774,
});
//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: 197742624,
size: 0.5,
source: 19774,
target: 2624 });
// 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: 19772,
label: 'PROJECT: Acute Bacterial Meningitis Project: Investigation of the spatio-temporal dynamics of meningitis epidemics in Niger and the associated ecologic risk factors',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/acute-bacterial-meningitis-project-investigation-of-the-spatio-temporal-dynamics-of-meningitis-epidemics-in-niger-and-the-associated-ecologic-risk-factors/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 262419772,
size: 0.5,
source: 2624,
target: 19772,
});
//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: 197722624,
size: 0.5,
source: 19772,
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: 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: 197728543,
size: 0.5,
source: 19772,
target: 8543 });
// 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: 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: 26246229,
size: 0.5,
source: 2624,
target: 6229,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4263) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62294263,
size: 0.5,
source: 6229,
target: 4263 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8543) {
n.size = n.size + 8;
}
});
//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
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4267) {
n.size = n.size + 8;
}
});
//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
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 145046) {
n.size = n.size + 8;
}
});
//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
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 233386) {
n.size = n.size + 8;
}
});
//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) {
});