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: 3806,
label: 'Pierre-Marie Lledo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-pierre-marie-lledo-lledo-pierre-marie-6653-copie-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var biggest_node_size = 0;
N=52
// 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: 215261,
label: 'EVENT: Seminar Dept Neuroscience | Michal Schwartz “Brain-immune lymphoid organ communication dysfunctions in Alzheimer’s disease, but is amenable to restoration by immunotherapy”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/seminar-dept-neuroscience-michal-schwartz-brain-immune-lymphoid-organ-communication-dysfunctions-in-alzheimers-disease-but-is-amenable-to-restoration-by-immunotherapy/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806215261,
size: 0.5,
source: 3806,
target: 215261,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2152613806,
size: 0.5,
source: 215261,
target: 3806 });
// 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: 208296,
label: 'PROJECT: Translational study of the neural circuits underlying the negative emotional biases of depressive disorders and their response to ketamine',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/translational-study-of-the-neural-circuits-underlying-the-negative-emotional-biases-of-depressive-disorders-and-their-response-to-ketamine/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806208296,
size: 0.5,
source: 3806,
target: 208296,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2082963806,
size: 0.5,
source: 208296,
target: 3806 });
//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: 99390,
label: 'Mathilde Bigot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-afterlightimage-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mathilde-bigot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20829699390,
size: 0.5,
source: 208296,
target: 99390 });
//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: 197745,
label: 'Claire-Hélène de Badts',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/claire-helene-de-badts/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 208296197745,
size: 0.5,
source: 208296,
target: 197745 });
//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: 4488,
label: 'Mariana Alonso',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_foto-website-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mariana-alonso/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2082964488,
size: 0.5,
source: 208296,
target: 4488 });
//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: 37097,
label: 'Chantal Henry',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_capture-d’écran-2015-09-18-à-18.07.01-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/chantal-henry/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20829637097,
size: 0.5,
source: 208296,
target: 37097 });
// 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: 203330,
label: 'NEWS: New publication – The parabrachial nucleus elicits a vigorous corticosterone feedback response to the pro-inflammatory cytokine IL-1beta',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-the-parabrachial-nucleus-elicits-a-vigorous-corticosterone-feedback-response-to-the-pro-inflammatory-cytokine-il-1beta/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806203330,
size: 0.5,
source: 3806,
target: 203330,
});
//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: 83032,
label: 'Ferdinand Jagot-Brunner',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=83032',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20333083032,
size: 0.5,
source: 203330,
target: 83032 });
//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: 148251,
label: 'Ana Choi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/10/research_pasteur-choi-small-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/ana-choi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 203330148251,
size: 0.5,
source: 203330,
target: 148251 });
//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: 79465,
label: 'Maud Pascal',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_maud-12116-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/maud-pascal/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20333079465,
size: 0.5,
source: 203330,
target: 79465 });
//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: 118564,
label: 'Lena Bourhy',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=118564',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 203330118564,
size: 0.5,
source: 203330,
target: 118564 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2033303806,
size: 0.5,
source: 203330,
target: 3806 });
//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: 4490,
label: 'Gabriel Lepousez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_gabriel-lepousez1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/gabriel-lepousez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2033304490,
size: 0.5,
source: 203330,
target: 4490 });
//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: 4225,
label: 'Gérard Eberl',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_eberl-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/gerard-eberl/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2033304225,
size: 0.5,
source: 203330,
target: 4225 });
// 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: 193985,
label: 'PROGRAM_PROJECT: Array',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/program_project/microbiotalogy/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806193985,
size: 0.5,
source: 3806,
target: 193985,
});
//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/en/member/mallory-perrin-wolff/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19398558995,
size: 0.5,
source: 193985,
target: 58995 });
//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: 187008,
label: 'Elodie Dandelot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/09/research_pasteur-elodie-dandelot-1516808045836-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/elodie-dandelot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 193985187008,
size: 0.5,
source: 193985,
target: 187008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1939854225,
size: 0.5,
source: 193985,
target: 4225 });
//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: 102850,
label: 'Marion Berard',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/marion-berard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 193985102850,
size: 0.5,
source: 193985,
target: 102850 });
//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: 4282,
label: 'Laurent Debarbieux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ld-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laurent-debarbieux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1939854282,
size: 0.5,
source: 193985,
target: 4282 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4094,
label: 'Javier Pizarro-Cerda',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-javier-pizarro-cerda-javier-pizarro-1300-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/javier-pizarro-cerda/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1939854094,
size: 0.5,
source: 193985,
target: 4094 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2669,
label: 'Sean Kennedy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Kennedy-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sean-kennedy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1939852669,
size: 0.5,
source: 193985,
target: 2669 });
// 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: 197801,
label: 'NEWS: Un facteur sanguin impliqué dans la dépression',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/un-facteur-sanguin-implique-dans-la-depression/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806197801,
size: 0.5,
source: 3806,
target: 197801,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1978013806,
size: 0.5,
source: 197801,
target: 3806 });
//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: 60986,
label: 'Lida Katsimpardi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-dsc1996-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lida-katsimpardi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19780160986,
size: 0.5,
source: 197801,
target: 60986 });
//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: 982,
label: 'Carine Moigneu',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Moigneu1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/carine-moigneu/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 197801982,
size: 0.5,
source: 197801,
target: 982 });
//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: 179550,
label: 'Soumia Abdellaoui',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/04/research_pasteur-soumia-abdellaoui-screenshot-2022-04-19-22-59-17-44-965bbf4d18d205f782c6b8409c5773a42-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/soumia-abdellaoui/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 197801179550,
size: 0.5,
source: 197801,
target: 179550 });
//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: 108969,
label: 'Mariana Ramos-Brossier',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/mariana-ramos-brossier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 197801108969,
size: 0.5,
source: 197801,
target: 108969 });
//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: 71362,
label: 'Aurelie Chiche',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/07/research_pasteur-aurelie-small-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/aurelie-chiche/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19780171362,
size: 0.5,
source: 197801,
target: 71362 });
// 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: 193802,
label: 'NEWS: Identification d’une nouvelle voie nerveuse essentielle pour affiner la perception des odeurs',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/identification-dune-nouvelle-voie-nerveuse-essentielle-pour-affiner-la-perception-des-odeurs/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806193802,
size: 0.5,
source: 3806,
target: 193802,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1938023806,
size: 0.5,
source: 193802,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1938024490,
size: 0.5,
source: 193802,
target: 4490 });
//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: 4487,
label: 'Antoine Nissant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_img_6385-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/antoine-nissant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1938024487,
size: 0.5,
source: 193802,
target: 4487 });
//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: 138135,
label: 'Enzo Peroni',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/04/research_pasteur-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-enzo-peroni/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 193802138135,
size: 0.5,
source: 193802,
target: 138135 });
// 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: 107585,
label: 'PATENT: Olfactory means for the diagnosis of neurological complications of nervous system infection',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/patent/olfactory-means-for-the-diagnosis-of-neurological-complications-of-nervous-system-infection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806107585,
size: 0.5,
source: 3806,
target: 107585,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1075853806,
size: 0.5,
source: 107585,
target: 3806 });
//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: 4489,
label: 'Françoise Lazarini-Serandour',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_francoise-lazarini-serandour-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francoise-lazarini-serandour/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1075854489,
size: 0.5,
source: 107585,
target: 4489 });
// 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: 186269,
label: 'PROJECT: SMELLPARK. Role of nasal dysbiosis in Parkinson disease',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/role-of-nasal-dysbiosis-in-parkinson-disease/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806186269,
size: 0.5,
source: 3806,
target: 186269,
});
//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: 156466,
label: 'Mathilde Favrat',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/mathilde-favrat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 186269156466,
size: 0.5,
source: 186269,
target: 156466 });
//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: 4496,
label: 'Sébastien Wagner',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/sebastien-wagner/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1862694496,
size: 0.5,
source: 186269,
target: 4496 });
//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/en/member/olivia-cheny/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18626978192,
size: 0.5,
source: 186269,
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: 109847,
label: 'Tan Phuc Buivan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/04/research_pasteur-207372_10150131394389390_545773_n-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-tan-phuc-buivan/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 186269109847,
size: 0.5,
source: 186269,
target: 109847 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 102850) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 186269102850,
size: 0.5,
source: 186269,
target: 102850 });
//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/en/member/fabien-taieb/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1862698541,
size: 0.5,
source: 186269,
target: 8541 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1862694489,
size: 0.5,
source: 186269,
target: 4489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1862693806,
size: 0.5,
source: 186269,
target: 3806 });
//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/en/member/valerie-caro/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1862694503,
size: 0.5,
source: 186269,
target: 4503 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 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/en/member/yoann-madec/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1862694263,
size: 0.5,
source: 186269,
target: 4263 });
// 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: 183163,
label: 'NEWS: New publication – The neuropeptide VIP potentiates intestinal innate type 2 and type 3 immunity in response to feeding',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-the-neuropeptide-vip-potentiates-intestinal-innate-type-2-and-type-3-immunity-in-response-to-feeding/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806183163,
size: 0.5,
source: 3806,
target: 183163,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79465) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18316379465,
size: 0.5,
source: 183163,
target: 79465 });
//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: 156464,
label: 'Alice Dupin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/03/research_pasteur-alice-dupin-247345641-382313933681837-173136756349216491-n-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/alice-dupin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 183163156464,
size: 0.5,
source: 183163,
target: 156464 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83032) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18316383032,
size: 0.5,
source: 183163,
target: 83032 });
//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: 4492,
label: 'Kurt Sailor',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_kurt-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/kurt-sailor/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1831634492,
size: 0.5,
source: 183163,
target: 4492 });
//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: 8699,
label: 'Sophie Dulauroy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_dulauroy-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sophie-dulauroy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1831638699,
size: 0.5,
source: 183163,
target: 8699 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 982) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183163982,
size: 0.5,
source: 183163,
target: 982 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1831634490,
size: 0.5,
source: 183163,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1831633806,
size: 0.5,
source: 183163,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1831634225,
size: 0.5,
source: 183163,
target: 4225 });
// 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: 180294,
label: 'EVENT: Nicis 2022 – June 30 – July 1 – Online',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/nicis-2022-june-30-july-1-online/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806180294,
size: 0.5,
source: 3806,
target: 180294,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1802943806,
size: 0.5,
source: 180294,
target: 3806 });
//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: 8676,
label: 'Tarek Sharshar',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_img_20151120_154248-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/tarek-sharshar/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1802948676,
size: 0.5,
source: 180294,
target: 8676 });
// 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: 180124,
label: 'NEWS: New publication – Silencing of amygdala circuits during sepsis prevents the development of anxiety-related behaviours',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-silencing-of-amygdala-circuits-during-sepsis-prevents-the-development-of-anxiety-related-behaviours/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806180124,
size: 0.5,
source: 3806,
target: 180124,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1801244490,
size: 0.5,
source: 180124,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1801243806,
size: 0.5,
source: 180124,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8676) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1801248676,
size: 0.5,
source: 180124,
target: 8676 });
//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: 6382,
label: 'Fabrice Chretien',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_sans-titre1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fabrice-chretien/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1801246382,
size: 0.5,
source: 180124,
target: 6382 });
// 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: 179871,
label: 'NEWS: New publication – Bacterial sensing via neuronal Nod2 regulates appetite and body temperature',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-bacterial-sensing-via-neuronal-nod2-regulates-appetite-and-body-temperature/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806179871,
size: 0.5,
source: 3806,
target: 179871,
});
//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: 79478,
label: 'Ilana Gabanyi',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=79478',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17987179478,
size: 0.5,
source: 179871,
target: 79478 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1798714490,
size: 0.5,
source: 179871,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4487) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1798714487,
size: 0.5,
source: 179871,
target: 4487 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4496) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1798714496,
size: 0.5,
source: 179871,
target: 4496 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 982) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 179871982,
size: 0.5,
source: 179871,
target: 982 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8699) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1798718699,
size: 0.5,
source: 179871,
target: 8699 });
//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: 8697,
label: 'Bernadette Polomack',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_bernadette-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bernadette-polomack/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1798718697,
size: 0.5,
source: 179871,
target: 8697 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1798714225,
size: 0.5,
source: 179871,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1798713806,
size: 0.5,
source: 179871,
target: 3806 });
// 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: 179594,
label: 'NEWS: Gut microbes regulate appetite and body temperature',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/gut-microbes-regulate-appetite-and-body-temperature/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806179594,
size: 0.5,
source: 3806,
target: 179594,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79478) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17959479478,
size: 0.5,
source: 179594,
target: 79478 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4496) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1795944496,
size: 0.5,
source: 179594,
target: 4496 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1795944490,
size: 0.5,
source: 179594,
target: 4490 });
//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: 4355,
label: 'Ivo Gomperts Boneca',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-ivo-gomperts-boneca-p9090188-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/ivo-gomperts-boneca/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1795944355,
size: 0.5,
source: 179594,
target: 4355 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1795944225,
size: 0.5,
source: 179594,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1795943806,
size: 0.5,
source: 179594,
target: 3806 });
//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: 4360,
label: 'Richard Wheeler',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_photo-for-lab-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/richard-wheeler/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1795944360,
size: 0.5,
source: 179594,
target: 4360 });
// 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: 142192,
label: 'PROJECT: CoNCEPT – Clinical NeurosCiencE & PsychiaTry',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/concept-clinical-neuroscience-psychiatry/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806142192,
size: 0.5,
source: 3806,
target: 142192,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1421924225,
size: 0.5,
source: 142192,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1421923806,
size: 0.5,
source: 142192,
target: 3806 });
//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: 109389,
label: 'Marion Rincel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-marion-09068-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marion-rincel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 142192109389,
size: 0.5,
source: 142192,
target: 109389 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 60986) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14219260986,
size: 0.5,
source: 142192,
target: 60986 });
//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: 4229,
label: 'Lucie Peduto',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_lp-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lucie-peduto/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1421924229,
size: 0.5,
source: 142192,
target: 4229 });
// 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: 177417,
label: 'NEWS: Publication: How brain immune cells are replaced after bone marrow transplantation',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/03/research_pasteur-publication-how-brain-immune-cells-are-replaced-after-bone-marrow-transplantation-cover-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/news/publication-how-brain-immune-cells-are-replaced-after-bone-marrow-transplantation/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806177417,
size: 0.5,
source: 3806,
target: 177417,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1774174492,
size: 0.5,
source: 177417,
target: 4492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1774173806,
size: 0.5,
source: 177417,
target: 3806 });
//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: 111969,
label: 'Corentin Guérinot',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=111969',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 177417111969,
size: 0.5,
source: 177417,
target: 111969 });
//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: 50133,
label: 'Jean-Baptiste Masson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-jbm_photo_serieux_low_res-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-baptiste-masson/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17741750133,
size: 0.5,
source: 177417,
target: 50133 });
//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: 85997,
label: 'Christian L. Vestergaard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/04/research.pasteur.fr_photopasteur-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-christian-vestergaard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17741785997,
size: 0.5,
source: 177417,
target: 85997 });
// 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: 177204,
label: 'PROJECT: The effect of bone marrow transplantation on brain microglia',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/the-effect-of-bone-marrow-transplantation-on-brain-microglia/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806177204,
size: 0.5,
source: 3806,
target: 177204,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1772044492,
size: 0.5,
source: 177204,
target: 4492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 111969) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 177204111969,
size: 0.5,
source: 177204,
target: 111969 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 50133) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17720450133,
size: 0.5,
source: 177204,
target: 50133 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 85997) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17720485997,
size: 0.5,
source: 177204,
target: 85997 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1772043806,
size: 0.5,
source: 177204,
target: 3806 });
// 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: 169775,
label: 'NEWS: PASTEURDON 2021 for Neuroscience at Institut Pasteur',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/pasteurdon-2021-for-neuroscience-at-institut-pasteur/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806169775,
size: 0.5,
source: 3806,
target: 169775,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1697753806,
size: 0.5,
source: 169775,
target: 3806 });
// 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: 169578,
label: 'EVENT: Special Seminar – From recreational use to compulsion: the neural substrate for the transition to addiction',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/special-seminar-from-recreational-use-to-compulsion-the-neural-substrate-for-the-transition-to-addiction/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806169578,
size: 0.5,
source: 3806,
target: 169578,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1695783806,
size: 0.5,
source: 169578,
target: 3806 });
// 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: 169559,
label: 'EVENT: PhD Thesis defence: The brain circuits controlling the immunosuppressive response to the inflammatory cytokine IL-1beta',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/phd-thesis-defence-the-brain-circuits-controlling-the-immunosuppressive-response-to-the-inflammatory-cytokine-il-1beta/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806169559,
size: 0.5,
source: 3806,
target: 169559,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1695593806,
size: 0.5,
source: 169559,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1695594225,
size: 0.5,
source: 169559,
target: 4225 });
// 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: 168171,
label: 'PROJECT: (SOCSET) Studying Olfactory and Cognitive Symptoms Evolution in long-COVID Patients',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/socset-studying-olfactory-and-cognitive-symptoms-evolution-in-long-covid-patients/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806168171,
size: 0.5,
source: 3806,
target: 168171,
});
//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: 118549,
label: 'Nathalie Clément',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/12/research_pasteur-nathalie-clement-clement-nathalie-9576-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-nathalie-clement/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 168171118549,
size: 0.5,
source: 168171,
target: 118549 });
//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: 16817178192,
size: 0.5,
source: 168171,
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: 7762,
label: 'Stevenn Volant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_stevennvolant-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/stevenn-volant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1681717762,
size: 0.5,
source: 168171,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4496) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1681714496,
size: 0.5,
source: 168171,
target: 4496 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1681714489,
size: 0.5,
source: 168171,
target: 4489 });
//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: 156468,
label: 'Erwan Poivet',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/erwan-poivet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 168171156468,
size: 0.5,
source: 168171,
target: 156468 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1681713806,
size: 0.5,
source: 168171,
target: 3806 });
// 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: 164006,
label: 'NEWS: Ivermectin alleviates COVID-19 symptoms in an animal model',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/ivermectin-alleviates-covid-19-symptoms-in-an-animal-model/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806164006,
size: 0.5,
source: 3806,
target: 164006,
});
//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: 42508,
label: 'Guilherme Dias de Melo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research_pasteur-guilherme-dias-de-melo-photo-pour-profil-prix-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/guilherme-dias-de-melo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16400642508,
size: 0.5,
source: 164006,
target: 42508 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1640064489,
size: 0.5,
source: 164006,
target: 4489 });
//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: 3981,
label: 'Florence Larrous',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-photo-flo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florence-larrous/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640063981,
size: 0.5,
source: 164006,
target: 3981 });
//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: 120614,
label: 'Lena Feige',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-lena-img_20190106_1013061-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lena-feige/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 164006120614,
size: 0.5,
source: 164006,
target: 120614 });
//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: 81431,
label: 'Etienne Kornobis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-ekornobis-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/etienne-kornobis/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16400681431,
size: 0.5,
source: 164006,
target: 81431 });
//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: 132723,
label: 'Sylvain Levallois',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-sylvain-levallois-photo-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/sylvain-levallois/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 164006132723,
size: 0.5,
source: 164006,
target: 132723 });
//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: 4137,
label: 'Agnès Marchio',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_sans-titre2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/agnes-marchio/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640064137,
size: 0.5,
source: 164006,
target: 4137 });
//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: 7783,
label: 'Lauriane Kergoat',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/07/research_pasteur-photo-site-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lauriane-kergoat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640067783,
size: 0.5,
source: 164006,
target: 7783 });
//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: 4071,
label: 'David Hardy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-photo-hardy-david-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/david-hardy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640064071,
size: 0.5,
source: 164006,
target: 4071 });
//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: 63340,
label: 'Thomas Cokelaer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-portrait-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/thomas-cokelaer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16400663340,
size: 0.5,
source: 164006,
target: 63340 });
//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/en/member/pascal-pineau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640064133,
size: 0.5,
source: 164006,
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: 4470,
label: 'Marc Lecuit',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-sans-titre-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marc-lecuit/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640064470,
size: 0.5,
source: 164006,
target: 4470 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1640063806,
size: 0.5,
source: 164006,
target: 3806 });
//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: 74512,
label: 'Jean-Pierre Changeux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/07/research.pasteur.fr_jpchangeux-small-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-pierre-changeux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16400674512,
size: 0.5,
source: 164006,
target: 74512 });
//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: 3977,
label: 'Hervé Bourhy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig50-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/herve-bourhy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1640063977,
size: 0.5,
source: 164006,
target: 3977 });
// 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: 161750,
label: 'NEWS: COVID-19: discovery of the mechanisms of short- and long-term anosmia',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/covid-19-discovery-of-the-mechanisms-of-short-and-long-term-anosmia/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806161750,
size: 0.5,
source: 3806,
target: 161750,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 42508) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 16175042508,
size: 0.5,
source: 161750,
target: 42508 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617504489,
size: 0.5,
source: 161750,
target: 4489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 132723) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 161750132723,
size: 0.5,
source: 161750,
target: 132723 });
//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: 126347,
label: 'Flora Donati',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/flora-donati/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 161750126347,
size: 0.5,
source: 161750,
target: 126347 });
//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: 4674,
label: 'Vincent Michel',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4674',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1617504674,
size: 0.5,
source: 161750,
target: 4674 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617503981,
size: 0.5,
source: 161750,
target: 3981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4496) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617504496,
size: 0.5,
source: 161750,
target: 4496 });
//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: 4485,
label: 'Gilles Gheusi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ggheusi-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/gilles-gheusi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1617504485,
size: 0.5,
source: 161750,
target: 4485 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7783) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617507783,
size: 0.5,
source: 161750,
target: 7783 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 81431) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 16175081431,
size: 0.5,
source: 161750,
target: 81431 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63340) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 16175063340,
size: 0.5,
source: 161750,
target: 63340 });
//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: 1617504263,
size: 0.5,
source: 161750,
target: 4263 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617503806,
size: 0.5,
source: 161750,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4470) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617504470,
size: 0.5,
source: 161750,
target: 4470 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3977) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1617503977,
size: 0.5,
source: 161750,
target: 3977 });
// 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: 158469,
label: 'PROGRAM_PROJECT: Brain connectivity and neurodegenerative diseases',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/05/research_pasteur-enbrain-connectivity-and-neurodegenerative-diseases-frmaladies-de-la-connectivite-cerebrale-et-maladies-neurodenegeratives-institutpasteur-fotolia-89243995-1400px-axe-neuro-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/program_project/brain-connectivity-and-neurodegenerative-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806158469,
size: 0.5,
source: 3806,
target: 158469,
});
//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: 4987,
label: 'Chiara Zurzolo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/11/research_pasteur-chiara-zurzolo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/chiara-zurzolo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1584694987,
size: 0.5,
source: 158469,
target: 4987 });
//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: 3801,
label: 'Uwe Maskos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_um_1-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/uwe-maskos/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1584693801,
size: 0.5,
source: 158469,
target: 3801 });
//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: 64150,
label: 'Laure Bally-Cuif',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/04/research.pasteur.fr_laure_bally-cuiff-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/laure-bally-cuif/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 15846964150,
size: 0.5,
source: 158469,
target: 64150 });
//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/en/member/thomas-bourgeron/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1584693770,
size: 0.5,
source: 158469,
target: 3770 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1584694225,
size: 0.5,
source: 158469,
target: 4225 });
//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: 94979,
label: 'Florent Haiss',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-d41d84dda37815ca0f_l_c08c0-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florent-haiss/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 15846994979,
size: 0.5,
source: 158469,
target: 94979 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1584693806,
size: 0.5,
source: 158469,
target: 3806 });
//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: 4664,
label: 'Nicolas Michalski',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/nicolas-michalski/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1584694664,
size: 0.5,
source: 158469,
target: 4664 });
// 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: 150476,
label: 'EVENT: Neuroscience Work In Progress “Microglia loss of regenerative capacity after hematopoietic stem cell transplantation drives peripheral macrophage engraftment of the brain”, Kurt Sailor',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/neuroscience-work-in-progress-microglia-loss-of-regenerative-capacity-after-hematopoietic-stem-cell-transplantation-drives-peripheral-macrophage-engraftment-of-the-brain/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806150476,
size: 0.5,
source: 3806,
target: 150476,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1504763806,
size: 0.5,
source: 150476,
target: 3806 });
// 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: 145255,
label: 'NEWS: Gut microbiota plays a role in brain function and mood regulation',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/gut-microbiota-plays-a-role-in-brain-function-and-mood-regulation/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806145255,
size: 0.5,
source: 3806,
target: 145255,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1452553806,
size: 0.5,
source: 145255,
target: 3806 });
//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: 4172,
label: 'Laure Guenin-Mace',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/04/research.pasteur.fr_photo-laure-pasteur-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laure-guenin-mace/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1452554172,
size: 0.5,
source: 145255,
target: 4172 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79465) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14525579465,
size: 0.5,
source: 145255,
target: 79465 });
//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: 60900,
label: 'Thomas Laval',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=60900',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 14525560900,
size: 0.5,
source: 145255,
target: 60900 });
//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: 81551,
label: 'Aline Rifflet',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/aline-rifflet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 14525581551,
size: 0.5,
source: 145255,
target: 81551 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4355) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1452554355,
size: 0.5,
source: 145255,
target: 4355 });
//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/en/member/caroline-demangel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1452554171,
size: 0.5,
source: 145255,
target: 4171 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1452554490,
size: 0.5,
source: 145255,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1452554225,
size: 0.5,
source: 145255,
target: 4225 });
// 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: 140352,
label: 'PROJECT: Toi Même: a smartphone application for measuring bipolar illness activity',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-img_4572-150x150.png',
page_url: 'https://research.pasteur.fr/en/project/toi-meme-a-smartphone-application-for-measuring-bipolar-illness-activity/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806140352,
size: 0.5,
source: 3806,
target: 140352,
});
//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/en/member/stephane-fournier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 140352111677,
size: 0.5,
source: 140352,
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: 49382,
label: 'Guillaume Poulériguen',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_gpouleri-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/guillaume-pouleriguen/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 14035249382,
size: 0.5,
source: 140352,
target: 49382 });
//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: 64981,
label: 'Aroldo Ayub Dargél',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=64981',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 14035264981,
size: 0.5,
source: 140352,
target: 64981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1403523806,
size: 0.5,
source: 140352,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37097) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14035237097,
size: 0.5,
source: 140352,
target: 37097 });
// 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: 121847,
label: 'TEAM: UMR3571 – Genes, Synapses and Cognition',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/team/genes-synapses-and-cognition/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 3806121847,
size: 0.5,
source: 3806,
target: 121847,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1218473806,
size: 0.5,
source: 121847,
target: 3806 });
// 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: 95554,
label: 'EVENT: Prof. Clifford WOOLF – “Peripheral neuro-immune interactions that amplify or suppress inflammation”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/prof-clifford-woolf-peripheral-neuro-immune-interactions-that-amplify-or-suppress-inflammation/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380695554,
size: 0.5,
source: 3806,
target: 95554,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 955544225,
size: 0.5,
source: 95554,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 955543806,
size: 0.5,
source: 95554,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79465) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 9555479465,
size: 0.5,
source: 95554,
target: 79465 });
// 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: 91067,
label: 'NEWS: Retraite Départementale du 23 & 24 mai 2017 au Domaine de Fremigny',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-img_0747-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/news/retraite-departementale-du-23-24-mai-2017-au-domaine-de-fremigny/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380691067,
size: 0.5,
source: 3806,
target: 91067,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 910673806,
size: 0.5,
source: 91067,
target: 3806 });
// 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: 89352,
label: 'EVENT: “Synapse identity: focus on complement-related proteins” – Pr Fekrije Selimi',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/synapse-identity-focus-on-complement-related-proteins-pr-selimi-fekrije/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380689352,
size: 0.5,
source: 3806,
target: 89352,
});
//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: 2489,
label: 'David DiGregorio',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/david-protrait-2011-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/david-digregorio/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 893522489,
size: 0.5,
source: 89352,
target: 2489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 893523806,
size: 0.5,
source: 89352,
target: 3806 });
//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: 86249,
label: 'Anaïs Victoire',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research_pasteur-anais-victoire-photo-didentite-2024-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anais-victoire/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8935286249,
size: 0.5,
source: 89352,
target: 86249 });
// 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: 87827,
label: 'EVENT: “Molecular and biological drivers of pathological alpha-synuclein propagation and spread” – Kelvin Luk',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/molecular-and-biological-drivers-of-pathological-alpha-synuclein-propagation-and-spread-kelvin-luk/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380687827,
size: 0.5,
source: 3806,
target: 87827,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4987) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 878274987,
size: 0.5,
source: 87827,
target: 4987 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 878273806,
size: 0.5,
source: 87827,
target: 3806 });
// 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: 85630,
label: 'PROGRAM_PROJECT: Ageing & Longevity',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/program_project/ageing-longevity/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380685630,
size: 0.5,
source: 3806,
target: 85630,
});
//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/en/member/clementine-schilte/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 856306816,
size: 0.5,
source: 85630,
target: 6816 });
//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: 4873,
label: 'Miria Ricchetti',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/05/research.pasteur.fr_miria-ricchetti-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/miria-ricchetti/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 856304873,
size: 0.5,
source: 85630,
target: 4873 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 60986) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8563060986,
size: 0.5,
source: 85630,
target: 60986 });
// 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: 76237,
label: 'NEWS: New publication in Neuron: “Persistent Structural Plasticity Optimizes Sensory Information Processing in the Olfactory Bulb.”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-in-neuron/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380676237,
size: 0.5,
source: 3806,
target: 76237,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 762374492,
size: 0.5,
source: 76237,
target: 4492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 762373806,
size: 0.5,
source: 76237,
target: 3806 });
//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: 65263,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 7623765263,
size: 0.5,
source: 76237,
target: 65263 });
//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: 4493,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 762374493,
size: 0.5,
source: 76237,
target: 4493 });
// 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: 20929,
label: 'PROJECT: Adult neurogenesis and brain plasticity',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_a-model-system-to-study-adult-neurogenesis1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/a-model-system-to-study-adult-neurogenesis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380620929,
size: 0.5,
source: 3806,
target: 20929,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294225,
size: 0.5,
source: 20929,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4355) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294355,
size: 0.5,
source: 20929,
target: 4355 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4987) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294987,
size: 0.5,
source: 20929,
target: 4987 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6382) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209296382,
size: 0.5,
source: 20929,
target: 6382 });
//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: 3768,
label: 'Fabrice de Chaumont',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_fabrice-de-chaumont-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fabrice-de-chaumont/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 209293768,
size: 0.5,
source: 20929,
target: 3768 });
//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: 6371,
label: 'Pauline Speder',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_dsc5160_2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/pauline-speder/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 209296371,
size: 0.5,
source: 20929,
target: 6371 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294489,
size: 0.5,
source: 20929,
target: 4489 });
//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: 26499,
label: 'Rebecca Matsas',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/riip_member/rebecca-matsas/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2092926499,
size: 0.5,
source: 20929,
target: 26499 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294490,
size: 0.5,
source: 20929,
target: 4490 });
//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: 4495,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 209294495,
size: 0.5,
source: 20929,
target: 4495 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4488) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294488,
size: 0.5,
source: 20929,
target: 4488 });
//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: 8476,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 209298476,
size: 0.5,
source: 20929,
target: 8476 });
//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/en/member/james-di-santo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 209294180,
size: 0.5,
source: 20929,
target: 4180 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4487) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209294487,
size: 0.5,
source: 20929,
target: 4487 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 209293806,
size: 0.5,
source: 20929,
target: 3806 });
// 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: 71005,
label: 'EVENT: Developmental and Stem Cell Biology & Neuroscience Departments joint seminars',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/developmental-and-stem-cell-biology-neuroscience-departments-joint-seminars/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380671005,
size: 0.5,
source: 3806,
target: 71005,
});
//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: 6957,
label: 'Moshe Yaniv',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_institutpasteur_28821-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/moshe-yaniv/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 710056957,
size: 0.5,
source: 71005,
target: 6957 });
//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: 51517,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 7100551517,
size: 0.5,
source: 71005,
target: 51517 });
//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: 4876,
label: 'Shahragim Tajbakhsh',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-shahragim-tajbakhsh-tajbakhsh-photo2024-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/shahragim-tajbakhsh/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 710054876,
size: 0.5,
source: 71005,
target: 4876 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 710053806,
size: 0.5,
source: 71005,
target: 3806 });
// 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: 24947,
label: 'PROJECT: Role of Neuroinflammation in Adult Neurogenesis',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_capture-d’écran-2015-07-17-à-20.32.12-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/role-of-neuroinflammation-in-adult-neurogenesis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380624947,
size: 0.5,
source: 3806,
target: 24947,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6382) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249476382,
size: 0.5,
source: 24947,
target: 6382 });
//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: 4032,
label: 'Jean-Marc Cavaillon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_cavaillon-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-marc-cavaillon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249474032,
size: 0.5,
source: 24947,
target: 4032 });
//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: 4494,
label: 'Marie Denizet',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4494',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249474494,
size: 0.5,
source: 24947,
target: 4494 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249474489,
size: 0.5,
source: 24947,
target: 4489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249473806,
size: 0.5,
source: 24947,
target: 3806 });
// 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: 65258,
label: 'NEWS: MOOC from “Neuron to Behavior”: register now!',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/mooc-from-neuron-to-behavior-register-now/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380665258,
size: 0.5,
source: 3806,
target: 65258,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 652583806,
size: 0.5,
source: 65258,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 37 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 37 * Math.PI / N) * 10;
g.nodes.push({
id: 65239,
label: 'COURSE: MOOC: “From Neuron to Behavior”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/mooc-from-neuron-to-behavior/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380665239,
size: 0.5,
source: 3806,
target: 65239,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 652393806,
size: 0.5,
source: 65239,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 38 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 38 * Math.PI / N) * 10;
g.nodes.push({
id: 24927,
label: 'PROJECT: The link between olfaction and emotion in bipolar disorders',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_capture-d’écran-2015-07-17-à-19.24.22-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/the-dynamic-relationship-of-olfaction-and-emotion-as-a-prognostic-tool-in-bipolar-disorders/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380624927,
size: 0.5,
source: 3806,
target: 24927,
});
//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: 4500,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249274500,
size: 0.5,
source: 24927,
target: 4500 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2492764981,
size: 0.5,
source: 24927,
target: 64981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37097) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2492737097,
size: 0.5,
source: 24927,
target: 37097 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249273806,
size: 0.5,
source: 24927,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 39 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 39 * Math.PI / N) * 10;
g.nodes.push({
id: 63841,
label: 'NEWS: Microbes & Brain SEMINAR: « Microbiota-regulated innervation of the adult gut »',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_cycas_coralloid_root_xs_high-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/news/microbes-brain-seminar-microbiota-regulated-innervation-of-the-adult-gut/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380663841,
size: 0.5,
source: 3806,
target: 63841,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638414490,
size: 0.5,
source: 63841,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638413806,
size: 0.5,
source: 63841,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 40 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 40 * Math.PI / N) * 10;
g.nodes.push({
id: 63830,
label: 'NEWS: A new publication on the link between anxiety, depression, olfactory deficits and adult neurogenesis',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/a-new-publication-on-the-link-between-anxiety-depression-and-adult-neurogenesis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380663830,
size: 0.5,
source: 3806,
target: 63830,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638304489,
size: 0.5,
source: 63830,
target: 4489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4500) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638304500,
size: 0.5,
source: 63830,
target: 4500 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638303806,
size: 0.5,
source: 63830,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4494) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638304494,
size: 0.5,
source: 63830,
target: 4494 });
//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/en/member/jean-christophe-olivo-marin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 63830388,
size: 0.5,
source: 63830,
target: 388 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3768) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 638303768,
size: 0.5,
source: 63830,
target: 3768 });
// adding node
var x_node = Math.cos(2 * 41 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 41 * Math.PI / N) * 10;
g.nodes.push({
id: 25610,
label: 'PROJECT: Functional consequences of congenital cytomegalovirus infection on the central nervous system',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_nsc-and-immature-neurons-in-the-svz-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/functional-consequences-of-congenital-cytomegalovirus-infection-on-the-central-nervous-system/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380625610,
size: 0.5,
source: 3806,
target: 25610,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 256103806,
size: 0.5,
source: 25610,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4496) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 256104496,
size: 0.5,
source: 25610,
target: 4496 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8541) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 256108541,
size: 0.5,
source: 25610,
target: 8541 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 256104489,
size: 0.5,
source: 25610,
target: 4489 });
//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: 25691,
label: 'Natacha Teissier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_natacha-teissier-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/epartner/natacha-teissier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2561025691,
size: 0.5,
source: 25610,
target: 25691 });
// adding node
var x_node = Math.cos(2 * 42 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 42 * Math.PI / N) * 10;
g.nodes.push({
id: 61867,
label: 'PATENT: OLFACTORY MEANS USEFUL IN THE DIAGNOSIS AND TREATMENT OF MOOD DEPRESSION',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/patent/olfactory-means-useful-in-the-diagnosis-and-treatment-of-mood-depression/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380661867,
size: 0.5,
source: 3806,
target: 61867,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4500) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 618674500,
size: 0.5,
source: 61867,
target: 4500 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 618674489,
size: 0.5,
source: 61867,
target: 4489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 618673806,
size: 0.5,
source: 61867,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 43 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 43 * Math.PI / N) * 10;
g.nodes.push({
id: 59202,
label: 'PROJECT: Astroglial changes during sepsis associated encephalopathy',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_iconosite-11-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/astroglial-changes-during-sepsis-associated-encephalopathy/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380659202,
size: 0.5,
source: 3806,
target: 59202,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4500) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 592024500,
size: 0.5,
source: 59202,
target: 4500 });
//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: 52965,
label: 'Damien Rei',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=52965',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 5920252965,
size: 0.5,
source: 59202,
target: 52965 });
//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: 4069,
label: 'Aurélien Mazeraud',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4069',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 592024069,
size: 0.5,
source: 59202,
target: 4069 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 592023806,
size: 0.5,
source: 59202,
target: 3806 });
//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: 8666,
label: 'Flora Magno De Jesus Oliveira',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=8666',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 592028666,
size: 0.5,
source: 59202,
target: 8666 });
//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: 8667,
label: 'Patricia Flamant',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=8667',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 592028667,
size: 0.5,
source: 59202,
target: 8667 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6382) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 592026382,
size: 0.5,
source: 59202,
target: 6382 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8676) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 592028676,
size: 0.5,
source: 59202,
target: 8676 });
// adding node
var x_node = Math.cos(2 * 44 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 44 * Math.PI / N) * 10;
g.nodes.push({
id: 58992,
label: 'COURSE: Development and Plasticty of the Nervous System',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/development-and-plasticty-of-the-nervous-system/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380658992,
size: 0.5,
source: 3806,
target: 58992,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 589923806,
size: 0.5,
source: 58992,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4488) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 589924488,
size: 0.5,
source: 58992,
target: 4488 });
//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: 3964,
label: 'Isabelle Cloëz-Tayarani',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-photo-i.-cloez-tayarani-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/isabelle-cloez-tayarani/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 589923964,
size: 0.5,
source: 58992,
target: 3964 });
// adding node
var x_node = Math.cos(2 * 45 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 45 * Math.PI / N) * 10;
g.nodes.push({
id: 41178,
label: 'PROGRAM_PROJECT: Major Federating Program Microbes & Brain',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_grand-federative-program-microbes-brain-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/program_project/major-federating-program-microbes-brain/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380641178,
size: 0.5,
source: 3806,
target: 41178,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 58995) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 4117858995,
size: 0.5,
source: 41178,
target: 58995 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 411784225,
size: 0.5,
source: 41178,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 411783806,
size: 0.5,
source: 41178,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3801) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 411783801,
size: 0.5,
source: 41178,
target: 3801 });
//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: 4435,
label: 'Monique Lafon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_m-lafon-site-web-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/monique-lafon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 411784435,
size: 0.5,
source: 41178,
target: 4435 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4355) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 411784355,
size: 0.5,
source: 41178,
target: 4355 });
// adding node
var x_node = Math.cos(2 * 46 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 46 * Math.PI / N) * 10;
g.nodes.push({
id: 24942,
label: 'PROJECT: Affective dimension of sensory representation',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_capture-d’écran-2015-07-17-à-20.16.23-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/affective-dimension-of-sensory-representation/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380624942,
size: 0.5,
source: 3806,
target: 24942,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249424490,
size: 0.5,
source: 24942,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4495) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249424495,
size: 0.5,
source: 24942,
target: 4495 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249424492,
size: 0.5,
source: 24942,
target: 4492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4488) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249424488,
size: 0.5,
source: 24942,
target: 4488 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4487) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249424487,
size: 0.5,
source: 24942,
target: 4487 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4485) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249424485,
size: 0.5,
source: 24942,
target: 4485 });
//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: 4499,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249424499,
size: 0.5,
source: 24942,
target: 4499 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8476) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249428476,
size: 0.5,
source: 24942,
target: 8476 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249423806,
size: 0.5,
source: 24942,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 47 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 47 * Math.PI / N) * 10;
g.nodes.push({
id: 24934,
label: 'PROJECT: When Gut Bacteria Changes Brain Functions',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_microbebrain-01-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/how-gut-microbiota-could-change-our-brain/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380624934,
size: 0.5,
source: 3806,
target: 24934,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344490,
size: 0.5,
source: 24934,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4500) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344500,
size: 0.5,
source: 24934,
target: 4500 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4488) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344488,
size: 0.5,
source: 24934,
target: 4488 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4485) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344485,
size: 0.5,
source: 24934,
target: 4485 });
//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: 4523,
label: 'Morgane Besson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/07/research_pasteur-capture-decran-2017-07-22-a-17.21.36-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/morgane-besson/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249344523,
size: 0.5,
source: 24934,
target: 4523 });
//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: 4222,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249344222,
size: 0.5,
source: 24934,
target: 4222 });
//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: 4481,
label: 'Laetitia Travier',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-img_2309rognee-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laetitia-travier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249344481,
size: 0.5,
source: 24934,
target: 4481 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4360) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344360,
size: 0.5,
source: 24934,
target: 4360 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79478) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2493479478,
size: 0.5,
source: 24934,
target: 79478 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79465) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2493479465,
size: 0.5,
source: 24934,
target: 79465 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249343806,
size: 0.5,
source: 24934,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4225) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344225,
size: 0.5,
source: 24934,
target: 4225 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4355) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344355,
size: 0.5,
source: 24934,
target: 4355 });
//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: 4337,
label: 'Jean-Marc Ghigo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-ghigo-jean-marc-recad.lg_-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-marc-ghigo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 249344337,
size: 0.5,
source: 24934,
target: 4337 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4470) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249344470,
size: 0.5,
source: 24934,
target: 4470 });
// adding node
var x_node = Math.cos(2 * 48 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 48 * Math.PI / N) * 10;
g.nodes.push({
id: 21426,
label: 'PROGRAM_PROJECT: LabEx Revive – Regenerative biology & medicine',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_stem-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/program_project/revive/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380621426,
size: 0.5,
source: 3806,
target: 21426,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4729,
label: 'Marina Caillet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_marina-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marina-caillet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 214264729,
size: 0.5,
source: 21426,
target: 4729 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4876) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 214264876,
size: 0.5,
source: 21426,
target: 4876 });
//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: 4824,
label: 'François Schweisguth',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-fs3-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francois-schweisguth/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 214264824,
size: 0.5,
source: 21426,
target: 4824 });
//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/en/member/pablo-navarro-gil/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 214264606,
size: 0.5,
source: 21426,
target: 4606 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64150) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2142664150,
size: 0.5,
source: 21426,
target: 64150 });
//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: 193569,
label: 'Cecile Martinat (I-Stem, Evry)',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/cecile-martinat-i-stem-evry/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21426193569,
size: 0.5,
source: 21426,
target: 193569 });
//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: 194846,
label: 'Alice Jouneau (EPEE – INRAE)',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/alice-jouneau-embryo-and-pluripotency-epigenetic-and-environment-epee-inrae/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21426194846,
size: 0.5,
source: 21426,
target: 194846 });
//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: 194872,
label: 'Philippe Menasché (Inserm U970, APHP)',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-menache-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/epartner/philippe-menasche-inserm-u970-hopital-europeen-georges-pompidou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21426194872,
size: 0.5,
source: 21426,
target: 194872 });
//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: 194886,
label: 'Raphael Scharfmann (Institut Cochin, Paris)',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/raphael-scharfmann-institut-cochin-paris/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21426194886,
size: 0.5,
source: 21426,
target: 194886 });
//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: 194902,
label: 'Frédéric Relaix (Institut Mondor de Recherche Biomédicale – IMRB)',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-fred-relaix-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/epartner/frederic-relaix-institut-mondor-de-recherche-biomedicale-imrb/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21426194902,
size: 0.5,
source: 21426,
target: 194902 });
// adding node
var x_node = Math.cos(2 * 49 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 49 * Math.PI / N) * 10;
g.nodes.push({
id: 6202,
label: 'TEAM: Perception & Action',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_chen_stemcells_6-2013-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/perception-and-action/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 38066202,
size: 0.5,
source: 3806,
target: 6202,
});
//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: 104637,
label: 'Frédérique Bouchot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-frederique-bouchot-2-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/frederique-bouchot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202104637,
size: 0.5,
source: 6202,
target: 104637 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 982) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6202982,
size: 0.5,
source: 6202,
target: 982 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4488) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024488,
size: 0.5,
source: 6202,
target: 4488 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4489) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024489,
size: 0.5,
source: 6202,
target: 4489 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37097) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 620237097,
size: 0.5,
source: 6202,
target: 37097 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 60986) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 620260986,
size: 0.5,
source: 6202,
target: 60986 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 179542,
label: 'Léa Hamon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/04/research_pasteur-lea-hamon-lea-hamon-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lea-hamon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202179542,
size: 0.5,
source: 6202,
target: 179542 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 156464) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6202156464,
size: 0.5,
source: 6202,
target: 156464 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 179550) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6202179550,
size: 0.5,
source: 6202,
target: 179550 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 99390) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 620299390,
size: 0.5,
source: 6202,
target: 99390 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79465) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 620279465,
size: 0.5,
source: 6202,
target: 79465 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4487) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024487,
size: 0.5,
source: 6202,
target: 4487 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4485) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024485,
size: 0.5,
source: 6202,
target: 4485 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4490) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024490,
size: 0.5,
source: 6202,
target: 4490 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024492,
size: 0.5,
source: 6202,
target: 4492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4496) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62024496,
size: 0.5,
source: 6202,
target: 4496 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7134,
label: 'Pierre Legrain',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-pierre-legrain-photo-2016-web-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/pierre-legrain/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62027134,
size: 0.5,
source: 6202,
target: 7134 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156471,
label: 'Alain Letailleur',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/03/research_pasteur-alain-letailleur-alain-letailleur-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/alain-letailleur/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202156471,
size: 0.5,
source: 6202,
target: 156471 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8676) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62028676,
size: 0.5,
source: 6202,
target: 8676 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 197745) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6202197745,
size: 0.5,
source: 6202,
target: 197745 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 197754,
label: 'Mihye Song',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/02/research_pasteur-mihye-song-2022--01-e1695289680675-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mihye-song/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202197754,
size: 0.5,
source: 6202,
target: 197754 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 197759,
label: 'Aurélien Mazeraud',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/aurelien-mazeraud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202197759,
size: 0.5,
source: 6202,
target: 197759 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 105067,
label: 'Anne-Cecile Petit',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-anne-cecile-petit-img-9675-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/anne-cecile-petit/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202105067,
size: 0.5,
source: 6202,
target: 105067 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 191696,
label: 'Justus Ninnemann',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/12/research_pasteur-justus-ninnemann-sans-titre-2-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/justus-ninnemann/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6202191696,
size: 0.5,
source: 6202,
target: 191696 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62023806,
size: 0.5,
source: 6202,
target: 3806 });
// adding node
var x_node = Math.cos(2 * 50 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 50 * Math.PI / N) * 10;
g.nodes.push({
id: 24959,
label: 'PROJECT: Smelling bacteria',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_bvc-mice-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/smelling-bacteria/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380624959,
size: 0.5,
source: 3806,
target: 24959,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4337) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249594337,
size: 0.5,
source: 24959,
target: 4337 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249593806,
size: 0.5,
source: 24959,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4485) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 249594485,
size: 0.5,
source: 24959,
target: 4485 });
// adding node
var x_node = Math.cos(2 * 51 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 51 * Math.PI / N) * 10;
g.nodes.push({
id: 26,
label: 'DEPARTMENT: Neuroscience',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2014/09/brain_artwork_cells_1920x1080_24208-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/department/neuroscience/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 380626,
size: 0.5,
source: 3806,
target: 26,
});
//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: 207556,
label: 'Bruno Teste',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/bruno-teste/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26207556,
size: 0.5,
source: 26,
target: 207556 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 134269,
label: 'Rebecca Pavillard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-pavillard-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/rebecca-pavillard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26134269,
size: 0.5,
source: 26,
target: 134269 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3806) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 263806,
size: 0.5,
source: 26,
target: 3806 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3801) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 263801,
size: 0.5,
source: 26,
target: 3801 });
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) {
});