1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

play with camera-view

This commit is contained in:
Stefan Schroeder 2013-12-12 11:57:06 +01:00
parent e36bad438b
commit 6a439b470d
3 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ public class SimpleExample {
*/
// SolutionPlotter.plotSolutionAsPNG(problem, bestSolution, "output/solution.png", "solution");
new GraphStreamViewer(problem, bestSolution).setRenderDelay(100).display();
new GraphStreamViewer(problem, bestSolution).setCamerView(10, 10, 0.25).setRenderDelay(100).display();
}
}