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

play with graphstream-rendering

This commit is contained in:
Stefan Schroeder 2013-12-11 14:15:14 +01:00
parent be00d30fde
commit 439ee29895
8 changed files with 209 additions and 172 deletions

View file

@ -107,7 +107,8 @@ public class PickupAndDeliveryExample2 {
plotter.setShowFirstActivity(true);
plotter.plot("output/pd_christophides_vrpnc1_solution.png","pd_vrpnc1");
GraphStreamViewer.display(vrp, solution, 100);
new GraphStreamViewer(vrp, solution).setRenderDelay(100).labelWith(jsprit.analysis.toolbox.GraphStreamViewer.Label.ID).display();
}