UPDATE: VERSION-20260316
This commit is contained in:
@@ -18,7 +18,7 @@ export const createGraphTaskElement = (element: GraphTaskElement, width: number
|
||||
if (!realHeight) {
|
||||
realHeight = 120;
|
||||
}
|
||||
if(element.group === 'condition' || element.group === 'control') {
|
||||
if (element.group === 'condition' || element.group === 'control') {
|
||||
realHeight = 60;
|
||||
}
|
||||
return {
|
||||
@@ -74,8 +74,10 @@ export const resolveGraphEdgeElements = (graph: Graph): GraphEdgeElement[] => {
|
||||
key: edge.id,
|
||||
type: 'edge',
|
||||
status: nodeData?.status,
|
||||
sourcePort: edge.getSourcePortId(),
|
||||
source: edge.getSource() ? edge.getSource() as unknown as string : null,
|
||||
target: edge.getSource() ? edge.getTarget() as unknown as string : null,
|
||||
targetPort: edge.getTargetPortId(),
|
||||
attrs: edge.getAttrs() ?? {},
|
||||
router: edge.getRouter() ?? {},
|
||||
connector: edge.getConnector() ?? null,
|
||||
|
||||
Reference in New Issue
Block a user