feat(gui): display number of arcs for paths
This commit is contained in:
parent
5b59292839
commit
205605920b
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ public class PathsPanel extends JPanel implements DrawingChangeListener, GraphCh
|
||||||
else {
|
else {
|
||||||
info += String.format("Length = %.3f kilometers", length / 1000.);
|
info += String.format("Length = %.3f kilometers", length / 1000.);
|
||||||
}
|
}
|
||||||
|
info += String.format(", No of arcs = %d", path.getArcs().size());
|
||||||
|
|
||||||
// Display time
|
// Display time
|
||||||
info += ", Duration=";
|
info += ", Duration=";
|
||||||
|
|
Loading…
Reference in a new issue