diff --git a/src/main/java/kieker/analysis/graph/GraphTester.java b/src/main/java/kieker/analysis/graph/GraphTester.java index 04871d1a860eda5bdb3396e256bbfc6f93b4d7cd..27b2d9e9167c8251bca210af4b7e5b8388ca8430 100644 --- a/src/main/java/kieker/analysis/graph/GraphTester.java +++ b/src/main/java/kieker/analysis/graph/GraphTester.java @@ -56,7 +56,20 @@ public class GraphTester { Vertex node1sub1 = node1.getChildGraph().addVertex("n1::s1"); Vertex node1sub2 = node1.getChildGraph().addVertex("n1::s2"); Vertex node1sub3 = node1.getChildGraph().addVertex("n1::s3"); - node1sub3.addEdge("wormhole", node4); + node1sub3.addEdge("wormhole1", node4); + node4.addEdge("wormhole2", node1sub3); + + node1sub3.addChildGraph(); + Vertex node1sub3sub1 = node1sub3.getChildGraph().addVertex("n1::s3::s1"); + Vertex node1sub3sub2 = node1sub3.getChildGraph().addVertex("n1::s3::s2"); + Vertex node1sub3sub3 = node1sub3.getChildGraph().addVertex("n1::s3::s3"); + node1sub3sub1.addEdge("wormhole3", node4); + node4.addEdge("wormhole4", node1sub3sub1); + node1sub3sub2.addEdge(node1sub3sub3); + + node1sub2.addChildGraph(); + Vertex node1sub2sub1 = node1sub2.getChildGraph().addVertex("n1::s2::s1"); + node1sub2sub1.addEdge("hyperwormhole", node1sub3sub1); if (node1.hasChildGraph()) { System.out.println("Node 1 has Child graph");