diff --git a/src/main/java/kieker/analysis/graph/Vertex.java b/src/main/java/kieker/analysis/graph/Vertex.java index 788a08e321be3f2a50365c99003127f277f09afa..24464338acb0e4f0b9a16cac01ca92be28a10946 100644 --- a/src/main/java/kieker/analysis/graph/Vertex.java +++ b/src/main/java/kieker/analysis/graph/Vertex.java @@ -8,6 +8,8 @@ public interface Vertex extends Element { public Graph getChildGraph(); + public void removeChildGraph(); + public Iterable<Edge> getEdges(Direction direction); public Iterable<Vertex> getVertices(Direction direction); diff --git a/src/main/java/kieker/analysis/graph/impl/VertexImpl.java b/src/main/java/kieker/analysis/graph/impl/VertexImpl.java index aa3fef03fce59a3b60a40731f563c37fc681f92c..f733eb0f9aa4b12c8dd0160792ab7b529b29205b 100644 --- a/src/main/java/kieker/analysis/graph/impl/VertexImpl.java +++ b/src/main/java/kieker/analysis/graph/impl/VertexImpl.java @@ -35,6 +35,11 @@ class VertexImpl extends ElementImpl implements Vertex { return childGraph; } + @Override + public void removeChildGraph() { + childGraph = null; + } + @Override public Iterable<Edge> getEdges(final Direction direction) { if (direction.equals(Direction.OUT)) {