Class Index | File Index

Classes


Class Biojs.Cytoscape


Version 1.0.0.

Extends Biojs.

Defined in: Biojs.Cytoscape.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Biojs.Cytoscape(options)
The Cytoscape.js component is a wrapper that allows you to use Cytoscape.js in BioJS.
Field Summary
Field Attributes Field Name and Description
<inner>  
Array containing the supported event names
<inner>  
opt
Default values for the options
Method Summary
Method Attributes Method Name and Description
 
constructor(options)
Methods borrowed from class Biojs:
addListener, extend, getId, listen, raiseEvent, removeListener, setEventHandlers, setOptions
Class Detail
Biojs.Cytoscape(options)
The Cytoscape.js component is a wrapper that allows you to use Cytoscape.js in BioJS.
Author: Max Franz.
var cy;
var instance = new Biojs.Cytoscape({
		container: window.document.getElementById('some-div-id'),
		ready: function(){
			cy = this; // now you can use cytoscape.js as normal
		}
});
Parameters:
{Object} options
An object with the options for Cytoscape.js.
Options detailed:
{string} container
The ID of the HTML DOM element in which Cytoscape.js will be placed.
Requires:
Cytoscape.js (latest version strongly recommended)
Field Detail
<inner> eventTypes
Array containing the supported event names

<inner> opt
Default values for the options
Method Detail
constructor(options)
Parameters:
options

Documentation generated by JsDoc Toolkit 2.3.2 on Thu Apr 17 2014 17:42:41 GMT+0100 (BST)