Preparing search index...
The search index is not available
@vesoft-inc/veditor - v4.4.14
@vesoft-inc/veditor - v4.4.14
Graph
default
Class default
Hierarchy
Event
default
Index
Constructors
constructor
Properties
anchor
Line
data
dispatch
editor
events
line
link
Status
node
shadow
Methods
add
Back
clear
clear
Graph
destroy
fire
init
Defs
listen
Events
off
on
on
Key
Down
render
update
Constructors
constructor
new default
(
editor
:
VEditor
)
:
Graph
.
default
Parameters
editor:
VEditor
Returns
Graph
.
default
Properties
anchor
Line
anchor
Line
:
AnchorLine
.
default
data
data
:
VEditorSchema
dispatch
dispatch
:
(
(
event
:
string
, data
?:
any
)
=>
void
)
= ...
Type declaration
(
event
:
string
, data
?:
any
)
:
void
Parameters
event:
string
Optional
data:
any
Returns
void
editor
editor
:
VEditor
events
events
:
{}
= {}
Type declaration
line
line
:
Line
.
default
link
Status
link
Status
:
string
node
node
:
Node
.
default
shadow
shadow
:
SVGSVGElement
Methods
add
Back
add
Back
(
)
:
void
Returns
void
clear
clear
(
)
:
void
清空
Returns
void
clear
Graph
clear
Graph
(
)
:
void
清空画布
Returns
void
destroy
destroy
(
)
:
void
Returns
void
fire
fire
(
event
:
string
, data
?:
any
)
:
void
Parameters
event:
string
Optional
data:
any
Returns
void
init
Defs
init
Defs
(
)
:
void
Returns
void
listen
Events
listen
Events
(
)
:
void
Returns
void
off
off
(
event
:
string
, offFunc
?:
Function
)
:
void
关闭绑定的事件
Parameters
event:
string
Optional
offFunc:
Function
Returns
void
on
on
(
event
:
string
, func
:
Function
, index
?:
number
)
:
void
箭头
Parameters
event:
string
func:
Function
Optional
index:
number
Returns
void
on
Key
Down
on
Key
Down
(
e
:
KeyboardEvent
)
:
boolean
Parameters
e:
KeyboardEvent
Returns
boolean
render
render
(
data
:
VEditorSchema
)
:
Promise
<
void
>
Parameters
data:
VEditorSchema
Returns
Promise
<
void
>
update
update
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@vesoft-
inc/veditor -
v4.4.14
Anchor
Line
Controller
Default
Line
Default
Node
Event
Graph
History
Line
Minimap
Node
Schema
Utils
Vector2
dom
default
constructor
anchor
Line
data
dispatch
editor
events
line
link
Status
node
shadow
add
Back
clear
clear
Graph
destroy
fire
init
Defs
listen
Events
off
on
on
Key
Down
render
update
Generated using
TypeDoc
清空