sgvizler.visualization.DraculaGraph Class
Draws a graph with clickable and movable nodes.
Input format:
- 7 columns, last three are optional.
- each row represents a source node, a target node and an edge from source to target.
- the URIs are the id's for the nodes, and make the nodes clickable.
Columns:
- sourceURI
- sourceLabel
- targetURI
- targetLabel
- edgeLabel
- sourceColor
- targetColor
Constructor
sgvizler.visualization.DraculaGraph
(
-
container
Parameters:
-
container
ObjectThe container element where the chart will be drawn.
Item Index
Methods
Methods
addListener
(
public
-
name
-
func
Add a function which is to be fired when the
listener named name
is fired.
See fireListener
Example:
addListener("ready", function () { console.log("Ready!") });
draw
(
public
-
data
-
[chartOptions]
Parameters:
-
data
google.visualization.DataTable -
[chartOptions]
Object optional
fireListener
(
public
-
name
Fires (runs, executes) all functions registered
on the listener name
.
See addListener
.
Parameters:
-
name
StringThe name of the listener.