Download

Cobweb is licensed under the GNU General Public License version 3. GNU GPLv3
If you are using Cobweb, please give us the credit by linking to http://bioinformatics.charite.de/cobweb and citing the application note about Cobweb:
von Eichborn J., Bourne P.E. and Preissner R. (2011) Cobweb: a Java applet for network exploration and visualisation. Bioinformatics, 27, 1725-1726 [Paper]
If you just want to use Cobweb for your own work, please download the example applet by clicking on the corresponding section below. In this package there is everything you need to set up your local copy of Cobweb.
If you want to include enhanced feedback possibilities as well, please also download the JavaScript files and refer to the Tutorial.
download java codeDownload Java source-code

The sources make up two packages, cobweb and particlesystem. The classes that belong to each package are shown below.

Please Note, that these sources need the processing core, the G4P library and commons codec to work. These libraries (called core.jar, guicomponents.jar and commons-codec-1.4.jar) can be downloaded below (click on "Download Java libraries (jar)").

Package: cobweb
Cobweb.javaMain class of the applet, imports the particle system and draws the network
GraphFunctions.javaClass that offers some graph-based algorithms
GraphMLParser.javaClass to parse GraphML-files and create the network
Parameters.javaClass to store parameters like the picture path given in the input file
SIFParser.javaClass to parse SIF-files and create the network
XGMMLParser.javaClass to parse XGMML-files and create the network
Package: particlesystem
Edge.javaEdge between two nodes
Integrator.javaIntegrator, computes the positions for all nodes
Node.javaClass that represents one node
ParticleSystem.javaMain class of this package that uses all other classes to represent the network
Repulsion.javaRepulsion between two nodes
Vector2D.javaImplementation of two dimensional vectors
Additional files:
user_col_schema.pngThe user-specified colour schema that is used for the control elements
font.ttfThe font that is used to show the node names
These source files may be not up to date. To get the newest version, please look at the Cobweb repository at Github (show repository).
Download java_sources.zip
download javascript filesDownload JavaScript files

The following JavaScript files are needed for Cobweb to enable the enhanced feedback through the sidebar. Both of them have to be included in the page that contains the applet by adding <script type="text/javascript" src="./applet.js"></script> and <script type="text/javascript" src="./prototype.js"></script> to the top of the page.

applet.jsContains a set of functions that is used by the Cobweb applet to communicate with the sidebar.
prototype.jsCore file of the Prototype JavaScript framework, it is needed for applet.js to work
Download javascript_files.zip
download appletDownload example applet

Complete example applet. After extracting it to your harddisk opening example.html opens the applet showing an example network. The code of this example applet can be used to understand how the applet can be implemented into a website.

The example applet contains:
example.htmlSample html-file showing how the applet can be implemented on a website
stylesheet.cssStyle rules to define the look of the website
jsFolder containing JavaScript-files
      applet.jsJavaScript file containing functions that are necessary to control the applet via the website
prototype.jsPrototype JavaScript framework
appletFolder containing the applet libraries, for details please click on "Download Java libraries (jar)" above
cobweb.jar
particlesystem.jar
core.jar
guicomponents.jar
commons-codec-1.4.jar
Download example_applet.zip
download jarDownload Java libraries (jar)
Libraries:
cobweb.jarMain library for the applet, contains the code for user interaction and network drawing
particlesystem.jarContains the particle system logic behind the network, computes the nodes positions in the network
core.jar3rd party library containing the core of the processing framework
guicomponents.jar3rd party library for drawing control elements (G4P)
commons-codec-1.4.jar3rd party library offering common encoding functions (Apache commons codec)
Download java_libraries.zip
download input filesDownload example input files

Some example-files can be downloaded here. For general information about the structure of the files please have a look at the tutorial.

Example files:
apoptosis.xgmmlThe apoptosis example (see here) in XGMML format.
apoptosis.graphmlThe apoptosis example (see here) in GraphML format.
apoptosis.sifThe apoptosis example (see here) in SIF format.
Download example_input.zip