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: 4009,
label: 'Carmen Buchrieser',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_carmen1-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var biggest_node_size = 0;
N=36
// 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: 231138,
label: 'EVENT: Seminar Dept Microbiology “tRNA queuosine modification, a general regulatory mechanism controlling biofilm formation, resistance and virulence in bacteria”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/seminar-dept-microbiology-trna-queuosine-modification-a-general-regulatory-mechanism-controlling-biofilm-formation-resistance-and-virulence-in-bacteria/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009231138,
size: 0.5,
source: 4009,
target: 231138,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4011,
label: 'Laura Gomez Valero',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_gomez-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/laura-gomez-valero/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2311384011,
size: 0.5,
source: 231138,
target: 4011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2311384009,
size: 0.5,
source: 231138,
target: 4009 });
// 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: 222428,
label: 'EVENT: Symposium “Microbial Cell Wall” ; Monday, June 3rd ; Amphitheater Agnès Ullmann',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/symposium-microbial-cell-wall-monday-june-3rd-jules-bordet-room/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009222428,
size: 0.5,
source: 4009,
target: 222428,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4443,
label: 'Vishu Kumar Aimanianda Bopaiah',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/11/research_pasteur-photo-4cm-essai-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/vishu-kumar-aimanianda-bopaiah/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2224284443,
size: 0.5,
source: 222428,
target: 4443 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2224284009,
size: 0.5,
source: 222428,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4447,
label: 'Thierry Fontaine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-20190614_185922_crop-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thierry-fontaine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2224284447,
size: 0.5,
source: 222428,
target: 4447 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/fr/member/ivo-gomperts-boneca/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2224284355,
size: 0.5,
source: 222428,
target: 4355 });
// 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: 218991,
label: 'EVENT: Microbiology department seminar: Elisabeth Hartland (Monash University, Australia): “Bacterial effector proteins as tools for understanding host-pathogen interactions” ; Friday 16 February @11.30am ; Auditorium F.Jacob',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/microbiology-department-seminar-elisabeth-hartland-monash-university-australia-bacterial-effector-proteins-as-tools-for-understanding-host-pathogen-interactions-friday-16-february-11-30am/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009218991,
size: 0.5,
source: 4009,
target: 218991,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2189914009,
size: 0.5,
source: 218991,
target: 4009 });
// 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: 216077,
label: 'PROJECT: From the source to the user end: deciphering the impact of microbiome and water parameters on opportunistic waterborne pathogens (MicroPathWater)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/from-the-source-to-the-user-end-deciphering-the-impact-of-microbiome-and-water-parameters-on-opportunistic-waterborne-pathogens-micropathwater/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009216077,
size: 0.5,
source: 4009,
target: 216077,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2160774009,
size: 0.5,
source: 216077,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4017,
label: 'Christophe Rusniok',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_rusniok-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/christophe-rusniok/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2160774017,
size: 0.5,
source: 216077,
target: 4017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 213678,
label: 'Jesus MARIN MIRET',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/11/research_pasteur-enjesus-marin-miretfrjesus-marin-miret-research-pasteur-enjesus-marin-miretfrjesus-marin-miret-capture-decran-2023-11-21-a-10.11.57-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jesus-marin-miret/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 216077213678,
size: 0.5,
source: 216077,
target: 213678 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/fr/member/stevenn-volant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2160777762,
size: 0.5,
source: 216077,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2160774011,
size: 0.5,
source: 216077,
target: 4011 });
// 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: 209012,
label: 'EVENT: Joint Microbiology, BCI, and Structural Biology and Chemistry Departments seminar: Melanie OTT (UCSF, USA) ; “Understanding SARS-CoV-2 Variants through Reverse Genetics” ; Wenesday 27 September @2.00pm; Jules Bordet room',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/joint-microbiology-bci-and-structural-biology-and-chemistry-departments-seminar-melanie-ott-ucsf-usa-understanding-sars-cov-2-variants-through-reverse-genetics-w/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009209012,
size: 0.5,
source: 4009,
target: 209012,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2090124009,
size: 0.5,
source: 209012,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4087,
label: 'Mélanie Hamon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_p1010312-version-2-4-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/melanie-hamon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2090124087,
size: 0.5,
source: 209012,
target: 4087 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95915,
label: 'Paola Arimondo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-p-arimondo_5757-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/paola-arimondo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20901295915,
size: 0.5,
source: 209012,
target: 95915 });
// 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: 208657,
label: 'NEWS: How the respiratory tract microbiome influences the severity of bacterial pneumonia',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/09/research_pasteur-how-the-respiratory-tract-microbiome-influences-the-severity-of-bacterial-pneumonia-bandeau-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/how-the-respiratory-tract-microbiome-influences-the-severity-of-bacterial-pneumonia/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009208657,
size: 0.5,
source: 4009,
target: 208657,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2086574017,
size: 0.5,
source: 208657,
target: 4017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2086574009,
size: 0.5,
source: 208657,
target: 4009 });
// 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: 202555,
label: 'NEWS: Legionellosis: the bacteria use a novel strategy to infect more efficiently',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/05/research_pasteur-legionellose-la-bacterie-utilise-une-strategie-inedite-pour-mieux-infecter-research-pasteur-legionellose-la-bacterie-utilise-une-strategie-inedite-pour-mieux-infecter-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/legionellose-la-bacterie-utilise-une-strategie-inedite-pour-mieux-infecter/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009202555,
size: 0.5,
source: 4009,
target: 202555,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4015,
label: 'Monica Rolando',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_sans-titre-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/monica-rolando/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2025554015,
size: 0.5,
source: 202555,
target: 4015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2025554009,
size: 0.5,
source: 202555,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101399,
label: 'Daniel Schator',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-image-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/daniel-schator/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 202555101399,
size: 0.5,
source: 202555,
target: 101399 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2025554017,
size: 0.5,
source: 202555,
target: 4017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4013,
label: 'Sonia Soledad Mondino',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_mondino-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/sonia-soledad-mondino/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2025554013,
size: 0.5,
source: 202555,
target: 4013 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3920,
label: 'Anne Marie Wehenkel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enanne-marie-wehenkelfrannemarie-wehenkel-research-pasteur-enanne-marie-wehenkelfrannemarie-wehenkel-wehenkel-photo-2021-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/annemarie-wehenkel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2025553920,
size: 0.5,
source: 202555,
target: 3920 });
// 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: 199841,
label: 'EVENT: Symposium on Microbial Extracellular Vesicles ; June 15th, 2023 ; Auditorium François Jacob',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/extracellular-vesicules-from-microbes-symposium-june-15th-2023-auditorium-francois-jacob/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009199841,
size: 0.5,
source: 4009,
target: 199841,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4109,
label: 'Guilhem Janbon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-img_0255r-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/guilhem-janbon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1998414109,
size: 0.5,
source: 199841,
target: 4109 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1998414009,
size: 0.5,
source: 199841,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4287,
label: 'Mart Krupovic',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-mart_krupovic-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mart-krupovic/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1998414287,
size: 0.5,
source: 199841,
target: 4287 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 98090,
label: 'Julia Bos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/07/research_pasteur-picture1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/fr-julia-bos/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19984198090,
size: 0.5,
source: 199841,
target: 98090 });
//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: 1998414355,
size: 0.5,
source: 199841,
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: 78458,
label: 'Virginija Cvirkaite-Krupovic',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/10/research.pasteur.fr_vg-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/virginija-cvirkaite-krupovic/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19984178458,
size: 0.5,
source: 199841,
target: 78458 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4850,
label: 'Najma Rachidi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_najma-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/najma-rachidi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1998414850,
size: 0.5,
source: 199841,
target: 4850 });
// 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: 183951,
label: 'PROJECT: Deciphering the virulence of Legionella pneumophila in vivo in the zebrafish model (ZebraLegion)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/deciphering-the-virulence-of-legionella-pneumophila-in-vivo-in-the-zebrafish-model/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009183951,
size: 0.5,
source: 4009,
target: 183951,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4018,
label: 'Tobias Sahr',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_tobias-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/tobias-sahr/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1839514018,
size: 0.5,
source: 183951,
target: 4018 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 133177,
label: 'Jessica Martyn',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-d2b5998d-e982-4f17-981e-f88320f9893c-4-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jessica-martyn/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 183951133177,
size: 0.5,
source: 183951,
target: 133177 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1839514017,
size: 0.5,
source: 183951,
target: 4017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4395,
label: 'Emma Colucci',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_colucci-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/emma-colucci/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1839514395,
size: 0.5,
source: 183951,
target: 4395 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4403,
label: 'Laurent Boucontet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_boucontet-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/laurent-boucontet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1839514403,
size: 0.5,
source: 183951,
target: 4403 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 120503,
label: 'Valerio Laghi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-valerio-laghi-photo-with-blur-1-scaled-e1604565899489-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/valerio-laghi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 183951120503,
size: 0.5,
source: 183951,
target: 120503 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1839514009,
size: 0.5,
source: 183951,
target: 4009 });
// 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: 182679,
label: 'PROJECT: Investigation how eukaryotic domain capture might work: the evolution of a bacterial effector',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/investigation-how-eukaryotic-domain-capture-might-work-the-evolution-of-a-bacterial-effector/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009182679,
size: 0.5,
source: 4009,
target: 182679,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 133177) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 182679133177,
size: 0.5,
source: 182679,
target: 133177 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1826794009,
size: 0.5,
source: 182679,
target: 4009 });
// 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: 182675,
label: 'PROJECT: Biogenesis, trafficking, and roles of Legionella pneumophila extracellular vesicles during infection (BioEV)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/fr-biogenesis-trafficking-and-roles-of-legionella-pneumophila-extracellular-vesicles-during-infection-bioev/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009182675,
size: 0.5,
source: 4009,
target: 182675,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4018) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1826754018,
size: 0.5,
source: 182675,
target: 4018 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 140742,
label: 'Olena Mayboroda',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-enolena-mayborodafrolena-mayboroda-olena-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/olena-mayboroda/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 182675140742,
size: 0.5,
source: 182675,
target: 140742 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1826754009,
size: 0.5,
source: 182675,
target: 4009 });
// 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: 179140,
label: 'PROJECT: TheraEPI',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/theraepi/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009179140,
size: 0.5,
source: 4009,
target: 179140,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1791404009,
size: 0.5,
source: 179140,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4851,
label: 'Agathe Subtil',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_photo-a-subtil-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/agathe-subtil/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1791404851,
size: 0.5,
source: 179140,
target: 4851 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4087) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1791404087,
size: 0.5,
source: 179140,
target: 4087 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70499,
label: 'Olivier Sperandio',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/05/research.pasteur.fr_sperandio-id-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/olivier-sperandio/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17914070499,
size: 0.5,
source: 179140,
target: 70499 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1056,
label: 'Mariette Matondo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Mariette_Matondo-e1424076805247-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mariette-matondo-bouzanda/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1791401056,
size: 0.5,
source: 179140,
target: 1056 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 95915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17914095915,
size: 0.5,
source: 179140,
target: 95915 });
// 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: 176805,
label: 'NEWS: Legionellosis: a novel mechanism by which the bacterium Legionella pneumophila regulates the immune response of its host cells',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/02/research_pasteur-legionellosis-a-novel-mechanism-by-which-the-bacterium-legionella-pneumophila-regulates-the-immune-response-of-its-host-cells-ev-pic-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/legionellosis-a-novel-mechanism-by-which-the-bacterium-legionella-pneumophila-regulates-the-immune-response-of-its-host-cells/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009176805,
size: 0.5,
source: 4009,
target: 176805,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4018) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1768054018,
size: 0.5,
source: 176805,
target: 4018 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4010,
label: 'Pedro Escoll Guerrero',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_escoll-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/pedro-escoll-guerrero/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1768054010,
size: 0.5,
source: 176805,
target: 4010 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1768054017,
size: 0.5,
source: 176805,
target: 4017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1559,
label: 'Gérard Pehau-Arnaudet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/04/research_pasteur-gpa-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/gerard-pehau-arnaudet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1768051559,
size: 0.5,
source: 176805,
target: 1559 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1768054009,
size: 0.5,
source: 176805,
target: 4009 });
// 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: 174017,
label: 'NEWS: The bacterium causing legionellosis modifies the electrochemical potential of host mitochondria to better replicate',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/01/research_pasteur-the-bacterium-causing-legionellosis-modifies-the-electrochemical-potential-of-host-mitochondria-to-better-replicate-striking-image-escoll-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/the-bacterium-causing-legionellosis-modifies-the-electrochemical-potential-of-host-mitochondria-to-better-replicate/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009174017,
size: 0.5,
source: 4009,
target: 174017,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1740174010,
size: 0.5,
source: 174017,
target: 4010 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 122304,
label: 'Lucien Platon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-ma-tronche-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/platon-lucien/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 174017122304,
size: 0.5,
source: 174017,
target: 122304 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 136170,
label: 'Mariatou Drame',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/12/research_pasteur-mariatou-drame-unnamed-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mariatou-drame/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 174017136170,
size: 0.5,
source: 174017,
target: 136170 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4018) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1740174018,
size: 0.5,
source: 174017,
target: 4018 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 98556,
label: 'Silke Schmidt',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/11/research_pasteur-silke_pasteur-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/silke-schmidt/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17401798556,
size: 0.5,
source: 174017,
target: 98556 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1740174017,
size: 0.5,
source: 174017,
target: 4017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1740174009,
size: 0.5,
source: 174017,
target: 4009 });
// 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: 147814,
label: 'EVENT: Webinar: Second Annual QBI/Institut Pasteur Symposium on Infectious Diseases',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/147814/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009147814,
size: 0.5,
source: 4009,
target: 147814,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1478144009,
size: 0.5,
source: 147814,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4041,
label: 'Julia Chamot-Rooke',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/03/research.pasteur.fr_dsc4714-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/julia-chamot-rooke/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1478144041,
size: 0.5,
source: 147814,
target: 4041 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4848,
label: 'Gérald Spaeth',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-gerald-spaeth-portrait-gfs-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/gerald-spaeth/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1478144848,
size: 0.5,
source: 147814,
target: 4848 });
// 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: 137279,
label: 'EVENT: Soutenance HDR “Immunometabolic interactions of human cells and intracellular bacteria: a new way to tackle infection” – Département Microbiologie – Pedro Escoll Guerrero',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/immunometabolic-interactions-of-human-cells-and-intracellular-bacteria-a-new-way-to-tackle-infection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009137279,
size: 0.5,
source: 4009,
target: 137279,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1372794009,
size: 0.5,
source: 137279,
target: 4009 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1372794010,
size: 0.5,
source: 137279,
target: 4010 });
// 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: 136648,
label: 'NEWS: Carmen Buchrieser receives the 2019 Jacques Piraud Award',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/12/research_pasteur-image010-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/carmen-buchrieser-receives-the-2019-jacques-piraud-award/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009136648,
size: 0.5,
source: 4009,
target: 136648,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1366484009,
size: 0.5,
source: 136648,
target: 4009 });
// 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: 130996,
label: 'EVENT: International Symposium in honor of Pascale Cossart',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/international-symposium-in-honor-of-pascale-cossart/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009130996,
size: 0.5,
source: 4009,
target: 130996,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1309964009,
size: 0.5,
source: 130996,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4081,
label: 'Olivier Dussurget',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_dussurget-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/olivier-dussurget/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1309964081,
size: 0.5,
source: 130996,
target: 4081 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4101,
label: 'Marie-Anne Nahori',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_nahori-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-anne-nahori/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1309964101,
size: 0.5,
source: 130996,
target: 4101 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8652,
label: 'Marie-Thérèse Vicente',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_marie-therese-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/marie-therese-vicente/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1309968652,
size: 0.5,
source: 130996,
target: 8652 });
// 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: 122474,
label: 'EVENT: 130 Years of Institut Pasteur: Celebrating Science',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/130-years-of-institut-pasteur-celebrating-science/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009122474,
size: 0.5,
source: 4009,
target: 122474,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3957,
label: 'David Bikard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_photo_cropped-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/david-bikard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1224743957,
size: 0.5,
source: 122474,
target: 3957 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1224744009,
size: 0.5,
source: 122474,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4237,
label: 'Jost Enninga',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_jost2015-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jost-enninga/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1224744237,
size: 0.5,
source: 122474,
target: 4237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4365,
label: 'Marie-Lise Gougeon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_marie-lise-gougeon-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-lise-gougeon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1224744365,
size: 0.5,
source: 122474,
target: 4365 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4821,
label: 'Olivier Schwartz',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_photo-o.schwartz-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/olivier-schwartz/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1224744821,
size: 0.5,
source: 122474,
target: 4821 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/fr/member/pauline-speder/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1224746371,
size: 0.5,
source: 122474,
target: 6371 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/fr/member/moshe-yaniv/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1224746957,
size: 0.5,
source: 122474,
target: 6957 });
// 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: 120878,
label: 'NEWS: How human pathogens may emerge from the environment',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/how-human-pathogens-may-emerge-from-the-environment/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009120878,
size: 0.5,
source: 4009,
target: 120878,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1208784011,
size: 0.5,
source: 120878,
target: 4011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1208784017,
size: 0.5,
source: 120878,
target: 4017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64286,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 12087864286,
size: 0.5,
source: 120878,
target: 64286 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1208784015,
size: 0.5,
source: 120878,
target: 4015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4013) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1208784013,
size: 0.5,
source: 120878,
target: 4013 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7848,
label: 'Stéphane Descorps Declere',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/05/research_pasteur-img_20170804_170423_hdr-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/stephane-descorps-declere/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1208787848,
size: 0.5,
source: 120878,
target: 7848 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1208784009,
size: 0.5,
source: 120878,
target: 4009 });
// 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: 118045,
label: 'NEWS: Conferences organized by the Scientific Council – 2019',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/conferences-organized-at-the-scientific-council-2019/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009118045,
size: 0.5,
source: 4009,
target: 118045,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1180454009,
size: 0.5,
source: 118045,
target: 4009 });
// 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: 100286,
label: 'NEWS: Conferences organized by the Scientific Council – 2018',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/conferences-organized-scientific-council-2018/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009100286,
size: 0.5,
source: 4009,
target: 100286,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1002864009,
size: 0.5,
source: 100286,
target: 4009 });
// 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: 90402,
label: 'NEWS: THE 9TH INTERNATIONAL CONFERENCE ON LEGIONELLA',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-headerbig-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/the-9th-international-conference-on-legionella/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400990402,
size: 0.5,
source: 4009,
target: 90402,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 904024009,
size: 0.5,
source: 90402,
target: 4009 });
// 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: 90336,
label: 'EVENT: “A matter of fat: bioactive lipids at the host-mycobacteria interface” – Caroline Demangel',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/a-matter-of-fat-bioactive-lipids-at-the-host-mycobacteria-interface/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400990336,
size: 0.5,
source: 4009,
target: 90336,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 903364009,
size: 0.5,
source: 90336,
target: 4009 });
// 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: 88823,
label: 'EVENT: « Joint analysis of multiple phenotypes using GWAS summary statistics» by Hugues ASCHARD',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/joint-analysis-of-multiple-phenotypes-using-gwas-summary-statistics-by-hugues-aschard/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400988823,
size: 0.5,
source: 4009,
target: 88823,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4407,
label: 'Micheline Fromont-Racine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_photos_mfr-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/micheline-fromont-racine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 888234407,
size: 0.5,
source: 88823,
target: 4407 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4421,
label: 'Martial Marbouty',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-martial-marbouty-fullsizerender-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/martial-marbouty/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 888234421,
size: 0.5,
source: 88823,
target: 4421 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 25653,
label: 'Olaya Rendueles-Garcia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-photo_olaya2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/olaya-rendueles-garcia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8882325653,
size: 0.5,
source: 88823,
target: 25653 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 888234009,
size: 0.5,
source: 88823,
target: 4009 });
// 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: 88805,
label: 'EVENT: “Lymphocyte development and lineage commitment in the embryo” by Ana Cumano',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/lymphocyte-development-and-lineage-commitment-in-the-embryo-by-ana-cumano/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400988805,
size: 0.5,
source: 4009,
target: 88805,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4833,
label: 'Ana Cumano',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ana-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/ana-cumano/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 888054833,
size: 0.5,
source: 88805,
target: 4833 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 888054009,
size: 0.5,
source: 88805,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4449,
label: 'Jean-Paul Latge',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig55-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jean-paul-latge/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 888054449,
size: 0.5,
source: 88805,
target: 4449 });
// 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: 88516,
label: 'EVENT: ETOX18 – European Workshop on Bacterial Protein Toxins',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/etox18-european-workshop-on-bacterial-protein-toxins/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400988516,
size: 0.5,
source: 4009,
target: 88516,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4704,
label: 'Michel-Robert Popoff',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=4704',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 885164704,
size: 0.5,
source: 88516,
target: 4704 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885164009,
size: 0.5,
source: 88516,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4426,
label: 'Daniel Ladant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_dl-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/daniel-ladant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 885164426,
size: 0.5,
source: 88516,
target: 4426 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885164015,
size: 0.5,
source: 88516,
target: 4015 });
// 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: 88513,
label: 'EVENT: EMBO Conference on Hijacking host signalling and epigenetic mimicry during infections',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/embo-conference-on-hijacking-host-signalling-and-epigenetic-mimicry-during-infections/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400988513,
size: 0.5,
source: 4009,
target: 88513,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885134009,
size: 0.5,
source: 88513,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3783,
label: 'Pascale Cossart',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_pascale-cossart-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pascale-cossart/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 885133783,
size: 0.5,
source: 88513,
target: 3783 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4780,
label: 'Philippe Sansonetti',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_philippe-sansonetti-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-sansonetti__trashed/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 885134780,
size: 0.5,
source: 88513,
target: 4780 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4802,
label: 'Artur Scherf',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_artur-bis-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/artur-scherf/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 885134802,
size: 0.5,
source: 88513,
target: 4802 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6957) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885136957,
size: 0.5,
source: 88513,
target: 6957 });
// 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: 87860,
label: 'EVENT: “Vascular colonization by Neisseria meningitidis” by Guillaume Duménil',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/vascular-colonization-by-neisseria-meningitidis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400987860,
size: 0.5,
source: 4009,
target: 87860,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 51154,
label: 'Guillaume Dumenil',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_research.pasteur.fr_fig101-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/guillaume-dumenil/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8786051154,
size: 0.5,
source: 87860,
target: 51154 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 878604009,
size: 0.5,
source: 87860,
target: 4009 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4449) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 878604449,
size: 0.5,
source: 87860,
target: 4449 });
// 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: 64313,
label: 'NEWS: Legionella pneumophila: identification of a new strategy to counteract the antibacterial response of the host cell',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/03/research.pasteur.fr_research.pasteur.fr_legionella560-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/legionella-pneumophila-identification-of-a-new-strategy-to-counteract-the-antibacterial-response-of-the-host-cell/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400964313,
size: 0.5,
source: 4009,
target: 64313,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 643134015,
size: 0.5,
source: 64313,
target: 4015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 643134010,
size: 0.5,
source: 64313,
target: 4010 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75127,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6431375127,
size: 0.5,
source: 64313,
target: 75127 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 643134009,
size: 0.5,
source: 64313,
target: 4009 });
// 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: 60105,
label: 'EVENT: EMBO Conference Tuberculosis 2016',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/03/research.pasteur.fr_tuberculosis2016-web-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/event/embo-conference-tuberculosis-2016/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400960105,
size: 0.5,
source: 4009,
target: 60105,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3992,
label: 'Roland Brosch',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_roland1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/roland-brosch/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601053992,
size: 0.5,
source: 60105,
target: 3992 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2487,
label: 'Pedro Alzari',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/palzari-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pedro-alzari/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601052487,
size: 0.5,
source: 60105,
target: 2487 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3993,
label: 'Laleh Majlessi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/12/research_pasteur-photo-lm-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/laleh-majlessi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601053993,
size: 0.5,
source: 60105,
target: 3993 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3915,
label: 'Marco Bellinzoni',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-marco-bellinzoni-img-0074-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marco-bellinzoni/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601053915,
size: 0.5,
source: 60105,
target: 3915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6368,
label: 'Giulia Manina',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-giulia-manina-giulia-manina-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/giulia-manina/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601056368,
size: 0.5,
source: 60105,
target: 6368 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4351,
label: 'Ludovic Tailleux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ludovic-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/ludovic-tailleux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601054351,
size: 0.5,
source: 60105,
target: 4351 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3995,
label: 'Roxane Simeone',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_20151029mip_7088-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/roxane-simeone/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 601053995,
size: 0.5,
source: 60105,
target: 3995 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 601054009,
size: 0.5,
source: 60105,
target: 4009 });
// 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: 40681,
label: 'EVENT: EMBO Conference ‘International Symposium on Problems of Listeriosis’',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_lm-ptk2ii-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/event/isopol-xix/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400940681,
size: 0.5,
source: 4009,
target: 40681,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3783) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 406813783,
size: 0.5,
source: 40681,
target: 3783 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/fr/member/marc-lecuit/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 406814470,
size: 0.5,
source: 40681,
target: 4470 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 406814009,
size: 0.5,
source: 40681,
target: 4009 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7209,
label: 'Philippe Glaser',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha41-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-glaser/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 406817209,
size: 0.5,
source: 40681,
target: 7209 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2495,
label: 'Sylvain Brisse',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/9c960524567ea360a3_l_2ae2a-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/sylvain-brisse/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 406812495,
size: 0.5,
source: 40681,
target: 2495 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4100,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 406814100,
size: 0.5,
source: 40681,
target: 4100 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 21758,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4068121758,
size: 0.5,
source: 40681,
target: 21758 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 47660,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4068147660,
size: 0.5,
source: 40681,
target: 47660 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 47663,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4068147663,
size: 0.5,
source: 40681,
target: 47663 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 47667,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4068147667,
size: 0.5,
source: 40681,
target: 47667 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 47670,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4068147670,
size: 0.5,
source: 40681,
target: 47670 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 47673,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 4068147673,
size: 0.5,
source: 40681,
target: 47673 });
// adding node
var x_node = Math.cos(2 * 32 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 32 * Math.PI / N) * 10;
g.nodes.push({
id: 14686,
label: 'PROGRAM_PROJECT: Labex IBEID – Integrative Biology of Emerging Infectious Diseases',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_labex-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/program_project/integrative-biology-of-emerging-infectious-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400914686,
size: 0.5,
source: 4009,
target: 14686,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 203306,
label: 'Cyril Renassia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/06/research_pasteur-cyril-renassia-photo-cv-2023-cropped-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cyril-renassia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 14686203306,
size: 0.5,
source: 14686,
target: 203306 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3949,
label: 'Philippe Bastin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_philippe_bastin-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-bastin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 146863949,
size: 0.5,
source: 14686,
target: 3949 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4775,
label: 'Carla Saleh',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha68-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/carla-saleh/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 146864775,
size: 0.5,
source: 14686,
target: 4775 });
// adding node
var x_node = Math.cos(2 * 33 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 33 * Math.PI / N) * 10;
g.nodes.push({
id: 16546,
label: 'PROJECT: Molecular, genetic and cellular basis of the infection by Legionella',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/molecular-genetic-and-cellular-basis-of-the-infection-by-legionella/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 400916546,
size: 0.5,
source: 4009,
target: 16546,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 165464009,
size: 0.5,
source: 16546,
target: 4009 });
// 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: 6157,
label: 'TEAM: Biologie des Bactéries Intracellulaires',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_biology-of-intracellular-bacteria-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/biology-of-intracellular-bacteria/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 40096157,
size: 0.5,
source: 4009,
target: 6157,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61574011,
size: 0.5,
source: 6157,
target: 4011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61574015,
size: 0.5,
source: 6157,
target: 4015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61574010,
size: 0.5,
source: 6157,
target: 4010 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61574017,
size: 0.5,
source: 6157,
target: 4017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4018) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61574018,
size: 0.5,
source: 6157,
target: 4018 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4016,
label: 'Viviane Chenal-Francisque',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_viviane-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/viviane-chenal-francisque/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 61574016,
size: 0.5,
source: 6157,
target: 4016 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 176170,
label: 'Sonia Nicchi',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/02/research_pasteur-sonia-nicchi-1644420112841-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/sonia-nicchi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6157176170,
size: 0.5,
source: 6157,
target: 176170 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 113310,
label: 'Clarisse Leseigneur',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-photo-clarisse-leseigneur-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/clarisse-leseigneur/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6157113310,
size: 0.5,
source: 6157,
target: 113310 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 178743,
label: 'Francisco Garcia Rodriguez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/03/research_pasteur-francisco-garcia-rodriguez-francisco-pic-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/francisco-garcia-rodriguez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6157178743,
size: 0.5,
source: 6157,
target: 178743 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 140742) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6157140742,
size: 0.5,
source: 6157,
target: 140742 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 216990,
label: 'Paula Martinez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-enpaula-martinezfrpaula-martinez-345af081-71ea-4dca-8fea-37732015caac-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/paula-martinez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6157216990,
size: 0.5,
source: 6157,
target: 216990 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 168380,
label: 'Cristina Di Silvestre',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/10/research_pasteur-cristina-di-silvestre-cristina-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cristina-di-silvestre/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6157168380,
size: 0.5,
source: 6157,
target: 168380 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 68493,
label: 'Isabelle Hoffmann',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/04/research.pasteur.fr_isabelle-hoffmann-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/hoffmann-isabelle/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 615768493,
size: 0.5,
source: 6157,
target: 68493 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61574009,
size: 0.5,
source: 6157,
target: 4009 });
// 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: 202492,
label: 'NEWS: Légionellose : reprogrammation inédite des cellules hôtes à l’avantage de la bactérie Legionella pneumophila',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/legionellose-reprogrammation-inedite-des-cellules-hotes-a-lavantage-de-la-bacterie-legionella-pneumophila/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4009202492,
size: 0.5,
source: 4009,
target: 202492,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101399) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 202492101399,
size: 0.5,
source: 202492,
target: 101399 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2024924015,
size: 0.5,
source: 202492,
target: 4015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 168380) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 202492168380,
size: 0.5,
source: 202492,
target: 168380 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2024924017,
size: 0.5,
source: 202492,
target: 4017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4009) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2024924009,
size: 0.5,
source: 202492,
target: 4009 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4013) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2024924013,
size: 0.5,
source: 202492,
target: 4013 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3920) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2024923920,
size: 0.5,
source: 202492,
target: 3920 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8380,
label: 'Mathilde Ben Assaya',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-mathilde-ben-assaya-1637227065938-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/mathilde-ben-assaya/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2024928380,
size: 0.5,
source: 202492,
target: 8380 });
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) {
});