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: 4255,
label: 'Anna-Bella Failloux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_ab-failloux3-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var biggest_node_size = 0;
N=41
// 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: 224718,
label: 'EVENT: Adapting to Change: Emerging Infectious Diseases in a Shifting Climate',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/ibeid-congress-24/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255224718,
size: 0.5,
source: 4255,
target: 224718,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4775,
label: 'Carla Saleh',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha68-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/carla-saleh/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2247184775,
size: 0.5,
source: 224718,
target: 4775 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3949,
label: 'Philippe Bastin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_philippe_bastin-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-bastin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2247183949,
size: 0.5,
source: 224718,
target: 3949 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 203306,
label: 'Cyril Renassia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/06/research_pasteur-cyril-renassia-photo-cv-2023-cropped-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/cyril-renassia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 224718203306,
size: 0.5,
source: 224718,
target: 203306 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2247184255,
size: 0.5,
source: 224718,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4765,
label: 'Etienne Simon-Loriere',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_e.simon-loriere_1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/etienne-simon-loriere/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2247184765,
size: 0.5,
source: 224718,
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: 4058,
label: 'Chetan Chitnis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_chitnis_photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/chetan-chitnis/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2247184058,
size: 0.5,
source: 224718,
target: 4058 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 23955,
label: 'Nadine Cerf-Bensussan',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/epartner/nadine-cerf-bensussan/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 22471823955,
size: 0.5,
source: 224718,
target: 23955 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4087,
label: 'Mélanie Hamon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/01/research.pasteur.fr_p1010312-version-2-4-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/melanie-hamon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2247184087,
size: 0.5,
source: 224718,
target: 4087 });
// 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: 215058,
label: 'NEWS: ARES: ARbovirology European Society',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/ares-arbovirology-european-society__trashed/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255215058,
size: 0.5,
source: 4255,
target: 215058,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2150584255,
size: 0.5,
source: 215058,
target: 4255 });
// 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: 208243,
label: 'NEWS: Vector Borne Diseases 2023 – OMI Pasteur course',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/vector-borne-diseases-2023-omi-pasteur-course/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255208243,
size: 0.5,
source: 4255,
target: 208243,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2082434255,
size: 0.5,
source: 208243,
target: 4255 });
// 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: 203344,
label: 'NEWS: New publication : Assessing vector competence of mosquitoes from northeastern France to West Nile virus and Usutu virus',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/new-publication-assessing-vector-competence-of-mosquitoes-from-northeastern-france-to-west-nile-virus-and-usutu-virus/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255203344,
size: 0.5,
source: 4255,
target: 203344,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2033444255,
size: 0.5,
source: 203344,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 121771,
label: 'Chloé Bohers',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/02/research_pasteur-chloe-bohers-2-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/chloe-bohers/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 203344121771,
size: 0.5,
source: 203344,
target: 121771 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8509,
label: 'Laurence Mousson',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_laurence1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/laurence-mousson/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2033448509,
size: 0.5,
source: 203344,
target: 8509 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4260,
label: 'Marie Vazeille',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_marie2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-vazeille/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2033444260,
size: 0.5,
source: 203344,
target: 4260 });
// 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: 203258,
label: 'NEWS: New publication on climate change and vector-borne diseases: a multi-omics approach of temperature-induced changes in the mosquito',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/new-publication-on-climate-change-and-vector-borne-diseases-a-multi-omics-approach-of-temperature-induced-changes-in-the-mosquito/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255203258,
size: 0.5,
source: 4255,
target: 203258,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2032584255,
size: 0.5,
source: 203258,
target: 4255 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4260) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2032584260,
size: 0.5,
source: 203258,
target: 4260 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8509) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2032588509,
size: 0.5,
source: 203258,
target: 8509 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7847,
label: 'Pierre Lechat',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig37-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/pierre-lechat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2032587847,
size: 0.5,
source: 203258,
target: 7847 });
// 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: 196432,
label: 'COURSE: Medical Entomology MOOC',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/02/research_pasteur-medical-entomology-mooc-tique-1-sarah-bonnet-grosplan-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/course/medical-entomology-mooc/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255196432,
size: 0.5,
source: 4255,
target: 196432,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1964324255,
size: 0.5,
source: 196432,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137201,
label: 'Marine Viglietta',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/01/research_pasteur-marine-photo-2-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/viglietta/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 196432137201,
size: 0.5,
source: 196432,
target: 137201 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7063,
label: 'Monica Sala',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-monica-sala-research-pasteur-monica-sala-monicaphoto2020-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/monica-sala/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1964327063,
size: 0.5,
source: 196432,
target: 7063 });
// 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: 186185,
label: 'NEWS: New publication on Zika virus',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/new-publication-on-zika-virus/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255186185,
size: 0.5,
source: 4255,
target: 186185,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1861854255,
size: 0.5,
source: 186185,
target: 4255 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4260) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1861854260,
size: 0.5,
source: 186185,
target: 4260 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70981,
label: 'Thomas Obadia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_p1040999_crop-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thomas-obadia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18618570981,
size: 0.5,
source: 186185,
target: 70981 });
// 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: 182697,
label: 'NEWS: OMI – IP Mexico “One health: Vector-borne Diseases”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/06/research_pasteur-omi-ip-mexico-one-health-vector-borne-diseases-img-20220615-wa0006-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/omi-ip-mexico-one-health-vector-borne-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255182697,
size: 0.5,
source: 4255,
target: 182697,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1826974255,
size: 0.5,
source: 182697,
target: 4255 });
// 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: 171551,
label: 'NEWS: AIV lab meeting in Arromanches',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/aiv-lab-meeting-in-arromanches/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255171551,
size: 0.5,
source: 4255,
target: 171551,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1715514255,
size: 0.5,
source: 171551,
target: 4255 });
// 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: 150753,
label: 'COURSE: OMI – Pasteur Course on Global Health: Vector-Borne Diseases',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/omi-pasteur-course-on-global-health-vector-borne-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255150753,
size: 0.5,
source: 4255,
target: 150753,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1507534255,
size: 0.5,
source: 150753,
target: 4255 });
// 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: 150660,
label: 'COURSE: Cours international d’entomologie médicale au Laos',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/cours-au-laos-3/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255150660,
size: 0.5,
source: 4255,
target: 150660,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1506604255,
size: 0.5,
source: 150660,
target: 4255 });
// 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: 131075,
label: 'PROJECT: Mosquito host barriers driving vector specificity for arbovirus tranmission (ArboVec)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-anr-150x150.png',
page_url: 'https://research.pasteur.fr/fr/project/mosquito-host-barriers-driving-vector-specificity-for-arbovirus-tranmission-arbovec/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255131075,
size: 0.5,
source: 4255,
target: 131075,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1310754255,
size: 0.5,
source: 131075,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4949,
label: 'Kenneth Vernick',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_kenneth-vernick-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/kenneth-vernick__trashed/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1310754949,
size: 0.5,
source: 131075,
target: 4949 });
// 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: 131072,
label: 'PROJECT: PREventing EMerging Pahtogenic Threats (PREEMPT) (DARPA)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-darpa-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/preventing-emerging-pahtogenic-threats-preempt-darpa/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255131072,
size: 0.5,
source: 4255,
target: 131072,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1310724255,
size: 0.5,
source: 131072,
target: 4255 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4775) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1310724775,
size: 0.5,
source: 131072,
target: 4775 });
// 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: 131069,
label: 'PROJECT: Strengthening Omics Data Analysis Capacities in Pathogen-Host Interaction – PHINDaccess',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-horizon-2020-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/strengthening-omics-data-analysis-capacities-in-pathogen-host-interaction-phindaccess/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255131069,
size: 0.5,
source: 4255,
target: 131069,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1310694255,
size: 0.5,
source: 131069,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 130693,
label: 'helmi merdassi',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/riip_member/helmi-merdassi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 131069130693,
size: 0.5,
source: 131069,
target: 130693 });
// 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: 130934,
label: 'PROJECT: COST Action Aedes Invasive Mosquitoes (AIM)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-horizon-2020-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/cost-action-aedes-invasive-mosquitoes-aim/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255130934,
size: 0.5,
source: 4255,
target: 130934,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1309344255,
size: 0.5,
source: 130934,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 130691,
label: 'Alessandra della Torre',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/08/research_pasteur-alessandre-della-torre-adt-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/epartner/alessandre-della-torre/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 130934130691,
size: 0.5,
source: 130934,
target: 130691 });
// 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: 130682,
label: 'PROJECT: ENVironmental changes and mosquito-borne diseases: the example of West-Nile (ENVIRON-MOS) (IPIN)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/project/environmental-changes-and-mosquito-borne-diseases-the-example-of-west-nile-environ-mos-ipin/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255130682,
size: 0.5,
source: 4255,
target: 130682,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1306824255,
size: 0.5,
source: 130682,
target: 4255 });
// 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: 130309,
label: 'EVENT: Virology Department : Thesis Defense “Characterization of non-retroviral integrated RNA virus sequences (NIRVS) in Aedes albopictus populations and Relation with vector competence” with Vincent Houé',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/event/virology-department-thesis-defense-characterization-of-non-retroviral-integrated-rna-virus-sequences-nirvs-in-aedes-albopictus-populations-and-relation-with-vector-competence-with-vincent-houe/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255130309,
size: 0.5,
source: 4255,
target: 130309,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79864,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 13030979864,
size: 0.5,
source: 130309,
target: 79864 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1303094255,
size: 0.5,
source: 130309,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 80094,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 13030980094,
size: 0.5,
source: 130309,
target: 80094 });
// 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: 129695,
label: 'NEWS: Mid-term MATI project Algiers 8-9 July 2019',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-devoilee-5242-002-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/mid-term-mati-project-algiers-8-9-july-2019/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255129695,
size: 0.5,
source: 4255,
target: 129695,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1296954255,
size: 0.5,
source: 129695,
target: 4255 });
// 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: 129183,
label: 'NEWS: Second international medical entomology course',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-groupe-web-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/second-international-medical-entomology-course/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255129183,
size: 0.5,
source: 4255,
target: 129183,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1291834255,
size: 0.5,
source: 129183,
target: 4255 });
// 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: 127606,
label: 'NEWS: Our new insectaries',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/06/research_pasteur-inauguration-insectarium-6456-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/our-new-insectaries/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255127606,
size: 0.5,
source: 4255,
target: 127606,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1276064255,
size: 0.5,
source: 127606,
target: 4255 });
// 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: 127597,
label: 'NEWS: Joint Lab meeting in Reims, the city of Champagne (28-29 May 2019) with the unit of Prof. Jérôme Depaquit (EA 7510 ESCAPE – USC ANSES VECPAR, Université de Reims)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/06/research_pasteur-20190529_165320_078-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/joint-lab-meeting-in-reims-the-city-of-champagne-28-29-may-2019-with-the-unit-of-prof-jerome-depaquit-ea-7510-escape-usc-anses-vecpar-universite-de-reims/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255127597,
size: 0.5,
source: 4255,
target: 127597,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1275974255,
size: 0.5,
source: 127597,
target: 4255 });
// 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: 118699,
label: 'COURSE: MOOC Medical Entomology 2019',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/mooc-medical-entomology-2019/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255118699,
size: 0.5,
source: 4255,
target: 118699,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1186994255,
size: 0.5,
source: 118699,
target: 4255 });
// 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: 117850,
label: 'NEWS: Meeting at the National Laboratory of Public Health in Port-au-Prince (Haiti) on November 23 2018.',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-haiti_2018-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/meeting-at-the-national-laboratory-of-public-health-in-port-au-prince-haiti-on-november-23-2018/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255117850,
size: 0.5,
source: 4255,
target: 117850,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1178504255,
size: 0.5,
source: 117850,
target: 4255 });
// 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: 109332,
label: 'NEWS: Project MATI “ENVIRONmental changes and MOSquito-borne diseases: the example of West Nile (ENVIRON-MOS)” coordinated by Institut Pasteur Paris (Failloux Anna-Bella) and Institut Pasteur Iran (Dinparast Navid)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_mati-2-150x150.png',
page_url: 'https://research.pasteur.fr/fr/news/project-mati-environmental-changes-and-mosquito-borne-diseases-the-example-of-west-nile-environ-mos-coordinated-by-institut-pasteur-paris-failloux-anna-bella-and-institut-pasteu/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255109332,
size: 0.5,
source: 4255,
target: 109332,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4260) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1093324260,
size: 0.5,
source: 109332,
target: 4260 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1093324255,
size: 0.5,
source: 109332,
target: 4255 });
// 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: 109328,
label: 'NEWS: IVTAP Course 2018',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-ivtap-course-2018-ivtap-2018-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/ivtap-course-2018/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255109328,
size: 0.5,
source: 4255,
target: 109328,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4260) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1093284260,
size: 0.5,
source: 109328,
target: 4260 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1093284255,
size: 0.5,
source: 109328,
target: 4255 });
// 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: 109324,
label: 'NEWS: Joint Lab meeting in Corte (28 – 30 May 2018) with Units of Xavier De Lamballerie (Aix-Marseille University) and Alessandra Falchi (University of Corte)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-joint-lab-meeting-in-corte-28-30-may-2018-with-units-of-xavier-de-lamballerie-aix-marseille-university-and-alessandra-falchi-university-of-corte-groupe-30-05-2018-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/news/joint-lab-meeting-in-corte-28-30-may-2018-with-units-of-xavier-de-lamballerie-aix-marseille-university-and-alessandra-falchi-university-of-corte/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 4255109324,
size: 0.5,
source: 4255,
target: 109324,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1093244255,
size: 0.5,
source: 109324,
target: 4255 });
// 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: 98414,
label: 'NEWS: Final meeting of the project “Vector competence to Zika virus of mosquitoes in the Mediterranean region (VEC-ZIKA-MED)” funded by WHO – Rabat, 30 October 2017',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/final-meeting-of-the-project-vector-competence-to-zika-virus-of-mosquitoes-in-the-mediterranean-region-vec-zika-med-funded-by-who-rabat-30-october-2017/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425598414,
size: 0.5,
source: 4255,
target: 98414,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 984144255,
size: 0.5,
source: 98414,
target: 4255 });
// 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: 95267,
label: 'NEWS: IMAV 2017',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/imav-2017/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425595267,
size: 0.5,
source: 4255,
target: 95267,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 952674255,
size: 0.5,
source: 95267,
target: 4255 });
// 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: 93699,
label: 'NEWS: EMBO Conference (24-28 July 2017)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/embo-conference-24-28-july-2017/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425593699,
size: 0.5,
source: 4255,
target: 93699,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 936994255,
size: 0.5,
source: 93699,
target: 4255 });
// 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: 80943,
label: 'PROGRAM_PROJECT: Résistance aux agents antimicrobiens',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research_pasteur-enantimicrobial-resistance-frresistance-aux-agents-antimicrobiens-institutpasteur-34753-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/program_project/antimicrobial-resistance/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425580943,
size: 0.5,
source: 4255,
target: 80943,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 161202,
label: 'Emilie Boutet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/06/research_pasteur-emilie-boutet-essai-jpeg-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/emilie-boutet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 80943161202,
size: 0.5,
source: 80943,
target: 161202 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95915,
label: 'Paola Arimondo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-p-arimondo_5757-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/paola-arimondo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8094395915,
size: 0.5,
source: 80943,
target: 95915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7209,
label: 'Philippe Glaser',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha41-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/philippe-glaser/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 809437209,
size: 0.5,
source: 80943,
target: 7209 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 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/fr/member/fabrice-agou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 809437850,
size: 0.5,
source: 80943,
target: 7850 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 809434255,
size: 0.5,
source: 80943,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4447,
label: 'Thierry Fontaine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/07/research_pasteur-20190614_185922_crop-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/thierry-fontaine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 809434447,
size: 0.5,
source: 80943,
target: 4447 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4541,
label: 'Didier Mazel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-didier-mazel-img-6478-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/didier-mazel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 809434541,
size: 0.5,
source: 80943,
target: 4541 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95085,
label: 'Didier Ménard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/12/research_pasteur-92a3510-5-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/didier-menard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8094395085,
size: 0.5,
source: 80943,
target: 95085 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8485,
label: 'Lulla Opatowski',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_photolulla4-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/lulla-opatowski/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 809438485,
size: 0.5,
source: 80943,
target: 8485 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4724,
label: 'Félix Rey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-enfelix-a-reyfrfelix-rey-portrait-felixrey-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/felix-rey/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 809434724,
size: 0.5,
source: 80943,
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: 81199,
label: 'Kathleen Victoir',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/member/kathleen-victoir/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8094381199,
size: 0.5,
source: 80943,
target: 81199 });
// 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: 84141,
label: 'NEWS: Meeting of WP6 partners within the ZIKALLIANCE consortium Institut Pasteur (30 – 31 January 2017)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/meeting-of-wp6-partners-within-the-zikalliance-consortium-institut-pasteur-30-31-january-2017/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425584141,
size: 0.5,
source: 4255,
target: 84141,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 841414255,
size: 0.5,
source: 84141,
target: 4255 });
// 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: 82334,
label: 'NEWS: PhD Studentship University of Melbourne',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/phd-studentship-university-of-melbourne/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425582334,
size: 0.5,
source: 4255,
target: 82334,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 823344255,
size: 0.5,
source: 82334,
target: 4255 });
// 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: 81524,
label: 'PROJECT: Infravec2 – Research Infrastructures for the Control of Vector-borne Diseases',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/12/research.pasteur.fr_r24589p-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/infravec2-research-infrastructures-for-the-control-of-vector-borne-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425581524,
size: 0.5,
source: 4255,
target: 81524,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4949) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 815244949,
size: 0.5,
source: 81524,
target: 4949 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 815244255,
size: 0.5,
source: 81524,
target: 4255 });
// 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: 79963,
label: 'NEWS: MATI regional Meeting',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_mati-2-150x150.png',
page_url: 'https://research.pasteur.fr/fr/news/mati-regional-meeting/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425579963,
size: 0.5,
source: 4255,
target: 79963,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 799634255,
size: 0.5,
source: 79963,
target: 4255 });
// 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: 76499,
label: 'NEWS: Seminar of the Virology Department',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/news/seminar-of-the-virology-department/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425576499,
size: 0.5,
source: 4255,
target: 76499,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4435,
label: 'Monique Lafon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_m-lafon-site-web-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/monique-lafon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 764994435,
size: 0.5,
source: 76499,
target: 4435 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 764994255,
size: 0.5,
source: 76499,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4258,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 764994258,
size: 0.5,
source: 76499,
target: 4258 });
// 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: 61799,
label: 'COURSE: Insectes Vecteurs et Transmission des Agents Pathogènes (IVTAP)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/course/insectes-vecteurs-et-transmission-des-agents-pathogenes-ivtap/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425561799,
size: 0.5,
source: 4255,
target: 61799,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 617994255,
size: 0.5,
source: 61799,
target: 4255 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8509) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 617998509,
size: 0.5,
source: 61799,
target: 8509 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4260) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 617994260,
size: 0.5,
source: 61799,
target: 4260 });
// adding node
var x_node = Math.cos(2 * 36 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 36 * Math.PI / N) * 10;
g.nodes.push({
id: 61744,
label: 'PROJECT: Programmes Transversaux de Recherche Anses – Institut Pasteur',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-anseslogojpg-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/project/programmes-transversaux-de-recherche-anses-institut-pasteur/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425561744,
size: 0.5,
source: 4255,
target: 61744,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8509) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 617448509,
size: 0.5,
source: 61744,
target: 8509 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 617444255,
size: 0.5,
source: 61744,
target: 4255 });
// adding node
var x_node = Math.cos(2 * 37 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 37 * Math.PI / N) * 10;
g.nodes.push({
id: 61740,
label: 'PROJECT: ANR “Organismes pathogènes, infections, immunité”',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/03/research_pasteur-anr-150x150.png',
page_url: 'https://research.pasteur.fr/fr/project/anr-organismes-pathogenes-infections-immunite/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425561740,
size: 0.5,
source: 4255,
target: 61740,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4365,
label: 'Marie-Lise Gougeon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_marie-lise-gougeon-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/marie-lise-gougeon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 617404365,
size: 0.5,
source: 61740,
target: 4365 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 617404255,
size: 0.5,
source: 61740,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94351,
label: 'Xavier de Lamballerie',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/epartner/xavier-de-lamballerie/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6174094351,
size: 0.5,
source: 61740,
target: 94351 });
// adding node
var x_node = Math.cos(2 * 38 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 38 * Math.PI / N) * 10;
g.nodes.push({
id: 44843,
label: 'PROJECT: DENFREE consortium – Dengue Framework for Resisting Epidemics in Europe',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_logodenfree-150x121.jpg',
page_url: 'https://research.pasteur.fr/fr/project/denfree-consortium-dengue-framework-for-resisting-epidemics-in-europe/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425544843,
size: 0.5,
source: 4255,
target: 44843,
});
//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: 448434724,
size: 0.5,
source: 44843,
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: 4438,
label: 'Louis Lambrechts',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-louis-lambrechts-dsc6143-cropped-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/louis-lambrechts/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 448434438,
size: 0.5,
source: 44843,
target: 4438 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 448434255,
size: 0.5,
source: 44843,
target: 4255 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4955,
label: 'Marco Vignuzzi',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/fr/?post_type=member&p=4955',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 448434955,
size: 0.5,
source: 44843,
target: 4955 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4728,
label: 'Giovanna Barba-Spaeth',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-giovanna-barba-spaeth-screenshot-2023-02-02-at-21.17.34-150x150.png',
page_url: 'https://research.pasteur.fr/fr/member/giovanna-barba-spaeth/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 448434728,
size: 0.5,
source: 44843,
target: 4728 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4764,
label: 'Anavaj Sakuntabhai',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_l1000961-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/anavaj-sakuntabhai/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 448434764,
size: 0.5,
source: 44843,
target: 4764 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4761,
label: 'Richard Paul',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research.pasteur.fr_endmovember-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/richard-paul/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 448434761,
size: 0.5,
source: 44843,
target: 4761 });
// adding node
var x_node = Math.cos(2 * 39 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 39 * Math.PI / N) * 10;
g.nodes.push({
id: 14686,
label: 'PROGRAM_PROJECT: Labex IBEID – Integrative Biology of Emerging Infectious Diseases',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_labex-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/program_project/integrative-biology-of-emerging-infectious-diseases/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 425514686,
size: 0.5,
source: 4255,
target: 14686,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 203306) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 14686203306,
size: 0.5,
source: 14686,
target: 203306 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 3949) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 146863949,
size: 0.5,
source: 14686,
target: 3949 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4775) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 146864775,
size: 0.5,
source: 14686,
target: 4775 });
// adding node
var x_node = Math.cos(2 * 40 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 40 * Math.PI / N) * 10;
g.nodes.push({
id: 6232,
label: 'TEAM: Arbovirus et Insectes Vecteurs (AIV)',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research.pasteur.fr_arboviruses-and-insect-vectors-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/team/arboviruses-and-insect-vectors/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 42556232,
size: 0.5,
source: 4255,
target: 6232,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 8509) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62328509,
size: 0.5,
source: 6232,
target: 8509 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4260) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62324260,
size: 0.5,
source: 6232,
target: 4260 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8384,
label: 'Malika Hocine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_malika-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/malika-hocine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62328384,
size: 0.5,
source: 6232,
target: 8384 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 121771) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6232121771,
size: 0.5,
source: 6232,
target: 121771 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 121157,
label: 'Adrien Blisnick',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/01/research_pasteur-adrien-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/adrien-blisnick/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232121157,
size: 0.5,
source: 6232,
target: 121157 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 137201) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6232137201,
size: 0.5,
source: 6232,
target: 137201 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 179328,
label: 'Benjamin Dupuis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/01/research_pasteur-photo-dupuis-benjamin-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/benjamin-dupuis/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232179328,
size: 0.5,
source: 6232,
target: 179328 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 213445,
label: 'Amandine Breton',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/11/research_pasteur-amandine-breton-amandine-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/amandine-breton/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232213445,
size: 0.5,
source: 6232,
target: 213445 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4947,
label: 'Christian Mitri',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_photo-chris-15-10-15-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/christian-mitri/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62324947,
size: 0.5,
source: 6232,
target: 4947 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8337,
label: 'Emma Brito-Fravallo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_photo-du-02-10-2014-à-14.33-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/emma-brito-fravallo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62328337,
size: 0.5,
source: 6232,
target: 8337 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8506,
label: 'Renée Zakhia',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_renee-zakhia-strasbourg-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/renee-zakhia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 62328506,
size: 0.5,
source: 6232,
target: 8506 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 221729,
label: 'Anubis Vega Rua',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/03/research_pasteur-frannubis-vega-rua-1678286262528-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/anubis-vega-rua/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232221729,
size: 0.5,
source: 6232,
target: 221729 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 221735,
label: 'Nicolas Pocquet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/03/research_pasteur-frannubis-vega-rua-nicolas-pocquet-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/nicolas-pocquet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232221735,
size: 0.5,
source: 6232,
target: 221735 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 221732,
label: 'Jean-Bernard Duchemin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/03/research_pasteur-frannubis-vega-rua-pasteur-guyane-02-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/fr/member/jean-bernard-duchemin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232221732,
size: 0.5,
source: 6232,
target: 221732 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 221726,
label: 'Kenneth Vernick',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/03/research_pasteur-frkenneth-vernick-research.pasteur.fr-kenneth-vernick-150x150.webp',
page_url: 'https://research.pasteur.fr/fr/member/kenneth-vernick/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232221726,
size: 0.5,
source: 6232,
target: 221726 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 222154,
label: 'Lazare Brézillon-Dubus',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/03/research_pasteur-frlazare-brezillon-dubus-whatsapp-image-2024-03-14-at-14.51.48-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/lazare-brezillon-dubus/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232222154,
size: 0.5,
source: 6232,
target: 222154 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 221739,
label: 'Jean-Philippe Martinet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/03/research_pasteur-frjean-philippe-martinet-whatsapp-image-2024-04-04-at-12.56.12-150x150.jpeg',
page_url: 'https://research.pasteur.fr/fr/member/jean-philippe-martinet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 6232221739,
size: 0.5,
source: 6232,
target: 221739 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4255) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 62324255,
size: 0.5,
source: 6232,
target: 4255 });
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) {
});