端到端功能 总图生成后存储的模型信息里增加布局方向信息 方便后续节点展开处理连线
This commit is contained in:
parent
9e2605b648
commit
05cf6d772e
Binary file not shown.
@ -160,5 +160,8 @@ public class GraphRender {
|
|||||||
JSONObject defineJsonObj = JSONObject.parseObject(this.baseModel.getDefinition());
|
JSONObject defineJsonObj = JSONObject.parseObject(this.baseModel.getDefinition());
|
||||||
JSONObject processProperties = defineJsonObj.getJSONObject("processProperties");
|
JSONObject processProperties = defineJsonObj.getJSONObject("processProperties");
|
||||||
processProperties.put("direction", direction);
|
processProperties.put("direction", direction);
|
||||||
|
|
||||||
|
this.baseModel.setDefinition(defineJsonObj.toJSONString());
|
||||||
|
CoeDesignerAPIManager.getInstance().storeDefinition(this.baseModel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -300,6 +300,9 @@ public class SubProcessWeb extends ActionWeb {
|
|||||||
// 连线渲染
|
// 连线渲染
|
||||||
graphRender.handShapeLinkerRender(linkers);
|
graphRender.handShapeLinkerRender(linkers);
|
||||||
|
|
||||||
|
// 流程属性中加入布局方向
|
||||||
|
graphRender.addDirectionToProcessProperties(direction);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user