mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 07:54:19 +00:00
change
This commit is contained in:
@@ -447,7 +447,7 @@ function WorkflowEditorInner() {
|
||||
panOnDrag={[1, 2]} // Middle click and right click to pan
|
||||
selectNodesOnDrag={false}
|
||||
defaultEdgeOptions={{
|
||||
type: 'bezier',
|
||||
type: 'default',
|
||||
animated: true,
|
||||
markerEnd: {
|
||||
type: MarkerType.ArrowClosed,
|
||||
|
||||
@@ -257,7 +257,7 @@ export const useWorkflowStore = create<WorkflowState>((set, get) => ({
|
||||
const newEdge: WorkflowEdge = {
|
||||
...connection,
|
||||
id: generateEdgeId(),
|
||||
type: 'bezier',
|
||||
type: 'default',
|
||||
} as WorkflowEdge;
|
||||
|
||||
set((state) => ({
|
||||
@@ -464,7 +464,7 @@ export const useWorkflowStore = create<WorkflowState>((set, get) => ({
|
||||
target: edge.target,
|
||||
sourceHandle: edge.source_port,
|
||||
targetHandle: edge.target_port,
|
||||
type: 'bezier',
|
||||
type: 'default',
|
||||
data: {
|
||||
label: edge.label,
|
||||
condition: edge.condition,
|
||||
|
||||
Reference in New Issue
Block a user