chore: lint files

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-31 21:30:23 +02:00
committed by Braks
parent 9d597ff454
commit f61e5beb02
69 changed files with 623 additions and 424 deletions
+7 -3
View File
@@ -16,11 +16,15 @@ const elements = ref([
{ id: 'C', type: 'custom', position: { x: 250, y: 300 }, isValidSourcePos: (connection) => connection.target === 'B' },
])
const onConnectStart = ({ nodeId, handleType }) => console.log('on connect start', { nodeId, handleType })
function onConnectStart({ nodeId, handleType }) {
return console.log('on connect start', { nodeId, handleType })
}
const onConnectEnd = (event) => console.log('on connect end', event)
function onConnectEnd(event) {
return console.log('on connect end', event)
}
const onConnect = (params) => {
function onConnect(params) {
console.log('on connect', params)
addEdge(params, elements.value)
}