|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const initGraphConnecting = { | 
|---|
|  |  |  | router: 'manhattan', | 
|---|
|  |  |  | // router: 'manhattan', | 
|---|
|  |  |  | connector: { | 
|---|
|  |  |  | name: 'rounded', | 
|---|
|  |  |  | args: { | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | export { commonGraphPorts, commonGraphAttrs, initGraphConnecting } | 
|---|
|  |  |  | const initNodeData = { | 
|---|
|  |  |  | codeContent: null, | 
|---|
|  |  |  | root: false,//默认不是根节点 | 
|---|
|  |  |  | isLogic: false,//默认不是逻辑判断 | 
|---|
|  |  |  | logicBool: false,//逻辑判断默认值 | 
|---|
|  |  |  | searchLogicId: 1,//默认逻辑id | 
|---|
|  |  |  | searchLogicBool: true,//默认逻辑id方向 | 
|---|
|  |  |  | searchIndex: 0,//默认执行优先级 | 
|---|
|  |  |  | type: "none", //组件类型 | 
|---|
|  |  |  | execClass: null,//执行类 | 
|---|
|  |  |  | execApi: null,//执行接口 | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | export { commonGraphPorts, commonGraphAttrs, initGraphConnecting, initNodeData } | 
|---|