sesaparcours
Preparing search index...
viewer/Viewer
<internal>
Router
Interface Router<T, A>
interface
Router
<
T
extends
{
E
:
unknown
}
,
A
>
{
anchorsEqual
(
a
:
A
,
b
:
A
)
:
boolean
;
computeAnchorLocation
(
anchor
:
A
,
params
:
AnchorComputeParams
,
)
:
AnchorPlacement
;
computePath
(
connection
:
Connection
,
timestamp
:
string
)
:
void
;
getAnchorOrientation
(
anchor
:
A
,
endpoint
?:
Endpoint
<
any
>
)
:
Orientation
;
getEndpointLocation
(
endpoint
:
Endpoint
<
any
>
,
params
:
AnchorComputeParams
,
)
:
AnchorPlacement
;
getEndpointOrientation
(
endpoint
:
Endpoint
)
:
Orientation
;
isDynamicAnchor
(
ep
:
Endpoint
)
:
boolean
;
isFloating
(
ep
:
Endpoint
)
:
boolean
;
lock
(
a
:
A
)
:
void
;
prepareAnchor
(
params
:
AnchorSpec
|
AnchorSpec
[]
)
:
A
;
redraw
(
elementId
:
string
,
timestamp
?:
string
,
offsetToUI
?:
PointXY
,
)
:
RedrawResult
;
reset
()
:
void
;
selectAnchorLocation
(
a
:
A
,
coords
:
{
x
:
number
;
y
:
number
}
)
:
boolean
;
setAnchor
(
endpoint
:
Endpoint
,
anchor
:
A
)
:
void
;
setAnchorOrientation
(
anchor
:
A
,
orientation
:
Orientation
)
:
void
;
setConnectionAnchors
(
conn
:
Connection
,
anchors
:
[
A
,
A
]
)
:
void
;
setCurrentFace
(
a
:
LightweightContinuousAnchor
,
face
:
"bottom"
|
"left"
|
"right"
|
"top"
,
overrideLock
?:
boolean
,
)
:
void
;
unlock
(
a
:
A
)
:
void
;
}
Type Parameters
T
extends
{
E
:
unknown
}
A
Index
Methods
anchors
Equal
compute
Anchor
Location
compute
Path
get
Anchor
Orientation
get
Endpoint
Location
get
Endpoint
Orientation
is
Dynamic
Anchor
is
Floating
lock
prepare
Anchor
redraw
reset
select
Anchor
Location
set
Anchor
set
Anchor
Orientation
set
Connection
Anchors
set
Current
Face
unlock
Methods
anchors
Equal
anchorsEqual
(
a
:
A
,
b
:
A
)
:
boolean
Parameters
a
:
A
b
:
A
Returns
boolean
compute
Anchor
Location
computeAnchorLocation
(
anchor
:
A
,
params
:
AnchorComputeParams
)
:
AnchorPlacement
Parameters
anchor
:
A
params
:
AnchorComputeParams
Returns
AnchorPlacement
compute
Path
computePath
(
connection
:
Connection
,
timestamp
:
string
)
:
void
Parameters
connection
:
Connection
timestamp
:
string
Returns
void
get
Anchor
Orientation
getAnchorOrientation
(
anchor
:
A
,
endpoint
?:
Endpoint
<
any
>
)
:
Orientation
Parameters
anchor
:
A
Optional
endpoint
:
Endpoint
<
any
>
Returns
Orientation
get
Endpoint
Location
getEndpointLocation
(
endpoint
:
Endpoint
<
any
>
,
params
:
AnchorComputeParams
,
)
:
AnchorPlacement
Parameters
endpoint
:
Endpoint
<
any
>
params
:
AnchorComputeParams
Returns
AnchorPlacement
get
Endpoint
Orientation
getEndpointOrientation
(
endpoint
:
Endpoint
)
:
Orientation
Parameters
endpoint
:
Endpoint
Returns
Orientation
is
Dynamic
Anchor
isDynamicAnchor
(
ep
:
Endpoint
)
:
boolean
Parameters
ep
:
Endpoint
Returns
boolean
is
Floating
isFloating
(
ep
:
Endpoint
)
:
boolean
Parameters
ep
:
Endpoint
Returns
boolean
lock
lock
(
a
:
A
)
:
void
Parameters
a
:
A
Returns
void
prepare
Anchor
prepareAnchor
(
params
:
AnchorSpec
|
AnchorSpec
[]
)
:
A
Parameters
params
:
AnchorSpec
|
AnchorSpec
[]
Returns
A
redraw
redraw
(
elementId
:
string
,
timestamp
?:
string
,
offsetToUI
?:
PointXY
,
)
:
RedrawResult
Parameters
elementId
:
string
Optional
timestamp
:
string
Optional
offsetToUI
:
PointXY
Returns
RedrawResult
reset
reset
()
:
void
Returns
void
select
Anchor
Location
selectAnchorLocation
(
a
:
A
,
coords
:
{
x
:
number
;
y
:
number
}
)
:
boolean
Parameters
a
:
A
coords
:
{
x
:
number
;
y
:
number
}
Returns
boolean
set
Anchor
setAnchor
(
endpoint
:
Endpoint
,
anchor
:
A
)
:
void
Parameters
endpoint
:
Endpoint
anchor
:
A
Returns
void
set
Anchor
Orientation
setAnchorOrientation
(
anchor
:
A
,
orientation
:
Orientation
)
:
void
Parameters
anchor
:
A
orientation
:
Orientation
Returns
void
set
Connection
Anchors
setConnectionAnchors
(
conn
:
Connection
,
anchors
:
[
A
,
A
]
)
:
void
Parameters
conn
:
Connection
anchors
:
[
A
,
A
]
Returns
void
set
Current
Face
setCurrentFace
(
a
:
LightweightContinuousAnchor
,
face
:
"bottom"
|
"left"
|
"right"
|
"top"
,
overrideLock
?:
boolean
,
)
:
void
Parameters
a
:
LightweightContinuousAnchor
face
:
"bottom"
|
"left"
|
"right"
|
"top"
Optional
overrideLock
:
boolean
Returns
void
unlock
unlock
(
a
:
A
)
:
void
Parameters
a
:
A
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
anchors
Equal
compute
Anchor
Location
compute
Path
get
Anchor
Orientation
get
Endpoint
Location
get
Endpoint
Orientation
is
Dynamic
Anchor
is
Floating
lock
prepare
Anchor
redraw
reset
select
Anchor
Location
set
Anchor
set
Anchor
Orientation
set
Connection
Anchors
set
Current
Face
unlock
sesaparcours
Loading...