2
0

♻️ Normalize data

This commit is contained in:
Baptiste Arnaud
2022-01-06 09:40:56 +01:00
parent 6c1e0fd345
commit 9fa4c7dffa
114 changed files with 1545 additions and 1632 deletions

View File

@ -1,5 +1,5 @@
import { Coordinates } from '@dnd-kit/core/dist/types'
import { Block, StartBlock } from 'bot-engine'
import { Block } from 'models'
import { AnchorsPositionProps } from 'components/board/graph/Edges/Edge'
import {
stubLength,
@ -143,7 +143,7 @@ const computeFiveSegments = (
}
export const getAnchorsPosition = (
sourceBlock: Block | StartBlock,
sourceBlock: Block,
targetBlock: Block,
sourceStepIndex: number,
targetStepIndex?: number