Class. Sedge Impl
hoverFeedback:
boolean
=false
Defined in: packages/sprotty/src/graph/sgraph.ts:126
Hoverable.hoverFeedback
id:
string
Defined in: packages/sprotty/src/base/model/smodel.ts:27
opacity:
number
=1
Defined in: packages/sprotty/src/graph/sgraph.ts:127
Fadeable.opacity
readonly
parent:SParentElementImpl
Defined in: packages/sprotty/src/base/model/smodel.ts:159
optional
routerKind:string
Defined in: packages/sprotty/src/features/routing/model.ts:29
SRoutableElementImpl
.routerKind
routingPoints:
Point
[] =[]
Defined in: packages/sprotty/src/features/routing/model.ts:30
SRoutableElementImpl
.routingPoints
selected:
boolean
=false
Defined in: packages/sprotty/src/graph/sgraph.ts:125
Selectable.selected
optional
sourceAnchorCorrection:number
Defined in: packages/sprotty/src/features/routing/model.ts:33
SRoutableElementImpl
.sourceAnchorCorrection
sourceId:
string
Defined in: packages/sprotty/src/features/routing/model.ts:31
optional
targetAnchorCorrection:number
Defined in: packages/sprotty/src/features/routing/model.ts:34
SRoutableElementImpl
.targetAnchorCorrection
targetId:
string
Defined in: packages/sprotty/src/features/routing/model.ts:32
type:
string
Defined in: packages/sprotty/src/base/model/smodel.ts:26
readonly
static
DEFAULT_FEATURES:symbol
[]
Defined in: packages/sprotty/src/graph/sgraph.ts:122
get bounds():
Bounds
Defined in: packages/sprotty/src/features/routing/model.ts:44
Bounds
get index():
ModelIndexImpl
Defined in: packages/sprotty/src/base/model/smodel.ts:44
get root():
SModelRootImpl
Defined in: packages/sprotty/src/base/model/smodel.ts:31
get source():
undefined
|SConnectableElementImpl
Defined in: packages/sprotty/src/features/routing/model.ts:36
undefined
| SConnectableElementImpl
get target():
undefined
|SConnectableElementImpl
Defined in: packages/sprotty/src/features/routing/model.ts:40
undefined
| SConnectableElementImpl
add(
child
,index?
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:74
number
void
hasFeature(
feature
):boolean
Defined in: packages/sprotty/src/base/model/smodel.ts:52
A feature is a symbol identifying some functionality that can be enabled or disabled for
a model element. The set of supported features is determined by the features
property.
symbol
boolean
SRoutableElementImpl
.hasFeature
localToParent(
point
):Bounds
Defined in: packages/sprotty/src/base/model/smodel.ts:136
Transform the given bounds from the local coordinate system of this element to the coordinate system of its parent. This function should consider any transformation that is applied to the view of this element and its contents. The base implementation assumes that this element does not define a local coordinate system, so it leaves the bounds unchanged.
Point
| Bounds
Bounds
SRoutableElementImpl
.localToParent
move(
child
,newIndex
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:115
number
void
parentToLocal(
point
):Bounds
Defined in: packages/sprotty/src/base/model/smodel.ts:147
Transform the given bounds from the coordinate system of this element’s parent to its local coordinate system. This function should consider any transformation that is applied to the view of this element and its contents. The base implementation assumes that this element does not define a local coordinate system, so it leaves the bounds unchanged.
Point
| Bounds
Bounds
SRoutableElementImpl
.parentToLocal
remove(
child
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:88
void
removeAll(
filter?
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:98
(e
) => boolean
void