feat: add draghandle prop to node
* specify a drag handle on the node Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<script lang="ts" setup>
|
||||
import { CSSProperties, HTMLAttributes } from 'vue'
|
||||
import { Component, CSSProperties, DefineComponent } from 'vue'
|
||||
|
||||
interface EdgeTextProps extends HTMLAttributes {
|
||||
interface EdgeTextProps {
|
||||
x: number
|
||||
y: number
|
||||
label?:
|
||||
| string
|
||||
| {
|
||||
component: any
|
||||
props?: any
|
||||
component: Component | DefineComponent
|
||||
props?: Record<string, any>
|
||||
}
|
||||
labelStyle?: CSSProperties
|
||||
labelShowBg?: boolean
|
||||
|
||||
Reference in New Issue
Block a user