Adding GraphML output to options menu

This commit is contained in:
2022-02-24 17:22:07 -06:00
parent f385ebc31f
commit e4d094d796
3 changed files with 27 additions and 8 deletions

View File

@@ -668,7 +668,7 @@ public class Simulator implements GraphModificationFunctions {
private static Map<Integer, Integer> makeVertexToSequenceMap(Map<Integer, Integer> sequences, Integer startValue) {
Map<Integer, Integer> map = new LinkedHashMap<>(); //LinkedHashMap to preserve order of entry
Integer index = startValue;
Integer index = startValue; //is this necessary? I don't think I use this.
for (Integer k: sequences.keySet()) {
map.put(index, k);
index++;