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:
parent
be00d30fde
commit
439ee29895
8 changed files with 209 additions and 172 deletions
|
|
@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue