Skip to content
quentinflahaut edited this page Mar 6, 2014 · 32 revisions

GraphGWT is an open source project allowing to display and interact with a javascript graph library.

Currently, the wrapper has only one implementation of of the graph which is Arbrorjs javascript library: http://arborjs.org/

The graph can be configured with a json object like following : var data = { nodes:{ temis:{'color':'red','shape':'rect','label':'Temis', alpha:1,link:'http://www.temis.com/fr'}, colombia:{'color':'green','shape':'dot','label':'colombia'}, paris:{'color':'blue','shape':'dot','label':'paris'}, luxidNav:{'color':CLR.goal,'shape':'dot','label':'luxidNav', alpha:0.4}, navigator:{'color':'green','shape':'dot','label':'navigator'}, luxid:{'color':'blue','shape':'dot','label':'luxid X'} }, edges:{ temis:{ colombia:{'weight':4.0, 'name':'headquarter', 'color':CLR.branch, 'directed':true}, paris:{'name':'subsidiary', 'color':CLR.branch, 'directed':false}}, paris:{ colombia:{'name':'vpn'},luxid:{} }, colombia:{ navigator:{} }, luxidNav:{ luxid:{'weight':4.0,'color':CLR.branch, 'directed':true},navigator:{} } } };

Clone this wiki locally