CollapsedGraph (@NotNull CollapsedGraph prevCollapsedGraph, @NotNull LinearGraph newDelegateGraph) { UnsignedBitSet visibleNodesId = prevCollapsedGraph.myDelegateNodesVisibility.getNodeVisibilityById(); return new CollapsedGraph(newDelegateGraph, prevCollapsedGraph.myMatchedNodeId, visibleNodesId, prevCollapsedGraph.myEdgeStorage); }