Graphs
/**
* This example spawns three different renderers, two of them sharing
* their camera. Also, a ForceAtlas2 runs on the graph.
*
* It is basically a mashup between some other examples, to show how
* sigma behaves when instantiated in a weird and heavy configuration.
*/
var i,
s,
o,
offset_left = 0.5,
N = 13,
E = 40,
C = 5,
d = 0.5,
cs = [],
g = {
nodes: [],
edges: []
};
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 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: 160139,
label: 'Hearing Institute – Institut Pasteur Center',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 57,
label: 'Auditory Therapies Innovation Lab',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16013957,
size: 0.5,
source: 160139,
target: 57 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24212,
label: 'Progressive Sensory Disorders, PathoPhysiology and Therapy',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16013924212,
size: 0.5,
source: 160139,
target: 24212 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160144,
label: 'Neural coding in the auditory system',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160144,
size: 0.5,
source: 160139,
target: 160144 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160155,
label: 'Auditory system dynamics and multisensory processing',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160155,
size: 0.5,
source: 160139,
target: 160155 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160160,
label: 'Clinical and translational exploration of sensorineural hearing loss',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160160,
size: 0.5,
source: 160139,
target: 160160 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160165,
label: 'Plasticity of central auditory circuits',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160165,
size: 0.5,
source: 160139,
target: 160165 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160171,
label: 'Technologies and Gene Therapy for Deafness',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160171,
size: 0.5,
source: 160139,
target: 160171 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160183,
label: 'Auditory Cognition and Communication',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160183,
size: 0.5,
source: 160139,
target: 160183 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160175,
label: 'Cochlear development and therapeutic perspectives',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139160175,
size: 0.5,
source: 160139,
target: 160175 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 164700,
label: 'Hearing Institute Bioimaging Core Facility',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139164700,
size: 0.5,
source: 160139,
target: 164700 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 164712,
label: 'Hearing Institute Animal Phenotyping Core Facility',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139164712,
size: 0.5,
source: 160139,
target: 164712 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 173185,
label: 'Neural coding and neuroengineering of human speech functions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139173185,
size: 0.5,
source: 160139,
target: 173185 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 182351,
label: 'Hearing Institute Data Acquisition and Signal Processing Facility',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160139182351,
size: 0.5,
source: 160139,
target: 182351 });
// 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: 125763,
label: 'Computational Biology',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 77488,
label: 'Statistical Genetics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576377488,
size: 0.5,
source: 125763,
target: 77488 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83826,
label: 'InBio: Experimental and Computational Methods for Modeling Cellular Processes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576383826,
size: 0.5,
source: 125763,
target: 83826 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 119692,
label: 'Sequence Bioinformatics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125763119692,
size: 0.5,
source: 125763,
target: 119692 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 18489,
label: 'Bioinformatics and Biostatistics HUB',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576318489,
size: 0.5,
source: 125763,
target: 18489 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70654,
label: 'Decision and Bayesian Computation – Epiméthée',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12576370654,
size: 0.5,
source: 125763,
target: 70654 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6124,
label: 'Computational Systems Biomedicine',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257636124,
size: 0.5,
source: 125763,
target: 6124 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6135,
label: 'Imaging and Modeling',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257636135,
size: 0.5,
source: 125763,
target: 6135 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 195173,
label: 'Machine Learning for integrative genomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125763195173,
size: 0.5,
source: 125763,
target: 195173 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 210082,
label: 'Evolutionary dynamics of infectious diseases',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125763210082,
size: 0.5,
source: 125763,
target: 210082 });
// 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: 125756,
label: 'Global Health',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6180,
label: 'Lyssavirus epidemiology and neuropathology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566180,
size: 0.5,
source: 125756,
target: 6180 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94346,
label: 'Biodiversity and Epidemiology of Bacterial Pathogens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12575694346,
size: 0.5,
source: 125756,
target: 94346 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6186,
label: 'Mathematical Modelling Of Infectious Diseases',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566186,
size: 0.5,
source: 125756,
target: 6186 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6229,
label: 'Epidemiology of Emerging Diseases',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566229,
size: 0.5,
source: 125756,
target: 6229 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6182,
label: 'Epidemiology and Modelling of Antibacterial Evasion (EMAE)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566182,
size: 0.5,
source: 125756,
target: 6182 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6228,
label: 'Environment and Infectious Risks',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566228,
size: 0.5,
source: 125756,
target: 6228 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6126,
label: 'Trypanosomatids Infectious Processes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566126,
size: 0.5,
source: 125756,
target: 6126 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6166,
label: 'Ecology and Emergence of Arthropod-borne Pathogens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566166,
size: 0.5,
source: 125756,
target: 6166 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6184,
label: 'Invasive Bacterial Infections',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566184,
size: 0.5,
source: 125756,
target: 6184 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6227,
label: 'Enteric Bacterial Pathogens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1257566227,
size: 0.5,
source: 125756,
target: 6227 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24234,
label: 'Anthropology and Ecology of Disease Emergence',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12575624234,
size: 0.5,
source: 125756,
target: 24234 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156720,
label: 'Infectious Disease Epidemiology and Analytics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 125756156720,
size: 0.5,
source: 125756,
target: 156720 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 74430,
label: 'Cystic Fibrosis and Bronchial Diseases',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 12575674430,
size: 0.5,
source: 125756,
target: 74430 });
// 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: 160769,
label: 'Mycology',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6196,
label: 'Fungal Biology and Pathogenicity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1607696196,
size: 0.5,
source: 160769,
target: 6196 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24312,
label: 'RNA Biology of Fungal Pathogens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16076924312,
size: 0.5,
source: 160769,
target: 24312 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 96449,
label: 'Molecular Genetics and Epigenetics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 16076996449,
size: 0.5,
source: 160769,
target: 96449 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6122,
label: 'Immunology of Fungal Infections',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1607696122,
size: 0.5,
source: 160769,
target: 6122 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 152957,
label: 'Fungal Heterogeneity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 160769152957,
size: 0.5,
source: 160769,
target: 152957 });
// 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: 26,
label: 'Neuroscience',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 36,
label: 'Human Genetics and Cognitive Functions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2636,
size: 0.5,
source: 26,
target: 36 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 86,
label: 'Signaling and receptors dynamics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2686,
size: 0.5,
source: 26,
target: 86 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6201,
label: 'Integrative Neurobiology of Cholinergic Systems',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 266201,
size: 0.5,
source: 26,
target: 6201 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6202,
label: 'Perception & Action',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 266202,
size: 0.5,
source: 26,
target: 6202 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 70654,
label: 'Decision and Bayesian Computation – Epiméthée',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2670654,
size: 0.5,
source: 26,
target: 70654 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94978,
label: 'Neural Circuit Dynamics and Decision Making',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2694978,
size: 0.5,
source: 26,
target: 94978 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156712,
label: 'Brain-immune communication',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 26156712,
size: 0.5,
source: 26,
target: 156712 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 165876,
label: 'Applied and Theoretical Neuroanatomy',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 26165876,
size: 0.5,
source: 26,
target: 165876 });
// 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: 15,
label: 'Cell Biology & Infection',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 517,
label: 'Biological Image Analysis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 15517,
size: 0.5,
source: 15,
target: 517 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6181,
label: 'Biology of infection',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156181,
size: 0.5,
source: 15,
target: 6181 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6139,
label: 'Cell Polarity, Migration And Cancer',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156139,
size: 0.5,
source: 15,
target: 6139 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6141,
label: 'Cellular Biology of Microbial Infection',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156141,
size: 0.5,
source: 15,
target: 6141 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62866,
label: 'Chromatin and Infection',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1562866,
size: 0.5,
source: 15,
target: 62866 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6134,
label: 'Dynamics of Host-Pathogen Interactions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156134,
size: 0.5,
source: 15,
target: 6134 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 170258,
label: 'Evolutionary cell biology and evolution of morphogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 15170258,
size: 0.5,
source: 15,
target: 170258 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 83820,
label: 'Membrane Biochemistry and Transport',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1583820,
size: 0.5,
source: 15,
target: 83820 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6462,
label: 'Membrane Traffic and Cell Division',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156462,
size: 0.5,
source: 15,
target: 6462 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6140,
label: 'Membrane Traffic and Pathogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156140,
size: 0.5,
source: 15,
target: 6140 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6107,
label: 'Microbial Individuality and Infection',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156107,
size: 0.5,
source: 15,
target: 6107 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 108862,
label: 'Mitochondrial Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 15108862,
size: 0.5,
source: 15,
target: 108862 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6137,
label: 'Nuclear Organization and Oncogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 156137,
size: 0.5,
source: 15,
target: 6137 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 51157,
label: 'Pathogenesis of vascular infections',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1551157,
size: 0.5,
source: 15,
target: 51157 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 94012,
label: 'Photonic BioImaging (UTechS PBI)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1594012,
size: 0.5,
source: 15,
target: 94012 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 93967,
label: 'Ultrastructural BioImaging',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1593967,
size: 0.5,
source: 15,
target: 93967 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 98764,
label: 'Image Analysis Hub',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 1598764,
size: 0.5,
source: 15,
target: 98764 });
// 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: 34,
label: 'Virology',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6232,
label: 'Arboviruses and Insect Vectors',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346232,
size: 0.5,
source: 34,
target: 6232 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6211,
label: 'Biology of Viral Emerging Infections',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346211,
size: 0.5,
source: 34,
target: 6211 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6226,
label: 'HIV, Inflammation and Persistence',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346226,
size: 0.5,
source: 34,
target: 6226 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6213,
label: 'Oncogenic Virus Epidemiology and Pathophysiology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346213,
size: 0.5,
source: 34,
target: 6213 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6223,
label: 'Structural Virology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346223,
size: 0.5,
source: 34,
target: 6223 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6215,
label: 'Archived: Innovation lab : vaccines',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346215,
size: 0.5,
source: 34,
target: 6215 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6217,
label: 'Archived: Viral Neuro-Immunology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346217,
size: 0.5,
source: 34,
target: 6217 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6224,
label: 'Virus and Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346224,
size: 0.5,
source: 34,
target: 6224 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6225,
label: 'Viruses and RNA Interference',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346225,
size: 0.5,
source: 34,
target: 6225 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24371,
label: 'Group: MISTIC',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424371,
size: 0.5,
source: 34,
target: 24371 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101904,
label: 'Evolutionary genomics of RNA viruses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34101904,
size: 0.5,
source: 34,
target: 101904 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6117,
label: 'Insect-Virus Interactions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 346117,
size: 0.5,
source: 34,
target: 6117 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24396,
label: 'RNA Biology of Influenza Virus',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424396,
size: 0.5,
source: 34,
target: 24396 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137080,
label: 'Pathogen discovery',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34137080,
size: 0.5,
source: 34,
target: 137080 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 65444,
label: 'Virus sensing and signaling',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3465444,
size: 0.5,
source: 34,
target: 65444 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 119282,
label: 'Advanced Molecular Virology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34119282,
size: 0.5,
source: 34,
target: 119282 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153633,
label: 'Group : Marc Lavigne',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34153633,
size: 0.5,
source: 34,
target: 153633 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193447,
label: 'Molecular mechanisms of multiplication of Pneumoviruses M3P',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34193447,
size: 0.5,
source: 34,
target: 193447 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193440,
label: 'Structural biology of infectious diseases',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34193440,
size: 0.5,
source: 34,
target: 193440 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24357,
label: 'Hepacivirus-host interactions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424357,
size: 0.5,
source: 34,
target: 24357 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 193580,
label: 'Virus and cellular stress',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34193580,
size: 0.5,
source: 34,
target: 193580 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 194720,
label: 'Interactomics, RNA and immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34194720,
size: 0.5,
source: 34,
target: 194720 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24339,
label: 'Viral reservoirs and immune control',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3424339,
size: 0.5,
source: 34,
target: 24339 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 219532,
label: 'Institut Pasteur-Oncovita joint laboratory',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 34219532,
size: 0.5,
source: 34,
target: 219532 });
// 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: 32,
label: 'Immunology',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6178,
label: 'Antibodies in Therapy and Pathology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326178,
size: 0.5,
source: 32,
target: 6178 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6172,
label: 'Dynamics of Immune Responses',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326172,
size: 0.5,
source: 32,
target: 6172 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6119,
label: 'Humoral Immunology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326119,
size: 0.5,
source: 32,
target: 6119 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6177,
label: 'Immunobiology and Therapy',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326177,
size: 0.5,
source: 32,
target: 6177 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6174,
label: 'Immunoregulation',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326174,
size: 0.5,
source: 32,
target: 6174 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6169,
label: 'Innate Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326169,
size: 0.5,
source: 32,
target: 6169 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6118,
label: 'Genome integrity, Immunity and Cancer',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326118,
size: 0.5,
source: 32,
target: 6118 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6170,
label: 'Archived: Lymphocytes and Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326170,
size: 0.5,
source: 32,
target: 6170 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6171,
label: 'Microenvironment and Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 326171,
size: 0.5,
source: 32,
target: 6171 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24432,
label: 'Stroma, Inflammation and Tissue Repair',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3224432,
size: 0.5,
source: 32,
target: 24432 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29755,
label: 'UTechS Single Cell Biomarkers',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3229755,
size: 0.5,
source: 32,
target: 29755 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 143968,
label: 'Translational Immunology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32143968,
size: 0.5,
source: 32,
target: 143968 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 127390,
label: 'Mucosal Inflammation and Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32127390,
size: 0.5,
source: 32,
target: 127390 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 156712,
label: 'Brain-immune communication',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32156712,
size: 0.5,
source: 32,
target: 156712 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 199398,
label: 'Dendritic cells and adaptive immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32199398,
size: 0.5,
source: 32,
target: 199398 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 208020,
label: 'Group : Hematopoietic Development',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 32208020,
size: 0.5,
source: 32,
target: 208020 });
// 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: 30,
label: 'Parasites and Insect Vectors',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6206,
label: 'Biology of Host-parasite Interactions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306206,
size: 0.5,
source: 30,
target: 6206 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1110,
label: 'Center for the Production and Infection of Anopheles',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 301110,
size: 0.5,
source: 30,
target: 1110 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6208,
label: 'Archived: Genetics and Genomics of Insect Vectors',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306208,
size: 0.5,
source: 30,
target: 6208 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6210,
label: 'Malaria Parasite Biology and Vaccines',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306210,
size: 0.5,
source: 30,
target: 6210 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6209,
label: 'Molecular Parasitology and Signaling',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306209,
size: 0.5,
source: 30,
target: 6209 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6205,
label: 'Trypanosome Cell Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 306205,
size: 0.5,
source: 30,
target: 6205 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24119,
label: 'Malaria Infection & Immunity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3024119,
size: 0.5,
source: 30,
target: 24119 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64141,
label: 'Trypanosome Molecular Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 3064141,
size: 0.5,
source: 30,
target: 64141 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 160552,
label: 'Parasite RNA Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 30160552,
size: 0.5,
source: 30,
target: 160552 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 139045,
label: 'Plasmodium Infection and Transmission',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 30139045,
size: 0.5,
source: 30,
target: 139045 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 227165,
label: 'Spleen, Parasites & Infections',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 30227165,
size: 0.5,
source: 30,
target: 227165 });
// 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: 28,
label: 'Genomes and Genetics',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6164,
label: 'Bacterial Genome Plasticity',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286164,
size: 0.5,
source: 28,
target: 6164 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6158,
label: 'Dynamics of the Genome',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286158,
size: 0.5,
source: 28,
target: 6158 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6165,
label: 'Microbial Evolutionary Genomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286165,
size: 0.5,
source: 28,
target: 6165 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6160,
label: 'Human Evolutionary Genetics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286160,
size: 0.5,
source: 28,
target: 6160 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6116,
label: 'Spatial Regulation of Genomes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 286116,
size: 0.5,
source: 28,
target: 6116 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 2665,
label: 'Biomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 282665,
size: 0.5,
source: 28,
target: 2665 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 90653,
label: 'Mouse Genetics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2890653,
size: 0.5,
source: 28,
target: 90653 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 100029,
label: 'Physical Microfluidics and Bioengineering',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28100029,
size: 0.5,
source: 28,
target: 100029 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 146163,
label: 'Microbial Paleogenomics Unit',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28146163,
size: 0.5,
source: 28,
target: 146163 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 166172,
label: 'Comparative Functional Genomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28166172,
size: 0.5,
source: 28,
target: 166172 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 198839,
label: 'Molecular diversity of microbes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 28198839,
size: 0.5,
source: 28,
target: 198839 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24220,
label: 'Archived: Cytoplasmic mRNA surveillance in yeast',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2824220,
size: 0.5,
source: 28,
target: 24220 });
// 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: 24,
label: 'Structural Biology and Chemistry',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 748,
label: 'Antibody Engineering',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24748,
size: 0.5,
source: 24,
target: 748 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6149,
label: 'Biochemistry of Macromolecular Interactions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246149,
size: 0.5,
source: 24,
target: 6149 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 62878,
label: 'Bioorganic chemistry of nucleic acids',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2462878,
size: 0.5,
source: 24,
target: 62878 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6155,
label: 'Archived: Group : Chemistry and Biocatalysis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246155,
size: 0.5,
source: 24,
target: 6155 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6152,
label: 'Chemistry of Biomolecules',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246152,
size: 0.5,
source: 24,
target: 6152 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 794,
label: 'Crystallography',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24794,
size: 0.5,
source: 24,
target: 794 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1024,
label: 'Molecular Biophysics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 241024,
size: 0.5,
source: 24,
target: 1024 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 1072,
label: 'Proteomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 241072,
size: 0.5,
source: 24,
target: 1072 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6151,
label: 'Structural Bioinformatics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246151,
size: 0.5,
source: 24,
target: 6151 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6153,
label: 'Architecture and Dynamics of Biological Macromolecules',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246153,
size: 0.5,
source: 24,
target: 6153 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6156,
label: 'Mass Spectrometry for Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246156,
size: 0.5,
source: 24,
target: 6156 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6150,
label: 'Structural Microbiology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 246150,
size: 0.5,
source: 24,
target: 6150 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 101330,
label: 'Epigenetic Chemical Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24101330,
size: 0.5,
source: 24,
target: 101330 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118434,
label: 'NanoImaging Core',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24118434,
size: 0.5,
source: 24,
target: 118434 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 110152,
label: 'Biological NMR and HDX-MS Technological Platform',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24110152,
size: 0.5,
source: 24,
target: 110152 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 15050,
label: 'Chemogenomic and Biological Screening Platform (PF-CCB)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2415050,
size: 0.5,
source: 24,
target: 15050 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 118961,
label: 'Production and Purification of Recombinant Proteins Technological Platform',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24118961,
size: 0.5,
source: 24,
target: 118961 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 137088,
label: 'Archived: Structural Image Analysis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24137088,
size: 0.5,
source: 24,
target: 137088 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24279,
label: 'Bacterial transmembrane systems',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2424279,
size: 0.5,
source: 24,
target: 24279 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 153906,
label: 'Computational Structural Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24153906,
size: 0.5,
source: 24,
target: 153906 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 175015,
label: 'Bacterial Cell Cycle Mechanisms',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24175015,
size: 0.5,
source: 24,
target: 175015 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 232084,
label: 'Integrative Structural Cell Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 24232084,
size: 0.5,
source: 24,
target: 232084 });
// 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: 22,
label: 'Microbiology',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6190,
label: 'Biology and Genetics of Bacterial Cell Wall',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226190,
size: 0.5,
source: 22,
target: 6190 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6189,
label: 'Archived: Biology of Gram-Positive Pathogens',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226189,
size: 0.5,
source: 22,
target: 6189 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6192,
label: 'Biology of Spirochetes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226192,
size: 0.5,
source: 22,
target: 6192 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6193,
label: 'Genetics of Biofilms',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226193,
size: 0.5,
source: 22,
target: 6193 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6120,
label: 'Synthetic Biology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226120,
size: 0.5,
source: 22,
target: 6120 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6195,
label: 'Yersinia',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226195,
size: 0.5,
source: 22,
target: 6195 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29288,
label: 'Centre de Ressources Biologiques de l’Institut Pasteur (CRBIP)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2229288,
size: 0.5,
source: 22,
target: 29288 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 29245,
label: 'Collection of Cyanobacteria',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2229245,
size: 0.5,
source: 22,
target: 29245 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6127,
label: 'Pathogenesis of Bacterial Anaerobes',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226127,
size: 0.5,
source: 22,
target: 6127 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 75692,
label: 'Ecology and Evolution of Antibiotics Resistance',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2275692,
size: 0.5,
source: 22,
target: 75692 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 92464,
label: 'Bacterial Toxins',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2292464,
size: 0.5,
source: 22,
target: 92464 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24264,
label: 'Evolutionary Biology of the Microbial Cell',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224264,
size: 0.5,
source: 22,
target: 24264 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 103216,
label: 'Stress Adaptation and Metabolism (SAMe)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22103216,
size: 0.5,
source: 22,
target: 103216 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 109556,
label: 'National Collection of Cultures of Microorganisms',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22109556,
size: 0.5,
source: 22,
target: 109556 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 111545,
label: 'Collection of the Institut Pasteur (CIP)',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22111545,
size: 0.5,
source: 22,
target: 111545 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6163,
label: 'Integrated Mycobacterial Pathogenomics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226163,
size: 0.5,
source: 22,
target: 6163 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6157,
label: 'Biology Of Intracellular Bacteria',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 226157,
size: 0.5,
source: 22,
target: 6157 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 126281,
label: 'Archaeal Virology',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22126281,
size: 0.5,
source: 22,
target: 126281 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24203,
label: 'Bacteriophage, bacterium, host',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224203,
size: 0.5,
source: 22,
target: 24203 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24299,
label: 'Group: Infection, Genotoxicity and Cancer',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224299,
size: 0.5,
source: 22,
target: 24299 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 225385,
label: 'Microbiome-Host Interactions',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 22225385,
size: 0.5,
source: 22,
target: 225385 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24210,
label: 'Group: Shaynoor Dramsi',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2224210,
size: 0.5,
source: 22,
target: 24210 });
// 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: 20,
label: 'Developmental and Stem Cell Biology',
x: x_node,
y: y_node,
size: 10,
color: '#2bb491'
});
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6109,
label: 'Cellular plasticity in age-related pathologies',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206109,
size: 0.5,
source: 20,
target: 6109 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6143,
label: 'Dynamics of Developmental Decisions in Drosophila',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206143,
size: 0.5,
source: 20,
target: 6143 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6113,
label: 'Macrophages and Endothelial Cells',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206113,
size: 0.5,
source: 20,
target: 6113 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6108,
label: 'Dynamic Regulation of Morphogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206108,
size: 0.5,
source: 20,
target: 6108 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6110,
label: 'Epigenomics, Proliferation and the Identity of Cells – EPIC',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206110,
size: 0.5,
source: 20,
target: 6110 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 35649,
label: 'Mechanisms of epigenetic inheritance',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2035649,
size: 0.5,
source: 20,
target: 35649 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 64152,
label: 'Zebrafish Neurogenetics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2064152,
size: 0.5,
source: 20,
target: 64152 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6112,
label: 'Structures and signals in the neurogenic niche',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206112,
size: 0.5,
source: 20,
target: 6112 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6142,
label: 'Stem Cells And Development',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206142,
size: 0.5,
source: 20,
target: 6142 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6144,
label: 'Human Developmental Genetics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206144,
size: 0.5,
source: 20,
target: 6144 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 6111,
label: 'Heart Morphogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 206111,
size: 0.5,
source: 20,
target: 6111 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 78781,
label: 'Cell death and epithelial homeostasis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2078781,
size: 0.5,
source: 20,
target: 78781 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 95900,
label: 'Physics of Biological Function',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2095900,
size: 0.5,
source: 20,
target: 95900 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 24442,
label: 'Molecular Mechanisms of Pathological and Physiological Ageing',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2024442,
size: 0.5,
source: 20,
target: 24442 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 170258,
label: 'Evolutionary cell biology and evolution of morphogenesis',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 20170258,
size: 0.5,
source: 20,
target: 170258 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 845,
label: 'Mouse Genetics Engineering',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 20845,
size: 0.5,
source: 20,
target: 845 });
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
// adding site
g.nodes.push({
id: 79077,
label: 'Biomaterials and Microfluidics',
x: x_site,
y: y_site,
size: 3,
color: '#999999'
});
//link to node
g.edges.push({
id: 2079077,
size: 0.5,
source: 20,
target: 79077 });
// adding center
var x_node = Math.cos(2 * 0 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 0 * Math.PI / 5) * 4;
g.nodes.push({
id: 178251,
label: 'Research and Resource Centre for Scientific Informatics',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 139919,
label: 'Data Management Core Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 178251139919,
size: 0.5,
source: 178251,
target: 139919 });
// check if team already exist
g.edges.push({
id: 17825118489,
size: 0.5,
source: 178251,
target: 18489 });
// create new team
// check if team already exist
g.edges.push({
id: 17825198764,
size: 0.5,
source: 178251,
target: 98764 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 134514,
label: 'HPC Core Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 178251134514,
size: 0.5,
source: 178251,
target: 134514 });
// check if team already exist
g.edges.push({
id: 178251182351,
size: 0.5,
source: 178251,
target: 182351 });
// create new team
// adding center
var x_node = Math.cos(2 * 1 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 1 * Math.PI / 5) * 4;
g.nodes.push({
id: 164697,
label: 'Center for Research and Innovation in Human Audiology',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// adding center
var x_node = Math.cos(2 * 2 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 2 * Math.PI / 5) * 4;
g.nodes.push({
id: 144997,
label: 'Biological Resource Center of Institut Pasteur (CRBIP)',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
g.edges.push({
id: 144997111545,
size: 0.5,
source: 144997,
target: 111545 });
// create new team
// check if team already exist
g.edges.push({
id: 144997109556,
size: 0.5,
source: 144997,
target: 109556 });
// create new team
// check if team already exist
g.edges.push({
id: 14499729245,
size: 0.5,
source: 144997,
target: 29245 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 191152,
label: 'ICAReB-biobank : Integrated Collections for Adaptative Research in Biomedicine',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 144997191152,
size: 0.5,
source: 144997,
target: 191152 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 106070,
label: 'Expertise group: GIPhy – Genome Informatics and Phylogenetics',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 144997106070,
size: 0.5,
source: 144997,
target: 106070 });
// adding center
var x_node = Math.cos(2 * 3 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 3 * Math.PI / 5) * 4;
g.nodes.push({
id: 110135,
label: 'Center for Animal Resources and Research',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 16167,
label: 'Central Animal Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 11013516167,
size: 0.5,
source: 110135,
target: 16167 });
// check if team already exist
g.edges.push({
id: 1101351110,
size: 0.5,
source: 110135,
target: 1110 });
// create new team
// check if team already exist
g.edges.push({
id: 110135845,
size: 0.5,
source: 110135,
target: 845 });
// create new team
// check if team already exist
g.edges.push({
id: 110135164712,
size: 0.5,
source: 110135,
target: 164712 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 170297,
label: 'Human Disease Models core facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110135170297,
size: 0.5,
source: 110135,
target: 170297 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 173275,
label: 'HistoPathology Core Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110135173275,
size: 0.5,
source: 110135,
target: 173275 });
// adding center
var x_node = Math.cos(2 * 4 * Math.PI / 5) * 4;
var y_node = Math.sin(2 * 4 * Math.PI / 5) * 4;
g.nodes.push({
id: 110138,
label: 'Center for Technological Resources and Research',
x: x_node,
y: y_node,
size: 10,
color: '#35A9F5'
});
// check if team already exist
g.edges.push({
id: 11013829755,
size: 0.5,
source: 110138,
target: 29755 });
// create new team
// check if team already exist
g.edges.push({
id: 1101386156,
size: 0.5,
source: 110138,
target: 6156 });
// create new team
// check if team already exist
g.edges.push({
id: 11013894012,
size: 0.5,
source: 110138,
target: 94012 });
// create new team
// check if team already exist
g.edges.push({
id: 11013893967,
size: 0.5,
source: 110138,
target: 93967 });
// create new team
// check if team already exist
g.edges.push({
id: 1101382665,
size: 0.5,
source: 110138,
target: 2665 });
// create new team
// check if team already exist
g.edges.push({
id: 1101381024,
size: 0.5,
source: 110138,
target: 1024 });
// create new team
// check if team already exist
g.edges.push({
id: 110138794,
size: 0.5,
source: 110138,
target: 794 });
// create new team
// check if team already exist
g.edges.push({
id: 110138748,
size: 0.5,
source: 110138,
target: 748 });
// create new team
// check if team already exist
g.edges.push({
id: 11013815050,
size: 0.5,
source: 110138,
target: 15050 });
// create new team
// check if team already exist
g.edges.push({
id: 11013879077,
size: 0.5,
source: 110138,
target: 79077 });
// create new team
// check if team already exist
g.edges.push({
id: 110138110152,
size: 0.5,
source: 110138,
target: 110152 });
// create new team
// check if team already exist
g.edges.push({
id: 1101381072,
size: 0.5,
source: 110138,
target: 1072 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 36902,
label: 'Flow Cytometry Platform',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 11013836902,
size: 0.5,
source: 110138,
target: 36902 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 53310,
label: 'Tech Lab',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 11013853310,
size: 0.5,
source: 110138,
target: 53310 });
// check if team already exist
g.edges.push({
id: 110138118434,
size: 0.5,
source: 110138,
target: 118434 });
// create new team
// check if team already exist
g.edges.push({
id: 110138118961,
size: 0.5,
source: 110138,
target: 118961 });
// create new team
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 152966,
label: 'Metabolomics Core Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110138152966,
size: 0.5,
source: 110138,
target: 152966 });
// check if team already exist
if (x_node<0){
x_site = x_node + ((Math.random() * 2)-1) - offset_left;
}else{
x_site = x_node + ((Math.random() * 2)-1) + offset_left;
}
if (y_node<0){
y_site = y_node + ((Math.random() * 2)-1) - offset_left;
}else{
y_site = y_node + ((Math.random() * 2)-1) + offset_left;
}
g.nodes.push({
id: 158344,
label: 'Diagnostic Test Innovation and Development Core Facility',
x: x_node,
y: y_node,
size: 3,
color: '#999999'
});
g.edges.push({
id: 110138158344,
size: 0.5,
source: 110138,
target: 158344 });
// check if team already exist
g.edges.push({
id: 110138164700,
size: 0.5,
source: 110138,
target: 164700 });
// create new team
// linking nodes
/*
for (i = 0; i < N; i++) {
for (j = 0; j < N; j++) {
g.edges.push({
id: 'e' + i + j,
size: 0.5,
source: 'n' + i,
target: 'n' + j
});
}
}
*/
var s = new sigma({
container: document.getElementById('graph-container'),
graph: g,
settings: {
minNodeSize: 3,
maxNodeSize: 10,
mouseWheelEnabled: false,
font: 'Source Sans Pro',
labelThreshold:7,
borderSize:1,
defaultNodeBorderColor: '#333',
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 = n.originalColor;
else
n.color = '#ddd';
});
s.graph.edges().forEach(function(e) {
if (toKeep[e.source] && toKeep[e.target])
e.color = e.originalColor;
else
e.color = '#ddd';
});
// 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();
});
// Configure the noverlap layout:
var noverlapListener = s.configNoverlap({
nodeMargin: 10,
scaleNodes: 0.3,
gridSize: 1,
easing: 'quadraticInOut', // animation transition function
duration: 8000 // 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) {
});