/** * This method returns the service graph layout algorithm. * * @return The service graph layout algorithm */ public static ServiceGraphLayout getServiceGraphLayout() { return (new ServiceGraphLayoutImpl()); } }
layoutService(sg, sn, SERVICE_INITIAL_HORIZONTAL_PADDING, _height+SERVICE_VERTICAL_PADDING);
ServiceGraphLayoutImpl serviceGraphLayout = new ServiceGraphLayoutImpl(); serviceGraphLayout.layout(serviceGraph); SVGServiceGraphGenerator serviceGraphGenerator = new SVGServiceGraphGenerator(); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
if (requiresLayout(sn)) { if (ul.getSource() == sn && requiresLayout(ul.getTarget())) { links.add(ul); layoutService(sg, ul.getTarget(), newX, newY);
ServiceGraphLayoutImpl layout=new ServiceGraphLayoutImpl(); layout.layout(graph);