set default styles

This commit is contained in:
Mutasem 2021-11-05 13:33:18 +01:00
parent 934434eebc
commit 9a38ac5574

View file

@ -1264,8 +1264,8 @@ export default mixins(
Connector: CanvasHelpers.CONNECTOR_FLOWCHART_TYPE,
Endpoint: ['Dot', { radius: 5 }],
DragOptions: { cursor: 'pointer', zIndex: 5000 },
PaintStyle: { strokeWidth: 2, stroke: getStyleTokenValue('--color-foreground-dark')},
HoverPaintStyle: { stroke: getStyleTokenValue('--color-primary'), lineWidth: 4 },
PaintStyle: CanvasHelpers.CONNECTOR_PAINT_STYLE_DEFAULT,
HoverPaintStyle: CanvasHelpers.CONNECTOR_PAINT_STYLE_PRIMARY,
ConnectionOverlays: CanvasHelpers.CONNECTOR_ARROW_OVERLAYS,
Container: '#node-view',
});