fix(web): output type node only has left port
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: ZhaoYing
|
* @Author: ZhaoYing
|
||||||
* @Date: 2026-02-03 15:06:18
|
* @Date: 2026-02-03 15:06:18
|
||||||
* @Last Modified by: ZhaoYing
|
* @Last Modified by: ZhaoYing
|
||||||
* @Last Modified time: 2026-04-21 18:23:31
|
* @Last Modified time: 2026-04-27 14:07:14
|
||||||
*/
|
*/
|
||||||
import type { ReactShapeConfig } from '@antv/x6-react-shape';
|
import type { ReactShapeConfig } from '@antv/x6-react-shape';
|
||||||
import type { GroupMetadata, PortMetadata } from '@antv/x6/lib/model/port';
|
import type { GroupMetadata, PortMetadata } from '@antv/x6/lib/model/port';
|
||||||
@@ -948,6 +948,15 @@ export const graphNodeLibrary: Record<string, NodeConfig> = {
|
|||||||
width: nodeWidth,
|
width: nodeWidth,
|
||||||
height: 120,
|
height: 120,
|
||||||
shape: 'notes-node',
|
shape: 'notes-node',
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
width: nodeWidth,
|
||||||
|
height: 76,
|
||||||
|
shape: 'normal-node',
|
||||||
|
ports: {
|
||||||
|
groups: { left: defaultPortGroup },
|
||||||
|
items: [defaultPortItems[0]],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user