Hi,
I am using cytoscapeweb to get the graph by getting the data from Neo4j data base. At pressent i am getting circle and random layouts. when i am trying to get the Force-direct graph iam getting following error
Can not apply layout: No such layout `ForceDirected` found; did you include its JS file?
can u guys plz help to get the ForceDirected and Tree model layouts.
var cy=cytoscape({
container:document.getElementById('cytoscapeweb'),
layout: {name: 'ForceDirected', // tree for Tree layout
fit: true,
directed: false,
padding: 30,
circle: false,
boundingBox:
avoidOverlap: true,
roots: undefined,
maximalAdjustments: 0,
animate: false,
animationDuration: 500,
ready: undefined,
stop: undefined
}
});