Fixes to support edges that are not connected to any nodes.