UNPKG

@bernierllc/generic-workflow-ui

Version:

Generic, reusable workflow UI components with linear and graph visualization

40 lines (38 loc) 1.04 kB
"use strict"; /* Copyright (c) 2025 Bernier LLC This file is licensed to the client under a limited-use license. The client may use and modify this code *only within the scope of the project it was delivered for*. Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultCanvasConfig = void 0; /** * Default canvas configuration */ exports.defaultCanvasConfig = { nodeStyle: { borderWidth: 2, borderRadius: 8, padding: 16, minWidth: 200, minHeight: 80, fontSize: 14, fontWeight: 500, }, edgeStyle: { type: 'smoothstep', strokeWidth: 2, animated: false, markerEnd: true, }, minimap: true, controls: true, background: 'dots', fitView: true, snapToGrid: true, gridSize: 15, nodesDraggable: true, nodesConnectable: false, elementsSelectable: true, };