Clients will want to know which internal system nodes are connected in order to draw the connections between them. The rule is: "Any two non-empty nodes that are adjacent to each other on any axis are connected." While the information exposed by VesselInternals is sufficient to determine this, the class should expose this information in a more helpful manner. Add a getConnections() method that will return a Set containing all node connections.
Clients will want to know which internal system nodes are connected in order to draw the connections between them. The rule is: "Any two non-empty nodes that are adjacent to each other on any axis are connected." While the information exposed by
VesselInternals
is sufficient to determine this, the class should expose this information in a more helpful manner. Add agetConnections()
method that will return aSet
containing all node connections.