Currently the application panics when trying to get the port state of a component that is not connected to any subnet.
It would make the code a lot cleaner if it returned floating in this case instead.
While fixing this it might also be worth looking at having the component port states be independent to the subnet so it's easier to diagnose where conflicts arise. But this is only a minor concern.
Currently the application panics when trying to get the port state of a component that is not connected to any subnet.
It would make the code a lot cleaner if it returned floating in this case instead.
While fixing this it might also be worth looking at having the component port states be independent to the subnet so it's easier to diagnose where conflicts arise. But this is only a minor concern.