use of org.kie.workbench.common.stunner.core.graph.processing.traverse.content.ChildrenTraverseProcessor in project kie-wb-common by kiegroup.
the class GraphBoundsIndexerImplTest method setup.
@Before
public void setup() {
this.graphTestHandlerParent = new TestingGraphMockHandler();
graphInstanceParent = TestingGraphInstanceBuilder.newGraph2(graphTestHandlerParent);
ChildrenTraverseProcessor childrenTraverseProcessor = new ChildrenTraverseProcessorImpl(new TreeWalkTraverseProcessorImpl());
graphBoundsIndexerImpl = new GraphBoundsIndexerImpl(childrenTraverseProcessor);
graphBoundsIndexerImpl.build(graphInstanceParent.graph);
}
Aggregations