If I have some fixed co-ordinates for some nodes in a Graphstream graph, can I get Graphstream to "fill in the gaps" and auto-layout those nodes that don't have a manually specified location?
for example:
Node n1 = graph.addNode("n1");
n1.setAttribute("xy",-0.1,53.35);
Node n2 = graph.addNode("n2");
graph.addEdge("n1n2",n1,n2);
Node n3 = graph.addNode("n3");
n3.setAttribute("xy",-0.4,56.35);
graph.addEdge("n2n3",n2,n3);
Given the above, n2 doesn't have a location specified. Is it possible to ask GraphStream to infer it, rather than just not displaying it because it doesn't know where it is?
If I use viewer.disableAutoLayout();, it won't display unlocated nodes; and if I use viewer.enableAutoLayout(); then it ignores my manual node locations.