LinearGraphAnswer (@NotNull ActionContext context) { CollapsedGraph.Modification modification = context.myCollapsedGraph.startModification(); modification.removeAdditionalEdges(); modification.resetNodesVisibility(); return new DeferredGraphAnswer(GraphChangesUtil.SOME_CHANGES, modification); }