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: 2237,
label: 'Hugo Varet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/IMG_5255-150x150.jpg',
x: 0,
y: 0,
size: 30,
color: '#DDDDDD'
});
var biggest_node_size = 0;
N=44
// 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: 231888,
label: 'TOOL: EXOTICS',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/tool/exotics/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237231888,
size: 0.5,
source: 2237,
target: 231888,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 198306,
label: 'Juliette Bonche',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/03/research_pasteur-juliette-bonche-dsc-0379-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/juliette-bonche/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 231888198306,
size: 0.5,
source: 231888,
target: 198306 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7763,
label: 'Rachel Torchet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_rachelgrandintorchet-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/rachel-torchet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2318887763,
size: 0.5,
source: 231888,
target: 7763 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2318882237,
size: 0.5,
source: 231888,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 63334,
label: 'Natalia Pietrosemoli',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/03/research.pasteur.fr_natphoto-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/natalia-pietrosemoli/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 23188863334,
size: 0.5,
source: 231888,
target: 63334 });
// 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: 210565,
label: 'NEWS: New publication – Depletion of slow-cycling PDGFRα+ADAM12+ mesenchymal cells promotes antitumor immunity by restricting macrophage efferocytosis.',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/new-publication-depletion-of-slow-cycling-pdgfr%ce%b1adam12-mesenchymal-cells-promotes-antitumor-immunity-by-restricting-macrophage-efferocytosis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237210565,
size: 0.5,
source: 2237,
target: 210565,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4229,
label: 'Lucie Peduto',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_lp-3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lucie-peduto/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2105654229,
size: 0.5,
source: 210565,
target: 4229 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4224,
label: 'Selene Di Carlo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_di-carlo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/selene-di-carlo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2105654224,
size: 0.5,
source: 210565,
target: 4224 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 147899,
label: 'Anais Ode',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/10/research_pasteur-enanais-odefranais-ode-anais-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anais-ode/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 210565147899,
size: 0.5,
source: 210565,
target: 147899 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2105652237,
size: 0.5,
source: 210565,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57915,
label: 'Rachel Legendre',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research_pasteur-rachel-legendre-img-20201028-145758-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/rachel-legendre/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 21056557915,
size: 0.5,
source: 210565,
target: 57915 });
// 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: 205125,
label: 'COURSE: Bioinformatics program for PhD students 2023 2024',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/bioinformatics-program-for-phd-students-2023-2024/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237205125,
size: 0.5,
source: 2237,
target: 205125,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 84017,
label: 'Emeline Perthame',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/02/research_pasteur-emeline-perthame-2022-01-13-14.37.20-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/emeline-perthame/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512584017,
size: 0.5,
source: 205125,
target: 84017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137237,
label: 'Emmanuelle Permal',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/02/research_pasteur-pasteur2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/emmanuelle-permal/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125137237,
size: 0.5,
source: 205125,
target: 137237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 180302,
label: 'Marvin Albert',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/05/research_pasteur-marvin-albert-photo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marvin-albert/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125180302,
size: 0.5,
source: 205125,
target: 180302 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1581,
label: 'Jean-Yves Tinevez',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/JYT-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-yves-tinevez/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2051251581,
size: 0.5,
source: 205125,
target: 1581 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 152507,
label: 'Victoire Baillet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-victoire-baillet-foo2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/victoire-baillet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125152507,
size: 0.5,
source: 205125,
target: 152507 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 80005,
label: 'Thomas Bigot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research_pasteur-thomas-bigot-pour-profil2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/thomas-bigot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512580005,
size: 0.5,
source: 205125,
target: 80005 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 104981,
label: 'Pascal Campagne',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/07/research_pasteur-img_0911-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/pascal-campagne/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125104981,
size: 0.5,
source: 205125,
target: 104981 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 188699,
label: 'Elodie Chapeaublanc',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-elodie-chapeaublanc-elodie-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/elodie-chapeaublanc/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125188699,
size: 0.5,
source: 205125,
target: 188699 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57919,
label: 'Claudia Chica',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-img_1035-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/claudia-chica/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512557919,
size: 0.5,
source: 205125,
target: 57919 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 104989,
label: 'Anđela Davidović',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-692293-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/andela-davidovic/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125104989,
size: 0.5,
source: 205125,
target: 104989 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 187931,
label: 'Stephan Fischer',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/stephan-fischer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125187931,
size: 0.5,
source: 205125,
target: 187931 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 37658,
label: 'Amine Ghozlane',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/06/research_pasteur-20200223_122542-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/amine-ghozlane/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512537658,
size: 0.5,
source: 205125,
target: 37658 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 37634,
label: 'Julien Guglielmini',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research_pasteur-julien-guglielmini-last-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/julien-guglielmini/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512537634,
size: 0.5,
source: 205125,
target: 37634 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 80011,
label: 'Vincent Guillemot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_vincent-guillemot-1-e1479989507346-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/vincent-guillemot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512580011,
size: 0.5,
source: 205125,
target: 80011 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 152937,
label: 'Elise Jacquemet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/01/research_pasteur-elise-jacquemet-elisej-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/elise-jacquemet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125152937,
size: 0.5,
source: 205125,
target: 152937 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 912,
label: 'Bernd Jagla',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-bernd-jagla-jagla-bernd-9029-scaled-e1619704164657-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bernd-jagla/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125912,
size: 0.5,
source: 205125,
target: 912 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101010,
label: 'Hanna Julienne',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/01/research_pasteur-hanna-julienne-microsoftteams-image-7-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/hanna-julienne/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125101010,
size: 0.5,
source: 205125,
target: 101010 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 176108,
label: 'Julia Kende',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/02/research_pasteur-julia-kende-photo-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/julia-kende/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125176108,
size: 0.5,
source: 205125,
target: 176108 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 90271,
label: 'Vincent Laville',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/09/research_pasteur-lrvj9q4o-iju_h66kmj1skabjcq-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/vincent-laville/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512590271,
size: 0.5,
source: 205125,
target: 90271 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57758,
label: 'Frédéric Lemoine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research_pasteur-frederic-lemoine-lemoine-frederic-26-small-crop-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/frederic-lemoine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512557758,
size: 0.5,
source: 205125,
target: 57758 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 183060,
label: 'Gaëlle Letort',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/07/research_pasteur-gaelle-letort-screenshot-2022-07-01-at-11.41.05-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/gaelle-letort-2/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125183060,
size: 0.5,
source: 205125,
target: 183060 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 74050,
label: 'Blaise Li',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/07/research.pasteur.fr_blaise-low-resolution-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/blaise-li/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512574050,
size: 0.5,
source: 205125,
target: 74050 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 65751,
label: 'Yann Loe-Mie',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/08/research.pasteur.fr_img_0998-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/yann-loe-mi/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512565751,
size: 0.5,
source: 205125,
target: 65751 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 154492,
label: 'Hélène Lopez-Maestre',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/06/research_pasteur-microsoftteams-image-e1686231266340-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/helene-lopez-maestre/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125154492,
size: 0.5,
source: 205125,
target: 154492 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 63337,
label: 'Nicolas Maillet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_690123-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/nicolas-maillet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512563337,
size: 0.5,
source: 205125,
target: 63337 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79704,
label: 'Sébastien MELLA',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_sebastien-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-sebastien-mella/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512579704,
size: 0.5,
source: 205125,
target: 79704 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 188697,
label: 'Juliette Meyer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-juliette-meyer-photo1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/juliette-meyer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125188697,
size: 0.5,
source: 205125,
target: 188697 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153773,
label: 'Olivier Mirabeau',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/02/research_pasteur-olivier-mirabeau-omirabeau-badge-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/olivier-mirabeau/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125153773,
size: 0.5,
source: 205125,
target: 153773 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7761,
label: 'Damien Mornico',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_3c89054-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/damien-mornico/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2051257761,
size: 0.5,
source: 205125,
target: 7761 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/en/member/thomas-obadia/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 20512570981,
size: 0.5,
source: 205125,
target: 70981 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4943,
label: 'Adrien Pain',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_dsc_8827_2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/adrien-pain/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2051254943,
size: 0.5,
source: 205125,
target: 4943 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 151445,
label: 'Minh-Son Phan',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/12/research_pasteur-minh-son-phan-img-9420-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/minh-son-phan/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125151445,
size: 0.5,
source: 205125,
target: 151445 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 20512563334,
size: 0.5,
source: 205125,
target: 63334 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 126940,
label: 'Stéphane Rigaud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-811146-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/stephane-rigaud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125126940,
size: 0.5,
source: 205125,
target: 126940 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 104985,
label: 'Violaine Saint-André',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/04/research_pasteur-portraitcoupe-1-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/violaine-saint-andre/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125104985,
size: 0.5,
source: 205125,
target: 104985 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7763) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2051257763,
size: 0.5,
source: 205125,
target: 7763 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2051252237,
size: 0.5,
source: 205125,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101015,
label: 'Amaury Vaysse',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-photo_av-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/amaury-vaysse/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125101015,
size: 0.5,
source: 205125,
target: 101015 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 174489,
label: 'Laura Xénard',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/01/research_pasteur-laura-xenard-photo2-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/laura-xenard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 205125174489,
size: 0.5,
source: 205125,
target: 174489 });
// 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: 191429,
label: 'COURSE: 2ème Ecole de Bioinformatique AVIESAN – IFB – INSERM Niveau 2',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/2eme-ecole-de-bioinformatique-aviesan-ifb-inserm-niveau-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237191429,
size: 0.5,
source: 2237,
target: 191429,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 19142957915,
size: 0.5,
source: 191429,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1914292237,
size: 0.5,
source: 191429,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 19142980011,
size: 0.5,
source: 191429,
target: 80011 });
// 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: 183472,
label: 'COURSE: Bioinformatics program for PhD students 2022-2023',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/bioinformatics-program-for-phd-students-2022-2023/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237183472,
size: 0.5,
source: 2237,
target: 183472,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 137237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472137237,
size: 0.5,
source: 183472,
target: 137237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347284017,
size: 0.5,
source: 183472,
target: 84017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 1581) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1834721581,
size: 0.5,
source: 183472,
target: 1581 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 74050) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347274050,
size: 0.5,
source: 183472,
target: 74050 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79704) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347279704,
size: 0.5,
source: 183472,
target: 79704 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104989) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472104989,
size: 0.5,
source: 183472,
target: 104989 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472104981,
size: 0.5,
source: 183472,
target: 104981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 70981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347270981,
size: 0.5,
source: 183472,
target: 70981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 152937) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472152937,
size: 0.5,
source: 183472,
target: 152937 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104985) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472104985,
size: 0.5,
source: 183472,
target: 104985 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472101010,
size: 0.5,
source: 183472,
target: 101010 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80005) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347280005,
size: 0.5,
source: 183472,
target: 80005 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57758) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347257758,
size: 0.5,
source: 183472,
target: 57758 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63337) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347263337,
size: 0.5,
source: 183472,
target: 63337 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3853,
label: 'Archived: Matthew Albert',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_matthew_albert-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=3853',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1834723853,
size: 0.5,
source: 183472,
target: 3853 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347257919,
size: 0.5,
source: 183472,
target: 57919 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4634,
label: 'Stéphane Dallongeville',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4634',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1834724634,
size: 0.5,
source: 183472,
target: 4634 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37634) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347237634,
size: 0.5,
source: 183472,
target: 37634 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347280011,
size: 0.5,
source: 183472,
target: 80011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 912) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472912,
size: 0.5,
source: 183472,
target: 912 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 90271) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347290271,
size: 0.5,
source: 183472,
target: 90271 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79208,
label: 'Benoît Lelandais',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/benoit-lelandais/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18347279208,
size: 0.5,
source: 183472,
target: 79208 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 183060) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472183060,
size: 0.5,
source: 183472,
target: 183060 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 65751) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347265751,
size: 0.5,
source: 183472,
target: 65751 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 154492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472154492,
size: 0.5,
source: 183472,
target: 154492 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 138287,
label: 'Marion Louveaux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/01/research_pasteur-rituparna-sarkar-capture-decran-2021-01-14-a-12.04.11-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/marion-louveaux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 183472138287,
size: 0.5,
source: 183472,
target: 138287 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 153773) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472153773,
size: 0.5,
source: 183472,
target: 153773 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7761) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1834727761,
size: 0.5,
source: 183472,
target: 7761 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1834724943,
size: 0.5,
source: 183472,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18347263334,
size: 0.5,
source: 183472,
target: 63334 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 126940) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472126940,
size: 0.5,
source: 183472,
target: 126940 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1834722237,
size: 0.5,
source: 183472,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472101015,
size: 0.5,
source: 183472,
target: 101015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 151445) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472151445,
size: 0.5,
source: 183472,
target: 151445 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 180302) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 183472180302,
size: 0.5,
source: 183472,
target: 180302 });
// 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: 181912,
label: 'SOFTWARE: ePeak',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/06/research_pasteur-epeak-epiflow-logo-150x150.png',
page_url: 'https://research.pasteur.fr/en/software/epeak/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237181912,
size: 0.5,
source: 2237,
target: 181912,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18191257915,
size: 0.5,
source: 181912,
target: 57915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 189178,
label: 'Maëlle Daunesse',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-maelle-daunesse-691914-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/maelle-daunesse/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 181912189178,
size: 0.5,
source: 181912,
target: 189178 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1819122237,
size: 0.5,
source: 181912,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1819124943,
size: 0.5,
source: 181912,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18191257919,
size: 0.5,
source: 181912,
target: 57919 });
// 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: 180408,
label: 'NEWS: New publication – PDGFRα-induced stromal maturation is required to restrain postnatal intestinal epithelial stemness and promote defense mechanisms',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/our-last-work-on-intestinal-stromal-cells-is-now-online-in-cell-stem-cell/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237180408,
size: 0.5,
source: 2237,
target: 180408,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4229) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1804084229,
size: 0.5,
source: 180408,
target: 4229 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4224) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1804084224,
size: 0.5,
source: 180408,
target: 4224 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4778,
label: 'Giulia Nigro',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_nigro-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/giulia-nigro/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1804084778,
size: 0.5,
source: 180408,
target: 4778 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8315,
label: 'Anthony Lepelletier',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/anthony-lepelletier/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1804088315,
size: 0.5,
source: 180408,
target: 8315 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1804082237,
size: 0.5,
source: 180408,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18040857915,
size: 0.5,
source: 180408,
target: 57915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 81431,
label: 'Etienne Kornobis',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-ekornobis-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/etienne-kornobis/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18040881431,
size: 0.5,
source: 180408,
target: 81431 });
// 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: 179530,
label: 'NEWS: A recent study by the team of Laurent Debarbieux has been highlighted in the BIP (15/04/2022)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/a-recent-study-by-the-team-of-laurent-debarbieux-has-been-highlighted-in-the-bip-15-04-2022/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237179530,
size: 0.5,
source: 2237,
target: 179530,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4282,
label: 'Laurent Debarbieux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ld-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laurent-debarbieux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1795304282,
size: 0.5,
source: 179530,
target: 4282 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64766,
label: 'Marta Lourenço',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/06/research.pasteur.fr_marta-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/marta-mansos-lourenco/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17953064766,
size: 0.5,
source: 179530,
target: 64766 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 133678,
label: 'Lorenzo Chaffringeon',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=133678',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179530133678,
size: 0.5,
source: 179530,
target: 133678 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 109684,
label: 'Quentin Lamy-Besnier',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=109684',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179530109684,
size: 0.5,
source: 179530,
target: 109684 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 154725,
label: 'Marie Titécat',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/marie-titecat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179530154725,
size: 0.5,
source: 179530,
target: 154725 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4798,
label: 'Thierry Pedron',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_pedron-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/thierry-pedron/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1795304798,
size: 0.5,
source: 179530,
target: 4798 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17953057915,
size: 0.5,
source: 179530,
target: 57915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 917,
label: 'Odile Sismeiro',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/OdileSismeiro-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/odile-sismeiro/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179530917,
size: 0.5,
source: 179530,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1795302237,
size: 0.5,
source: 179530,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 840,
label: 'Jean-Yves Coppee',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/IMG_5253-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jean-yves-coppee/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179530840,
size: 0.5,
source: 179530,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 102850,
label: 'Marion Berard',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/marion-berard/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 179530102850,
size: 0.5,
source: 179530,
target: 102850 });
// 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: 176303,
label: 'SOFTWARE: SHADE : SHiny Application for Designing Experiments',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/software/shade-shiny-application-for-designing-experiments/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237176303,
size: 0.5,
source: 2237,
target: 176303,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 152937) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 176303152937,
size: 0.5,
source: 176303,
target: 152937 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17630384017,
size: 0.5,
source: 176303,
target: 84017 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7762,
label: 'Stevenn Volant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_stevennvolant-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/stevenn-volant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1763037762,
size: 0.5,
source: 176303,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 17630380011,
size: 0.5,
source: 176303,
target: 80011 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 80014,
label: 'François Laurent',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research_pasteur-francois-laurent-moi-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/francois-laurent/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 17630380014,
size: 0.5,
source: 176303,
target: 80014 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1763032237,
size: 0.5,
source: 176303,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 906,
label: 'Marie-Agnès Dillies',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-photomadillies2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marie-agnes-dillies/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 176303906,
size: 0.5,
source: 176303,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 176303104981,
size: 0.5,
source: 176303,
target: 104981 });
// 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: 157298,
label: 'COURSE: 1ème Ecole de Bioinformatique AVIESAN – IFB – INSERM Niveau 2',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/1eme-ecole-de-bioinformatique-aviesan-ifb-inserm-niveau-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237157298,
size: 0.5,
source: 2237,
target: 157298,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15729857915,
size: 0.5,
source: 157298,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1572982237,
size: 0.5,
source: 157298,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15729880011,
size: 0.5,
source: 157298,
target: 80011 });
// 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: 152569,
label: 'PROJECT: Insights into amebiasis using a human 3D-intestinal model (ANR-14-IFEC-0001-02)',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/insights-into-amebiasis-using-a-human-3d-intestinal-model-anr-14-ifec-0001-02/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237152569,
size: 0.5,
source: 2237,
target: 152569,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64202,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 15256964202,
size: 0.5,
source: 152569,
target: 64202 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 107553,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 152569107553,
size: 0.5,
source: 152569,
target: 107553 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1525692237,
size: 0.5,
source: 152569,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 15256957915,
size: 0.5,
source: 152569,
target: 57915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 80008,
label: 'Quentin Giai Gianetto',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_p10001292_3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/quentin-giai-gianetto/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 15256980008,
size: 0.5,
source: 152569,
target: 80008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 152569917,
size: 0.5,
source: 152569,
target: 917 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75430,
label: 'Julien Fernandes',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-photo_jf-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/julien-fernandes/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 15256975430,
size: 0.5,
source: 152569,
target: 75430 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4071,
label: 'David Hardy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/05/research_pasteur-photo-hardy-david-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/david-hardy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1525694071,
size: 0.5,
source: 152569,
target: 4071 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1056,
label: 'Mariette Matondo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/Mariette_Matondo-e1424076805247-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/mariette-matondo-bouzanda/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1525691056,
size: 0.5,
source: 152569,
target: 1056 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 152569840,
size: 0.5,
source: 152569,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6939,
label: 'Nancy Guillen',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-nancy-guillen-nancy-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/nancy-guillen/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1525696939,
size: 0.5,
source: 152569,
target: 6939 });
// 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: 152329,
label: 'PROJECT: Understanding the Pathogenicity of Entamoeba Using Comparative Transcriptomics and Phylogenomics – GENAMIBE. Project-ANR-10-GENM-0011',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/3d-intestinal-model-to-study-amoebiasis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237152329,
size: 0.5,
source: 2237,
target: 152329,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 152329917,
size: 0.5,
source: 152329,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 152329906,
size: 0.5,
source: 152329,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1523292237,
size: 0.5,
source: 152329,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4982,
label: 'Christian Weber',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_christianweber-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/christian-weber/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1523294982,
size: 0.5,
source: 152329,
target: 4982 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 152329840,
size: 0.5,
source: 152329,
target: 840 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6939) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1523296939,
size: 0.5,
source: 152329,
target: 6939 });
// 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: 132703,
label: 'COURSE: Bioinformatics program for PhD students 2020-2021',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/bioinformatics-program-for-phd-students-2020-2021/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237132703,
size: 0.5,
source: 2237,
target: 132703,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270380011,
size: 0.5,
source: 132703,
target: 80011 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4415,
label: 'Christophe Malabat',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_img_08311-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/christophe-malabat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1327034415,
size: 0.5,
source: 132703,
target: 4415 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 1581) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1327031581,
size: 0.5,
source: 132703,
target: 1581 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703906,
size: 0.5,
source: 132703,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57758) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270357758,
size: 0.5,
source: 132703,
target: 57758 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63337) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270363337,
size: 0.5,
source: 132703,
target: 63337 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 74050) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270374050,
size: 0.5,
source: 132703,
target: 74050 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1327037762,
size: 0.5,
source: 132703,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703104981,
size: 0.5,
source: 132703,
target: 104981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1327032237,
size: 0.5,
source: 132703,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703101010,
size: 0.5,
source: 132703,
target: 101010 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104985) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703104985,
size: 0.5,
source: 132703,
target: 104985 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37634) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270337634,
size: 0.5,
source: 132703,
target: 37634 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80005) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270380005,
size: 0.5,
source: 132703,
target: 80005 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80008) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270380008,
size: 0.5,
source: 132703,
target: 80008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270357919,
size: 0.5,
source: 132703,
target: 57919 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270357915,
size: 0.5,
source: 132703,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1327034943,
size: 0.5,
source: 132703,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270363334,
size: 0.5,
source: 132703,
target: 63334 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270384017,
size: 0.5,
source: 132703,
target: 84017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 126940) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703126940,
size: 0.5,
source: 132703,
target: 126940 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79208) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270379208,
size: 0.5,
source: 132703,
target: 79208 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 103322,
label: 'Dmitry Ershov',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-cropped_de_3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/dmitry-ershov/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 132703103322,
size: 0.5,
source: 132703,
target: 103322 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79704) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270379704,
size: 0.5,
source: 132703,
target: 79704 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104989) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703104989,
size: 0.5,
source: 132703,
target: 104989 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 70981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270370981,
size: 0.5,
source: 132703,
target: 70981 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1066,
label: 'Véronique Hourdel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/image4-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/veronique-hourdel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1327031066,
size: 0.5,
source: 132703,
target: 1066 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37658) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13270337658,
size: 0.5,
source: 132703,
target: 37658 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7759,
label: 'Alexis Criscuolo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_alexiscriscuolo-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/alexis-criscuolo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1327037759,
size: 0.5,
source: 132703,
target: 7759 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 132703101015,
size: 0.5,
source: 132703,
target: 101015 });
// 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: 141075,
label: 'PROJECT: Deciphering the mechanisms of infection of lyssaviruses at the cellular level in bats',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/deciphering-the-mechanisms-of-infection-of-lyssaviruses-at-the-cellular-level-in-bats/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237141075,
size: 0.5,
source: 2237,
target: 141075,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 110693,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 141075110693,
size: 0.5,
source: 141075,
target: 110693 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1410752237,
size: 0.5,
source: 141075,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3975,
label: 'Laurent Dacheux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/06/research_pasteur-dsc5234-e1498809574771-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laurent-dacheux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1410753975,
size: 0.5,
source: 141075,
target: 3975 });
// 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: 130203,
label: 'TEAM: Biomics – Dry-Lab',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/genetic-strand-9.25.14-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biomics-dry-lab/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237130203,
size: 0.5,
source: 2237,
target: 130203,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1004,
label: 'Laure Lemee',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/06/research_pasteur-20200515_191840-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laure-lemee/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1302031004,
size: 0.5,
source: 130203,
target: 1004 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 204626,
label: 'Rania Ouazahrou',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/rania-ouazahrou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 130203204626,
size: 0.5,
source: 130203,
target: 204626 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 81431) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 13020381431,
size: 0.5,
source: 130203,
target: 81431 });
// 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: 111224,
label: 'COURSE: Introduction to data analysis',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/introduction-to-data-analysis-4/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237111224,
size: 0.5,
source: 2237,
target: 111224,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7848,
label: 'Stéphane Descorps-Declère',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/05/research_pasteur-img_20170804_170423_hdr-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/stephane-descorps-declere/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1112247848,
size: 0.5,
source: 111224,
target: 7848 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 111224906,
size: 0.5,
source: 111224,
target: 906 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79863,
label: 'Gaël Millot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/11/research.pasteur.fr_gael-portrait-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/gael-millot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 11122479863,
size: 0.5,
source: 111224,
target: 79863 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 63328,
label: 'Anne Biton',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-img_e2453-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anne-biton/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 11122463328,
size: 0.5,
source: 111224,
target: 63328 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1112247762,
size: 0.5,
source: 111224,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80008) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11122480008,
size: 0.5,
source: 111224,
target: 80008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11122480011,
size: 0.5,
source: 111224,
target: 80011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63337) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11122463337,
size: 0.5,
source: 111224,
target: 63337 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 74050) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11122474050,
size: 0.5,
source: 111224,
target: 74050 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57911,
label: 'Anna Zhukova',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/11/research_pasteur-anna-zhukova-anna2024-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anna-zhukova/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 11122457911,
size: 0.5,
source: 111224,
target: 57911 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1112242237,
size: 0.5,
source: 111224,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 53076,
label: 'Amandine Perrin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_untitled4-142x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/amandine-perrin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 11122453076,
size: 0.5,
source: 111224,
target: 53076 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6824,
label: 'Eric Deveaud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_edeveaud-copy-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/eric-deveaud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1112246824,
size: 0.5,
source: 111224,
target: 6824 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6833,
label: 'Bertrand Néron',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/12/research.pasteur.fr_avatar-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bertrand-neron/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1112246833,
size: 0.5,
source: 111224,
target: 6833 });
// 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: 111196,
label: 'COURSE: Morning session – Introduction to NGS data analysis',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/morning-session-introduction-to-ngs-data-analysis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237111196,
size: 0.5,
source: 2237,
target: 111196,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11119657919,
size: 0.5,
source: 111196,
target: 57919 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57758) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11119657758,
size: 0.5,
source: 111196,
target: 57758 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4129,
label: 'Jack Christophe Cossec',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_photowebsite2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jack-christophe-cossec/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111964129,
size: 0.5,
source: 111196,
target: 4129 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1111962237,
size: 0.5,
source: 111196,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63328) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11119663328,
size: 0.5,
source: 111196,
target: 63328 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11119663334,
size: 0.5,
source: 111196,
target: 63334 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4109,
label: 'Guilhem Janbon',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/10/research_pasteur-img_0255r-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/guilhem-janbon/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111964109,
size: 0.5,
source: 111196,
target: 4109 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7760,
label: 'Varun Khanna',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=7760',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111967760,
size: 0.5,
source: 111196,
target: 7760 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7763) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1111967763,
size: 0.5,
source: 111196,
target: 7763 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/en/member/pierre-lechat/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111967847,
size: 0.5,
source: 111196,
target: 7847 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37658) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11119637658,
size: 0.5,
source: 111196,
target: 37658 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63337) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11119663337,
size: 0.5,
source: 111196,
target: 63337 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4424,
label: 'Axel Cournac',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/05/research_pasteur-axel-cournac-photo6-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/axel-cournac/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111964424,
size: 0.5,
source: 111196,
target: 4424 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4423,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111964423,
size: 0.5,
source: 111196,
target: 4423 });
// 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: 111174,
label: 'COURSE: Morning session – Data analysis using R',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/morning-session-data-analysis-using-r/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237111174,
size: 0.5,
source: 2237,
target: 111174,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 111174906,
size: 0.5,
source: 111174,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1111747762,
size: 0.5,
source: 111174,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1111742237,
size: 0.5,
source: 111174,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63328) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11117463328,
size: 0.5,
source: 111174,
target: 63328 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 84015,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 11117484015,
size: 0.5,
source: 111174,
target: 84015 });
// 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: 111134,
label: 'COURSE: Introduction to Data Analysis',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/introduction-to-data-analysis-2/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237111134,
size: 0.5,
source: 2237,
target: 111134,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 111134906,
size: 0.5,
source: 111134,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113480011,
size: 0.5,
source: 111134,
target: 80011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113484017,
size: 0.5,
source: 111134,
target: 84017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1111342237,
size: 0.5,
source: 111134,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1111347762,
size: 0.5,
source: 111134,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 70981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113470981,
size: 0.5,
source: 111134,
target: 70981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80008) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113480008,
size: 0.5,
source: 111134,
target: 80008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63328) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113463328,
size: 0.5,
source: 111134,
target: 63328 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113457919,
size: 0.5,
source: 111134,
target: 57919 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4084,
label: 'Christophe Becavin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/04/research_pasteur-christophe-becavin-shoot-03_10_18-174-edit-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/christophe-becavin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1111344084,
size: 0.5,
source: 111134,
target: 4084 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79863) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11113479863,
size: 0.5,
source: 111134,
target: 79863 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104985) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 111134104985,
size: 0.5,
source: 111134,
target: 104985 });
// 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: 111088,
label: 'COURSE: Introduction to Data Analysis',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/introduction-to-data-analysis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237111088,
size: 0.5,
source: 2237,
target: 111088,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 111088906,
size: 0.5,
source: 111088,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7848) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1110887848,
size: 0.5,
source: 111088,
target: 7848 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108880011,
size: 0.5,
source: 111088,
target: 80011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108884017,
size: 0.5,
source: 111088,
target: 84017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1110882237,
size: 0.5,
source: 111088,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1110887762,
size: 0.5,
source: 111088,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 70981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108870981,
size: 0.5,
source: 111088,
target: 70981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79863) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108879863,
size: 0.5,
source: 111088,
target: 79863 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80008) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108880008,
size: 0.5,
source: 111088,
target: 80008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63328) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108863328,
size: 0.5,
source: 111088,
target: 63328 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 11108884015,
size: 0.5,
source: 111088,
target: 84015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4084) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1110884084,
size: 0.5,
source: 111088,
target: 4084 });
// 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: 107408,
label: 'COURSE: 7ème école de bioinformatique AVIESAN-IFB',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/05/research_pasteur-photo_groupe_ebai_2017-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/course/7eme-ecole-de-bioinformatique-aviesan-ifb/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237107408,
size: 0.5,
source: 2237,
target: 107408,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10740857915,
size: 0.5,
source: 107408,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1074082237,
size: 0.5,
source: 107408,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1074084943,
size: 0.5,
source: 107408,
target: 4943 });
// 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: 106076,
label: 'TEAM: Expertise group : SysBio – System Bioinformatics',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-enexpertise-group-sysbio-system-bioinformaticsfrgroupe-dexpertise-sysbio-bio-informatique-des-systemes-sysbiologo-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/hub-sysbio/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237106076,
size: 0.5,
source: 2237,
target: 106076,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7761) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1060767761,
size: 0.5,
source: 106076,
target: 7761 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10607680011,
size: 0.5,
source: 106076,
target: 80011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 154492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106076154492,
size: 0.5,
source: 106076,
target: 154492 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 200229,
label: 'Jeliyah Clark',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/04/research_pasteur-jeliyah-clark-liyah-graduation-2022120946-6-scaled-e1681817072198-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/jeliyah-clark/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 106076200229,
size: 0.5,
source: 106076,
target: 200229 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1060762237,
size: 0.5,
source: 106076,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210187,
label: 'Nathalie Lehmann',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/nathalie-lehmann/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 106076210187,
size: 0.5,
source: 106076,
target: 210187 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10607663334,
size: 0.5,
source: 106076,
target: 63334 });
// 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: 106074,
label: 'TEAM: Expertise group : Stats',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-expertise-group-saber-statistics-applied-to-biology-and-experimental-results-saber-background-image-pasteur-150x150.png',
page_url: 'https://research.pasteur.fr/en/team/hub-stats/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237106074,
size: 0.5,
source: 2237,
target: 106074,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 152937) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106074152937,
size: 0.5,
source: 106074,
target: 152937 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 188697) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106074188697,
size: 0.5,
source: 106074,
target: 188697 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 70981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10607470981,
size: 0.5,
source: 106074,
target: 70981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10607484017,
size: 0.5,
source: 106074,
target: 84017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1060742237,
size: 0.5,
source: 106074,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1060747762,
size: 0.5,
source: 106074,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106074104981,
size: 0.5,
source: 106074,
target: 104981 });
// 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: 106067,
label: 'TEAM: Expertise group: GORE – Genome Organization Regulation and Expression',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-enexpertise-group-gore-genome-organization-regulation-and-expressionfrgroupe-dexpertise-teg-transcriptomique-et-epigenomique-figure3-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/hub-gore/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237106067,
size: 0.5,
source: 2237,
target: 106067,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1060674943,
size: 0.5,
source: 106067,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10606757915,
size: 0.5,
source: 106067,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 152507) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106067152507,
size: 0.5,
source: 106067,
target: 152507 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 153773) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106067153773,
size: 0.5,
source: 106067,
target: 153773 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 187931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 106067187931,
size: 0.5,
source: 106067,
target: 187931 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 10606757919,
size: 0.5,
source: 106067,
target: 57919 });
// 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: 100703,
label: 'NEWS: Hot off the press: DENV host factors identified by innovative transcriptomics approach',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/12/research_pasteur-fig2a-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/news/hot-off-press-dengue-virus-host-factors-identified-innovative-transcriptomics-approach/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 2237100703,
size: 0.5,
source: 2237,
target: 100703,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/en/member/louis-lambrechts/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1007034438,
size: 0.5,
source: 100703,
target: 4438 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4440,
label: 'Vincent Raquin',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_vincent-150x150.gif',
page_url: 'https://research.pasteur.fr/en/member/vincent-raquin/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1007034440,
size: 0.5,
source: 100703,
target: 4440 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7721,
label: 'Isabelle Conclois',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_conclois-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/isabelle-conclois/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1007037721,
size: 0.5,
source: 100703,
target: 7721 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62643,
label: 'Sarah Merkling',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/02/research.pasteur.fr_img_1465-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/sarah-merkling/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 10070362643,
size: 0.5,
source: 100703,
target: 62643 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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/en/member/carla-saleh/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1007034775,
size: 0.5,
source: 100703,
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: 4777,
label: 'Lionel Frangeul',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha77-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/lionel-frangeul/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1007034777,
size: 0.5,
source: 100703,
target: 4777 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 100703906,
size: 0.5,
source: 100703,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1007032237,
size: 0.5,
source: 100703,
target: 2237 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8628,
label: 'Valérie Dorey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_ha75-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/valerie-dorey/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1007038628,
size: 0.5,
source: 100703,
target: 8628 });
// 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: 88968,
label: 'COURSE: 6ème école de bioinformatique AVIESAN-IFB',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/08/research_pasteur-photo_groupe_ebai_2017-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/course/6eme-ecole-de-bioinformatique-aviesan-ifb/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223788968,
size: 0.5,
source: 2237,
target: 88968,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8896857915,
size: 0.5,
source: 88968,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 889682237,
size: 0.5,
source: 88968,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 889684943,
size: 0.5,
source: 88968,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104985) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 88968104985,
size: 0.5,
source: 88968,
target: 104985 });
// 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: 83928,
label: 'PROJECT: Deciphering the virulence factors of Mycobacterium abscessus activated in the presence of environmental amoebae',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/deciphering-the-virulence-factors-of-mycobacterium-abscessus-activated-in-the-presence-of-environmental-amoebae/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223783928,
size: 0.5,
source: 2237,
target: 83928,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83928917,
size: 0.5,
source: 83928,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8392857915,
size: 0.5,
source: 83928,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 839282237,
size: 0.5,
source: 83928,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83928840,
size: 0.5,
source: 83928,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 3998,
label: 'Alexandre Pawlik',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_20150928mip_6643--150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/alexandre-pawlik/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 839283998,
size: 0.5,
source: 83928,
target: 3998 });
// 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: 83830,
label: 'PROJECT: Transcriptome of different quiescence sub-states of neural stem cells in adult zebrafish',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/transcriptome-of-different-quiescence-sub-states-of-neural-stem-cells-in-adult-zebrafish/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223783830,
size: 0.5,
source: 2237,
target: 83830,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75812,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8383075812,
size: 0.5,
source: 83830,
target: 75812 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75792,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8383075792,
size: 0.5,
source: 83830,
target: 75792 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75892,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8383075892,
size: 0.5,
source: 83830,
target: 75892 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 914,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 83830914,
size: 0.5,
source: 83830,
target: 914 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 838302237,
size: 0.5,
source: 83830,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8383057915,
size: 0.5,
source: 83830,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83830840,
size: 0.5,
source: 83830,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64150,
label: 'Laure Bally-Cuif',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/04/research.pasteur.fr_laure_bally-cuiff-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/laure-bally-cuif/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8383064150,
size: 0.5,
source: 83830,
target: 64150 });
// 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: 83836,
label: 'PROJECT: The role of lncRNA H19 in Thymopoiesis',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/the-role-of-lncrna-h19-in-thymopoiesis/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223783836,
size: 0.5,
source: 2237,
target: 83836,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8383657915,
size: 0.5,
source: 83836,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83836917,
size: 0.5,
source: 83836,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 838362237,
size: 0.5,
source: 83836,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83836840,
size: 0.5,
source: 83836,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4833,
label: 'Ana Cumano',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ana-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/ana-cumano/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 838364833,
size: 0.5,
source: 83836,
target: 4833 });
// 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: 83675,
label: 'NEWS: checkMyIndex: a new tool to choose sequencing indexes',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_dna-150x150.png',
page_url: 'https://research.pasteur.fr/en/news/checkmyindex-a-new-tool-to-choose-sequencing-indexes/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223783675,
size: 0.5,
source: 2237,
target: 83675,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 836752237,
size: 0.5,
source: 83675,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83675840,
size: 0.5,
source: 83675,
target: 840 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 914) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83675914,
size: 0.5,
source: 83675,
target: 914 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83675917,
size: 0.5,
source: 83675,
target: 917 });
// 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: 83587,
label: 'TOOL: checkMyIndex',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/01/research.pasteur.fr_dna-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/tool/checkmyindex/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223783587,
size: 0.5,
source: 2237,
target: 83587,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 835872237,
size: 0.5,
source: 83587,
target: 2237 });
// 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: 78047,
label: 'COURSE: 5ème école de bioinformatique AVIESAN-IFB',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/03/research.pasteur.fr_img_20161124_142031269_hdr_0-2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/course/5eme-ecole-de-bioinformatique-aviesan-ifb/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223778047,
size: 0.5,
source: 2237,
target: 78047,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 7804757915,
size: 0.5,
source: 78047,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 780472237,
size: 0.5,
source: 78047,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7761) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 780477761,
size: 0.5,
source: 78047,
target: 7761 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 780474943,
size: 0.5,
source: 78047,
target: 4943 });
// 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: 78048,
label: 'EVENT: 5th school of bioinformatics AVIESAN-IFB',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/10/research.pasteur.fr_5th-school-of-bioinformatics-aviesan-ifb-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/event/5th-school-of-bioinformatics-aviesan-ifb/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223778048,
size: 0.5,
source: 2237,
target: 78048,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 7804857915,
size: 0.5,
source: 78048,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7761) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 780487761,
size: 0.5,
source: 78048,
target: 7761 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 780484943,
size: 0.5,
source: 78048,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 780482237,
size: 0.5,
source: 78048,
target: 2237 });
// 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: 69750,
label: 'PROJECT: Gene expression profiling in germinal center B cells',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/gene-expression-profiling-in-germinal-center-b-cells/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223769750,
size: 0.5,
source: 2237,
target: 69750,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4836,
label: 'Aleksandr Barinov',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/aleksandr-barinov/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 697504836,
size: 0.5,
source: 69750,
target: 4836 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 697502237,
size: 0.5,
source: 69750,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6975057915,
size: 0.5,
source: 69750,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 914) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 69750914,
size: 0.5,
source: 69750,
target: 914 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 69750840,
size: 0.5,
source: 69750,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4837,
label: 'Paulo Vieira',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_paulo-vieira-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/paulo-vieira/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 697504837,
size: 0.5,
source: 69750,
target: 4837 });
// 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: 69621,
label: 'SOFTWARE: SARTools',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/software/sartools/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223769621,
size: 0.5,
source: 2237,
target: 69621,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 696212237,
size: 0.5,
source: 69621,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 69621840,
size: 0.5,
source: 69621,
target: 840 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 69621906,
size: 0.5,
source: 69621,
target: 906 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2669,
label: 'Sean Kennedy',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/Kennedy-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/sean-kennedy/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 696212669,
size: 0.5,
source: 69621,
target: 2669 });
// 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: 68361,
label: 'EVENT: Training: analysis of the transcriptome by RNAseq',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/event/training-analysis-of-the-transcriptome-by-rnaseq/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223768361,
size: 0.5,
source: 2237,
target: 68361,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 914) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68361914,
size: 0.5,
source: 68361,
target: 914 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68361840,
size: 0.5,
source: 68361,
target: 840 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6836157915,
size: 0.5,
source: 68361,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 683612237,
size: 0.5,
source: 68361,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68361906,
size: 0.5,
source: 68361,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68361917,
size: 0.5,
source: 68361,
target: 917 });
// 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: 68131,
label: 'COURSE: Training: analysis of the transcriptome by RNAseq',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/course/training-analysis-of-the-transcriptome-by-rnaseq/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223768131,
size: 0.5,
source: 2237,
target: 68131,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 914) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68131914,
size: 0.5,
source: 68131,
target: 914 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68131917,
size: 0.5,
source: 68131,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68131840,
size: 0.5,
source: 68131,
target: 840 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 68131906,
size: 0.5,
source: 68131,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 681312237,
size: 0.5,
source: 68131,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6813157915,
size: 0.5,
source: 68131,
target: 57915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6823,
label: 'Olivia Doppelt-Azeroual',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2016/09/research.pasteur.fr_olivia-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/olivia-doppelt-azeroual/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 681316823,
size: 0.5,
source: 68131,
target: 6823 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6830,
label: 'Fabien Mareuil',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_imag0560_1_2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fabien-mareuil/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 681316830,
size: 0.5,
source: 68131,
target: 6830 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 6813163334,
size: 0.5,
source: 68131,
target: 63334 });
// 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: 51891,
label: 'NEWS: 4th Bioinformatics school AVIESAN, Hugo Varet course',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/news/4th-bioinformatics-school-aviesan-hugo-varet-course/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223751891,
size: 0.5,
source: 2237,
target: 51891,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 518912237,
size: 0.5,
source: 51891,
target: 2237 });
// 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: 43620,
label: 'PROJECT: HIV signature on RIG-I-like receptors',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_projectanrs2-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/hiv-signature-on-rig-i-like-receptors/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223743620,
size: 0.5,
source: 2237,
target: 43620,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4889,
label: 'Raul Sanchez David',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/?post_type=member&p=4889',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 436204889,
size: 0.5,
source: 43620,
target: 4889 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8400,
label: 'Valérie Najburg',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_dsc08042-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/valerie-najburg/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 436208400,
size: 0.5,
source: 43620,
target: 8400 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8403,
label: 'Chantal Combredet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_chantal1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/chantal-combredet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 436208403,
size: 0.5,
source: 43620,
target: 8403 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 917) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 43620917,
size: 0.5,
source: 43620,
target: 917 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 43620906,
size: 0.5,
source: 43620,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 912) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 43620912,
size: 0.5,
source: 43620,
target: 912 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 43620840,
size: 0.5,
source: 43620,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_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: 436204821,
size: 0.5,
source: 43620,
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: 4822,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 436204822,
size: 0.5,
source: 43620,
target: 4822 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 436202237,
size: 0.5,
source: 43620,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 4362057915,
size: 0.5,
source: 43620,
target: 57915 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4887,
label: 'Anastasia V. Komarova',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_ak-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/anastasia-komarova/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 436204887,
size: 0.5,
source: 43620,
target: 4887 });
// 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: 45640,
label: 'PROJECT: Dynamic regulation of chromatin and transcription by HP1 Heterochromatin Proteins in relationship with RNA.',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/dynamic-regulation-of-chromatin-and-transcription-by-hp1-heterochromatin-proteins/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223745640,
size: 0.5,
source: 2237,
target: 45640,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 4564057915,
size: 0.5,
source: 45640,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 456402237,
size: 0.5,
source: 45640,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 45640840,
size: 0.5,
source: 45640,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4582,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 456404582,
size: 0.5,
source: 45640,
target: 4582 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4581,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 456404581,
size: 0.5,
source: 45640,
target: 4581 });
// 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: 39169,
label: 'PROJECT: Functional characterization of mosquito genes involved in dengue virus transmission identified by RNA-seq at the individual midgut level',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/09/research.pasteur.fr_deseqplot-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/project/functional-characterization-of-mosquito-genes-involved-in-dengue-virus-transmission-identified-by-rna-seq-at-the-individual-midgut-level/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223739169,
size: 0.5,
source: 2237,
target: 39169,
});
//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: 391694775,
size: 0.5,
source: 39169,
target: 4775 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4777) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 391694777,
size: 0.5,
source: 39169,
target: 4777 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4440) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 391694440,
size: 0.5,
source: 39169,
target: 4440 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 39169906,
size: 0.5,
source: 39169,
target: 906 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 391692237,
size: 0.5,
source: 39169,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 62643) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 3916962643,
size: 0.5,
source: 39169,
target: 62643 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4438) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 391694438,
size: 0.5,
source: 39169,
target: 4438 });
// adding node
var x_node = Math.cos(2 * 41 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 41 * Math.PI / N) * 10;
g.nodes.push({
id: 18489,
label: 'TEAM: Bioinformatics and Biostatistics HUB',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/06/research.pasteur.fr_complex-system-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/bioinformatics-and-biostatistics-hub/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223718489,
size: 0.5,
source: 2237,
target: 18489,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 152507) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489152507,
size: 0.5,
source: 18489,
target: 152507 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210198,
label: 'Agnès Baud',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-enagnes-baudfragnes-baud-research-pasteur-enagnes-baudfragnes-baud-photopro-biggercut-e1696412883292-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/agnes-baud/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489210198,
size: 0.5,
source: 18489,
target: 210198 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 188701,
label: 'Samar Berreira Ibraim',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/samar-berreira-ibraim/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489188701,
size: 0.5,
source: 18489,
target: 188701 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80005) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848980005,
size: 0.5,
source: 18489,
target: 80005 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 198306) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489198306,
size: 0.5,
source: 18489,
target: 198306 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193543,
label: 'Jérôme Bourret',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/jerome-bourret/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489193543,
size: 0.5,
source: 18489,
target: 193543 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 104972,
label: 'Bryan Brancotte',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-me-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/bryan-brancotte/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489104972,
size: 0.5,
source: 18489,
target: 104972 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489104981,
size: 0.5,
source: 18489,
target: 104981 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210183,
label: 'Daniele Capocefalo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-endaniele-capocefalofrdaniele-capocefalo-research-pasteur-endaniele-capocefalofrdaniele-capocefalo-screenshot-2023-10-17-at-17.58.54-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/daniele-capocefalo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489210183,
size: 0.5,
source: 18489,
target: 210183 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 188699) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489188699,
size: 0.5,
source: 18489,
target: 188699 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 219784,
label: 'Almira Chervova',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/02/research_pasteur-acpasteurwebsite-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/almira-chervova/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489219784,
size: 0.5,
source: 18489,
target: 219784 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57919) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848957919,
size: 0.5,
source: 18489,
target: 57919 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 200229) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489200229,
size: 0.5,
source: 18489,
target: 200229 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24536,
label: 'Freddy Cliquet',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-17637047_1396080250451325_800557458960161845_o-2-e1519724213254-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/freddy-cliquet/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1848924536,
size: 0.5,
source: 18489,
target: 24536 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 63340,
label: 'Thomas Cokelaer',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-portrait-1-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/thomas-cokelaer/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1848963340,
size: 0.5,
source: 18489,
target: 63340 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104989) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489104989,
size: 0.5,
source: 18489,
target: 104989 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210191,
label: 'Kevin Da Silva',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/kevin-da-silva/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489210191,
size: 0.5,
source: 18489,
target: 210191 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7848) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184897848,
size: 0.5,
source: 18489,
target: 7848 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8222,
label: 'Dimitri Desvillechabrol',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/08/research_pasteur-dimitri_brmlab-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/dimitri-desvillechabrol/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 184898222,
size: 0.5,
source: 18489,
target: 8222 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 221217,
label: 'Amanda Dieuaide',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/amanda-dieuaide/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489221217,
size: 0.5,
source: 18489,
target: 221217 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 158063,
label: 'Johann Dreo',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2021/04/research_pasteur-johann-dreo-img-7846-profil-640px-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/johann-dreo/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489158063,
size: 0.5,
source: 18489,
target: 158063 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 104999,
label: 'Yoann Dufresne',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/03/research_pasteur-profile-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/yoann-dufresne/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489104999,
size: 0.5,
source: 18489,
target: 104999 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 188694,
label: 'Evangelia Eleftheriou',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/evangelia-eleftheriou/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489188694,
size: 0.5,
source: 18489,
target: 188694 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 187931) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489187931,
size: 0.5,
source: 18489,
target: 187931 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101501,
label: 'Julien Fumey',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/06/research_pasteur-fumey-julien-10-e1528383655738-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/julien-fumey/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489101501,
size: 0.5,
source: 18489,
target: 101501 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37658) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848937658,
size: 0.5,
source: 18489,
target: 37658 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80008) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848980008,
size: 0.5,
source: 18489,
target: 80008 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 37634) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848937634,
size: 0.5,
source: 18489,
target: 37634 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80011) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848980011,
size: 0.5,
source: 18489,
target: 80011 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 152937) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489152937,
size: 0.5,
source: 18489,
target: 152937 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 912) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489912,
size: 0.5,
source: 18489,
target: 912 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101010) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489101010,
size: 0.5,
source: 18489,
target: 101010 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 217476,
label: 'Joseph Josephides',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-enjoseph-josephidesfrjoseph-josephides-joseph-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/joseph-josephides/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489217476,
size: 0.5,
source: 18489,
target: 217476 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 176108) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489176108,
size: 0.5,
source: 18489,
target: 176108 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 81431) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848981431,
size: 0.5,
source: 18489,
target: 81431 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 80014) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848980014,
size: 0.5,
source: 18489,
target: 80014 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 90271) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848990271,
size: 0.5,
source: 18489,
target: 90271 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7847) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184897847,
size: 0.5,
source: 18489,
target: 7847 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848957915,
size: 0.5,
source: 18489,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 210187) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489210187,
size: 0.5,
source: 18489,
target: 210187 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79208) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848979208,
size: 0.5,
source: 18489,
target: 79208 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57758) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848957758,
size: 0.5,
source: 18489,
target: 57758 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 74050) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848974050,
size: 0.5,
source: 18489,
target: 74050 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 65751) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848965751,
size: 0.5,
source: 18489,
target: 65751 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 154492) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489154492,
size: 0.5,
source: 18489,
target: 154492 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63337) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848963337,
size: 0.5,
source: 18489,
target: 63337 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4405,
label: 'Simon Malesys',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/02/research_pasteur-pasteur-profile-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/simon-malesys/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 184894405,
size: 0.5,
source: 18489,
target: 4405 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6830) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184896830,
size: 0.5,
source: 18489,
target: 6830 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6822,
label: 'Corinne Maufrais',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_fig36-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/corinne-maufrais/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 184896822,
size: 0.5,
source: 18489,
target: 6822 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79704) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848979704,
size: 0.5,
source: 18489,
target: 79704 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6820,
label: 'Hervé Menager',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/10/research.pasteur.fr_face-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/herve-menager/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 184896820,
size: 0.5,
source: 18489,
target: 6820 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210021,
label: 'Arnaud MENG',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2023/10/research_pasteur-enarnaud-mengfrarnaud-meng-arnaud-meng-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/arnaud-meng/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489210021,
size: 0.5,
source: 18489,
target: 210021 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 188697) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489188697,
size: 0.5,
source: 18489,
target: 188697 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 79863) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848979863,
size: 0.5,
source: 18489,
target: 79863 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 153773) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489153773,
size: 0.5,
source: 18489,
target: 153773 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7761) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184897761,
size: 0.5,
source: 18489,
target: 7761 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 6833) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184896833,
size: 0.5,
source: 18489,
target: 6833 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 70981) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848970981,
size: 0.5,
source: 18489,
target: 70981 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 204626) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489204626,
size: 0.5,
source: 18489,
target: 204626 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 4943) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184894943,
size: 0.5,
source: 18489,
target: 4943 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 137237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489137237,
size: 0.5,
source: 18489,
target: 137237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 53076) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848953076,
size: 0.5,
source: 18489,
target: 53076 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 84017) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848984017,
size: 0.5,
source: 18489,
target: 84017 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 63334) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848963334,
size: 0.5,
source: 18489,
target: 63334 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 123248,
label: 'Rémi Planel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2019/10/research_pasteur-photos_pasteur-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/remi-planel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489123248,
size: 0.5,
source: 18489,
target: 123248 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 138400,
label: 'Maguelonne Roux',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/01/research_pasteur-maguelonne_roux-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/fr-maguelonne-roux/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489138400,
size: 0.5,
source: 18489,
target: 138400 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 104985) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489104985,
size: 0.5,
source: 18489,
target: 104985 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 218702,
label: 'Marie Schmit',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2024/01/research_pasteur-enmarie-schmitfrmarie-schmit-moi-photo-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/marie-schmit/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489218702,
size: 0.5,
source: 18489,
target: 218702 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 218693,
label: 'Raphaël Tackx',
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/member/raphael-tackx/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489218693,
size: 0.5,
source: 18489,
target: 218693 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 90107,
label: 'Najwa Taib',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2017/05/research_pasteur-photo_ntaib-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/najwa-taib/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 1848990107,
size: 0.5,
source: 18489,
target: 90107 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7763) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184897763,
size: 0.5,
source: 18489,
target: 7763 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 187500,
label: 'Nicolas Traut',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/09/research_pasteur-nicolas-traut-photo-nicolas-upscaled-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/nicolas-traut/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 18489187500,
size: 0.5,
source: 18489,
target: 187500 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184892237,
size: 0.5,
source: 18489,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 101015) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489101015,
size: 0.5,
source: 18489,
target: 101015 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 7762) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 184897762,
size: 0.5,
source: 18489,
target: 7762 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57911) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 1848957911,
size: 0.5,
source: 18489,
target: 57911 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 906) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 18489906,
size: 0.5,
source: 18489,
target: 906 });
// adding node
var x_node = Math.cos(2 * 42 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 42 * Math.PI / N) * 10;
g.nodes.push({
id: 2665,
label: 'TEAM: Biomics',
x: x_node,
y: y_node,
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/03/genetic-strand-9.25.14-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/team/biomics/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 22372665,
size: 0.5,
source: 2237,
target: 2665,
});
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7872,
label: 'Imène Najjar',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_najjar.jpg',
page_url: 'https://research.pasteur.fr/en/member/imene-najjar/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26657872,
size: 0.5,
source: 2665,
target: 7872 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1635,
label: 'Laurence Ma',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/02/research_pasteur-laurence-ma-lma-2-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/laurence-ma/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26651635,
size: 0.5,
source: 2665,
target: 1635 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 1004) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 26651004,
size: 0.5,
source: 2665,
target: 1004 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 7857,
label: 'Laurence Motreff',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2018/09/research_pasteur-lm-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/laurence-motreff/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26657857,
size: 0.5,
source: 2665,
target: 7857 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8516,
label: 'Georges Haustant',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/08/research_pasteur-avatar-tcm-150x150.png',
page_url: 'https://research.pasteur.fr/en/member/georges-haustant/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26658516,
size: 0.5,
source: 2665,
target: 8516 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 81431) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 266581431,
size: 0.5,
source: 2665,
target: 81431 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 138851,
label: 'Elodie Turc',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2020/06/research_pasteur-avatar-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/elodie-turc/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2665138851,
size: 0.5,
source: 2665,
target: 138851 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 8391,
label: 'Natacha Haikine',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/07/research.pasteur.fr_haikine-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/natacha-haikine/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26658391,
size: 0.5,
source: 2665,
target: 8391 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 175186,
label: 'Chloé Baum',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/01/research_pasteur-chloe-baum-b49c9dd9-4311-4bf9-a009-e56568ff7194-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/chloe-baum/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2665175186,
size: 0.5,
source: 2665,
target: 175186 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 181330,
label: 'Yakov Vitrenko',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/05/research_pasteur-yakov-vitrenko-avatar-1-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/yakov-vitrenko/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2665181330,
size: 0.5,
source: 2665,
target: 181330 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 188113,
label: 'Azimdine Habib',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-azimdine-habib-photo-le-26-04-2022-ae-15.09-150x150.jpeg',
page_url: 'https://research.pasteur.fr/en/member/azimdine-habib/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2665188113,
size: 0.5,
source: 2665,
target: 188113 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 188111,
label: 'Florence Jagorel',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2022/10/research_pasteur-florence-jagorel-florence-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/florence-jagorel/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 2665188111,
size: 0.5,
source: 2665,
target: 188111 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 204626) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 2665204626,
size: 0.5,
source: 2665,
target: 204626 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 4219,
label: 'Marc Monot',
type: 'image',
url: 'https://research.pasteur.fr/wp-content/uploads/2015/08/research.pasteur.fr_marc_icone-150x150.jpg',
page_url: 'https://research.pasteur.fr/en/member/marc-monot/',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 26654219,
size: 0.5,
source: 2665,
target: 4219 });
// adding node
var x_node = Math.cos(2 * 43 * Math.PI / N) * 10;
var y_node = Math.sin(2 * 43 * Math.PI / N) * 10;
g.nodes.push({
id: 83856,
label: 'PROJECT: Régulation transcriptionnelle par l’Enhancer de Trithorax et Polycomb Corto et la Protéine Ribosomique L12.',
x: x_node,
y: y_node,
type: 'image',
url: '',
page_url: 'https://research.pasteur.fr/en/project/regulation-transcriptionnelle-par-lenhancer-de-trithorax-et-polycomb-corto-et-la-proteine-ribosomique-l12/',
size: 35,
color: '#DDDDDD'
});
//link content to central post
g.edges.push({
id: 223783856,
size: 0.5,
source: 2237,
target: 83856,
});
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 57915) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 8385657915,
size: 0.5,
source: 83856,
target: 57915 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 914) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83856914,
size: 0.5,
source: 83856,
target: 914 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 2237) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 838562237,
size: 0.5,
source: 83856,
target: 2237 });
//check if content already exist
// update node size depending on the amount of edges
g.nodes.forEach(function(n) {
if (n.id == 840) {
n.size = n.size + 8;
}
});
//link to content
g.edges.push({
id: 83856840,
size: 0.5,
source: 83856,
target: 840 });
//check if content already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83848,
label: '',
type: 'image',
url: '',
page_url: '',
x: x_site,
y: y_site,
size: 10,
color: '#dddddd'
});
//link to content
g.edges.push({
id: 8385683848,
size: 0.5,
source: 83856,
target: 83848 });
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) {
});