Class. Edge Placement
position:
number
Defined in: packages/sprotty/src/features/edge-layout/model.ts:65
between 0 (source anchor) and 1 (target anchor)
rotate:
boolean
Defined in: packages/sprotty/src/features/edge-layout/model.ts:55
true, if the label should be rotated to touch the edge tangentially
side:
EdgeSide
Defined in: packages/sprotty/src/features/edge-layout/model.ts:60
where is the label relative to the line’s direction
hasOwnProperty(
v
):boolean
Defined in: node_modules/typescript/lib/lib.es5.d.ts:140
Determines whether an object has a property with the specified name.
PropertyKey
A property name.
boolean
Object.hasOwnProperty
isPrototypeOf(
v
):boolean
Defined in: node_modules/typescript/lib/lib.es5.d.ts:146
Determines whether an object exists in another object’s prototype chain.
Object
Another object whose prototype chain is to be checked.
boolean
Object.isPrototypeOf
propertyIsEnumerable(
v
):boolean
Defined in: node_modules/typescript/lib/lib.es5.d.ts:152
Determines whether a specified property is enumerable.
PropertyKey
A property name.
boolean
Object.propertyIsEnumerable
toLocaleString():
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:131
Returns a date converted to a string using the current locale.
string
Object.toLocaleString
toString():
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:128
Returns a string representation of an object.
string
Object.toString
valueOf():
Object
Defined in: node_modules/typescript/lib/lib.es5.d.ts:134
Returns the primitive value of the specified object.
Object
Object.valueOf
static
assign<T
,U
>(target
,source
):T
&U
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:284
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
T
extends object
U
T
The target object to copy to.
U
The source object from which to copy properties.
T
& U
Object.assign
static
assign<T
,U
,V
>(target
,source1
,source2
):T
&U
&V
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:293
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
T
extends object
U
V
T
The target object to copy to.
U
The first source object from which to copy properties.
V
The second source object from which to copy properties.
T
& U
& V
Object.assign
static
assign<T
,U
,V
,W
>(target
,source1
,source2
,source3
):T
&U
&V
&W
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:303
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
T
extends object
U
V
W
T
The target object to copy to.
U
The first source object from which to copy properties.
V
The second source object from which to copy properties.
W
The third source object from which to copy properties.
T
& U
& V
& W
Object.assign
static
assign(target
, …sources
):any
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:311
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
object
The target object to copy to.
…any
[]
One or more source objects from which to copy properties
any
Object.assign
static
create(o
):any
Defined in: node_modules/typescript/lib/lib.es5.d.ts:188
Creates an object that has the specified prototype or that has null prototype.
Object to use as a prototype. May be null.
null
| object
any
Object.create
static
create(o
,properties
):any
Defined in: node_modules/typescript/lib/lib.es5.d.ts:195
Creates an object that has the specified prototype, and that optionally contains specified properties.
Object to use as a prototype. May be null
null
| object
PropertyDescriptorMap
& ThisType
<any
>
JavaScript object that contains one or more property descriptors.
any
Object.create
static
defineProperties<T
>(o
,properties
):T
Defined in: node_modules/typescript/lib/lib.es5.d.ts:210
Adds one or more properties to an object, and/or modifies attributes of existing properties.
T
T
Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.
PropertyDescriptorMap
& ThisType
<any
>
JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.
T
Object.defineProperties
static
defineProperty<T
>(o
,p
,attributes
):T
Defined in: node_modules/typescript/lib/lib.es5.d.ts:203
Adds a property to an object, or modifies attributes of an existing property.
T
T
Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.
PropertyKey
The property name.
PropertyDescriptor
& ThisType
<any
>
Descriptor for the property. It can be for a data property or an accessor property.
T
Object.defineProperty
static
entries<T
>(o
): [string
,T
][]
Defined in: node_modules/typescript/lib/lib.es2017.object.d.ts:36
Returns an array of key/values of the enumerable properties of an object
T
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
{[s
: string
]: T
; } | ArrayLike
<T
>
[string
, T
][]
Object.entries
static
entries(o
): [string
,any
][]
Defined in: node_modules/typescript/lib/lib.es2017.object.d.ts:42
Returns an array of key/values of the enumerable properties of an object
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
[string
, any
][]
Object.entries
static
freeze<T
>(f
):T
Defined in: node_modules/typescript/lib/lib.es5.d.ts:222
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
T
extends Function
T
Object on which to lock the attributes.
T
Object.freeze
static
freeze<T
,U
>(o
):Readonly
<T
>
Defined in: node_modules/typescript/lib/lib.es5.d.ts:228
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
T
extends object
U
extends string
| number
| bigint
| boolean
| symbol
T
Object on which to lock the attributes.
Readonly
<T
>
Object.freeze
static
freeze<T
>(o
):Readonly
<T
>
Defined in: node_modules/typescript/lib/lib.es5.d.ts:234
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
T
T
Object on which to lock the attributes.
Readonly
<T
>
Object.freeze
static
fromEntries<T
>(entries
):object
Defined in: node_modules/typescript/lib/lib.es2019.object.d.ts:26
Returns an object created by key-value entries for properties and methods
T
= any
Iterable
<readonly [PropertyKey
, T
]>
An iterable object that contains key-value entries for properties and methods.
object
Object.fromEntries
static
fromEntries(entries
):any
Defined in: node_modules/typescript/lib/lib.es2019.object.d.ts:32
Returns an object created by key-value entries for properties and methods
Iterable
<readonly any
[]>
An iterable object that contains key-value entries for properties and methods.
any
Object.fromEntries
static
getOwnPropertyDescriptor(o
,p
):undefined
|PropertyDescriptor
Defined in: node_modules/typescript/lib/lib.es5.d.ts:175
Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object’s prototype.
any
Object that contains the property.
PropertyKey
Name of the property.
undefined
| PropertyDescriptor
Object.getOwnPropertyDescriptor
static
getOwnPropertyDescriptors<T
>(o
): { [P in string | number | symbol]: TypedPropertyDescriptor<T[P]> } &object
Defined in: node_modules/typescript/lib/lib.es2017.object.d.ts:48
Returns an object containing all own property descriptors of an object
T
T
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
{ [P in string | number | symbol]: TypedPropertyDescriptor<T[P]> } & object
Object.getOwnPropertyDescriptors
static
getOwnPropertyNames(o
):string
[]
Defined in: node_modules/typescript/lib/lib.es5.d.ts:182
Returns the names of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object’s prototype. The properties of an object include both fields (objects) and functions.
any
Object that contains the own properties.
string
[]
Object.getOwnPropertyNames
static
getOwnPropertySymbols(o
):symbol
[]
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:317
Returns an array of all symbol properties found directly on object o.
any
Object to retrieve the symbols from.
symbol
[]
Object.getOwnPropertySymbols
static
getPrototypeOf(o
):any
Defined in: node_modules/typescript/lib/lib.es5.d.ts:167
Returns the prototype of an object.
any
The object that references the prototype.
any
Object.getPrototypeOf
static
is(value1
,value2
):boolean
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:330
Returns true if the values are the same value, false otherwise.
any
The first value.
any
The second value.
boolean
Object.is
static
isExtensible(o
):boolean
Defined in: node_modules/typescript/lib/lib.es5.d.ts:258
Returns a value that indicates whether new properties can be added to an object.
any
Object to test.
boolean
Object.isExtensible
static
isFrozen(o
):boolean
Defined in: node_modules/typescript/lib/lib.es5.d.ts:252
Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
any
Object to test.
boolean
Object.isFrozen
static
isSealed(o
):boolean
Defined in: node_modules/typescript/lib/lib.es5.d.ts:246
Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
any
Object to test.
boolean
Object.isSealed
static
keys(o
):string
[]
Defined in: node_modules/typescript/lib/lib.es5.d.ts:264
Returns the names of the enumerable string properties and methods of an object.
object
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
string
[]
Object.keys
static
keys(o
):string
[]
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:323
Returns the names of the enumerable string properties and methods of an object.
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
string
[]
Object.keys
static
preventExtensions<T
>(o
):T
Defined in: node_modules/typescript/lib/lib.es5.d.ts:240
Prevents the addition of new properties to an object.
T
T
Object to make non-extensible.
T
Object.preventExtensions
static
seal<T
>(o
):T
Defined in: node_modules/typescript/lib/lib.es5.d.ts:216
Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
T
T
Object on which to lock the attributes.
T
Object.seal
static
setPrototypeOf(o
,proto
):any
Defined in: node_modules/typescript/lib/lib.es2015.core.d.ts:337
Sets the prototype of a specified object o to object proto or null. Returns the object o.
any
The object to change its prototype.
The value of the new prototype or null.
null
| object
any
Object.setPrototypeOf
static
values<T
>(o
):T
[]
Defined in: node_modules/typescript/lib/lib.es2017.object.d.ts:24
Returns an array of values of the enumerable properties of an object
T
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
{[s
: string
]: T
; } | ArrayLike
<T
>
T
[]
Object.values
static
values(o
):any
[]
Defined in: node_modules/typescript/lib/lib.es2017.object.d.ts:30
Returns an array of values of the enumerable properties of an object
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
any
[]
Object.values