pruneIsolatedElements
Drops views with no incident edges. Useful after keepOnlyDiagramTypeEdges strips a fraction of the wire connectivity and leaves orphan nodes pointing nowhere.
visible = false views are also dropped (they're already marked hidden by upstream filters and won't render).