Preparing search index...
The search index is not available
@vesoft-inc/veditor - v4.4.14
@vesoft-inc/veditor - v4.4.14
VEditor
Class VEditor
Hierarchy
Event
VEditor
Index
Constructors
constructor
Properties
config
container
controller
dispatch
dom
events
graph
minimap
paper
schema
svg
Methods
clear
destroy
fire
init
Dom
off
on
repaint
resize
Constructors
constructor
new VEditor
(
config
:
VEditorOptions
)
:
VEditor
Parameters
config:
VEditorOptions
Returns
VEditor
Properties
config
config
:
VEditorOptions
container
container
:
HTMLDivElement
controller
controller
:
Controller
.
default
dispatch
dispatch
:
(
(
event
:
string
, data
?:
any
)
=>
void
)
= ...
Type declaration
(
event
:
string
, data
?:
any
)
:
void
Parameters
event:
string
Optional
data:
any
Returns
void
dom
dom
:
HTMLDivElement
events
events
:
{}
= {}
Type declaration
graph
graph
:
Graph
.
default
minimap
minimap
:
Minimap
.
default
paper
paper
:
SVGGElement
schema
schema
:
Schema
.
default
svg
svg
:
SVGSVGElement
Methods
clear
clear
(
)
:
void
清空
Returns
void
destroy
destroy
(
)
:
void
destroy
Returns
void
fire
fire
(
event
:
string
, data
?:
any
)
:
void
Parameters
event:
string
Optional
data:
any
Returns
void
init
Dom
init
Dom
(
dom
:
HTMLDivElement
)
:
HTMLDivElement
Parameters
dom:
HTMLDivElement
Returns
HTMLDivElement
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
repaint
repaint
(
)
:
void
repaint
Returns
void
resize
resize
(
)
:
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
VEditor
constructor
config
container
controller
dispatch
dom
events
graph
minimap
paper
schema
svg
clear
destroy
fire
init
Dom
off
on
repaint
resize
Generated using
TypeDoc
清空