This PR changes how edges are stored. Before, all edges were stored in the same hashmap. Now, all edges associated with components are stored in one hashmap and all edges associated with subnets are stored in a different hashmap. Also solves a bug where the program would crash if every connection with a component is removed.
Should also resolve #50 due to #50 probably being caused by an error in how edges are accesed.
This PR changes how edges are stored. Before, all edges were stored in the same hashmap. Now, all edges associated with components are stored in one hashmap and all edges associated with subnets are stored in a different hashmap. Also solves a bug where the program would crash if every connection with a component is removed.
Should also resolve #50 due to #50 probably being caused by an error in how edges are accesed.