29303132333435363738
d = new Activity("D"); ab = new DirectedAssociation(a, b); bc = new DirectedAssociation(b, c); cd = new DirectedAssociation(c, d); model = new BPMNModel(); model.add(a, b, c, d); model.add(ab, bc, cd); graph = GraphModel.convert(model); }