add information regarding number of arcs in graph.

This commit is contained in:
Holt59
2018-03-11 20:34:16 +01:00
parent 23b46fd4bc
commit 97775a9714
3 changed files with 43 additions and 4 deletions

View File

@@ -593,7 +593,8 @@ public class MainWindow extends JFrame {
// name that are right-to-left (e.g. arabic names).
info += " - " + graph.getMapName() + "\u200e";
}
info += ", " + graph.getNodes().size() + " nodes";
info += ", " + graph.getNodes().size() + " nodes, "
+ graph.getGraphInformation().getArcCount() + " arcs.";
graphInfoPanel.setText(info);
drawGraph();