| Modifier and Type | Field and Description |
|---|---|
protected List<BoundaryEvent> |
boundaryEvents |
protected BpmnModel |
bpmnModel |
protected Object |
cellParent |
protected int |
eventSize |
protected int |
gatewaySize |
protected Map<String,Object> |
generatedEdges |
protected Map<String,Object> |
generatedVertices |
protected com.mxgraph.view.mxGraph |
graph |
protected Map<String,FlowElement> |
handledFlowElements |
protected Map<String,SequenceFlow> |
sequenceFlows |
protected int |
subProcessMargin |
protected int |
taskHeight |
protected int |
taskWidth |
| Constructor and Description |
|---|
BpmnAutoLayout(BpmnModel bpmnModel) |
| Modifier and Type | Method and Description |
|---|---|
protected GraphicInfo |
createDiagramInterchangeInformation(FlowElement flowElement,
int x,
int y,
int width,
int height) |
protected void |
createDiagramInterchangeInformation(SequenceFlow sequenceFlow,
List<com.mxgraph.util.mxPoint> waypoints) |
protected void |
createEventVertex(FlowElement flowElement) |
protected void |
createGatewayVertex(FlowElement flowElement) |
protected void |
ensureSequenceFlowIdSet(SequenceFlow sequenceFlow) |
protected double |
euclidianDistance(com.mxgraph.util.mxPoint point1,
com.mxgraph.util.mxPoint point2) |
void |
execute() |
protected void |
generateActivityDiagramInterchangeElements() |
protected void |
generateDiagramInterchangeElements() |
protected void |
generateSequenceFlowDiagramInterchangeElements() |
int |
getEventSize() |
int |
getGatewaySize() |
com.mxgraph.view.mxGraph |
getGraph() |
int |
getSubProcessMargin() |
int |
getTaskHeight() |
int |
getTaskWidth() |
protected void |
handleActivity(FlowElement flowElement) |
protected void |
handleBoundaryEvents() |
protected void |
handleEvent(FlowElement flowElement) |
protected void |
handleSequenceFlow() |
protected void |
handleSequenceFlow(SequenceFlow sequenceFlow) |
protected void |
handleSubProcess(FlowElement flowElement) |
protected void |
layout(FlowElementsContainer flowElementsContainer) |
protected List<com.mxgraph.util.mxPoint> |
optimizeEdgePoints(List<com.mxgraph.util.mxPoint> unoptimizedPointsList) |
void |
setEventSize(int eventSize) |
void |
setGatewaySize(int gatewaySize) |
void |
setGraph(com.mxgraph.view.mxGraph graph) |
void |
setSubProcessMargin(int subProcessMargin) |
void |
setTaskHeight(int taskHeight) |
void |
setTaskWidth(int taskWidth) |
protected BpmnModel bpmnModel
protected int eventSize
protected int gatewaySize
protected int taskWidth
protected int taskHeight
protected int subProcessMargin
protected com.mxgraph.view.mxGraph graph
protected Object cellParent
protected Map<String,SequenceFlow> sequenceFlows
protected List<BoundaryEvent> boundaryEvents
protected Map<String,FlowElement> handledFlowElements
public BpmnAutoLayout(BpmnModel bpmnModel)
public void execute()
protected void layout(FlowElementsContainer flowElementsContainer)
protected void ensureSequenceFlowIdSet(SequenceFlow sequenceFlow)
protected void handleSequenceFlow(SequenceFlow sequenceFlow)
protected void handleEvent(FlowElement flowElement)
protected void handleActivity(FlowElement flowElement)
protected void handleSubProcess(FlowElement flowElement)
protected void handleBoundaryEvents()
protected void handleSequenceFlow()
protected void createEventVertex(FlowElement flowElement)
protected void createGatewayVertex(FlowElement flowElement)
protected void generateDiagramInterchangeElements()
protected void generateActivityDiagramInterchangeElements()
protected void generateSequenceFlowDiagramInterchangeElements()
protected double euclidianDistance(com.mxgraph.util.mxPoint point1,
com.mxgraph.util.mxPoint point2)
protected List<com.mxgraph.util.mxPoint> optimizeEdgePoints(List<com.mxgraph.util.mxPoint> unoptimizedPointsList)
protected GraphicInfo createDiagramInterchangeInformation(FlowElement flowElement, int x, int y, int width, int height)
protected void createDiagramInterchangeInformation(SequenceFlow sequenceFlow, List<com.mxgraph.util.mxPoint> waypoints)
public com.mxgraph.view.mxGraph getGraph()
public void setGraph(com.mxgraph.view.mxGraph graph)
public int getEventSize()
public void setEventSize(int eventSize)
public int getGatewaySize()
public void setGatewaySize(int gatewaySize)
public int getTaskWidth()
public void setTaskWidth(int taskWidth)
public int getTaskHeight()
public void setTaskHeight(int taskHeight)
public int getSubProcessMargin()
public void setSubProcessMargin(int subProcessMargin)
Copyright © 2014 Alfresco. All rights reserved.