Class. Sport Impl
hoverFeedback:
boolean
=false
Defined in: packages/sprotty/src/graph/sgraph.ts:93
Hoverable.hoverFeedback
id:
string
Defined in: packages/sprotty/src/base/model/smodel.ts:27
optional
layoutOptions:ModelLayoutOptions
Defined in: packages/sprotty/src/features/bounds/model.ts:181
SConnectableElementImpl
.layoutOptions
opacity:
number
=1
Defined in: packages/sprotty/src/graph/sgraph.ts:94
Fadeable.opacity
readonly
parent:SParentElementImpl
Defined in: packages/sprotty/src/base/model/smodel.ts:159
SConnectableElementImpl
.parent
position:
Point
=Point.ORIGIN
Defined in: packages/sprotty/src/features/bounds/model.ts:179
SConnectableElementImpl
.position
selected:
boolean
=false
Defined in: packages/sprotty/src/graph/sgraph.ts:92
Selectable.selected
size:
Dimension
=Dimension.EMPTY
Defined in: packages/sprotty/src/features/bounds/model.ts:180
strokeWidth:
number
=0
Defined in: packages/sprotty/src/features/routing/model.ts:114
SConnectableElementImpl
.strokeWidth
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:89
get anchorKind():
undefined
|string
Defined in: packages/sprotty/src/features/routing/model.ts:110
undefined
| string
SConnectableElementImpl
.anchorKind
get bounds():
Bounds
Defined in: packages/sprotty/src/features/bounds/model.ts:183
Bounds
set bounds(
newBounds
):void
Defined in: packages/sprotty/src/features/bounds/model.ts:192
Bounds
void
SConnectableElementImpl
.bounds
get incomingEdges():
FluentIterable
<SEdgeImpl
>
Defined in: packages/sprotty/src/graph/sgraph.ts:96
The incoming edges of this connectable element. They are resolved by the index, which must
be an SGraphIndex
for efficient lookup.
FluentIterable
<SEdgeImpl
>
SConnectableElementImpl
.incomingEdges
get index():
ModelIndexImpl
Defined in: packages/sprotty/src/base/model/smodel.ts:44
get outgoingEdges():
FluentIterable
<SEdgeImpl
>
Defined in: packages/sprotty/src/graph/sgraph.ts:104
The outgoing edges of this connectable element. They are resolved by the index, which must
be an SGraphIndex
for efficient lookup.
FluentIterable
<SEdgeImpl
>
SConnectableElementImpl
.outgoingEdges
get root():
SModelRootImpl
Defined in: packages/sprotty/src/base/model/smodel.ts:31
add(
child
,index?
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:74
number
void
canConnect(
routable
,role
):boolean
Defined in: packages/sprotty/src/features/routing/model.ts:134
"source"
| "target"
boolean
SConnectableElementImpl
.canConnect
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
SConnectableElementImpl
.hasFeature
localToParent(
point
):Bounds
Defined in: packages/sprotty/src/features/bounds/model.ts:203
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
SConnectableElementImpl
.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/features/bounds/model.ts:217
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
SConnectableElementImpl
.parentToLocal
remove(
child
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:88
void
SConnectableElementImpl
.remove
removeAll(
filter?
):void
Defined in: packages/sprotty/src/base/model/smodel.ts:98
(e
) => boolean
void