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: 4575,
label: 'Hugo Mouquet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-mouquet_id-150x150.png',
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: 216549,
label: 'EVENT: Group de Reflexion SIDA (GRS) seminar: “New insights in the regulation of HIV expression and latency”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/group-de-reflexion-sida-grs-seminar-new-insights-in-the-regulation-of-hiv-expression-and-latency/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575216549,
size: 0.5,
source: 4575,
target: 216549,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4053,
label: 'Marc Lavigne',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/marc-lavigne/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2165494053,
size: 0.5,
source: 216549,
target: 4053 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3931,
label: 'Lisa Chakrabarti',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_lc2-photo-medium-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lisa-chakrabarti/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2165493931,
size: 0.5,
source: 216549,
target: 3931 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4818,
label: 'Nicoletta Casartelli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-682135-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/nicoletta-casartelli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2165494818,
size: 0.5,
source: 216549,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2165494575,
size: 0.5,
source: 216549,
target: 4575 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4052,
label: 'Francesca Di Nunzio',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/01/research_pasteur-dscf1697-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francesca-di-nunzio/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2165494052,
size: 0.5,
source: 216549,
target: 4052 });
// 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: 210810,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “HIV sensing, nuclear import, and latency”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-hiv-sensing-nuclear-import-and-latency/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575210810,
size: 0.5,
source: 4575,
target: 210810,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4052) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2108104052,
size: 0.5,
source: 210810,
target: 4052 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2108103931,
size: 0.5,
source: 210810,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2108104575,
size: 0.5,
source: 210810,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2108104818,
size: 0.5,
source: 210810,
target: 4818 });
// 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: 207223,
label: 'NEWS: New publication – Anti-V1/V3-glycan broadly HIV-1 neutralizing antibodies in a post-treatment controller',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-anti-v1-v3-glycan-broadly-hiv-1-neutralizing-antibodies-in-a-post-treatment-controller/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575207223,
size: 0.5,
source: 4575,
target: 207223,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7732,
label: 'Valérie Lorin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_val-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/valerie-lorin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2072237732,
size: 0.5,
source: 207223,
target: 7732 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83681,
label: 'Cyril Planchais',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_cyril-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/cyril-planchais/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20722383681,
size: 0.5,
source: 207223,
target: 83681 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2072234575,
size: 0.5,
source: 207223,
target: 4575 });
// 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: 198723,
label: 'PROJECT: CoVariant – Comprendre les déterminants de l’immunité muqueuse et optimiser le diagnostic de l’infection aux variants du SARS-CoV-2',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/fr-covariant-comprendre-les-determinants-de-limmunite-muqueuse-et-optimiser-le-diagnostic-de-linfection-aux-variants-du-sars-cov-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575198723,
size: 0.5,
source: 4575,
target: 198723,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 154423,
label: 'Ayla Zayoud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/02/research_pasteur-ayla-zayoud-1604574096423-removebg-preview-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/ayla-zayoud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 198723154423,
size: 0.5,
source: 198723,
target: 154423 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62876,
label: 'Marcel Hollenstein',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_thrashmanlessthrash-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marcel-hollenstein/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19872362876,
size: 0.5,
source: 198723,
target: 62876 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1987234575,
size: 0.5,
source: 198723,
target: 4575 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118549,
label: 'Nathalie Clément',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/12/research_pasteur-nathalie-clement-clement-nathalie-9576-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-nathalie-clement/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 198723118549,
size: 0.5,
source: 198723,
target: 118549 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7888,
label: 'Nathalie Jolly',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dsc7459_sqr-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/nathalie-jolly/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1987237888,
size: 0.5,
source: 198723,
target: 7888 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 78192,
label: 'Olivia Chény',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_dsc0616mod2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/olivia-cheny/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 19872378192,
size: 0.5,
source: 198723,
target: 78192 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7878,
label: 'Marie-Noelle Ungeheuer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_institutpasteur_43070-e1437491181428-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marie-noelle-ungeheuer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1987237878,
size: 0.5,
source: 198723,
target: 7878 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 211463,
label: 'Julia ABAD',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/julia-abad/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 198723211463,
size: 0.5,
source: 198723,
target: 211463 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4920,
label: 'Sylvie van Der Werf',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/07/research_pasteur-photo_sylvie-vdw1-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/sylvie-van-der-werf/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1987234920,
size: 0.5,
source: 198723,
target: 4920 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8600,
label: 'Hélène Laude',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/10/research_pasteur-photo_helene_laude-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/helene-laude/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1987238600,
size: 0.5,
source: 198723,
target: 8600 });
// 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: 189985,
label: 'EVENT: Groupe de Reflexion SIDA (GRS) meeting: “Role of membraneless organelles in viral replication”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-role-of-membraneless-organelles-in-viral-replication/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575189985,
size: 0.5,
source: 4575,
target: 189985,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1899853931,
size: 0.5,
source: 189985,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4052) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1899854052,
size: 0.5,
source: 189985,
target: 4052 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1899854818,
size: 0.5,
source: 189985,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1899854575,
size: 0.5,
source: 189985,
target: 4575 });
// 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: 183916,
label: 'EVENT: Groupe de Reflexion SIDA (GRS) seminar: “Functional and structural studies of the T cell response against two major human viruses: HIV-1 and SARS-CoV-2”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-seminar-functional-and-structural-studies-of-the-t-cell-response-against-two-major-human-viruses-hiv-1-and-sars-cov-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575183916,
size: 0.5,
source: 4575,
target: 183916,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1839163931,
size: 0.5,
source: 183916,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1839164818,
size: 0.5,
source: 183916,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1839164575,
size: 0.5,
source: 183916,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4052) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1839164052,
size: 0.5,
source: 183916,
target: 4052 });
// 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: 182338,
label: 'NEWS: New publication – Potent Human Broadly SARS-CoV-2 Neutralizing IgA and IgG Antibodies Effective Against Omicron BA.1 and BA.2',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-potent-human-broadly-sars-cov-2-neutralizing-iga-and-igg-antibodies-effective-against-omicron-ba-1-and-ba-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575182338,
size: 0.5,
source: 4575,
target: 182338,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18233883681,
size: 0.5,
source: 182338,
target: 83681 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 116577,
label: 'Ignacio Fernandez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/11/research_pasteur-img_4481-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-ignacio-fernandez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 182338116577,
size: 0.5,
source: 182338,
target: 116577 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4817,
label: 'Timothée Bruel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-photo2-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/timothee-bruel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384817,
size: 0.5,
source: 182338,
target: 4817 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 42508,
label: 'Guilherme Dias de Melo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research_pasteur-guilherme-dias-de-melo-photo-pour-profil-prix-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/guilherme-dias-de-melo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233842508,
size: 0.5,
source: 182338,
target: 42508 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8357,
label: 'Matthieu Prot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_372261-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/matthieu-prot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823388357,
size: 0.5,
source: 182338,
target: 8357 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 121828,
label: 'Maxime Beretta',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=121828',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 182338121828,
size: 0.5,
source: 182338,
target: 121828 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 56127,
label: 'Pablo Guardado-Calvo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research_pasteur-pablo-guardado-calvo-1670697779326-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/pablo-guardado-calvo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233856127,
size: 0.5,
source: 182338,
target: 56127 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95622,
label: 'Jérémy Dufloo',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=95622',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233895622,
size: 0.5,
source: 182338,
target: 95622 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 93674,
label: 'Luis Molinos-Albert',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=93674',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233893674,
size: 0.5,
source: 182338,
target: 93674 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4727,
label: 'Marija Backovic',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-marija-backovic-img-3538-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/marija-backovic/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384727,
size: 0.5,
source: 182338,
target: 4727 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 139594,
label: 'Jeanne Chiaravalli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-mdizoduw-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jeanne-chiaravalli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 182338139594,
size: 0.5,
source: 182338,
target: 139594 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 91407,
label: 'Emilie (de La Llave) Giraud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-emilie-de-la-llave-giraud-lrrieuh--400x400-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/emilie-giraud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233891407,
size: 0.5,
source: 182338,
target: 91407 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 145954,
label: 'Laurine Conquet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/08/research_pasteur-laurine-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laurine-conquet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 182338145954,
size: 0.5,
source: 182338,
target: 145954 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 134005,
label: 'Delphine Planas',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-delphine_planas-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/delphine-planas/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 182338134005,
size: 0.5,
source: 182338,
target: 134005 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3940,
label: 'Isabelle Staropoli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_image-32-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/isabelle-staropoli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823383940,
size: 0.5,
source: 182338,
target: 3940 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 21458,
label: 'Florence Guivel-Benhassine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-flo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florence-guivel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233821458,
size: 0.5,
source: 182338,
target: 21458 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4578,
label: 'Thierry Hieu',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4578',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384578,
size: 0.5,
source: 182338,
target: 4578 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 99492,
label: 'Mikaël Boullé',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/mikael-boulle/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18233899492,
size: 0.5,
source: 182338,
target: 99492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7878) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1823387878,
size: 0.5,
source: 182338,
target: 7878 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4051,
label: 'Pierre Charneau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig10-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/pierre-charneau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384051,
size: 0.5,
source: 182338,
target: 4051 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4920) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1823384920,
size: 0.5,
source: 182338,
target: 4920 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7850,
label: 'Fabrice Agou',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_image010-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fabrice-agou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823387850,
size: 0.5,
source: 182338,
target: 7850 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4765,
label: 'Etienne Simon-Loriere',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_e.simon-loriere_1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/etienne-simon-loriere/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384765,
size: 0.5,
source: 182338,
target: 4765 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3977,
label: 'Hervé Bourhy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig50-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/herve-bourhy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823383977,
size: 0.5,
source: 182338,
target: 3977 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4644,
label: 'Xavier Montagutelli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-xavier-montagutelli-xm-web-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/xavier-montagutelli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384644,
size: 0.5,
source: 182338,
target: 4644 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4724,
label: 'Félix A. Rey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enfelix-a-reyfrfelix-rey-portrait-felixrey-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/felix-rey/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384724,
size: 0.5,
source: 182338,
target: 4724 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 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/en/member/olivier-schwartz/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1823384821,
size: 0.5,
source: 182338,
target: 4821 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1823384575,
size: 0.5,
source: 182338,
target: 4575 });
// 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: 179305,
label: 'NEWS: New publication – Epitope convergence of broadly HIV-1 neutralizing IgA and IgG antibody lineages in a viremic controller',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/04/research_pasteur-new-publication-epitope-convergence-of-broadly-hiv-1-neutralizing-iga-and-igg-antibody-lineages-in-a-viremic-controller-bnabs-hiv-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/news/new-publication-epitope-convergence-of-broadly-hiv-1-neutralizing-iga-and-igg-antibody-lineages-in-a-viremic-controller/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575179305,
size: 0.5,
source: 4575,
target: 179305,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1793057732,
size: 0.5,
source: 179305,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 116577) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 179305116577,
size: 0.5,
source: 179305,
target: 116577 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4184,
label: 'Guillemette Masse-Ranson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/guillemette-masse-ranson/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1793054184,
size: 0.5,
source: 179305,
target: 4184 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 93674) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17930593674,
size: 0.5,
source: 179305,
target: 93674 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17930583681,
size: 0.5,
source: 179305,
target: 83681 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4578) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1793054578,
size: 0.5,
source: 179305,
target: 4578 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/en/member/gerard-pehau-arnaudet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1793051559,
size: 0.5,
source: 179305,
target: 1559 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 135613,
label: 'Giulia Girelli-Zubani',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/giulia-girelli-zubani/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179305135613,
size: 0.5,
source: 179305,
target: 135613 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 175155,
label: 'Oriane Fiquet',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/oriane-fiquet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179305175155,
size: 0.5,
source: 179305,
target: 175155 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 21458) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17930521458,
size: 0.5,
source: 179305,
target: 21458 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4821) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1793054821,
size: 0.5,
source: 179305,
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: 8619,
label: 'François Bontems',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_francois_bontems-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francois-bontems/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1793058619,
size: 0.5,
source: 179305,
target: 8619 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4180,
label: 'James Di Santo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/05/research.pasteur.fr_photojd-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/james-di-santo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1793054180,
size: 0.5,
source: 179305,
target: 4180 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4724) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1793054724,
size: 0.5,
source: 179305,
target: 4724 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1793054575,
size: 0.5,
source: 179305,
target: 4575 });
// 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: 168953,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “The cytoskeleton and viruses”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-the-cytoskeleton-and-viruses/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575168953,
size: 0.5,
source: 4575,
target: 168953,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4052) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1689534052,
size: 0.5,
source: 168953,
target: 4052 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1689533931,
size: 0.5,
source: 168953,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1689534818,
size: 0.5,
source: 168953,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1689534575,
size: 0.5,
source: 168953,
target: 4575 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64278,
label: 'Livia Pedroza-Martins',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/livia-pedroza-martins/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 16895364278,
size: 0.5,
source: 168953,
target: 64278 });
// 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: 161172,
label: 'NEWS: COVID-19: sensitivity of the Indian variant (B.1.617.2) to monoclonal antibodies and sera from convalescent and vaccinated individuals',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/covid-19-sensitivity-of-the-indian-variant-b-1-617-2-to-monoclonal-antibodies-and-sera-from-convalescent-and-vaccinated-individuals/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575161172,
size: 0.5,
source: 4575,
target: 161172,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 134005) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 161172134005,
size: 0.5,
source: 161172,
target: 134005 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4821) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1611724821,
size: 0.5,
source: 161172,
target: 4821 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1611724575,
size: 0.5,
source: 161172,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4724) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1611724724,
size: 0.5,
source: 161172,
target: 4724 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4765) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1611724765,
size: 0.5,
source: 161172,
target: 4765 });
// 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: 157425,
label: 'PROJECT: Antibody memory B-cell response to Chikungunya virus',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-research.pasteur.fr-figura6-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/antibody-memory-b-cell-response-to-chikungunya-virus/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575157425,
size: 0.5,
source: 4575,
target: 157425,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4577,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1574254577,
size: 0.5,
source: 157425,
target: 4577 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1574257732,
size: 0.5,
source: 157425,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1574254575,
size: 0.5,
source: 157425,
target: 4575 });
// 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: 157415,
label: 'PROJECT: Humoral immunity in HIV-1 post-treatment controllers',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-humoral-immunoprofiling-in-hiv-1-post-treatment-controllers-hiv-sb-150x150.png',
page_url: 'https://research.pasteur.fr/en/project/humoral-immunoprofiling-in-hiv-1-post-treatment-controllers/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575157415,
size: 0.5,
source: 4575,
target: 157415,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4600,
label: 'Asier Sáez-Cirión',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_dsc2316-e1441290951360-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/asier-saez-cirion/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1574154600,
size: 0.5,
source: 157415,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1574154575,
size: 0.5,
source: 157415,
target: 4575 });
// 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: 157409,
label: 'PROJECT: Humoral immune response & immunotherapy in HBV infection',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-humoral-immune-responses-amp-immunotherapies-against-hbv-400-3714-150x150.png',
page_url: 'https://research.pasteur.fr/en/project/humoral-immune-responses-immunotherapies-against-hbv/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575157409,
size: 0.5,
source: 4575,
target: 157409,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7786,
label: 'Maryline Bourgine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-maryline-bourgine-moi-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/maryline-bourgine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1574097786,
size: 0.5,
source: 157409,
target: 7786 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1574094575,
size: 0.5,
source: 157409,
target: 4575 });
// 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: 157392,
label: 'PROJECT: Humoral immunity & human monoclonal antibodies against SARS-CoV-2',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-5aa19k0a-1586055107-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/project/humoral-immunity-human-monoclonal-antibodies-against-sars-cov-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575157392,
size: 0.5,
source: 4575,
target: 157392,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1573924575,
size: 0.5,
source: 157392,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15739283681,
size: 0.5,
source: 157392,
target: 83681 });
// 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: 148051,
label: 'NEWS: Potent human broadly neutralizing antibodies to hepatitis B virus from natural controllers',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/potent-human-broadly-neutralizing-antibodies-to-hepatitis-b-virus-from-natural-controllers/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575148051,
size: 0.5,
source: 4575,
target: 148051,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1480514575,
size: 0.5,
source: 148051,
target: 4575 });
// 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: 126176,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “Mechanisms of HIV antigen presentation”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-mechanisms-of-hiv-antigen-presentation/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575126176,
size: 0.5,
source: 4575,
target: 126176,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1261763931,
size: 0.5,
source: 126176,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1261764818,
size: 0.5,
source: 126176,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1261764575,
size: 0.5,
source: 126176,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1261764600,
size: 0.5,
source: 126176,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 12617664278,
size: 0.5,
source: 126176,
target: 64278 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 22093,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 12617622093,
size: 0.5,
source: 126176,
target: 22093 });
// 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: 124993,
label: 'EVENT: Groupe de Reflexion SIDA (GRS) seminar: “Determinants of HIV-1 broadly neutralizing antibody induction”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-seminar-determinants-of-hiv-1-broadly-neutralizing-antibody-induction/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575124993,
size: 0.5,
source: 4575,
target: 124993,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4821) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1249934821,
size: 0.5,
source: 124993,
target: 4821 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1249933931,
size: 0.5,
source: 124993,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1249934818,
size: 0.5,
source: 124993,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1249934575,
size: 0.5,
source: 124993,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1249934600,
size: 0.5,
source: 124993,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 22093) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 12499322093,
size: 0.5,
source: 124993,
target: 22093 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 12499364278,
size: 0.5,
source: 124993,
target: 64278 });
// 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: 123284,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “Mechanisms of restriction of viral entry”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-mechanisms-of-restriction-of-viral-entry/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575123284,
size: 0.5,
source: 4575,
target: 123284,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1232844818,
size: 0.5,
source: 123284,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1232843931,
size: 0.5,
source: 123284,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1232844575,
size: 0.5,
source: 123284,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1232844600,
size: 0.5,
source: 123284,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 12328464278,
size: 0.5,
source: 123284,
target: 64278 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 22093) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 12328422093,
size: 0.5,
source: 123284,
target: 22093 });
// 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: 67444,
label: 'PROJECT: Archive of the Group for AIDS Research',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/04/research.pasteur.fr_archive-logo_grs-logo-3-square-1-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/archive-of-the-group-for-aids-research/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457567444,
size: 0.5,
source: 4575,
target: 67444,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 674443931,
size: 0.5,
source: 67444,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 674444600,
size: 0.5,
source: 67444,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 674444818,
size: 0.5,
source: 67444,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 674444575,
size: 0.5,
source: 67444,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 22093) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6744422093,
size: 0.5,
source: 67444,
target: 22093 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6744464278,
size: 0.5,
source: 67444,
target: 64278 });
// 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: 117148,
label: 'EVENT: Groupe de Reflexion SIDA (GRS) seminar: “Tissue-like 3D environment shape modes of HIV-spread”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/11/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-seminar-tissue-like-3d-environment-shape-modes-of-hiv-spread-by-oliver-fackler/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575117148,
size: 0.5,
source: 4575,
target: 117148,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1171484818,
size: 0.5,
source: 117148,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1171483931,
size: 0.5,
source: 117148,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1171484575,
size: 0.5,
source: 117148,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1171484600,
size: 0.5,
source: 117148,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11714864278,
size: 0.5,
source: 117148,
target: 64278 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 22093) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11714822093,
size: 0.5,
source: 117148,
target: 22093 });
// 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: 113802,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) seminar: “Defining Correlates of Immunology using Systems Serology”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-seminar-defining-correlates-of-immunology-using-systems-serology-by-galit-alter/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575113802,
size: 0.5,
source: 4575,
target: 113802,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4821) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1138024821,
size: 0.5,
source: 113802,
target: 4821 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1138023931,
size: 0.5,
source: 113802,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1138024818,
size: 0.5,
source: 113802,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1138024600,
size: 0.5,
source: 113802,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1138024575,
size: 0.5,
source: 113802,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11380264278,
size: 0.5,
source: 113802,
target: 64278 });
// 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: 108322,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “Humanized mice models for HIV studies”',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-humanized-mice-models-for-hiv-studies/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575108322,
size: 0.5,
source: 4575,
target: 108322,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1083223931,
size: 0.5,
source: 108322,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1083224818,
size: 0.5,
source: 108322,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1083224575,
size: 0.5,
source: 108322,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1083224600,
size: 0.5,
source: 108322,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10832264278,
size: 0.5,
source: 108322,
target: 64278 });
// 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: 104069,
label: 'EVENT: GRS (Groupe de Réflexion SIDA) meeting: “Immune reconstitution in HIV infection”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-grs-logo-3-square-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/grs-groupe-de-reflexion-sida-meeting-immune-reconstitution-hiv-infection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575104069,
size: 0.5,
source: 4575,
target: 104069,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1040694818,
size: 0.5,
source: 104069,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1040693931,
size: 0.5,
source: 104069,
target: 3931 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64282,
label: 'Jade Ghosn',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/jade-ghosn/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 10406964282,
size: 0.5,
source: 104069,
target: 64282 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1040694575,
size: 0.5,
source: 104069,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10406964278,
size: 0.5,
source: 104069,
target: 64278 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1040694600,
size: 0.5,
source: 104069,
target: 4600 });
// 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: 102671,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “Metabolism and HIV”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-metabolism-hiv/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4575102671,
size: 0.5,
source: 4575,
target: 102671,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1026714818,
size: 0.5,
source: 102671,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1026714600,
size: 0.5,
source: 102671,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1026713931,
size: 0.5,
source: 102671,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1026714575,
size: 0.5,
source: 102671,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10267164278,
size: 0.5,
source: 102671,
target: 64278 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64282) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10267164282,
size: 0.5,
source: 102671,
target: 64282 });
// 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: 98159,
label: 'EVENT: Groupe de Réflexion SIDA (GRS) meeting: “HIV vaccination strategies”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/groupe-de-reflexion-sida-grs-meeting-hiv-vaccination-strategies/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457598159,
size: 0.5,
source: 4575,
target: 98159,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 981594818,
size: 0.5,
source: 98159,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 981594575,
size: 0.5,
source: 98159,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 981593931,
size: 0.5,
source: 98159,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 9815964278,
size: 0.5,
source: 98159,
target: 64278 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64282) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 9815964282,
size: 0.5,
source: 98159,
target: 64282 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 981594600,
size: 0.5,
source: 98159,
target: 4600 });
// 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: 88555,
label: 'EVENT: GRS (Groupe de Reflexion SIDA) meeting: “Residual risk of HIV sexual transmission”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/04/research.pasteur.fr_grs-logo-3-square-150x150.png',
page_url: 'https://research.pasteur.fr/en/event/grs-groupe-de-reflexion-sida-meeting-residual-risk-of-hiv-sexual-transmission/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457588555,
size: 0.5,
source: 4575,
target: 88555,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64282) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8855564282,
size: 0.5,
source: 88555,
target: 64282 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885554818,
size: 0.5,
source: 88555,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885553931,
size: 0.5,
source: 88555,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885554575,
size: 0.5,
source: 88555,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 885554600,
size: 0.5,
source: 88555,
target: 4600 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 64278) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8855564278,
size: 0.5,
source: 88555,
target: 64278 });
// 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: 87473,
label: 'EVENT: Patrick Wilson seminar',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/patrick-wilson-seminar/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457587473,
size: 0.5,
source: 4575,
target: 87473,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 874734575,
size: 0.5,
source: 87473,
target: 4575 });
// 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: 85541,
label: 'EVENT: Bernardo Reina San Martin seminar',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/bernardo-reina-san-martin-seminar/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457585541,
size: 0.5,
source: 4575,
target: 85541,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4176,
label: 'Ludovic Deriano',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/07/research.pasteur.fr_sans-titre-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/ludovic-deriano/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 855414176,
size: 0.5,
source: 85541,
target: 4176 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 855414575,
size: 0.5,
source: 85541,
target: 4575 });
// 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: 66174,
label: 'NEWS: Antibodies capable of eliminating HIV-infected cells',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/antibodies-capable-of-eliminating-hiv-infected-cells/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457566174,
size: 0.5,
source: 4575,
target: 66174,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4817) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 661744817,
size: 0.5,
source: 66174,
target: 4817 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4821) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 661744821,
size: 0.5,
source: 66174,
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: 8623,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 661748623,
size: 0.5,
source: 66174,
target: 8623 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 661744575,
size: 0.5,
source: 66174,
target: 4575 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 58565,
label: 'Sonia Amraoui',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-689687-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sonia-amraoui/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6617458565,
size: 0.5,
source: 66174,
target: 58565 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29249,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6617429249,
size: 0.5,
source: 66174,
target: 29249 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4332,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 661744332,
size: 0.5,
source: 66174,
target: 4332 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4819,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 661744819,
size: 0.5,
source: 66174,
target: 4819 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 661747732,
size: 0.5,
source: 66174,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 661744818,
size: 0.5,
source: 66174,
target: 4818 });
// 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: 64262,
label: 'PROJECT: Group for AIDS Research',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/02/research.pasteur.fr_grs-logo-3-square-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/project/groupe-reflexion-sida/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457564262,
size: 0.5,
source: 4575,
target: 64262,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4818) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642624818,
size: 0.5,
source: 64262,
target: 4818 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642623931,
size: 0.5,
source: 64262,
target: 3931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642624575,
size: 0.5,
source: 64262,
target: 4575 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4600) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642624600,
size: 0.5,
source: 64262,
target: 4600 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4597,
label: 'Michaela Muller-Trutwin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_michaela-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/michaela-muller-trutwin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 642624597,
size: 0.5,
source: 64262,
target: 4597 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4821) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642624821,
size: 0.5,
source: 64262,
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: 4881,
label: 'Frédéric Tangy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig11-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/frederic-tangy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 642624881,
size: 0.5,
source: 64262,
target: 4881 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4963,
label: 'Simon Wain-Hobson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig2-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/simon-wain-hobson/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 642624963,
size: 0.5,
source: 64262,
target: 4963 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4051) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642624051,
size: 0.5,
source: 64262,
target: 4051 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3928,
label: 'Fernando Arenzana-Seisdedos',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig60-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fernando-arenzana-seisdedos/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 642623928,
size: 0.5,
source: 64262,
target: 3928 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4052) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 642624052,
size: 0.5,
source: 64262,
target: 4052 });
// 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: 39661,
label: 'PROJECT: Intestinal and IgA B-cell responses to HIV-1',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research_pasteur-intestinal-and-iga-b-cell-responses-to-hiv-1-0c77f95d0b20701e50976110b43be888-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/project/influence-of-treatment-on-the-mucosal-b-cell-responses-in-hiv-1-infected-individuals/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457539661,
size: 0.5,
source: 4575,
target: 39661,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4574,
label: 'Ayrin KÖk Harunova',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4574',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 396614574,
size: 0.5,
source: 39661,
target: 4574 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 3966183681,
size: 0.5,
source: 39661,
target: 83681 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 396617732,
size: 0.5,
source: 39661,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 396614575,
size: 0.5,
source: 39661,
target: 4575 });
// 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: 39410,
label: 'PROJECT: Clonal B cells in HCV-induced cryoglobulinemia vasculitis',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_sans-titre-24-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/clonal-b-cells-in-cryoglobulinemia-vasculitis-associated-with-hepatitits-c-infection/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457539410,
size: 0.5,
source: 4575,
target: 39410,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 394107732,
size: 0.5,
source: 39410,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 3941083681,
size: 0.5,
source: 39410,
target: 83681 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 394104575,
size: 0.5,
source: 39410,
target: 4575 });
// 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: 29506,
label: 'PROJECT: Antiviral properties of broadly neutralizing HIV-1 antibodies',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research_pasteur-antiviral-properties-of-broadly-neutralizing-hiv-1-antibodies-pymol-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/project/antiviral-properties-of-broadly-neutralizing-hiv-1-antibodies/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457529506,
size: 0.5,
source: 4575,
target: 29506,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4576,
label: 'Julie Prigent',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4576',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 295064576,
size: 0.5,
source: 29506,
target: 4576 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 29249) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2950629249,
size: 0.5,
source: 29506,
target: 29249 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 295067732,
size: 0.5,
source: 29506,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 295064575,
size: 0.5,
source: 29506,
target: 4575 });
// 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: 29497,
label: 'PROJECT: ERC-2013-StG HumAntiViruses',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_erc1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/erc-2013-stg-humantiviruses/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457529497,
size: 0.5,
source: 4575,
target: 29497,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4576) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 294974576,
size: 0.5,
source: 29497,
target: 4576 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 294977732,
size: 0.5,
source: 29497,
target: 7732 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4574) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 294974574,
size: 0.5,
source: 29497,
target: 4574 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4577) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 294974577,
size: 0.5,
source: 29497,
target: 4577 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4578) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 294974578,
size: 0.5,
source: 29497,
target: 4578 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4573,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 294974573,
size: 0.5,
source: 29497,
target: 4573 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2949783681,
size: 0.5,
source: 29497,
target: 83681 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 121828) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 29497121828,
size: 0.5,
source: 29497,
target: 121828 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 294974575,
size: 0.5,
source: 29497,
target: 4575 });
// 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: 21582,
label: 'PROGRAM_PROJECT: LabEx Milieu Intérieur',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_dsc-tb0313_01-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/program_project/milieu-interieur-labex/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 457521582,
size: 0.5,
source: 4575,
target: 21582,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 209100,
label: 'Mercè Guzman Vendrell',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/09/research_pasteur-enmerce-guzman-vendrellfrmerce-guzman-vendrell-mgv-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/merce-guzman-vendrell/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21582209100,
size: 0.5,
source: 21582,
target: 209100 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7844,
label: 'Darragh Duffy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-duffy_photo-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/darragh-duffy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215827844,
size: 0.5,
source: 21582,
target: 7844 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4715,
label: 'Lluis Quintana-Murci',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_quintana_photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lluis-quintana-murci/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215824715,
size: 0.5,
source: 21582,
target: 4715 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3982,
label: 'Philippe Bousso',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_photopb-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/philippe-bousso/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 215823982,
size: 0.5,
source: 21582,
target: 3982 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 23974,
label: 'Olivier Lantz',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig105-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/epartner/olivier-lantz/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2158223974,
size: 0.5,
source: 21582,
target: 23974 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 23983,
label: 'Antoine Toubert',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig108-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/epartner/antoine-toubert/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2158223983,
size: 0.5,
source: 21582,
target: 23983 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 23972,
label: 'Serge Hercberg',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/epartner/serge-hercberg/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2158223972,
size: 0.5,
source: 21582,
target: 23972 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4180) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 215824180,
size: 0.5,
source: 21582,
target: 4180 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 71912,
label: 'Jacques Fellay',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_jacques-fellay.png',
page_url: 'https://research.pasteur.fr/en/epartner/jacques-fellay/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2158271912,
size: 0.5,
source: 21582,
target: 71912 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 71909,
label: 'Kalle Astrom',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_kalle-astrom-150x150.png',
page_url: 'https://research.pasteur.fr/en/epartner/kalle-astrom/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2158271909,
size: 0.5,
source: 21582,
target: 71909 });
// 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: 6119,
label: 'TEAM: Humoral Immunology',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enhumoral-immunology-frimmunologie-humorale-bandeau-labo-mouquet-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/humoral-immunology/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 45756119,
size: 0.5,
source: 4575,
target: 6119,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7732) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61197732,
size: 0.5,
source: 6119,
target: 7732 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 85533,
label: 'Pierre Rosenbaum',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/03/research.pasteur.fr_dsc0589-copie-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/pierre-rosenbaum/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 611985533,
size: 0.5,
source: 6119,
target: 85533 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 126491,
label: 'Sophie Mutricy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-sophie-mutricy-s.-mutricy-photo-badge-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mutricy-sophie/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6119126491,
size: 0.5,
source: 6119,
target: 126491 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 83681) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 611983681,
size: 0.5,
source: 6119,
target: 83681 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4149,
label: 'Célia Caillet-Saguy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-celia-caillet-saguy-img-20240421-203216-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/celia-caillet-saguy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 61194149,
size: 0.5,
source: 6119,
target: 4149 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210032,
label: 'Lina Boumediene',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-enlina-boumedienefrlina-boumediene-img-8807bis-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lina-boumediene/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6119210032,
size: 0.5,
source: 6119,
target: 210032 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 230197,
label: 'Marius Allombert',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/09/research_pasteur-enmarius-allombertfrmarius-allombert-img-1375-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marius-allombert/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6119230197,
size: 0.5,
source: 6119,
target: 230197 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4575) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 61194575,
size: 0.5,
source: 6119,
target: 4575 });
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) {
});