From a9bb3cb531900e2bc97750f8b4dc426e62a71b99 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 15 Aug 2017 09:51:11 +0200 Subject: [PATCH] Updated type definitions for yFiles for HTML 2.0.1.2 --- types/yfiles/index.d.ts | 12637 ++++++++++++++++++--------------- types/yfiles/yfiles-tests.ts | 30 + 2 files changed, 6760 insertions(+), 5907 deletions(-) diff --git a/types/yfiles/index.d.ts b/types/yfiles/index.d.ts index a2b21ef530..d4ae30f08d 100644 --- a/types/yfiles/index.d.ts +++ b/types/yfiles/index.d.ts @@ -1,11 +1,11 @@ -// Type definitions for yFiles for HTML 2.0.1 +// Type definitions for yFiles for HTML 2.0.1.2 // Project: http://www.yworks.com/products/yfiles-for-html // Definitions by: yWorks GmbH HTML Team // Definitions: https://github.com/yWorks/DefinitelyTyped /**************************************************************************** ** - ** This file is part of yFiles for HTML 2.0. + ** This file is part of yFiles for HTML 2.0.1.2 ** ** yWorks proprietary/confidential. Use is subject to license terms. ** @@ -14,15 +14,18 @@ ** ***************************************************************************/ +type JSObject = Object; declare namespace yfiles{ - namespace lang{ - interface ClassConstructor { - new ():T; - } - function BaseClass(...base:any[]):yfiles.lang.ClassConstructor; + namespace lang{ + export interface Object extends JSObject{} + export type Object_Interface = Object; + interface ClassConstructor { + new ():T & yfiles.lang.Object; + } + function BaseClass(...base:any[]):yfiles.lang.ClassConstructor; + function BaseClass(...base:any[]):yfiles.lang.ClassConstructor; } } - declare namespace yfiles{ export namespace lang{ /** @@ -31,22 +34,22 @@ declare namespace yfiles{ * Two of these methods are actually defined on the native JavaScript object prototype: *

*
    - *
  • {@link yfiles.lang.Object_Interface#hashCode}
  • - *
  • {@link yfiles.lang.Object_Interface#equals}
  • + *
  • {@link yfiles.lang.Object#hashCode}
  • + *
  • {@link yfiles.lang.Object#equals}
  • *
*

- * The other methods are part of the {@link yfiles.lang.Object_Interface} type, only. + * The other methods are part of the {@link yfiles.lang.Object} type, only. *

* @class */ - export interface Object_Interface extends Object{} - export class Object_Interface { + export interface Object{} + export class Object { /** * Tests whether this object and the other object are equal. * @param other The tested object. * @returns true, if the objects are equal; false otherwise. */ - equals(other:Object):boolean; + equals(other:any):boolean; /** * Tests if two objects are equal. * @param a One of the objects. Can be null or of any type. @@ -54,7 +57,7 @@ declare namespace yfiles{ * @returns true, if the objects are equal; false otherwise. * @static */ - static equals(a:Object,b:Object):boolean; + static equals(a:any,b:any):boolean; /** * Returns the type of this object. * @returns The type of this object. @@ -69,7 +72,7 @@ declare namespace yfiles{ * @param bound If true, then the get/set methods of the returned object will be bound to this instance. * @returns An object with a get and/or set method that reads/writes to the specified field. */ - getOwnProperty(name:string,bound:boolean):Object; + getOwnProperty(name:string,bound:boolean):any; /** * Returns the most recently defined property descriptor in the prototype chain of the given object. * @param o The object that the property belongs to @@ -77,11 +80,11 @@ declare namespace yfiles{ * @returns The most recently defined property descriptor in the prototype chain of the given object. * @static */ - static getPropertyDescriptor(o:Object,name:string):Object; + static getPropertyDescriptor(o:any,name:string):Object; /** * Returns the hash code of this object. *

- * If two objects are {@link yfiles.lang.Object_Interface#equals equal}, then they must have the same hash code. + * If two objects are {@link yfiles.lang.Object#equals equal}, then they must have the same hash code. *

* @returns The hash code of this object. */ @@ -93,7 +96,7 @@ declare namespace yfiles{ *

* @returns A cloned instance of the same type. */ - memberwiseClone():Object; + memberwiseClone():any; /** * Tests if two objects are identical. * @param a One of the objects. @@ -101,19 +104,20 @@ declare namespace yfiles{ * @returns true, if the objects are the identical; false otherwise. * @static */ - static referenceEquals(a:Object,b:Object):boolean; + static referenceEquals(a:any,b:any):boolean; /** * Displays the textual representation of the object. * @returns The textual representation of this object. */ toString():string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Object; } /** * This type represents an abstract value, that is a function that is not implemented. * @class */ - export interface Abstract extends Object{} + export interface Abstract extends yfiles.lang.Object{} export class Abstract { /** * Tests whether the given object or property descriptor is a representation of an abstract value. @@ -121,8 +125,9 @@ declare namespace yfiles{ * @returns true, if the object is abstract; false otherwise. * @static */ - static isAbstract(o:Object):boolean; + static isAbstract(o:any):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Abstract; } /** * A function that transforms a class definition object into a class type. @@ -131,7 +136,7 @@ declare namespace yfiles{ *

*
    *
  • $extends: An object reference that points to the parent object.
  • - *
  • $with: An array of traits this class implements.
  • + *
  • $with: An array of interfaces this class implements.
  • *
  • $abstract: A boolean value that indicates whether or not this class is abstract.
  • *
  • * $static: An object that contains methods, fields and properties that should be statically available and will be @@ -208,8 +213,8 @@ declare namespace yfiles{ * * *

    - * If you do not specify the parent class of a new class, then {@link yfiles.lang.Object_Interface} will be used as its base type. The parent - * class of {@link yfiles.lang.Object_Interface} is the standard JavaScript Object.prototype. + * If you do not specify the parent class of a new class, then {@link yfiles.lang.Object} will be used as its base type. The parent + * class of {@link yfiles.lang.Object} is the standard JavaScript Object.prototype. *

    *

    * Every class has a couple of static methods and properties: @@ -221,7 +226,7 @@ declare namespace yfiles{ *

* @class */ - export interface Class extends Object{} + export interface Class extends yfiles.lang.Object{} export class Class { /** * Returns the class object for the given name, or null if no such class exists. @@ -258,8 +263,8 @@ declare namespace yfiles{ * This method modifies a given object obj in the following ways: *

*
    - *
  • Methods and properties that implement member declarations of the traits are callable from yfiles library code.
  • - *
  • For each interface trait in traits, trait.isInstance(obj) is true.
  • + *
  • Methods and properties that implement member declarations of the interfaces are callable from yfiles library code.
  • + *
  • For each interface interface in interfaces, interface.isInstance(obj) is true.
  • *
*

* Note that this method does not enable extended usages, e.g. obj does not implement the full reflection API necessary for @@ -314,25 +319,25 @@ declare namespace yfiles{ * * * @param obj The object to modify. - * @param traits Array or variable number of {@link }s, {@link } objects of traits or fully qualified string names of - * traits. + * @param interfaces Array or variable number of {@link }s, {@link } objects of interfaces or fully qualified string + * names of interfaces. * @static */ - static injectInterfaces(obj:Object,...traits:Object[]):void; + static injectInterfaces(obj:any,...interfaces:any[]):void; /** * Tests whether an object is an instance of this type. *

- * This is the only way to test if an object implements a {@link yfiles.lang.Trait}. + * This is the only way to test if an object implements a {@link yfiles.lang.Interface}. *

* @param o The object that may be an instance of this type. * @returns true, if the object is an instance of this type; false otherwise. */ - isInstance(o:Object):boolean; + isInstance(o:any):boolean; /** * Creates a new instance of this type using its default constructor. * @returns A new instance of this type using its default constructor. */ - newInstance():Object; + newInstance():any; /** * true, if this type represents an enum; false otherwise. * @type {boolean} @@ -365,51 +370,55 @@ declare namespace yfiles{ */ name:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Class; } /** * Wrapper class for the JavaScript number primitive type. * @class * @implements {yfiles.lang.IComparable} */ - export interface Number extends Object,yfiles.lang.IComparable{} + export interface Number extends yfiles.lang.Object,yfiles.lang.IComparable{} export class Number { /** * Compares this number with another one. * @param obj The other number to compare with. * @returns 0 if both numbers are equal, -1 if this number is smaller than the other one, 1 otherwise. */ - compareTo(obj:Object):number; + compareTo(obj:any):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Number; } /** * Wrapper class for the JavaScript string primitive type. * @class * @implements {yfiles.lang.IComparable} */ - export interface String extends Object,yfiles.lang.IComparable{} + export interface String extends yfiles.lang.Object,yfiles.lang.IComparable{} export class String { /** * Compares this string with another one. * @param obj The other string to compare with. * @returns 0 if both strings are equal, -1 if this string comes before the other one in lexicographic sort order, 1 otherwise. */ - compareTo(obj:Object):number; + compareTo(obj:any):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.String; } /** * Wrapper class for the JavaScript boolean primitive type. * @class * @implements {yfiles.lang.IComparable} */ - export interface Boolean extends Object,yfiles.lang.IComparable{} + export interface Boolean extends yfiles.lang.Object,yfiles.lang.IComparable{} export class Boolean { /** * Compares this boolean with another one. * @param obj The other boolean to compare with. * @returns 0 if both booleans are equal, -1 if this boolean is false and the other is true, 1 otherwise. */ - compareTo(obj:Object):number; + compareTo(obj:any):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Boolean; } /** * Base type for types that provide value type semantics, which means that they are cloned when their containing type is @@ -419,13 +428,13 @@ declare namespace yfiles{ * all of its values are set to their default without using any of its constructors. *

*

- * Besides those properties, they can be treated like any other class, i.e. they can implement {@link yfiles.lang.Trait Traits} and can be tested + * Besides those properties, they can be treated like any other class, i.e. they can implement {@link yfiles.lang.Interface Interfaces} and can be tested * with a instanceof A and A.$class.isInstance(a). *

* @see yfiles.lang.Struct#createDefault * @class */ - export interface Struct extends Object{} + export interface Struct extends yfiles.lang.Object{} export class Struct { /** * This methods creates an instance of the struct in which all of its values are set to their default values without using @@ -433,23 +442,24 @@ declare namespace yfiles{ * @returns * @static */ - static createDefault():Object; + static createDefault():any; /** * Tests whether another object is equal to this struct. *

* As opposed to the implementation of - * {@link yfiles.lang.Object_Interface#equals}, this implementation tests the members of both objects to determine equality. + * {@link yfiles.lang.Object#equals}, this implementation tests the members of both objects to determine equality. *

* @param other The other struct. * @returns true, if both objects are equal; false otherwise. */ - equals(other:Object):boolean; + equals(other:any):boolean; /** * Calculates the hash code of this struct based on its members. * @returns The hash code. */ hashCode():number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Struct; } /** * The base type of an enumeration. It is not type safe. @@ -471,7 +481,7 @@ declare namespace yfiles{ * * @class */ - export interface Enum extends Object{} + export interface Enum extends yfiles.lang.Object{} export class Enum { /** * Returns the name of an enum value. @@ -487,14 +497,14 @@ declare namespace yfiles{ * @returns A list of all field names that represent an enum value. * @static */ - static getValueNames(type:yfiles.lang.Class):yfiles.collections.IEnumerable; + static getValueNames(type:yfiles.lang.Class):yfiles.collections.IEnumerable; /** * Returns a list of all numeric values. * @param type The type of the enum. * @returns A list of all numeric values. * @static */ - static getValues(type:yfiles.lang.Class):yfiles.collections.IEnumerable; + static getValues(type:yfiles.lang.Class):yfiles.collections.IEnumerable; /** * Returns the value of the field with the given ID. * @param type The type of the enum. @@ -505,6 +515,7 @@ declare namespace yfiles{ */ static parse(type:yfiles.lang.Class,id:string,ignoreCase:boolean):yfiles.lang.Enum; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Enum; } /** * Wrapper around JavaScript function objects. @@ -517,7 +528,7 @@ declare namespace yfiles{ * * @class */ - export interface delegate extends Object{} + export interface delegate extends yfiles.lang.Object{} export class delegate { /** * Combines two delegates into a single one. @@ -538,15 +549,15 @@ declare namespace yfiles{ * @returns A new delegate. * @static */ - static createDelegate(functions:Function[],target:Object):Function; + static createDelegate(functions:Function[],target:any):Function; /** - * Apply function in the current execution context. + * Apply function2 in the current execution context. * @param function2 The function to execute. * @param args Optional function arguments. - * @returns The result from invoking function. + * @returns The result from invoking function2. * @static */ - static dynamicInvoke(function2:Function,...args:Object[]):Object; + static dynamicInvoke(function2:Function,...args:any[]):any; /** * Return a list of all delegates that are combined into del. * @param del The delegate to test. @@ -571,10 +582,14 @@ declare namespace yfiles{ */ static removeAll(d1:Function,d2:Function):Function; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.delegate; } /** * A trait is an interface that may or may not have default implementations of its methods, properties and fields. *

+ * Note: This is a deprecated alias for {@link yfiles.lang.Interface}. + *

+ *

* Traits have very specific rules in case two traits with the same member are implemented by a subtype: *

*
    @@ -598,7 +613,7 @@ declare namespace yfiles{ *

    * @class */ - export interface Trait extends Object{} + export interface Trait extends yfiles.lang.Object{} export class Trait { /** * Tests whether the given object is a trait. @@ -609,14 +624,56 @@ declare namespace yfiles{ * @returns true, if the object is a trait; false otherwise. * @static */ - static isTrait(o:Object):boolean; + static isTrait(o:any):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Trait; + } + /** + * An interface that may or may not have default implementations of its methods, properties and fields. + *

    + * Interfaces have very specific rules in case two interfaces with the same member are implemented by a subtype: + *

    + *
      + *
    • If both method definitions are abstract, then the method is abstract.
    • + *
    • If one method definition is abstract and the other concrete, then the concrete method is used.
    • + *
    • + * If both method definitions are concrete and the interfaces are implemented at the same level, then the method is + * abstract. + *
    • + *
    • + * If both method definitions are concrete and one of the interfaces is a sub-type of the other, then its method definition + * will be used. + *
    • + *
    + *

    + * In all of those cases, the rule is that a subtype overrides the parent types' definitions. Example: Given the interfaces + * A, B, C and D where A defines a method "a" to be abstract and B and C extending interface A with concrete + * implementations of "a", when D is a interface that implements both B and C, its version of "a" will be abstract, unless + * it defines its own implementation of "a", in which case that definition is used. + *

    + *

    + * All interface types have a $class property, which contains their {@link yfiles.lang.Class type}, and a static {@link yfiles.lang.Interface#isInterface} + * method that can be used to test whether an object implements the interface. + *

    + * @class + */ + export interface Interface extends yfiles.lang.Object{} + export class Interface { + /** + * Tests whether the given object is an interface. + * @param o The interface candidate. + * @returns true, if the object is an interface; false otherwise. + * @static + */ + static isInterface(o:any):boolean; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Interface; } /** * Specialized type that can be used to describe meta information about other types, methods, fields, properties and * constructors. *

    - * All attributes extend {@link yfiles.lang.Attribute} or a subtype of an attribute. They can also implement {@link yfiles.lang.Trait Traits}. + * All attributes extend {@link yfiles.lang.Attribute} or a subtype of an attribute. They can also implement {@link yfiles.lang.Interface Interfaces}. *

    *

    * The actual creation of an attribute is delayed to the point in time when it is needed by the reflection API. Therefore, @@ -648,81 +705,87 @@ declare namespace yfiles{ *

    * @class */ - export interface Attribute extends Object{} + export interface Attribute extends yfiles.lang.Object{} export class Attribute { static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Attribute; } /** * A lazy class type which delays the creation of the class until it is used. * @class */ - export interface ClassDefinition extends Object{} + export interface ClassDefinition extends yfiles.lang.Object{} export class ClassDefinition { /** * A lazy class type which delays the creation of the class until it is used. * @param callback Returns the class definition as required by {@link }. */ - constructor(callback:()=>Object); + constructor(callback:()=>any); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.ClassDefinition; } /** * A lazy interface type which delays the creation of the interface until it is used. * @class */ - export interface InterfaceDefinition extends Object{} + export interface InterfaceDefinition extends yfiles.lang.Object{} export class InterfaceDefinition { /** * A lazy interface type which delays the creation of the interface until it is used. * @param callback Returns the interface definition as required by {@link }. */ - constructor(callback:()=>Object); + constructor(callback:()=>any); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.InterfaceDefinition; } /** * A lazy struct type which delays the creation of the struct until it is used. * @class */ - export interface StructDefinition extends Object{} + export interface StructDefinition extends yfiles.lang.Object{} export class StructDefinition { /** * A lazy struct type which delays the creation of the struct until it is used. * @param callback Returns the struct definition as required by {@link }. */ - constructor(callback:()=>Object); + constructor(callback:()=>any); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.StructDefinition; } /** * A lazy enum type which delays the creation of the enum until it is used. * @class */ - export interface EnumDefinition extends Object{} + export interface EnumDefinition extends yfiles.lang.Object{} export class EnumDefinition { /** * A lazy enum type which delays the creation of the enum until it is used. * @param callback Returns the enum definition as required by {@link }. */ - constructor(callback:()=>Object); + constructor(callback:()=>any); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.EnumDefinition; } /** * A lazy attribute definition which delays the creation of the attribute until it is used. * @class */ - export interface AttributeDefinition extends Object{} + export interface AttributeDefinition extends yfiles.lang.Object{} export class AttributeDefinition { /** * A lazy attribute definition which delays the creation of the attribute until it is used. * @param callback Returns the attribute definition as required by {@link }. */ - constructor(callback:()=>Object); + constructor(callback:()=>any); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.AttributeDefinition; } /** * Subclasses of {@link yfiles.lang.EventArgs} are passed to event handlers to provide the information they need to handle an * event. * @class */ - export interface EventArgs extends Object{} + export interface EventArgs extends yfiles.lang.Object{} export class EventArgs { /** * An empty {@link yfiles.lang.EventArgs} object that can be used when no information needs to be passed to the event handler. @@ -732,6 +795,7 @@ declare namespace yfiles{ */ static EMPTY:yfiles.lang.EventArgs; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.EventArgs; } /** * Event arguments which contain information for a {@link yfiles.lang.IPropertyObservable#addPropertyChangedListener PropertyChanged} @@ -752,37 +816,38 @@ declare namespace yfiles{ */ propertyName:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.PropertyChangedEventArgs; } /** * Defines an event which is dispatched when a property changes. * @interface */ - export interface IPropertyObservable extends Object{ + export interface IPropertyObservable extends yfiles.lang.Object{ /** * Adds the given listener for the PropertyChanged event that occurs when a property changes. * @param listener The listener to add. * @see yfiles.lang.IPropertyObservable#removePropertyChangedListener * @abstract */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when a property changes. * @param listener The listener to remove. * @see yfiles.lang.IPropertyObservable#addPropertyChangedListener * @abstract */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; } var IPropertyObservable:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.lang.IPropertyObservable; }; /** * Contains information about a property. * @class * @final */ - export interface PropertyInfo extends Object{} + export interface PropertyInfo extends yfiles.lang.Object{} export class PropertyInfo { /** * Gets the attributes associated with this property. @@ -795,13 +860,13 @@ declare namespace yfiles{ * @param obj The object which has the property, null for static properties. * @returns The value of the property from the given object. */ - getValue(obj:Object):Object; + getValue(obj:any):any; /** * Sets the value of the property on the given object. * @param obj The object whose property should be written, null for static properties. * @param value */ - setValue(obj:Object,value:Object):void; + setValue(obj:any,value:any):void; /** * Gets a value indicating whether the property can be read. * @type {boolean} @@ -833,12 +898,13 @@ declare namespace yfiles{ */ name:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.PropertyInfo; } /** * Provides a method by which implementors can be compared to each other. * @interface */ - export interface IComparable extends Object{ + export interface IComparable extends yfiles.lang.Object{ /** * Compares this object to the given object of the same type. * @param obj The object to compare this to. @@ -850,27 +916,27 @@ declare namespace yfiles{ *
* @abstract */ - compareTo(obj:Object):number; + compareTo(obj:any):number; } var IComparable:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.lang.IComparable; }; /** * Implemented by objects which can create a clone of themselves. * @interface */ - export interface ICloneable extends Object{ + export interface ICloneable extends yfiles.lang.Object{ /** * Create a clone of this object. * @returns A clone of this object. * @abstract */ - clone():Object; + clone():any; } var ICloneable:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.lang.ICloneable; }; /** * A structure which represents a time span. @@ -899,7 +965,7 @@ declare namespace yfiles{ * @param obj * @returns */ - compareTo(obj:Object):number; + compareTo(obj:any):number; /** * Creates a new time span with the given length in milliseconds. * @param milliseconds The length of the time span in milliseconds. @@ -944,6 +1010,7 @@ declare namespace yfiles{ */ totalMinutes:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.TimeSpan; } /** * Extension of the native JavaScript Error type that includes a stack trace. @@ -1005,7 +1072,7 @@ declare namespace yfiles{ * @param error The error object that has been caught * @static */ - static handleError(error:Object):void; + static handleError(error:any):void; /** * Gets the exception message. * @type {string} @@ -1038,10 +1105,11 @@ declare namespace yfiles{ * Setting a handler via this property automatically turns on the {@link yfiles.lang.Exception#catchErrors} flag! *

* @static - * @type {function(Object): void} + * @type {function(any): void} */ - static handler:(obj:Object)=>void; + static handler:(obj:any)=>void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.lang.Exception; } }export namespace collections{ /** @@ -1054,7 +1122,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.IEnumerable.>} * @template TKey,TValue */ - export interface Map extends Object,yfiles.collections.IMap,yfiles.collections.ICollection>,yfiles.collections.IEnumerable>{} + export interface Map extends yfiles.lang.Object,yfiles.collections.IMap,yfiles.collections.ICollection>,yfiles.collections.IEnumerable>{} export class Map { /** * Creates a new instance. @@ -1145,6 +1213,7 @@ declare namespace yfiles{ */ values:yfiles.collections.ICollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.Map; } /** * Defines methods to manipulate a collection of objects with the same type. @@ -1153,7 +1222,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.IEnumerable.} * @template T */ - export interface ICollection extends Object,yfiles.collections.IEnumerable{ + export interface ICollection extends yfiles.lang.Object,yfiles.collections.IEnumerable{ /** * Adds the given item to the collection. * @param item @@ -1201,7 +1270,7 @@ declare namespace yfiles{ } var ICollection:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.ICollection; }; /** * A collection of value objects which are mapped to key objects and can be queried using their keys. @@ -1215,7 +1284,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.ICollection.>} * @template TKey,TValue */ - export interface IMap extends Object,yfiles.collections.ICollection>{ + export interface IMap extends yfiles.lang.Object,yfiles.collections.ICollection>{ /** * Removes the key/value pair which is represented by the given key. * @param key The key of the key/value pair to remove. @@ -1273,7 +1342,7 @@ declare namespace yfiles{ } var IMap:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IMap; }; /** * Defines ways to iterate over the items contained in this type by providing a method to get an {@link yfiles.collections.IEnumerator.}. @@ -1281,7 +1350,7 @@ declare namespace yfiles{ * @interface * @template T */ - export interface IEnumerable extends Object{ + export interface IEnumerable extends yfiles.lang.Object{ /** * * @param enumerable @@ -1303,7 +1372,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} e is null. * @throws {Stubs.Exceptions.ArgumentError} predicate is null. */ - every?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):boolean; + every?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):boolean; /** * Returns an enumerable which only contains elements of the source enumerable which match a given predicate. * @param predicate A function with the signature function(element):boolean which returns true if the given element should be included in @@ -1311,7 +1380,7 @@ declare namespace yfiles{ * @param [thisArg=null] * @returns An enumerable which contains the elements of the source enumeration which match the given predicate. */ - filter?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):yfiles.collections.IEnumerable; + filter?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):yfiles.collections.IEnumerable; /** * Returns the first element of the enumerable which matches a given filter. * @param [predicate=null] A function with the signature function(element):boolean which returns true if the given element should be returned @@ -1320,7 +1389,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} If the given enumerable is null. * @throws {Stubs.Exceptions.InvalidOperationError} If the enumerable does not contain a matching element. */ - first?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):T; + first?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):T; /** * Returns the first element of the enumerable which matches a given filter. * @param {Object} options The parameters to pass. @@ -1339,7 +1408,7 @@ declare namespace yfiles{ * @returns The first element of the enumerable or null. * @throws {Stubs.Exceptions.ArgumentError} If the given enumerable is null. */ - firstOrDefault?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):T; + firstOrDefault?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):T; /** * Returns the first element of the enumerable, the first element of the enumerable which matches a given filter if * sepcified, or null if there is no such element. @@ -1355,7 +1424,7 @@ declare namespace yfiles{ * @param action The delegate to call. * @param [thisArg=null] */ - forEach?(action:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>void,thisArg?:Object):void; + forEach?(action:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>void,thisArg?:any):void; /** * Gets an {@link yfiles.collections.IEnumerator.} which can be used to iterate over the items in this instance * @returns The {@link } which can be used to iterate over the items in this instance @@ -1390,7 +1459,7 @@ declare namespace yfiles{ * @returns A projection of the original enumerable. * @template TResult */ - map?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>TResult,thisArg?:Object):yfiles.collections.IEnumerable; + map?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>TResult,thisArg?:any):yfiles.collections.IEnumerable; /** * Converts a untyped enumerable into an enumerable with the given type. *

@@ -1423,7 +1492,7 @@ declare namespace yfiles{ * concatenated in the result. * @template TResult */ - selectMany?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>yfiles.collections.IEnumerable,thisArg?:Object):yfiles.collections.IEnumerable; + selectMany?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>yfiles.collections.IEnumerable,thisArg?:any):yfiles.collections.IEnumerable; /** * Whether the enumerable contains any elements matching the given predicate. * @param [predicate=null] A function with the signature function(element):boolean which returns true if the element matches a condition. @@ -1431,7 +1500,7 @@ declare namespace yfiles{ * @returns Whether the enumerable contains any elements matching the given predicate. * @throws {Stubs.Exceptions.ArgumentError} e is null. */ - some?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):boolean; + some?(predicate?:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):boolean; /** * Whether the enumerable contains any elements matching the given predicate. * @param {Object} options The parameters to pass. @@ -1447,7 +1516,7 @@ declare namespace yfiles{ * @param [thisArg=null] * @returns The sum of the elements of the enumerable. */ - sum?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>number,thisArg?:Object):number; + sum?(selector:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>number,thisArg?:any):number; /** * Returns elements from an enumerable as long as the given predicate is true. * @param predicate A function with the signature function(element):boolean which returns true as long as the elements should be added to @@ -1455,7 +1524,7 @@ declare namespace yfiles{ * @param [thisArg=null] * @returns A subset of the original enumerable. */ - takeWhile?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:Object):yfiles.collections.IEnumerable; + takeWhile?(predicate:(arg1:T,arg2:number,arg3:yfiles.collections.IEnumerable)=>boolean,thisArg?:any):yfiles.collections.IEnumerable; /** * Creates an array with the values of the enumerable. * @returns An array with the enumerable's elements. @@ -1479,7 +1548,7 @@ declare namespace yfiles{ } var IEnumerable:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IEnumerable; }; /** * Provides methods to iterate over a collection or list of elements of the same type. @@ -1496,7 +1565,7 @@ declare namespace yfiles{ * @interface * @template T */ - export interface IEnumerator extends Object{ + export interface IEnumerator extends yfiles.lang.Object{ /** * Moves this enumerator to the next element. *

@@ -1528,7 +1597,7 @@ declare namespace yfiles{ } var IEnumerator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IEnumerator; }; /** * A read-write collection of objects of the same type. @@ -1537,7 +1606,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.ICollection.} * @template T */ - export interface IList extends Object,yfiles.collections.ICollection{ + export interface IList extends yfiles.lang.Object,yfiles.collections.ICollection{ /** * Gets the item at the given index. * @param index The index of the item to access. @@ -1577,7 +1646,7 @@ declare namespace yfiles{ } var IList:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IList; }; /** * The key/value pair of a {@link yfiles.collections.IMap.}. @@ -1587,7 +1656,7 @@ declare namespace yfiles{ * @template TKey,TValue * @final */ - export interface MapEntry extends Object{} + export interface MapEntry extends yfiles.lang.Object{} export class MapEntry { /** * Creates a new instance with the given key and value. @@ -1606,6 +1675,7 @@ declare namespace yfiles{ */ value:TValue; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.MapEntry; } /** * Default implementation of {@link yfiles.collections.IList.}. @@ -1618,7 +1688,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.IList.} * @template T */ - export interface List extends Object,yfiles.collections.IList{} + export interface List extends yfiles.lang.Object,yfiles.collections.IList{} export class List { /** * Creates a new instance and fills it with the elements of the given enumerable. @@ -1753,7 +1823,7 @@ declare namespace yfiles{ * Sorts all elements in the list using the given comparison function. * @param comparison The comparison function to use. */ - sort(comparison:(arg1:Object,arg2:Object)=>number):void; + sort(comparison:(arg1:any,arg2:any)=>number):void; /** * Sorts all elements in the list using the given comparer. * @param comparer The comparer to use. @@ -1780,6 +1850,7 @@ declare namespace yfiles{ isReadOnly:boolean; capacity:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.List; } /** * Provides a method to compare two objects of the same type. @@ -1787,7 +1858,7 @@ declare namespace yfiles{ * @interface * @template T */ - export interface IComparer extends Object{ + export interface IComparer extends yfiles.lang.Object{ /** * Compares two objects of type T. * @param x The first object. @@ -1804,7 +1875,7 @@ declare namespace yfiles{ } var IComparer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IComparer; }; /** * A simple default implementation of an {@link yfiles.collections.IObservableCollection.} that is backed by an ordinary {@link yfiles.collections.ICollection.} @@ -1813,7 +1884,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.IObservableCollection.} * @template T */ - export interface ObservableCollection extends Object,yfiles.collections.IObservableCollection{} + export interface ObservableCollection extends yfiles.lang.Object,yfiles.collections.IObservableCollection{} export class ObservableCollection { /** * Creates a new instance using a provided collection as the backing store. @@ -1882,12 +1953,12 @@ declare namespace yfiles{ */ remove(item:T):boolean; /** - * Returns the number of elements in this collection. + * Gets the number of elements in this collection. * @type {number} */ size:number; /** - * Checks whether this collection is read only. + * Gets whether this collection is read only. * @type {boolean} */ isReadOnly:boolean; @@ -1905,38 +1976,39 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.collections.ObservableCollection.#removeItemAddedListener */ - addItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemAdded event that occurs when an item has been added to this collection. * @param listener The listener to remove. * @see yfiles.collections.ObservableCollection.#addItemAddedListener */ - removeItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the ItemRemoved event that occurs when an item has been removed from this collection. * @param listener The listener to add. * @see yfiles.collections.ObservableCollection.#removeItemRemovedListener */ - addItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemRemoved event that occurs when an item has been removed from this collection. * @param listener The listener to remove. * @see yfiles.collections.ObservableCollection.#addItemRemovedListener */ - removeItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the ItemChanged event that occurs when an item has been changed inside this collection. * @param listener The listener to add. * @see yfiles.collections.ObservableCollection.#removeItemChangedListener */ - addItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemChanged event that occurs when an item has been changed inside this collection. * @param listener The listener to remove. * @see yfiles.collections.ObservableCollection.#addItemChangedListener */ - removeItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.ObservableCollection; } /** * An {@link yfiles.collections.IMapper.} implementation backed by a {@link yfiles.collections.IMap.}. @@ -1953,7 +2025,7 @@ declare namespace yfiles{ * @template K,V * @final */ - export interface Mapper extends Object,yfiles.collections.IMapper{} + export interface Mapper extends yfiles.lang.Object,yfiles.collections.IMapper{} export class Mapper { /** * Creates an instance using the provided {@link yfiles.collections.Map.} as the backing store. @@ -2020,6 +2092,7 @@ declare namespace yfiles{ */ defaultValue:V; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.Mapper; } /** * The interface for a collection that will notify registered event handlers of changes to its contents. @@ -2029,35 +2102,35 @@ declare namespace yfiles{ * @implements {yfiles.collections.ICollection.} * @template T */ - export interface IObservableCollection extends Object,yfiles.collections.ICollection{ + export interface IObservableCollection extends yfiles.lang.Object,yfiles.collections.ICollection{ /** * Adds the given listener for the ItemAdded event that occurs when an item has been added to this collection. * @param listener The listener to add. * @see yfiles.collections.IObservableCollection.#removeItemAddedListener * @abstract */ - addItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemAdded event that occurs when an item has been added to this collection. * @param listener The listener to remove. * @see yfiles.collections.IObservableCollection.#addItemAddedListener * @abstract */ - removeItemAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the ItemRemoved event that occurs when an item has been removed from this collection. * @param listener The listener to add. * @see yfiles.collections.IObservableCollection.#removeItemRemovedListener * @abstract */ - addItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemRemoved event that occurs when an item has been removed from this collection. * @param listener The listener to remove. * @see yfiles.collections.IObservableCollection.#addItemRemovedListener * @abstract */ - removeItemRemovedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemRemovedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the ItemChanged event that occurs when an item in this collection has changed * significantly. @@ -2068,7 +2141,7 @@ declare namespace yfiles{ * @see yfiles.collections.IObservableCollection.#removeItemChangedListener * @abstract */ - addItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemChanged event that occurs when an item in this collection has changed * significantly. @@ -2079,11 +2152,11 @@ declare namespace yfiles{ * @see yfiles.collections.IObservableCollection.#addItemChangedListener * @abstract */ - removeItemChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; } var IObservableCollection:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IObservableCollection; }; /** * An extension to the {@link yfiles.collections.IEnumerable.} interface that allows for indexed access and retrieval of the element count. @@ -2095,7 +2168,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.IEnumerable.} * @template T */ - export interface IListEnumerable extends Object,yfiles.collections.IEnumerable{ + export interface IListEnumerable extends yfiles.lang.Object,yfiles.collections.IEnumerable{ /** * Gets the i-th element in the collection. * @param i the zero-based index of the item in this collection @@ -2120,7 +2193,7 @@ declare namespace yfiles{ */ EMPTY?:yfiles.collections.IListEnumerable; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IListEnumerable; }; /** * Wraps a simple {@link yfiles.collections.IEnumerable.} into a {@link yfiles.collections.IListEnumerable.}. @@ -2133,7 +2206,7 @@ declare namespace yfiles{ * @template T * @final */ - export interface ListEnumerable extends Object,yfiles.collections.IListEnumerable{} + export interface ListEnumerable extends yfiles.lang.Object,yfiles.collections.IListEnumerable{} export class ListEnumerable { /** * Creates a new instance using the given backing enumerable. @@ -2166,6 +2239,7 @@ declare namespace yfiles{ */ size:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.ListEnumerable; } /** * Event argument class used by {@link yfiles.collections.IObservableCollection.} and similar that holds a specific item that is related to the event. @@ -2187,6 +2261,7 @@ declare namespace yfiles{ */ item:T; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.collections.ItemEventArgs; } /** * An interface for simple typed dictionary-like implementations. @@ -2207,7 +2282,7 @@ declare namespace yfiles{ * @interface * @template K,V */ - export interface IMapper extends Object{ + export interface IMapper extends yfiles.lang.Object{ /** * Gets the value for a given key in the mapping. *

@@ -2266,10 +2341,10 @@ declare namespace yfiles{ */ fromDelegate?(getter:(key:K)=>V):yfiles.collections.IMapper; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.collections.IMapper; }; }export namespace graphml{ - export interface XmlName extends Object{} + export interface XmlName extends yfiles.lang.Object{} export class XmlName { /** * Initializes a new instance of the {@link yfiles.graphml.XmlName} class. @@ -2300,6 +2375,7 @@ declare namespace yfiles{ */ namespace:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.XmlName; } export enum XamlAttributeWritePolicy{ /** @@ -2391,7 +2467,7 @@ declare namespace yfiles{ export class GraphMLAttribute { constructor(); /** - * Gets or sets the name of the type or member where this attribute is used. + * Gets or sets the name of the attributed member. *

* This will be used as the XML element or XML attribute name. *

@@ -2522,10 +2598,11 @@ declare namespace yfiles{ *

* This property is ignored if the attribute targets a type declaration. *

- * @type {Object} + * @type {any} */ - defaultValue:Object; + defaultValue:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLAttribute; } export enum KeyType{ /** @@ -2593,7 +2670,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface IParseContext extends Object,yfiles.graph.ILookup{ + export interface IParseContext extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Deserialize the object representation in targetNode. *

@@ -2641,26 +2718,25 @@ declare namespace yfiles{ * @returns The property value, or null if no such property exists. * @abstract */ - getDeserializationProperty(key:string):Object; + getDeserializationProperty(key:string):any; /** - * Returns the current nesting of created graphs and graph elements. + * Gets the current nesting of created graphs and graph elements. *

* The list contains the user objects which correspond to the GraphML elements which are ancestors of the current node in * the DOM tree. *

* @abstract - * @type {yfiles.collections.IListEnumerable.} + * @type {yfiles.collections.IListEnumerable.} */ - objectStack:yfiles.collections.IListEnumerable; + objectStack:yfiles.collections.IListEnumerable; /** - * Returns an implementation of {@link yfiles.graphml.IParseEvents} that allows to subscribe to various events in the parse - * process. + * Gets an implementation of {@link yfiles.graphml.IParseEvents} that allows to subscribe to various events in the parse process. * @abstract * @type {yfiles.graphml.IParseEvents} */ parseEvents:yfiles.graphml.IParseEvents; /** - * Returns the currently active graph object + * Gets the currently active graph object * @abstract * @type {yfiles.graph.IGraph} */ @@ -2668,7 +2744,7 @@ declare namespace yfiles{ } var IParseContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IParseContext; }; /** * The interface of the event trigger class that is used by the {@link yfiles.graphml.IParseContext#parseEvents} property. @@ -2679,7 +2755,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser * @interface */ - export interface IParseEvents extends Object{ + export interface IParseEvents extends yfiles.lang.Object{ /** * Adds the given listener for the DocumentParsing event that occurs when the document is about to be parsed. *

@@ -2689,7 +2765,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeDocumentParsingListener * @abstract */ - addDocumentParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addDocumentParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the DocumentParsing event that occurs when the document is about to be parsed. *

@@ -2699,7 +2775,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addDocumentParsingListener * @abstract */ - removeDocumentParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeDocumentParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the DocumentParsed event that occurs when the document has been parsed. *

@@ -2709,7 +2785,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeDocumentParsedListener * @abstract */ - addDocumentParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addDocumentParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the DocumentParsed event that occurs when the document has been parsed. *

@@ -2719,7 +2795,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addDocumentParsedListener * @abstract */ - removeDocumentParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeDocumentParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the NodeParsing event that occurs when a node element is about to be parsed. *

@@ -2729,7 +2805,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeNodeParsingListener * @abstract */ - addNodeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addNodeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the NodeParsing event that occurs when a node element is about to be parsed. *

@@ -2739,7 +2815,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addNodeParsingListener * @abstract */ - removeNodeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeNodeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the NodeParsed event that occurs after a node element has been fully parsed. *

@@ -2749,7 +2825,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeNodeParsedListener * @abstract */ - addNodeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addNodeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the NodeParsed event that occurs after a node element has been fully parsed. *

@@ -2759,7 +2835,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addNodeParsedListener * @abstract */ - removeNodeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeNodeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the EdgeParsing event that occurs when an edge element is about to be parsed. *

@@ -2769,7 +2845,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeEdgeParsingListener * @abstract */ - addEdgeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addEdgeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the EdgeParsing event that occurs when an edge element is about to be parsed. *

@@ -2779,7 +2855,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addEdgeParsingListener * @abstract */ - removeEdgeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeEdgeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the EdgeParsed event that occurs after a edge element has been fully parsed. *

@@ -2789,7 +2865,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeEdgeParsedListener * @abstract */ - addEdgeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addEdgeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the EdgeParsed event that occurs after a edge element has been fully parsed. *

@@ -2799,7 +2875,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addEdgeParsedListener * @abstract */ - removeEdgeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeEdgeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the PortParsing event that occurs when a port element is about to be parsed. *

@@ -2809,7 +2885,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removePortParsingListener * @abstract */ - addPortParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addPortParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the PortParsing event that occurs when a port element is about to be parsed. *

@@ -2819,7 +2895,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addPortParsingListener * @abstract */ - removePortParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removePortParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the PortParsed event that occurs after a port element has been fully parsed. *

@@ -2829,7 +2905,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removePortParsedListener * @abstract */ - addPortParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addPortParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the PortParsed event that occurs after a port element has been fully parsed. *

@@ -2839,7 +2915,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addPortParsedListener * @abstract */ - removePortParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removePortParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the GraphParsing event that occurs when a graph element is about to be parsed. *

@@ -2849,7 +2925,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeGraphParsingListener * @abstract */ - addGraphParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addGraphParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the GraphParsing event that occurs when a graph element is about to be parsed. *

@@ -2859,7 +2935,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addGraphParsingListener * @abstract */ - removeGraphParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeGraphParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the GraphParsed event that occurs after a graph element has been fully parsed. *

@@ -2869,7 +2945,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeGraphParsedListener * @abstract */ - addGraphParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addGraphParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the GraphParsed event that occurs after a graph element has been fully parsed. *

@@ -2879,7 +2955,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addGraphParsedListener * @abstract */ - removeGraphParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeGraphParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the GraphMLParsing event that occurs when the graphml element is about to be parsed. *

@@ -2889,7 +2965,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeGraphMLParsingListener * @abstract */ - addGraphMLParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addGraphMLParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the GraphMLParsing event that occurs when the graphml element is about to be parsed. *

@@ -2899,7 +2975,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addGraphMLParsingListener * @abstract */ - removeGraphMLParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeGraphMLParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the GraphMLParsed event that occurs after the graphml element has been fully parsed. *

@@ -2909,7 +2985,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeGraphMLParsedListener * @abstract */ - addGraphMLParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addGraphMLParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the GraphMLParsed event that occurs after the graphml element has been fully parsed. *

@@ -2919,7 +2995,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addGraphMLParsedListener * @abstract */ - removeGraphMLParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeGraphMLParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the DataParsing event that occurs when a data element is about to be parsed. *

@@ -2929,7 +3005,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeDataParsingListener * @abstract */ - addDataParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addDataParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the DataParsing event that occurs when a data element is about to be parsed. *

@@ -2939,7 +3015,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addDataParsingListener * @abstract */ - removeDataParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeDataParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the DataParsed event that occurs after a data element has been fully parsed. *

@@ -2949,7 +3025,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeDataParsedListener * @abstract */ - addDataParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addDataParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the DataParsed event that occurs after a data element has been fully parsed. *

@@ -2959,7 +3035,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addDataParsedListener * @abstract */ - removeDataParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeDataParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the KeyParsing event that occurs when a key element is about to be parsed. *

@@ -2969,7 +3045,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeKeyParsingListener * @abstract */ - addKeyParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addKeyParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the KeyParsing event that occurs when a key element is about to be parsed. *

@@ -2979,7 +3055,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addKeyParsingListener * @abstract */ - removeKeyParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeKeyParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the KeyParsed event that occurs after a key element has been fully parsed. *

@@ -2989,7 +3065,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#removeKeyParsedListener * @abstract */ - addKeyParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addKeyParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the KeyParsed event that occurs after a key element has been fully parsed. *

@@ -2999,11 +3075,11 @@ declare namespace yfiles{ * @see yfiles.graphml.IParseEvents#addKeyParsedListener * @abstract */ - removeKeyParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeKeyParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; } var IParseEvents:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IParseEvents; }; /** * This is the event argument that is used by the {@link yfiles.graphml.IParseEvents} interface that can be queried from the {@link yfiles.graphml.IParseContext#parseEvents} @@ -3033,12 +3109,13 @@ declare namespace yfiles{ */ element:Element; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.ParseEventArgs; } /** * A data holder for use in the {@link yfiles.graphml.IOutputHandler} interface that encapsulates an XML attribute. * @class */ - export interface GraphMLXmlAttribute extends Object{} + export interface GraphMLXmlAttribute extends yfiles.lang.Object{} export class GraphMLXmlAttribute { /** * Initializes a new instance of the {@link yfiles.graphml.GraphMLXmlAttribute} class. @@ -3057,12 +3134,13 @@ declare namespace yfiles{ */ value:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLXmlAttribute; } /** * The interface used by the {@link yfiles.graphml.GraphMLIOHandler} for writing data to the GraphML. * @interface */ - export interface IOutputHandler extends Object{ + export interface IOutputHandler extends yfiles.lang.Object{ /** * Determines whether in the current context, the value is the default value and therefore no data element needs to be * written. @@ -3116,7 +3194,7 @@ declare namespace yfiles{ } var IOutputHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IOutputHandler; }; export enum WritePrecedence{ /** @@ -3141,7 +3219,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface IWriteContext extends Object,yfiles.graph.ILookup{ + export interface IWriteContext extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Returns the most current (the last element) within the container hierarchy as it is returned by {@link yfiles.graphml.IWriteContext#objectStack} or default(T) if the * most current element is not of the desired target type. @@ -3158,7 +3236,7 @@ declare namespace yfiles{ * @returns The property value, or null if no such property exists * @abstract */ - getSerializationProperty(key:string):Object; + getSerializationProperty(key:string):any; /** * Serializes the specified item using the provided type information. *

@@ -3168,7 +3246,7 @@ declare namespace yfiles{ * @param item The item to serialize. * @param t The type the item is known to be of at deserialization time. */ - serialize?(item:Object,t:yfiles.lang.Class):void; + serialize?(item:any,t:yfiles.lang.Class):void; /** * Serialize the item. *

@@ -3212,31 +3290,30 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteContext#serializeCore * @template T */ - serializeReplacement?(targetType:yfiles.lang.Class,originalItem:Object,replacement:T):void; + serializeReplacement?(targetType:yfiles.lang.Class,originalItem:any,replacement:T):void; /** - * Returns the current nesting of graphs and graph elements. + * Gets the current nesting of graphs and graph elements. *

* The list contains the user objects which correspond to the GraphML elements. *

* @abstract - * @type {yfiles.collections.IListEnumerable.} + * @type {yfiles.collections.IListEnumerable.} */ - objectStack:yfiles.collections.IListEnumerable; + objectStack:yfiles.collections.IListEnumerable; /** - * Returns an implementation of {@link yfiles.graphml.IWriteEvents} that allows to subscribe to various events in the write - * process. + * Gets an implementation of {@link yfiles.graphml.IWriteEvents} that allows to subscribe to various events in the write process. * @abstract * @type {yfiles.graphml.IWriteEvents} */ writeEvents:yfiles.graphml.IWriteEvents; /** - * Returns the current {@link yfiles.graphml.IXmlWriter} implementation. + * Gets the current {@link yfiles.graphml.IXmlWriter} implementation. * @abstract * @type {yfiles.graphml.IXmlWriter} */ writer:yfiles.graphml.IXmlWriter; /** - * Returns the currently active graph object + * Gets the currently active graph object * @abstract * @type {yfiles.graph.IGraph} */ @@ -3244,7 +3321,7 @@ declare namespace yfiles{ } var IWriteContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IWriteContext; }; /** * The interface of the event trigger class that is used by the {@link yfiles.graphml.IWriteContext#writeEvents} property. @@ -3255,7 +3332,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter * @interface */ - export interface IWriteEvents extends Object{ + export interface IWriteEvents extends yfiles.lang.Object{ /** * Adds the given listener for the DocumentWriting event that occurs just after the {@link yfiles.graphml.IXmlWriter#writeStartDocument} * has been called. @@ -3263,7 +3340,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeDocumentWritingListener * @abstract */ - addDocumentWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addDocumentWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the DocumentWriting event that occurs just after the {@link yfiles.graphml.IXmlWriter#writeStartDocument} * has been called. @@ -3271,7 +3348,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addDocumentWritingListener * @abstract */ - removeDocumentWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeDocumentWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the DocumentWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndDocument} * will be called. @@ -3279,7 +3356,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeDocumentWrittenListener * @abstract */ - addDocumentWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addDocumentWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the DocumentWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndDocument} * will be called. @@ -3287,7 +3364,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addDocumentWrittenListener * @abstract */ - removeDocumentWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeDocumentWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the NodeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'node' element has been called. @@ -3299,7 +3376,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeNodeWritingListener * @abstract */ - addNodeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addNodeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the NodeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'node' element has been called. @@ -3311,7 +3388,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addNodeWritingListener * @abstract */ - removeNodeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeNodeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the NodeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'node' element will be called. @@ -3322,7 +3399,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeNodeWrittenListener * @abstract */ - addNodeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addNodeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the NodeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'node' element will be called. @@ -3333,7 +3410,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addNodeWrittenListener * @abstract */ - removeNodeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeNodeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the EdgeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'edge' element has been called. @@ -3345,7 +3422,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeEdgeWritingListener * @abstract */ - addEdgeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addEdgeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the EdgeWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'edge' element has been called. @@ -3357,7 +3434,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addEdgeWritingListener * @abstract */ - removeEdgeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeEdgeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the EdgeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'edge' element will be called. @@ -3368,7 +3445,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeEdgeWrittenListener * @abstract */ - addEdgeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addEdgeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the EdgeWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'edge' element will be called. @@ -3379,7 +3456,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addEdgeWrittenListener * @abstract */ - removeEdgeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeEdgeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the PortWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'port' element has been called. @@ -3391,7 +3468,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removePortWritingListener * @abstract */ - addPortWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addPortWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the PortWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'port' element has been called. @@ -3403,7 +3480,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addPortWritingListener * @abstract */ - removePortWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removePortWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the PortWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'port' element will be called. @@ -3414,7 +3491,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removePortWrittenListener * @abstract */ - addPortWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addPortWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the PortWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'port' element will be called. @@ -3425,7 +3502,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addPortWrittenListener * @abstract */ - removePortWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removePortWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the GraphWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'graph' element has been called. @@ -3437,7 +3514,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeGraphWritingListener * @abstract */ - addGraphWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addGraphWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the GraphWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'graph' element has been called. @@ -3449,7 +3526,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addGraphWritingListener * @abstract */ - removeGraphWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeGraphWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the GraphWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'graph' element will be called. @@ -3460,7 +3537,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeGraphWrittenListener * @abstract */ - addGraphWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addGraphWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the GraphWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'graph' element will be called. @@ -3471,7 +3548,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addGraphWrittenListener * @abstract */ - removeGraphWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeGraphWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the GraphMLWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'graphml' element has been called. @@ -3483,7 +3560,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeGraphMLWritingListener * @abstract */ - addGraphMLWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addGraphMLWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the GraphMLWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'graphml' element has been called. @@ -3495,7 +3572,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addGraphMLWritingListener * @abstract */ - removeGraphMLWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeGraphMLWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the GraphMLWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'graphml' element will be called. @@ -3506,7 +3583,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeGraphMLWrittenListener * @abstract */ - addGraphMLWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addGraphMLWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the GraphMLWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'graphml' element will be called. @@ -3517,7 +3594,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addGraphMLWrittenListener * @abstract */ - removeGraphMLWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeGraphMLWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the DataWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'data' element has been called. @@ -3529,7 +3606,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeDataWritingListener * @abstract */ - addDataWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addDataWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the DataWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'data' element has been called. @@ -3541,7 +3618,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addDataWritingListener * @abstract */ - removeDataWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeDataWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the DataWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'data' element will be called. @@ -3552,7 +3629,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeDataWrittenListener * @abstract */ - addDataWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addDataWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the DataWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'data' element will be called. @@ -3563,7 +3640,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addDataWrittenListener * @abstract */ - removeDataWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeDataWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the KeyWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'key' element has been called. @@ -3575,7 +3652,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeKeyWritingListener * @abstract */ - addKeyWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addKeyWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the KeyWriting event that occurs right after the {@link yfiles.graphml.IXmlWriter#writeStartElement} * method for writing a GraphMl 'key' element has been called. @@ -3587,7 +3664,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addKeyWritingListener * @abstract */ - removeKeyWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeKeyWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the KeyWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'key' element will be called. @@ -3598,7 +3675,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#removeKeyWrittenListener * @abstract */ - addKeyWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addKeyWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the KeyWritten event that occurs just before the {@link yfiles.graphml.IXmlWriter#writeEndElement} * for the GraphML 'key' element will be called. @@ -3609,17 +3686,17 @@ declare namespace yfiles{ * @see yfiles.graphml.IWriteEvents#addKeyWrittenListener * @abstract */ - removeKeyWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeKeyWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; } var IWriteEvents:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IWriteEvents; }; /** * Abstraction of XML output classes that provide a consistent way to write XML elements to some output * @interface */ - export interface IXmlWriter extends Object{ + export interface IXmlWriter extends yfiles.lang.Object{ /** * Close the document. *

@@ -3762,13 +3839,13 @@ declare namespace yfiles{ } var IXmlWriter:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IXmlWriter; }; /** * Helper class to facilitate namespace handling together with {@link yfiles.graphml.IXmlWriter} instances. * @interface */ - export interface IXmlNamespaceManager extends Object{ + export interface IXmlNamespaceManager extends yfiles.lang.Object{ /** * Returns a unique namespace prefix, or creates and registeres one. * @param ns The namespace URI for which a prefix is searched. @@ -3803,7 +3880,7 @@ declare namespace yfiles{ */ sealScope():void; /** - * Return a list of all namespace declarations that should be declared at the document's root element. + * Gets a list of all namespace declarations that should be declared at the document's root element. * @abstract * @type {yfiles.collections.IMap.} */ @@ -3811,7 +3888,7 @@ declare namespace yfiles{ } var IXmlNamespaceManager:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IXmlNamespaceManager; }; /** * Constant class for common serialization properties. @@ -3819,7 +3896,7 @@ declare namespace yfiles{ * @class * @static */ - export interface SerializationProperties extends Object{} + export interface SerializationProperties extends yfiles.lang.Object{} export class SerializationProperties { /** * Property key to control user tag serialization and deserialization @@ -4149,6 +4226,7 @@ declare namespace yfiles{ */ static CACHE_EXTERNAL_REFERENCES:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.SerializationProperties; } /** * This is the event argument that is used by the {@link yfiles.graphml.IWriteEvents} interface that can be queried from the {@link yfiles.graphml.IWriteContext#writeEvents} @@ -4166,7 +4244,7 @@ declare namespace yfiles{ * @param context The context to assign to {@link #context}. * @param item The item to assign to {@link #item}. */ - constructor(context:yfiles.graphml.IWriteContext,item:Object); + constructor(context:yfiles.graphml.IWriteContext,item:any); /** * Gets the context that is being used for writing. * @type {yfiles.graphml.IWriteContext} @@ -4174,10 +4252,11 @@ declare namespace yfiles{ context:yfiles.graphml.IWriteContext; /** * Gets the item that is currently being written or null if nothing is applicable. - * @type {Object} + * @type {any} */ - item:Object; + item:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.WriteEventArgs; } /** * An interface for converters that can convert an object to a corresponding {@link yfiles.graphml.MarkupExtension}. @@ -4186,7 +4265,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IMarkupExtensionConverter extends Object{ + export interface IMarkupExtensionConverter extends yfiles.lang.Object{ /** * Returns if the converter can convert the value to a {@link yfiles.graphml.MarkupExtension} in the current write context. * @param context The current write context. @@ -4194,7 +4273,7 @@ declare namespace yfiles{ * @returns Whether the converter can convert the passed value. * @abstract */ - canConvert(context:yfiles.graphml.IWriteContext,value:Object):boolean; + canConvert(context:yfiles.graphml.IWriteContext,value:any):boolean; /** * Converts the value to a {@link yfiles.graphml.MarkupExtension} using the current write context. * @param context The current write context. @@ -4202,18 +4281,18 @@ declare namespace yfiles{ * @returns The {@link } the value was converted to. * @abstract */ - convert(context:yfiles.graphml.IWriteContext,value:Object):yfiles.graphml.MarkupExtension; + convert(context:yfiles.graphml.IWriteContext,value:any):yfiles.graphml.MarkupExtension; } var IMarkupExtensionConverter:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IMarkupExtensionConverter; }; /** * Utility class that facilitates determining type information from XML elements and writing of markup extensions as * attributes. * @interface */ - export interface IXamlNameMapper extends Object{ + export interface IXamlNameMapper extends yfiles.lang.Object{ /** * Returns a {@link yfiles.lang.Class} that matches the given fqTagName of an XML element. *

@@ -4236,38 +4315,38 @@ declare namespace yfiles{ } var IXamlNameMapper:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IXamlNameMapper; }; /** * Wraps a property together with default values and meta data. * @class */ - export interface Property extends Object{} + export interface Property extends yfiles.lang.Object{} export class Property { /** * Gets the value the wrapped property has on the given instance. * @param ownerInstance The instance to get the property value from. * @returns The value the wrapped property has on the given instance. */ - getValue(ownerInstance:Object):Object; + getValue(ownerInstance:any):any; /** * Sets the value to the wrapped property on the given instance. * @param ownerInstance The instance to set the property value on. * @param value The value to set. */ - setValue(ownerInstance:Object,value:Object):void; + setValue(ownerInstance:any,value:any):void; /** - * Returns true iff the property has a public getter. + * Gets whether or not the property has a public getter. * @type {boolean} */ canRead:boolean; /** - * Returns true iff the property has a public setter. + * Gets whether or not the property has a public setter. * @type {boolean} */ canWrite:boolean; /** - * Returns true iff this is a static property. + * Gets whether or not this is a static property. * @type {boolean} */ isStatic:boolean; @@ -4308,9 +4387,9 @@ declare namespace yfiles{ ownerType:yfiles.lang.Class; /** * Gets the default value. - * @type {Object} + * @type {any} */ - defaultValue:Object; + defaultValue:any; /** * Gets a value indicating whether this instance has a default value. * @type {boolean} @@ -4322,6 +4401,7 @@ declare namespace yfiles{ */ name:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.Property; } export enum SliderParameterLocation{ /** @@ -4350,7 +4430,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface IValueSerializerContext extends Object,yfiles.graph.ILookup{ + export interface IValueSerializerContext extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Gets the value serializer for a specific {@link yfiles.graphml.Property}. * @param property The descriptor of the property. @@ -4368,7 +4448,7 @@ declare namespace yfiles{ } var IValueSerializerContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IValueSerializerContext; }; /** * Provides a base class for all XAML markup extensions. @@ -4378,7 +4458,7 @@ declare namespace yfiles{ *

* @class */ - export interface MarkupExtension extends Object{} + export interface MarkupExtension extends yfiles.lang.Object{} export class MarkupExtension { /** * Returns an object that is set as the value of the target property for this markup extension. @@ -4386,8 +4466,9 @@ declare namespace yfiles{ * @returns The object value to set on the property where the extension is applied. * @abstract */ - provideValue(serviceProvider:yfiles.graph.ILookup):Object; + provideValue(serviceProvider:yfiles.graph.ILookup):any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.MarkupExtension; } /** * Helper classes used during the XAML serialization of instances. @@ -4396,7 +4477,7 @@ declare namespace yfiles{ *

* @class */ - export interface ValueSerializer extends Object{} + export interface ValueSerializer extends yfiles.lang.Object{} export class ValueSerializer { /** * Determines whether this instance can convert the specified value from the given string. @@ -4411,21 +4492,21 @@ declare namespace yfiles{ * @param context The context. * @returns true if this instance can convert the specified value to a string; otherwise, false. */ - canConvertToString(value:Object,context:yfiles.graphml.IValueSerializerContext):boolean; + canConvertToString(value:any,context:yfiles.graphml.IValueSerializerContext):boolean; /** * Converts the string to an appropriate instance. * @param value The value to convert to an object. * @param context The context. * @returns The converted object */ - convertFromString(value:string,context:yfiles.graphml.IValueSerializerContext):Object; + convertFromString(value:string,context:yfiles.graphml.IValueSerializerContext):any; /** * Converts the given value to string. * @param o The value. * @param context The context. * @returns The value as string representation. */ - convertToString(o:Object,context:yfiles.graphml.IValueSerializerContext):string; + convertToString(o:any,context:yfiles.graphml.IValueSerializerContext):string; /** * Gets the {@link yfiles.graphml.ValueSerializer} implementation for the given type. * @param type The type. @@ -4457,6 +4538,7 @@ declare namespace yfiles{ */ static getSerializerFor(type:yfiles.lang.Class):yfiles.graphml.ValueSerializer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.ValueSerializer; } /** * A helper holder class that can contain a {@link yfiles.graphml.Future.#value} of a specific type. @@ -4470,7 +4552,7 @@ declare namespace yfiles{ * @template T * @final */ - export interface Future extends Object,yfiles.lang.IPropertyObservable{} + export interface Future extends yfiles.lang.Object,yfiles.lang.IPropertyObservable{} export class Future { /** * Called when the {@link yfiles.graphml.Future.#value} property of this future has been determined. @@ -4482,7 +4564,7 @@ declare namespace yfiles{ */ onValueDetermined(value:T):void; /** - * The value of this future, which may only be queried if {@link yfiles.graphml.Future.#hasValue} yields true. + * Gets the value of this future, which may only be queried if {@link yfiles.graphml.Future.#hasValue} yields true. * @throws {Stubs.Exceptions.InvalidOperationError} If this property is queried although {@link yfiles.graphml.Future.#hasValue} returns false. * @type {T} */ @@ -4501,7 +4583,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graphml.Future.#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when a property value changes. *

@@ -4511,8 +4593,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graphml.Future.#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.Future; } /** * Class for reading/writing graphs from/to GraphML format. @@ -4521,7 +4604,7 @@ declare namespace yfiles{ *

* @class */ - export interface GraphMLIOHandler extends Object{} + export interface GraphMLIOHandler extends yfiles.lang.Object{} export class GraphMLIOHandler { /** * Creates a new instance of {@link yfiles.graphml.GraphMLIOHandler}. @@ -4556,7 +4639,7 @@ declare namespace yfiles{ * @param deserializationCallback custom deserialization callback. * @template TKey,TData */ - addInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; + addInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; /** * Register a {@link yfiles.collections.IMapper.} instance for use as an input data target. *

@@ -4587,7 +4670,7 @@ declare namespace yfiles{ * @returns A {@link } instance that wraps an {@link } that actually holds the data. * @template TKey,TData */ - addInputMapperFuture(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>; + addInputMapperFuture(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>; /** * Create a {@link yfiles.graphml.Future.} instance that wraps an {@link yfiles.collections.IMapper.} for use as an input data target. *

@@ -4628,7 +4711,7 @@ declare namespace yfiles{ * @param declaredKeyType The key type to write in the declaration. * @template TModelItem,TValue */ - addOutputMapper(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,uri:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void; + addOutputMapper(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,uri:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void; /** * Register a {@link yfiles.collections.IMapper.} instance for use as an output data source *

@@ -4661,7 +4744,7 @@ declare namespace yfiles{ * @returns A {@link } instance that wraps an {@link } that actually holds the data. * @template TKey,TData */ - addRegistryInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,tag:Object,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>; + addRegistryInputMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,tag:any,keyDefinitionPredicate:(obj:Element)=>boolean,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.Future>; /** * Create a {@link yfiles.graphml.Future.} instance that wraps an {@link yfiles.graphml.IInputHandler} that stores the data in an {@link yfiles.collections.IMapper.} that will be {@link yfiles.graphml.GraphMLIOHandler#createMapper created} in the * graph's {@link yfiles.graph.IMapperRegistry}. @@ -4692,7 +4775,7 @@ declare namespace yfiles{ * @param declaredKeyType The key type to write in the declaration. * @template TModelItem,TValue */ - addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,uri:string,tag:Object,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void; + addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,uri:string,tag:any,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void,declaredKeyType:yfiles.graphml.KeyType):void; /** * Use a registered {@link yfiles.collections.IMapper.} instance as source for the given GraphML attribute. * Type parameter TModelItem. @@ -4703,7 +4786,7 @@ declare namespace yfiles{ * @param tag The tag name of the mapper in the {@link } * @template TModelItem,TValue */ - addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,tag:Object):void; + addRegistryOutputMapper(modelItemType:yfiles.lang.Class,valueType:yfiles.lang.Class,name:string,tag:any):void; /** * Use a registered {@link yfiles.collections.IMapper.} instance as source for the given GraphML attribute. *

@@ -4714,7 +4797,7 @@ declare namespace yfiles{ * @param tag The tag name of the mapper in the {@link } * @param serializationCallback An optional serialization handler */ - addRegistryOutputMapper(name:string,uri:string,tag:Object,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; + addRegistryOutputMapper(name:string,uri:string,tag:any,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; /** * Use a registered {@link yfiles.collections.IMapper.} instance as source for the given GraphML attribute. *

@@ -4723,7 +4806,7 @@ declare namespace yfiles{ * @param name The GraphML name of the attribute * @param tag The tag name of the mapper in the {@link } */ - addRegistryOutputMapper(name:string,tag:Object):void; + addRegistryOutputMapper(name:string,tag:any):void; /** * Adds a schema location to the header of a GraphML file. * @param schemaNamespace The namespace URI for this schema location @@ -4759,7 +4842,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#createXamlNameMapper * @see yfiles.graphml.GraphMLIOHandler#addXamlNamespaceMapping */ - addXamlNamespaceMapping(xmlNamespace:string,module:Object):void; + addXamlNamespaceMapping(xmlNamespace:string,module:any):void; /** * Configure the predefined handlers for the {@link yfiles.graphml.GraphMLParser#addHandleDeserializationListener HandleDeserialization} * event. @@ -4982,7 +5065,7 @@ declare namespace yfiles{ * @protected * @template TKey,TData */ - createMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,context:yfiles.graphml.IParseContext,registryTag:Object):yfiles.collections.IMapper; + createMapper(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,context:yfiles.graphml.IParseContext,registryTag:any):yfiles.collections.IMapper; /** * Convenience factory method that can create an instance of several predefined {@link yfiles.graphml.IInputHandler} * implementations that match the provided TKey and TData. @@ -4996,7 +5079,7 @@ declare namespace yfiles{ * @template TKey,TData * @static */ - static createMapperInputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.MapperInputHandler; + static createMapperInputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,mapper:yfiles.collections.IMapper,deserializationCallback:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):yfiles.graphml.MapperInputHandler; /** * Convenience factory method that can create an instance of several predefined {@link yfiles.graphml.IOutputHandler} * implementations that match the provided TKey and TData. @@ -5011,7 +5094,7 @@ declare namespace yfiles{ * @template TKey,TData * @static */ - static createMapperOutputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):yfiles.graphml.MapperOutputHandler; + static createMapperOutputHandler(modelItemType:yfiles.lang.Class,dataType:yfiles.lang.Class,name:string,mapper:yfiles.collections.IMapper,serializationCallback:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):yfiles.graphml.MapperOutputHandler; /** * Configure mappings from CLR to XML names. *

@@ -5054,21 +5137,21 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleArraySerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleArraySerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization for enums. * @param sender The origin of the event. * @param evt The event handler arguments. * @protected */ - handleEnumSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleEnumSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of types that extend FrameworkTemplate. * @param sender The origin of the event. * @param evt The event handler arguments. * @protected */ - handleJSONDeserialization(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs):void; + handleJSONDeserialization(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs):void; /** * Handle the serialization of plain JavaScript object that can be serialized to JSON. *

@@ -5079,7 +5162,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleJSONSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleJSONSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of {@link yfiles.collections.IEnumerable.} instances. *

@@ -5089,7 +5172,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleListSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleListSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of {@link yfiles.graphml.MarkupExtension} convertible instances. *

@@ -5100,7 +5183,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleMarkupExtensionBasedSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleMarkupExtensionBasedSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of null references. *

@@ -5111,21 +5194,21 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleNullSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleNullSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of primitive types, enums and strings. * @param sender The origin of the event. * @param evt The event handler arguments. * @protected */ - handlePrimitivesDeserialization(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs):void; + handlePrimitivesDeserialization(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs):void; /** * Handle the serialization of primitive types, enums and strings. * @param sender The origin of the event. * @param evt The event handler arguments. * @protected */ - handlePrimitivesSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handlePrimitivesSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of {@link yfiles.graphml.IReferenceHandle} instances. *

@@ -5136,7 +5219,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleReferenceHandleSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleReferenceHandleSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of instances that can be serialized through a {@link yfiles.graphml.ValueSerializer}. *

@@ -5148,7 +5231,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleTextConvertibleSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleTextConvertibleSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Callback for the {@link yfiles.graphml.GraphMLParser#addHandleDeserializationListener HandleDeserialization} event. * @param source The source of the event. @@ -5156,7 +5239,7 @@ declare namespace yfiles{ * @see yfiles.graphml.HandleDeserializationEventArgs * @protected */ - handleTextNodeDeserialization(source:Object,evt:yfiles.graphml.HandleDeserializationEventArgs):void; + handleTextNodeDeserialization(source:any,evt:yfiles.graphml.HandleDeserializationEventArgs):void; /** * Handle the serialization of TypeExtensions. *

@@ -5166,7 +5249,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleTypeExtensionSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleTypeExtensionSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of Types. *

@@ -5176,7 +5259,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleTypeSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleTypeSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Handle the serialization of undefined references. *

@@ -5187,7 +5270,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleUndefinedSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleUndefinedSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Callback for the {@link yfiles.graphml.GraphMLParser#addHandleDeserializationListener HandleDeserialization} event. * @param source The source of the event. @@ -5195,7 +5278,7 @@ declare namespace yfiles{ * @see yfiles.graphml.HandleDeserializationEventArgs * @protected */ - handleXamlDeserialization(source:Object,evt:yfiles.graphml.HandleDeserializationEventArgs):void; + handleXamlDeserialization(source:any,evt:yfiles.graphml.HandleDeserializationEventArgs):void; /** * Handle the serialization of complex objects that are not handled by other callbacks. *

@@ -5206,7 +5289,7 @@ declare namespace yfiles{ * @param evt The event handler arguments. * @protected */ - handleXamlSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + handleXamlSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Checks whether the name attribute in definition matches name * @param definition The key definition to check @@ -5252,7 +5335,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onGraphMLParserHandleDeserialization(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs):void; + onGraphMLParserHandleDeserialization(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs):void; /** * Event handler for the {@link yfiles.graphml.GraphMLParser#addQueryInputHandlersListener QueryInputHandlers} event. *

@@ -5265,7 +5348,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onGraphMLParserQueryInputHandlers(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + onGraphMLParserQueryInputHandlers(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Event handler for the {@link yfiles.graphml.GraphMLWriter#addHandleSerializationListener HandleSerialization} event. *

@@ -5278,7 +5361,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onGraphMLWriterHandleSerialization(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs):void; + onGraphMLWriterHandleSerialization(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs):void; /** * Event handler for the {@link yfiles.graphml.GraphMLWriter#addQueryOutputHandlersListener QueryOutputHandlers} event. *

@@ -5291,7 +5374,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onGraphMLWriterQueryOutputHandlers(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + onGraphMLWriterQueryOutputHandlers(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Raises the {@link yfiles.graphml.GraphMLIOHandler#addHandleDeserializationListener HandleDeserialization} event. * @param evt The arguments for the {@link #addHandleDeserializationListener HandleDeserialization} @@ -5428,7 +5511,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerEdgeBendsInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerEdgeBendsInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes edge bends. *

@@ -5439,7 +5522,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerEdgeBendsOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerEdgeBendsOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads edge labels. *

@@ -5450,7 +5533,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerEdgeLabelsInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerEdgeLabelsInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes edge labels. *

@@ -5461,7 +5544,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerEdgeLabelsOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerEdgeLabelsOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads edge styles. *

@@ -5472,7 +5555,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerEdgeStyleInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerEdgeStyleInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes edge styles. *

@@ -5483,7 +5566,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerEdgeStyleOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerEdgeStyleOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads {@link yfiles.graph.IGraph} graph default settings. *

@@ -5494,7 +5577,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerGraphSettingsInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerGraphSettingsInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes the settings of a graph. *

@@ -5506,7 +5589,7 @@ declare namespace yfiles{ * @see yfiles.graphml.SerializationProperties#DISABLE_GRAPH_SETTINGS * @protected */ - registerGraphSettingsOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerGraphSettingsOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads node labels. *

@@ -5517,7 +5600,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerNodeLabelsInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerNodeLabelsInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes node labels. *

@@ -5528,7 +5611,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerNodeLabelsOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerNodeLabelsOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads node layouts. *

@@ -5539,7 +5622,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerNodeLayoutInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerNodeLayoutInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes node layouts. *

@@ -5550,7 +5633,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerNodeLayoutOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerNodeLayoutOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads node styles. *

@@ -5561,7 +5644,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerNodeStyleInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerNodeStyleInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes node styles. *

@@ -5572,7 +5655,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerNodeStyleOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerNodeStyleOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads port locations. *

@@ -5583,7 +5666,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerPortLocationInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerPortLocationInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes port locations. *

@@ -5594,7 +5677,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerPortLocationOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerPortLocationOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads port styles. *

@@ -5605,7 +5688,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerPortStyleInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerPortStyleInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes port styles. *

@@ -5616,7 +5699,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerPortStyleOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerPortStyleOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Predefined input handler that reads {@link yfiles.graph.ITagOwner} tags. *

@@ -5627,7 +5710,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerTagInputHandler(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; + registerTagInputHandler(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs):void; /** * Predefined output handler that writes {@link yfiles.graph.ITagOwner} tags. *

@@ -5638,7 +5721,7 @@ declare namespace yfiles{ * @param evt * @protected */ - registerTagOutputHandler(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; + registerTagOutputHandler(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs):void; /** * Writes the given graph object to a GraphML file with a given filename. * @param graph The Graph object that is to be written to a GraphML file. @@ -5646,12 +5729,12 @@ declare namespace yfiles{ */ write(graph:yfiles.graph.IGraph):Promise; /** - * true if schema descriptions should be written. + * Gets or sets whether schema descriptions should be written. * @type {boolean} */ writeXMLSchema:boolean; /** - * Whether to support object sharing on output. + * Gets or sets whether to support object sharing on output. *

* If enabled, multiple object references will be correctly represented in the output document, otherwise, each object * reference will be serialized independently. @@ -5663,7 +5746,7 @@ declare namespace yfiles{ */ writeSharedReferences:boolean; /** - * Whether to clear an existing graph instance before reading + * Gets or sets whether to clear an existing graph instance before reading *

* If set * totrue, an existing graph instance will be cleared before the graph is read into this instance, otherwise the loaded @@ -5682,7 +5765,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addResolveReferenceListener * @see yfiles.graphml.GraphMLIOHandler#removeOverrideResolveReferenceListener */ - addOverrideResolveReferenceListener(listener:(sender:Object,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; + addOverrideResolveReferenceListener(listener:(sender:any,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; /** * Removes the given listener for the OverrideResolveReference event that occurs before inline references are evaluated. *

@@ -5693,7 +5776,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addResolveReferenceListener * @see yfiles.graphml.GraphMLIOHandler#addOverrideResolveReferenceListener */ - removeOverrideResolveReferenceListener(listener:(sender:Object,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; + removeOverrideResolveReferenceListener(listener:(sender:any,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; /** * Adds the given listener for the ResolveReference event that occurs after references are evaluated. *

@@ -5704,7 +5787,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addOverrideResolveReferenceListener * @see yfiles.graphml.GraphMLIOHandler#removeResolveReferenceListener */ - addResolveReferenceListener(listener:(sender:Object,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; + addResolveReferenceListener(listener:(sender:any,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; /** * Removes the given listener for the ResolveReference event that occurs after references are evaluated. *

@@ -5715,7 +5798,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addOverrideResolveReferenceListener * @see yfiles.graphml.GraphMLIOHandler#addResolveReferenceListener */ - removeResolveReferenceListener(listener:(sender:Object,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; + removeResolveReferenceListener(listener:(sender:any,evt:yfiles.graphml.ResolveReferenceEventArgs)=>void):void; /** * Adds the given listener for the QueryReferenceId event that occurs when a reference is queried. *

@@ -5731,7 +5814,7 @@ declare namespace yfiles{ * @see yfiles.graphml.QueryReferenceIdEventArgs#referenceType * @see yfiles.graphml.GraphMLIOHandler#removeQueryReferenceIdListener */ - addQueryReferenceIdListener(listener:(sender:Object,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; + addQueryReferenceIdListener(listener:(sender:any,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; /** * Removes the given listener for the QueryReferenceId event that occurs when a reference is queried. *

@@ -5747,7 +5830,7 @@ declare namespace yfiles{ * @see yfiles.graphml.QueryReferenceIdEventArgs#referenceType * @see yfiles.graphml.GraphMLIOHandler#addQueryReferenceIdListener */ - removeQueryReferenceIdListener(listener:(sender:Object,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; + removeQueryReferenceIdListener(listener:(sender:any,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; /** * Adds the given listener for the Written event that occurs when the writing of a document has been finished. * @param listener The listener to add. @@ -5755,7 +5838,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#addWrittenListener * @see yfiles.graphml.GraphMLIOHandler#removeWrittenListener */ - addWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the Written event that occurs when the writing of a document has been finished. * @param listener The listener to remove. @@ -5763,7 +5846,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#addWrittenListener * @see yfiles.graphml.GraphMLIOHandler#addWrittenListener */ - removeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the Writing event that occurs when the writing of a document is just about to begin. *

@@ -5775,7 +5858,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#addWritingListener * @see yfiles.graphml.GraphMLIOHandler#removeWritingListener */ - addWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the Writing event that occurs when the writing of a document is just about to begin. *

@@ -5787,25 +5870,25 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#addWritingListener * @see yfiles.graphml.GraphMLIOHandler#addWritingListener */ - removeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Gets the mapper for the overrides of the serialization properties. *

* Using this mapper {@link yfiles.graphml.IWriteContext#getSerializationProperty serialization properties} can be specified. *

* @see yfiles.graphml.GraphMLIOHandler#configureSerializationPropertyOverrides - * @type {yfiles.collections.IMap.} + * @type {yfiles.collections.IMap.} */ - serializationPropertyOverrides:yfiles.collections.IMap; + serializationPropertyOverrides:yfiles.collections.IMap; /** * Gets the mapper for the overrides of the deserialization properties. *

* Using this mapper {@link yfiles.graphml.IParseContext#getDeserializationProperty deserialization properties} can be specified. *

* @see yfiles.graphml.GraphMLIOHandler#configureDeserializationPropertyOverrides - * @type {yfiles.collections.IMap.} + * @type {yfiles.collections.IMap.} */ - deserializationPropertyOverrides:yfiles.collections.IMap; + deserializationPropertyOverrides:yfiles.collections.IMap; /** * Adds the given listener for the QueryType event that occurs when a type is queried. *

@@ -5815,7 +5898,7 @@ declare namespace yfiles{ * @see yfiles.graphml.QueryTypeEventArgs * @see yfiles.graphml.GraphMLIOHandler#removeQueryTypeListener */ - addQueryTypeListener(listener:(sender:Object,evt:yfiles.graphml.QueryTypeEventArgs)=>void):void; + addQueryTypeListener(listener:(sender:any,evt:yfiles.graphml.QueryTypeEventArgs)=>void):void; /** * Removes the given listener for the QueryType event that occurs when a type is queried. *

@@ -5825,7 +5908,7 @@ declare namespace yfiles{ * @see yfiles.graphml.QueryTypeEventArgs * @see yfiles.graphml.GraphMLIOHandler#addQueryTypeListener */ - removeQueryTypeListener(listener:(sender:Object,evt:yfiles.graphml.QueryTypeEventArgs)=>void):void; + removeQueryTypeListener(listener:(sender:any,evt:yfiles.graphml.QueryTypeEventArgs)=>void):void; /** * Adds the given listener for the QueryName event that occurs when a name is queried. *

@@ -5842,7 +5925,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graphml.GraphMLIOHandler#removeQueryNameListener */ - addQueryNameListener(listener:(sender:Object,evt:yfiles.graphml.QueryNameEventArgs)=>void):void; + addQueryNameListener(listener:(sender:any,evt:yfiles.graphml.QueryNameEventArgs)=>void):void; /** * Removes the given listener for the QueryName event that occurs when a name is queried. *

@@ -5859,7 +5942,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graphml.GraphMLIOHandler#addQueryNameListener */ - removeQueryNameListener(listener:(sender:Object,evt:yfiles.graphml.QueryNameEventArgs)=>void):void; + removeQueryNameListener(listener:(sender:any,evt:yfiles.graphml.QueryNameEventArgs)=>void):void; /** * Adds the given listener for the HandleSerialization event that occurs when XML content is about to be serialized. *

@@ -5875,7 +5958,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graphml.GraphMLIOHandler#removeHandleSerializationListener */ - addHandleSerializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; + addHandleSerializationListener(listener:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; /** * Removes the given listener for the HandleSerialization event that occurs when XML content is about to be serialized. *

@@ -5891,7 +5974,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graphml.GraphMLIOHandler#addHandleSerializationListener */ - removeHandleSerializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; + removeHandleSerializationListener(listener:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; /** * Adds the given listener for the QueryOutputHandlers event that occurs when a GraphML attribute is about to be written. *

@@ -5909,7 +5992,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graphml.GraphMLIOHandler#removeQueryOutputHandlersListener */ - addQueryOutputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; + addQueryOutputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; /** * Removes the given listener for the QueryOutputHandlers event that occurs when a GraphML attribute is about to be * written. @@ -5928,7 +6011,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graphml.GraphMLIOHandler#addQueryOutputHandlersListener */ - removeQueryOutputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; + removeQueryOutputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; /** * Adds the given listener for the Parsed event that occurs when the the document has been parsed. * @param listener The listener to add. @@ -5936,7 +6019,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addParsedListener * @see yfiles.graphml.GraphMLIOHandler#removeParsedListener */ - addParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the Parsed event that occurs when the the document has been parsed. * @param listener The listener to remove. @@ -5944,7 +6027,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addParsedListener * @see yfiles.graphml.GraphMLIOHandler#addParsedListener */ - removeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the Parsing event that occurs when the parsing of a document is just about to begin. *

@@ -5956,7 +6039,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addParsingListener * @see yfiles.graphml.GraphMLIOHandler#removeParsingListener */ - addParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the Parsing event that occurs when the parsing of a document is just about to begin. *

@@ -5968,7 +6051,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addParsingListener * @see yfiles.graphml.GraphMLIOHandler#addParsingListener */ - removeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the QueryInputHandlers event that occurs when a GraphML attribute is about to be read. *

@@ -5984,7 +6067,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addQueryInputHandlersListener * @see yfiles.graphml.GraphMLIOHandler#removeQueryInputHandlersListener */ - addQueryInputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; + addQueryInputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; /** * Removes the given listener for the QueryInputHandlers event that occurs when a GraphML attribute is about to be read. *

@@ -6000,7 +6083,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addQueryInputHandlersListener * @see yfiles.graphml.GraphMLIOHandler#addQueryInputHandlersListener */ - removeQueryInputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; + removeQueryInputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; /** * Adds the given listener for the HandleDeserialization event that occurs when XML content is about to be deserialized. *

@@ -6017,7 +6100,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addHandleDeserializationListener * @see yfiles.graphml.GraphMLIOHandler#removeHandleDeserializationListener */ - addHandleDeserializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; + addHandleDeserializationListener(listener:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; /** * Removes the given listener for the HandleDeserialization event that occurs when XML content is about to be * deserialized. @@ -6035,16 +6118,17 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#addHandleDeserializationListener * @see yfiles.graphml.GraphMLIOHandler#addHandleDeserializationListener */ - removeHandleDeserializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; + removeHandleDeserializationListener(listener:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLIOHandler; } /** * Interface for factory classes for {@link yfiles.graphml.IInputHandler} creation. * @interface */ - export interface IGenericInputHandlerFactory extends Object{ + export interface IGenericInputHandlerFactory extends yfiles.lang.Object{ /** - * Create an {@link yfiles.graphml.IInputHandler} instance based on the given args. + * Create an {@link yfiles.graphml.IInputHandler} instance based on the given evt. * @param keyType The key type as inferred by the caller from the GraphML contents. * @param valueType The type of the value as inferred by the caller from the GraphML contents. * @param evt The event argument that is used like in @@ -6056,18 +6140,18 @@ declare namespace yfiles{ } var IGenericInputHandlerFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IGenericInputHandlerFactory; }; /** * * @class */ - export interface GraphMLSupport extends Object{} + export interface GraphMLSupport extends yfiles.lang.Object{} export class GraphMLSupport { /** * Creates a new instance of this class. *

- * Optionally calls {@link yfiles.graphml.GraphMLSupport#registerCommands}, if graphControl is given. + * Optionally calls {@link yfiles.graphml.GraphMLSupport#registerCommands}, if graphComponent is given. *

* @param [graphComponent=null] The {@link } that the {@link #OPEN} and {@link #SAVE} commands are * registered on. @@ -6076,7 +6160,7 @@ declare namespace yfiles{ /** * Creates a new instance of this class. *

- * Optionally calls {@link yfiles.graphml.GraphMLSupport#registerCommands}, if graphControl is given. + * Optionally calls {@link yfiles.graphml.GraphMLSupport#registerCommands}, if graphComponent is given. *

* @param {Object} options The parameters to pass. * @param [options.graphComponent=null] The {@link } that the {@link #OPEN} and {@link #SAVE} commands are @@ -6127,7 +6211,8 @@ declare namespace yfiles{ * Default implementation of {@link yfiles.input.ICommand#OPEN} that shows a {@link yfiles.graphml.GraphMLSupport#createOpenFileInputElement open file dialog} and imports the GraphML. *

* This method is called in response to the {@link yfiles.input.ICommand#OPEN} command if {@link yfiles.graphml.GraphMLSupport#storageLocation} is set to a value different from - * {@link yfiles.graphml.StorageLocation#NONE}. + * {@link yfiles.graphml.StorageLocation#NONE}. It delegates to {@link yfiles.graphml.GraphMLSupport#openFile}, then calls {@link yfiles.view.GraphComponent#fitGraphBounds} + * on the loaded graph and eventually clears the {@link yfiles.graph.UndoEngine} of the graphComponent. *

*

* Any exception thrown during loading of the GraphML file will reject the promise. @@ -6143,11 +6228,7 @@ declare namespace yfiles{ */ openFile(graphComponent:yfiles.view.GraphComponent,storageLocation?:yfiles.graphml.StorageLocation):Promise; /** - * Default implementation of {@link yfiles.input.ICommand#OPEN} that shows a {@link yfiles.graphml.GraphMLSupport#createOpenFileInputElement open file dialog} and imports the GraphML. - *

- * This method is called in response to the {@link yfiles.input.ICommand#OPEN} command if {@link yfiles.graphml.GraphMLSupport#storageLocation} is set to a value different from - * {@link yfiles.graphml.StorageLocation#NONE}. - *

+ * Opens an {@link yfiles.graphml.GraphMLSupport#createOpenFileInputElement open file dialog} and imports the GraphML. *

* Any exception thrown during loading of the GraphML file will be caught and an error message displayed to the user. For * more control over error behaviour it is recommended to use {@link yfiles.graphml.GraphMLSupport#graphMLIOHandler} directly, e.g. from a custom command handler. @@ -6163,7 +6244,7 @@ declare namespace yfiles{ */ openFile(graph:yfiles.graph.IGraph,storageLocation?:yfiles.graphml.StorageLocation):Promise; /** - * Registers bindings for {@link yfiles.input.ICommand#OPEN} and {@link yfiles.input.ICommand#SAVE} on the given graphControl. + * Registers bindings for {@link yfiles.input.ICommand#OPEN} and {@link yfiles.input.ICommand#SAVE} on the given graphComponent. * @param graphComponent The {@link } to register the command bindings on. */ registerCommands(graphComponent:yfiles.view.GraphComponent):void; @@ -6187,7 +6268,7 @@ declare namespace yfiles{ */ saveFile(graph:yfiles.graph.IGraph,storageLocation?:yfiles.graphml.StorageLocation):Promise; /** - * The {@link yfiles.graphml.GraphMLSupport#graphMLIOHandler} to use for the various I/O methods in this instance. + * Gets or sets the {@link yfiles.graphml.GraphMLSupport#graphMLIOHandler} to use for the various I/O methods in this instance. * @type {yfiles.graphml.GraphMLIOHandler} */ graphMLIOHandler:yfiles.graphml.GraphMLIOHandler; @@ -6220,6 +6301,7 @@ declare namespace yfiles{ */ storageLocation:yfiles.graphml.StorageLocation; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLSupport; } export enum StorageLocation{ /** @@ -6256,7 +6338,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graphml.IParseContext} */ - export interface ChildParseContext extends Object,yfiles.graphml.IParseContext{} + export interface ChildParseContext extends yfiles.lang.Object,yfiles.graphml.IParseContext{} export class ChildParseContext { /** * Initializes a new instance of the {@link yfiles.graphml.ChildParseContext} class that delegates to the provided context and adds @@ -6264,7 +6346,7 @@ declare namespace yfiles{ * @param parentContext The parent context. * @param currentObject The current object to add to the {@link #objectStack} and return in {@link #getCurrent}. */ - constructor(parentContext:yfiles.graphml.IParseContext,currentObject:Object); + constructor(parentContext:yfiles.graphml.IParseContext,currentObject:any); /** * Initializes a new instance of the {@link yfiles.graphml.ChildParseContext} class that delegates to the provided context. * @param parentContext The parent context. @@ -6293,13 +6375,13 @@ declare namespace yfiles{ * @param key * @returns */ - getDeserializationProperty(key:string):Object; + getDeserializationProperty(key:string):any; /** * * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Removes a previously locally {@link yfiles.graphml.ChildParseContext#setDeserializationProperty set} deserialization property. * @param key The key for which the local property override should be removed. @@ -6317,7 +6399,7 @@ declare namespace yfiles{ * @param key The key to override. * @param value The value. */ - setDeserializationProperty(key:string,value:Object):void; + setDeserializationProperty(key:string,value:any):void; /** * Adds another lookup result to the local lookup override. * Type parameter T: The type to use as a key for the lookup. @@ -6334,9 +6416,9 @@ declare namespace yfiles{ parentContext:yfiles.graphml.IParseContext; /** * - * @type {yfiles.collections.IListEnumerable.} + * @type {yfiles.collections.IListEnumerable.} */ - objectStack:yfiles.collections.IListEnumerable; + objectStack:yfiles.collections.IListEnumerable; /** * * @type {yfiles.graphml.IParseEvents} @@ -6348,9 +6430,10 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.ChildParseContext; } /** - * A simple mutable implementation of {@link yfiles.collections.IMapper.} that is typed for {@link Object} keys and values. + * A simple mutable implementation of {@link yfiles.collections.IMapper.} that is typed for {@link any} keys and values. *

* This class is used by the {@link yfiles.graphml.GraphMLParser} to store properties of an item before it has been created. An * instance of this class can be found in the {@link yfiles.graph.ILookup#lookup} of the {@link yfiles.graphml.IParseContext} during the @@ -6360,9 +6443,9 @@ declare namespace yfiles{ * @see yfiles.graphml.IGraphElementFactory * @see yfiles.graphml.GraphMLParser * @class - * @implements {yfiles.collections.IMapper.} + * @implements {yfiles.collections.IMapper.} */ - export interface CreationProperties extends Object,yfiles.collections.IMapper{} + export interface CreationProperties extends yfiles.lang.Object,yfiles.collections.IMapper{} export class CreationProperties { constructor(); /** @@ -6375,19 +6458,19 @@ declare namespace yfiles{ * @returns The value stored for the key. * @see yfiles.graphml.CreationProperties#set */ - get(key:Object):Object; + get(key:any):any; /** * Removes the associated entry for the given key * @param key The entry key to remove. */ - removeValue(key:Object):void; + removeValue(key:any):void; /** * Sets the value associated with the specified key. * @param key The key. * @param value The value stored for the key. * @see yfiles.graphml.CreationProperties#get */ - set(key:Object,value:Object):void; + set(key:any,value:any):void; /** * Creation property key that tags group node information. *

@@ -6435,7 +6518,7 @@ declare namespace yfiles{ /** * Creation property key that tags {@link yfiles.graph.ITagOwner#tag tag} object information. *

- * Stores values of type {@link Object}. + * Stores values of type {@link any}. *

* @see yfiles.graphml.IGraphElementFactory * @const @@ -6467,10 +6550,11 @@ declare namespace yfiles{ static PORT_LOCATION_MODEL_PARAMETER:string; /** * Gets all the entries stored by this instance. - * @type {yfiles.collections.IEnumerable.>} + * @type {yfiles.collections.IEnumerable.>} */ - entries:yfiles.collections.IEnumerable>; + entries:yfiles.collections.IEnumerable>; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.CreationProperties; } /** * Core parser class for GraphML. @@ -6482,7 +6566,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler * @class */ - export interface GraphMLParser extends Object{} + export interface GraphMLParser extends yfiles.lang.Object{} export class GraphMLParser { constructor(); /** @@ -6515,7 +6599,7 @@ declare namespace yfiles{ * @returns * @see yfiles.graphml.IParseContext#getDeserializationProperty */ - getDeserializationProperty(key:string):Object; + getDeserializationProperty(key:string):any; /** * Dynamically retrieve all {@link yfiles.graphml.IInputHandler} instances that process a GraphML attribute with key definition * keyDefinition. @@ -6534,7 +6618,7 @@ declare namespace yfiles{ * @param type The type for which an implementation is needed. * @returns An implementation of type, or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Fires the {@link yfiles.graphml.GraphMLParser#addHandleDeserializationListener HandleDeserialization} event. * @param evt The arguments that get passed to the {@link #addHandleDeserializationListener HandleDeserialization} @@ -6618,7 +6702,7 @@ declare namespace yfiles{ * @param value The property value. * @see yfiles.graphml.IParseContext#getDeserializationProperty */ - setDeserializationProperty(key:string,value:Object):void; + setDeserializationProperty(key:string,value:any):void; /** * Register an implementation of T for use with {@link yfiles.graphml.GraphMLParser#lookup}. * Type parameter T: The type of instance. @@ -6641,7 +6725,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addQueryInputHandlersListener * @see yfiles.graphml.GraphMLParser#removeQueryInputHandlersListener */ - addQueryInputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; + addQueryInputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; /** * Removes the given listener for the QueryInputHandlers event that occurs when {@link yfiles.graphml.IInputHandler}s are queried. *

@@ -6656,7 +6740,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addQueryInputHandlersListener * @see yfiles.graphml.GraphMLParser#addQueryInputHandlersListener */ - removeQueryInputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; + removeQueryInputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryInputHandlersEventArgs)=>void):void; /** * Adds the given listener for the HandleDeserialization event that occurs when XML content is about to be deserialized. *

@@ -6673,7 +6757,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addHandleDeserializationListener * @see yfiles.graphml.GraphMLParser#removeHandleDeserializationListener */ - addHandleDeserializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; + addHandleDeserializationListener(listener:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; /** * Removes the given listener for the HandleDeserialization event that occurs when XML content is about to be * deserialized. @@ -6691,21 +6775,21 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addHandleDeserializationListener * @see yfiles.graphml.GraphMLParser#addHandleDeserializationListener */ - removeHandleDeserializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; + removeHandleDeserializationListener(listener:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void):void; /** * Adds the given listener for the Parsed event that occurs when the the document has been parsed. * @param listener The listener to add. * @see yfiles.graphml.GraphMLParser#onParsed * @see yfiles.graphml.GraphMLParser#removeParsedListener */ - addParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the Parsed event that occurs when the the document has been parsed. * @param listener The listener to remove. * @see yfiles.graphml.GraphMLParser#onParsed * @see yfiles.graphml.GraphMLParser#addParsedListener */ - removeParsedListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeParsedListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Adds the given listener for the Parsing event that occurs when the parsing of the document is just about to begin. *

@@ -6716,7 +6800,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#onParsing * @see yfiles.graphml.GraphMLParser#removeParsingListener */ - addParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + addParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; /** * Removes the given listener for the Parsing event that occurs when the parsing of the document is just about to begin. *

@@ -6727,8 +6811,9 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLParser#onParsing * @see yfiles.graphml.GraphMLParser#addParsingListener */ - removeParsingListener(listener:(sender:Object,evt:yfiles.graphml.ParseEventArgs)=>void):void; + removeParsingListener(listener:(sender:any,evt:yfiles.graphml.ParseEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLParser; } /** * The event arguments used by {@link yfiles.graphml.GraphMLIOHandler#addHandleDeserializationListener HandleDeserialization} @@ -6759,14 +6844,14 @@ declare namespace yfiles{ */ targetType:yfiles.lang.Class; /** - * Holds the result of the deserialization, which is null initially. + * Gets or sets the result of the deserialization, which is null initially. *

* Setting this property will automatically set the {@link yfiles.graphml.HandleDeserializationEventArgs#handled} property to true. *

* @throws {Stubs.Exceptions.ArgumentError} If the value is not assignable to {@link yfiles.graphml.HandleDeserializationEventArgs#targetType} - * @type {Object} + * @type {any} */ - result:Object; + result:any; /** * Gets or sets a value indicating whether this {@link yfiles.graphml.HandleDeserializationEventArgs} is handled. *

@@ -6787,6 +6872,7 @@ declare namespace yfiles{ */ xmlNode:Node; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.HandleDeserializationEventArgs; } /** * This is the interface for a factory that is used for creating the constituents of an {@link yfiles.graph.IGraph} that are @@ -6794,7 +6880,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#createGraphElementFactory * @interface */ - export interface IGraphElementFactory extends Object{ + export interface IGraphElementFactory extends yfiles.lang.Object{ /** * Adds a new port to the given {@link yfiles.graph.IPortOwner}. * @param context The context from which the graph, the {@link }, and the {@link #objectStack} can be queried. @@ -6824,13 +6910,13 @@ declare namespace yfiles{ } var IGraphElementFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IGraphElementFactory; }; /** * Interface for classes that can store the GraphML id attribute of GraphML core elements * @interface */ - export interface IGraphElementIdAcceptor extends Object{ + export interface IGraphElementIdAcceptor extends yfiles.lang.Object{ /** * Store the value of the id attribute for the given edge. * @param context The current parse context. @@ -6866,7 +6952,7 @@ declare namespace yfiles{ } var IGraphElementIdAcceptor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IGraphElementIdAcceptor; }; /** * Simple implementation of {@link yfiles.graphml.IGraphElementIdAcceptor} and {@link yfiles.graphml.IGraphElementIdProvider} that stores @@ -6875,7 +6961,7 @@ declare namespace yfiles{ * @implements {yfiles.graphml.IGraphElementIdAcceptor} * @implements {yfiles.graphml.IGraphElementResolver} */ - export interface GraphElementIdAcceptor extends Object,yfiles.graphml.IGraphElementIdAcceptor,yfiles.graphml.IGraphElementResolver{} + export interface GraphElementIdAcceptor extends yfiles.lang.Object,yfiles.graphml.IGraphElementIdAcceptor,yfiles.graphml.IGraphElementResolver{} export class GraphElementIdAcceptor { constructor(); /** @@ -6943,32 +7029,33 @@ declare namespace yfiles{ */ storePortId(context:yfiles.graphml.IParseContext,port:yfiles.graph.IPort,id:string):void; /** - * Return a mapping between all GraphML ids for <graph> elements and the corresponding {@link yfiles.graph.IGraph} instances + * Gets a mapping between all GraphML ids for <graph> elements and the corresponding {@link yfiles.graph.IGraph} instances * @type {yfiles.collections.IMap.} */ graphIds:yfiles.collections.IMap; /** - * Return a mapping between all GraphML ids for <node> elements and the corresponding {@link yfiles.graph.INode} instances + * Gets a mapping between all GraphML ids for <node> elements and the corresponding {@link yfiles.graph.INode} instances * @type {yfiles.collections.IMap.} */ nodeIds:yfiles.collections.IMap; /** - * Return a mapping between all GraphML ids for <edge> elements and the corresponding {@link yfiles.graph.IEdge} instances + * Gets a mapping between all GraphML ids for <edge> elements and the corresponding {@link yfiles.graph.IEdge} instances * @type {yfiles.collections.IMap.} */ edgeIds:yfiles.collections.IMap; /** - * Return a mapping between all GraphML ids for <port> elements and the corresponding {@link yfiles.graph.IPort} instances + * Gets a mapping between all GraphML ids for <port> elements and the corresponding {@link yfiles.graph.IPort} instances * @type {yfiles.collections.IMap.} */ portIds:yfiles.collections.IMap; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphElementIdAcceptor; } /** * Interface for classes can resolve graph elements based on their GraphML id attribute(s). * @interface */ - export interface IGraphElementResolver extends Object{ + export interface IGraphElementResolver extends yfiles.lang.Object{ /** * Resolve the GraphML id to an {@link yfiles.graph.IEdge} instance. * @param context The current parse context. @@ -7008,13 +7095,13 @@ declare namespace yfiles{ } var IGraphElementResolver:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IGraphElementResolver; }; /** * This class defines a handler for key/data elements. * @interface */ - export interface IInputHandler extends Object{ + export interface IInputHandler extends yfiles.lang.Object{ /** * This method is invoked when no data tag is defined, and the default value should be applied. * @param context the current parse context. @@ -7037,7 +7124,7 @@ declare namespace yfiles{ } var IInputHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IInputHandler; }; export enum ParsePrecedence{ /** @@ -7077,7 +7164,7 @@ declare namespace yfiles{ * @implements {yfiles.graphml.IInputHandler} * @template TKey,TData */ - export interface InputHandlerBase extends Object,yfiles.graphml.IInputHandler{} + export interface InputHandlerBase extends yfiles.lang.Object,yfiles.graphml.IInputHandler{} export class InputHandlerBase { /** * Initializes a new instance of the {@link yfiles.graphml.InputHandlerBase.} class. @@ -7175,6 +7262,7 @@ declare namespace yfiles{ */ precedence:yfiles.graphml.ParsePrecedence; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.InputHandlerBase; } /** * An {@link yfiles.graphml.IInputHandler} implementation that uses an {@link yfiles.collections.IMapper.} instance to associate the values with the keys. @@ -7204,7 +7292,7 @@ declare namespace yfiles{ * @see yfiles.graphml.MapperInputHandler.#deserializerTargetType * @see yfiles.graphml.MapperInputHandler.#deserializer */ - constructor(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,deserializer:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void,deserializerTargetType?:yfiles.lang.Class); + constructor(keyType:yfiles.lang.Class,dataType:yfiles.lang.Class,deserializer:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void,deserializerTargetType?:yfiles.lang.Class); /** * Initializes a new instance of the {@link yfiles.graphml.MapperInputHandler.} class that uses the {@link yfiles.graphml.IParseContext} for deserialization. *

@@ -7243,8 +7331,7 @@ declare namespace yfiles{ */ overrideDefaultValue:boolean; /** - * Controls the behavior of {@link yfiles.graphml.MapperInputHandler.#getDeserializationXmlNode} to return either the 'data'/'default' element itself or its - * content. + * Gets or sets whether {@link yfiles.graphml.MapperInputHandler.#getDeserializationXmlNode} returns either the 'data'/'default' element itself or its content. *

* The default value is false, meaning that {@link yfiles.graphml.MapperInputHandler.#getDeserializationXmlNode} should return the content of the 'data'/'default' * node. @@ -7255,15 +7342,16 @@ declare namespace yfiles{ useParentElementForDeserialization:boolean; /** * Gets or sets the deserializer. - * @type {function(Object, yfiles.graphml.HandleDeserializationEventArgs): void} + * @type {function(any, yfiles.graphml.HandleDeserializationEventArgs): void} */ - deserializer:(sender:Object,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void; + deserializer:(sender:any,evt:yfiles.graphml.HandleDeserializationEventArgs)=>void; /** * Gets or sets the target deserialization type for the {@link yfiles.graphml.HandleDeserializationEventArgs#targetType} property. * @type {yfiles.lang.Class} */ deserializerTargetType:yfiles.lang.Class; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.MapperInputHandler; } /** * Specialized {@link yfiles.lang.EventArgs} that are used for dynamic {@link yfiles.graphml.IInputHandler} registration. @@ -7291,7 +7379,7 @@ declare namespace yfiles{ */ addInputHandler(handler:yfiles.graphml.IInputHandler):void; /** - * The key definition of the GraphML attribute. + * Gets the key definition of the GraphML attribute. *

* This XML element should be queried to determine if an {@link yfiles.graphml.IInputHandler} should be registered with * {@link yfiles.graphml.QueryInputHandlersEventArgs#addInputHandler} @@ -7300,7 +7388,7 @@ declare namespace yfiles{ */ keyDefinition:Element; /** - * Set or query whether the current GraphML attribute has been processed. + * Gets or sets whether the current GraphML attribute has been processed. *

* This is automatically set by calling * {@link yfiles.graphml.QueryInputHandlersEventArgs#addInputHandler}, so it should be seldom necessary to set this property @@ -7310,16 +7398,17 @@ declare namespace yfiles{ */ handled:boolean; /** - * The {@link yfiles.graphml.IParseContext} instance that can queried for further information. + * Gets the {@link yfiles.graphml.IParseContext} instance that can queried for further information. * @type {yfiles.graphml.IParseContext} */ context:yfiles.graphml.IParseContext; /** - * The {@link yfiles.graphml.IInputHandler}s that have been registered on this event argument instance so far. + * Gets the {@link yfiles.graphml.IInputHandler}s that have been registered on this event argument instance so far. * @type {yfiles.collections.IEnumerable.} */ handlers:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.QueryInputHandlersEventArgs; } /** * An {@link yfiles.graphml.IWriteContext} implementation for use in the context of {@link yfiles.graphml.GraphMLWriter} that wraps a given @@ -7331,7 +7420,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graphml.IWriteContext} */ - export interface ChildWriteContext extends Object,yfiles.graphml.IWriteContext{} + export interface ChildWriteContext extends yfiles.lang.Object,yfiles.graphml.IWriteContext{} export class ChildWriteContext { /** * Initializes a new instance of the {@link yfiles.graphml.ChildWriteContext} class that delegates to the provided context and @@ -7339,7 +7428,7 @@ declare namespace yfiles{ * @param parentContext The parent context to delegate calls to. * @param currentObject The current object to return in {@link #getCurrent}. */ - constructor(parentContext:yfiles.graphml.IWriteContext,currentObject:Object); + constructor(parentContext:yfiles.graphml.IWriteContext,currentObject:any); /** * Initializes a new instance of the {@link yfiles.graphml.ChildWriteContext} class that delegates to the given parent context. * @param parentContext The parent context. @@ -7358,13 +7447,13 @@ declare namespace yfiles{ * @param key * @returns */ - getSerializationProperty(key:string):Object; + getSerializationProperty(key:string):any; /** * * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Removes a local lookup override that has been added using {@link yfiles.graphml.ChildWriteContext#setLookup} * Type parameter T: The type key to remove. @@ -7400,12 +7489,12 @@ declare namespace yfiles{ * @param key The key to override. * @param value The value. */ - setSerializationProperty(key:string,value:Object):void; + setSerializationProperty(key:string,value:any):void; /** * - * @type {yfiles.collections.IListEnumerable.} + * @type {yfiles.collections.IListEnumerable.} */ - objectStack:yfiles.collections.IListEnumerable; + objectStack:yfiles.collections.IListEnumerable; /** * * @type {yfiles.graphml.IWriteEvents} @@ -7430,6 +7519,7 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.ChildWriteContext; } /** * Core writer class for GraphML. @@ -7441,7 +7531,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler * @class */ - export interface GraphMLWriter extends Object{} + export interface GraphMLWriter extends yfiles.lang.Object{} export class GraphMLWriter { constructor(); /** @@ -7470,14 +7560,14 @@ declare namespace yfiles{ * @returns * @see yfiles.graphml.IWriteContext#getSerializationProperty */ - getSerializationProperty(key:string):Object; + getSerializationProperty(key:string):any; /** * Dynamically retrieve an instance of type. * @param type The type for which an implementation is needed. * @returns An implementation of type, or null. * @protected */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Fires the {@link yfiles.graphml.GraphMLWriter#addHandleSerializationListener HandleSerialization} event. * @param evt The arguments that get passed to the {@link #addHandleSerializationListener HandleSerialization} @@ -7569,7 +7659,7 @@ declare namespace yfiles{ * @param value The property value. * @see yfiles.graphml.IWriteContext#getSerializationProperty */ - setSerializationProperty(key:string,value:Object):void; + setSerializationProperty(key:string,value:any):void; /** * Write the GraphML representation of graph, using writer for the actual XML generation. *

@@ -7596,7 +7686,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addHandleSerializationListener * @see yfiles.graphml.GraphMLWriter#removeHandleSerializationListener */ - addHandleSerializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; + addHandleSerializationListener(listener:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; /** * Removes the given listener for the HandleSerialization event that occurs when XML content is about to be serialized. *

@@ -7613,7 +7703,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addHandleSerializationListener * @see yfiles.graphml.GraphMLWriter#addHandleSerializationListener */ - removeHandleSerializationListener(listener:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; + removeHandleSerializationListener(listener:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void):void; /** * Adds the given listener for the QueryOutputHandlers event that occurs when {@link yfiles.graphml.IOutputHandler}s are queried. *

@@ -7632,7 +7722,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addQueryOutputHandlersListener * @see yfiles.graphml.GraphMLWriter#removeQueryOutputHandlersListener */ - addQueryOutputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; + addQueryOutputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; /** * Removes the given listener for the QueryOutputHandlers event that occurs when * {@link yfiles.graphml.IOutputHandler}s are queried. @@ -7652,7 +7742,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addQueryOutputHandlersListener * @see yfiles.graphml.GraphMLWriter#addQueryOutputHandlersListener */ - removeQueryOutputHandlersListener(listener:(sender:Object,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; + removeQueryOutputHandlersListener(listener:(sender:any,evt:yfiles.graphml.QueryOutputHandlersEventArgs)=>void):void; /** * Adds the given listener for the QueryReferenceId event that occurs when a reference is queried. *

@@ -7665,7 +7755,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addQueryReferenceIdListener * @see yfiles.graphml.GraphMLWriter#removeQueryReferenceIdListener */ - addQueryReferenceIdListener(listener:(sender:Object,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; + addQueryReferenceIdListener(listener:(sender:any,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; /** * Removes the given listener for the QueryReferenceId event that occurs when a reference is queried. *

@@ -7678,9 +7768,9 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLIOHandler#addQueryReferenceIdListener * @see yfiles.graphml.GraphMLWriter#addQueryReferenceIdListener */ - removeQueryReferenceIdListener(listener:(sender:Object,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; + removeQueryReferenceIdListener(listener:(sender:any,evt:yfiles.graphml.QueryReferenceIdEventArgs)=>void):void; /** - * This property allows to access the events in the internal {@link yfiles.graphml.IWriteEvents} implementation. + * Gets the events in the internal {@link yfiles.graphml.IWriteEvents} implementation. *

* You can subscribe to any of the events in the returned {@link yfiles.graphml.IWriteEvents} instance to react to various steps in * the writing process @@ -7694,14 +7784,14 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#onWritten * @see yfiles.graphml.GraphMLWriter#removeWrittenListener */ - addWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the Written event that occurs when the writing of a document has just been finished. * @param listener The listener to remove. * @see yfiles.graphml.GraphMLWriter#onWritten * @see yfiles.graphml.GraphMLWriter#addWrittenListener */ - removeWrittenListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeWrittenListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Adds the given listener for the Writing event that occurs when the writing of a document is just about to begin. *

@@ -7712,7 +7802,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#onWriting * @see yfiles.graphml.GraphMLWriter#removeWritingListener */ - addWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + addWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; /** * Removes the given listener for the Writing event that occurs when the writing of a document is just about to begin. *

@@ -7723,8 +7813,9 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLWriter#onWriting * @see yfiles.graphml.GraphMLWriter#addWritingListener */ - removeWritingListener(listener:(sender:Object,evt:yfiles.graphml.WriteEventArgs)=>void):void; + removeWritingListener(listener:(sender:any,evt:yfiles.graphml.WriteEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLWriter; } /** * The event arguments used by {@link yfiles.graphml.GraphMLIOHandler#addHandleSerializationListener HandleSerialization} @@ -7747,7 +7838,7 @@ declare namespace yfiles{ * @param item The item to to serialize. * @param [serializationType=null] The type that should be used for serialization, which needs to be a super type or interface of the item or null. */ - constructor(context:yfiles.graphml.IWriteContext,item:Object,serializationType?:yfiles.lang.Class); + constructor(context:yfiles.graphml.IWriteContext,item:any,serializationType?:yfiles.lang.Class); /** * Replaces the {@link yfiles.graphml.HandleSerializationEventArgs#item} using a substitute for serialization. *

@@ -7757,14 +7848,14 @@ declare namespace yfiles{ * @param item The substitute to assign to the {@link #item} property. * @param serializationType The serialization type to assign to the {@link #sourceType} property. */ - replaceItem(item:Object,serializationType:yfiles.lang.Class):void; + replaceItem(item:any,serializationType:yfiles.lang.Class):void; /** * Gets the item that should be serialized. - * @type {Object} + * @type {any} */ - item:Object; + item:any; /** - * Declares the type in the inheritance of the {@link yfiles.graphml.HandleSerializationEventArgs#item} that should be used for serialization. + * Gets the type in the inheritance of the {@link yfiles.graphml.HandleSerializationEventArgs#item} that should be used for serialization. * @type {yfiles.lang.Class} */ sourceType:yfiles.lang.Class; @@ -7788,12 +7879,13 @@ declare namespace yfiles{ */ writer:yfiles.graphml.IXmlWriter; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.HandleSerializationEventArgs; } /** * Interface for classes that provide custom id's for core GraphML elements * @interface */ - export interface IGraphElementIdProvider extends Object{ + export interface IGraphElementIdProvider extends yfiles.lang.Object{ /** * Get an ID for the specified edge object * @param context The current write context, for further information to the provider @@ -7829,7 +7921,7 @@ declare namespace yfiles{ } var IGraphElementIdProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IGraphElementIdProvider; }; /** * An implementation of the {@link yfiles.graphml.OutputHandlerBase.} class, that uses an {@link yfiles.collections.IMapper.} to retrieve the values to output for each item and a {@link yfiles.graphml.MapperOutputHandler.#serializer} callback for the @@ -7864,9 +7956,9 @@ declare namespace yfiles{ /** * Gets or sets the serialization callback to use for serializing the value in {@link yfiles.graphml.MapperOutputHandler.#writeValueCore}. * @see yfiles.graphml.MapperOutputHandler.#sourceType - * @type {function(Object, yfiles.graphml.HandleSerializationEventArgs): void} + * @type {function(any, yfiles.graphml.HandleSerializationEventArgs): void} */ - serializer:(sender:Object,evt:yfiles.graphml.HandleSerializationEventArgs)=>void; + serializer:(sender:any,evt:yfiles.graphml.HandleSerializationEventArgs)=>void; /** * Gets or sets the source type of the serialization. *

@@ -7878,6 +7970,7 @@ declare namespace yfiles{ */ sourceType:yfiles.lang.Class; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.MapperOutputHandler; } /** * Convenience abstract base implementation of the {@link yfiles.graphml.IOutputHandler} interface. @@ -7887,7 +7980,7 @@ declare namespace yfiles{ * @implements {yfiles.graphml.IOutputHandler} * @template TKey,TData */ - export interface OutputHandlerBase extends Object,yfiles.graphml.IOutputHandler{} + export interface OutputHandlerBase extends yfiles.lang.Object,yfiles.graphml.IOutputHandler{} export class OutputHandlerBase { /** * Initializes a new instance of the {@link yfiles.graphml.OutputHandlerBase.} class using the provided scope, name, and type for the key definition. @@ -8007,6 +8100,7 @@ declare namespace yfiles{ */ writeKeyDefault:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.OutputHandlerBase; } /** * Event argument implementation that is used by the {@link yfiles.graphml.GraphMLIOHandler#addQueryOutputHandlersListener QueryOutputHandlers} @@ -8034,12 +8128,12 @@ declare namespace yfiles{ */ addOutputHandler(handler:yfiles.graphml.IOutputHandler):void; /** - * The scope where the handlers should be added. + * Gets the scope where the handlers should be added. * @type {yfiles.graphml.KeyScope} */ scope:yfiles.graphml.KeyScope; /** - * The {@link yfiles.graphml.IOutputHandler}s that have been registered on this event argument instance so far. + * Gets the {@link yfiles.graphml.IOutputHandler}s that have been registered on this event argument instance so far. * @type {yfiles.collections.IEnumerable.} */ handlers:yfiles.collections.IEnumerable; @@ -8049,6 +8143,7 @@ declare namespace yfiles{ */ context:yfiles.graphml.IWriteContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.QueryOutputHandlersEventArgs; } /** * Default implementation of {@link yfiles.graphml.IXmlWriter}. @@ -8058,7 +8153,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graphml.IXmlWriter} */ - export interface XmlWriter extends Object,yfiles.graphml.IXmlWriter{} + export interface XmlWriter extends yfiles.lang.Object,yfiles.graphml.IXmlWriter{} export class XmlWriter { /** * Create a new instance with enabled {@link yfiles.graphml.XmlWriter#indent}. @@ -8165,27 +8260,28 @@ declare namespace yfiles{ */ namespaceManager:yfiles.graphml.IXmlNamespaceManager; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.XmlWriter; } /** * Interface that allows a mark and identify shared resources. * @see yfiles.graphml.IReferenceHandler * @interface */ - export interface IReferenceHandle extends Object{ + export interface IReferenceHandle extends yfiles.lang.Object{ /** - * The type of a resource (external or internal) + * Gets the type of a resource (external or internal) * @abstract * @type {yfiles.graphml.GraphMLReferenceType} */ referenceType:yfiles.graphml.GraphMLReferenceType; /** - * The resource that is encapsulated by the handle. + * Gets the resource that is encapsulated by the handle. * @abstract - * @type {Object} + * @type {any} */ - subject:Object; + subject:any; /** - * The id that identifies the resource in the GraphML document. + * Gets the id that identifies the resource in the GraphML document. *

* Note that this value is ignored for internal references. *

@@ -8196,7 +8292,7 @@ declare namespace yfiles{ } var IReferenceHandle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IReferenceHandle; }; export enum SharingState{ /** @@ -8222,7 +8318,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IReferenceHandler extends Object{ + export interface IReferenceHandler extends yfiles.lang.Object{ /** * Gets the reference handle for a given subject. * @param subject The subject. @@ -8232,7 +8328,7 @@ declare namespace yfiles{ * @see yfiles.graphml.IReferenceHandle#subject * @abstract */ - getHandle(context:yfiles.graphml.IWriteContext,subject:Object):yfiles.graphml.IReferenceHandle; + getHandle(context:yfiles.graphml.IWriteContext,subject:any):yfiles.graphml.IReferenceHandle; /** * Unregister a shared resource. *

@@ -8247,7 +8343,7 @@ declare namespace yfiles{ * @see yfiles.graphml.GraphMLAttribute#shareable * @abstract */ - markAsUnshared(context:yfiles.graphml.IWriteContext,subject:Object):void; + markAsUnshared(context:yfiles.graphml.IWriteContext,subject:any):void; /** * Register a shared resource. * @param context The current write context. @@ -8256,9 +8352,9 @@ declare namespace yfiles{ * externally and does not need any additional handling. * @abstract */ - registerResource(context:yfiles.graphml.IWriteContext,subject:Object):yfiles.graphml.SharingState; + registerResource(context:yfiles.graphml.IWriteContext,subject:any):yfiles.graphml.SharingState; /** - * Return a collection of all registered reference handles that should be written to the GraphML shared data section. + * Gets a collection of all registered reference handles that should be written to the GraphML shared data section. * @see yfiles.graphml.GraphMLIOHandler#addQueryReferenceIdListener * @see yfiles.graphml.GraphMLWriter#addQueryReferenceIdListener * @abstract @@ -8268,7 +8364,7 @@ declare namespace yfiles{ } var IReferenceHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IReferenceHandler; }; export enum GraphMLReferenceType{ /** @@ -8300,21 +8396,21 @@ declare namespace yfiles{ */ constructor(context:yfiles.graphml.IParseContext,referenceId:string); /** - * The reference id that should evaluated by the event handler. + * Gets the reference id that should evaluated by the event handler. * @type {string} */ referenceId:string; /** - * The reference value that is encapsulated by this instance. + * Gets or sets the reference value that is encapsulated by this instance. *

* Setting this property automatically sets {@link yfiles.graphml.ResolveReferenceEventArgs#handled} to true. *

* @see yfiles.graphml.ResolveReferenceEventArgs#handled - * @type {Object} + * @type {any} */ - value:Object; + value:any; /** - * Returns whether the last event handler invocation has actually handled the event. + * Gets whether the last event handler invocation has actually handled the event. *

* This property is set implicitly by {@link yfiles.graphml.ResolveReferenceEventArgs#value}. *

@@ -8323,11 +8419,12 @@ declare namespace yfiles{ */ handled:boolean; /** - * The current parse context that can be used by the event handler for additional information. + * Gets the current parse context that can be used by the event handler for additional information. * @type {yfiles.graphml.IParseContext} */ context:yfiles.graphml.IParseContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.ResolveReferenceEventArgs; } /** * Event arguments for calls to the {@link yfiles.graphml.GraphMLIOHandler#addQueryReferenceIdListener QueryReferenceId} @@ -8351,9 +8448,9 @@ declare namespace yfiles{ * @param context The current write context that can be used by the event handler for additional information. * @param value The referenced object instance. */ - constructor(context:yfiles.graphml.IWriteContext,value:Object); + constructor(context:yfiles.graphml.IWriteContext,value:any); /** - * The reference id that should be evaluated by the event handler. + * Gets or sets the reference id that should be evaluated by the event handler. *

* Setting this property to a non-null string automatically sets {@link yfiles.graphml.QueryReferenceIdEventArgs#handled} to true. *

@@ -8362,7 +8459,7 @@ declare namespace yfiles{ */ referenceId:string; /** - * Determines the type of the reference being queried. + * Gets or sets the type of the reference being queried. *

* Setting this property automatically sets {@link yfiles.graphml.QueryReferenceIdEventArgs#handled} to true. By default this property is {@link yfiles.graphml.GraphMLReferenceType#EXTERNAL} * so {@link yfiles.graphml.QueryReferenceIdEventArgs#value}s that are given a {@link yfiles.graphml.QueryReferenceIdEventArgs#referenceId} are treated as external references that are not serialized to the GraphML. Setting this property @@ -8376,12 +8473,12 @@ declare namespace yfiles{ */ referenceType:yfiles.graphml.GraphMLReferenceType; /** - * The reference value that is encapsulated by this instance. - * @type {Object} + * Gets the reference value that is encapsulated by this instance. + * @type {any} */ - value:Object; + value:any; /** - * Returns whether the last event handler invocation has actually handled the event. + * Gets whether the last event handler invocation has actually handled the event. *

* This property is set implicitly by {@link yfiles.graphml.QueryReferenceIdEventArgs#referenceId}. *

@@ -8390,18 +8487,19 @@ declare namespace yfiles{ */ handled:boolean; /** - * The current write context that can be used by the event handler for additional information. + * Gets the current write context that can be used by the event handler for additional information. * @type {yfiles.graphml.IWriteContext} */ context:yfiles.graphml.IWriteContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.QueryReferenceIdEventArgs; } /** * Special implementation of {@link yfiles.graphml.IValueSerializerContext} that should be used in a GraphML parse context. * @class * @implements {yfiles.graphml.IValueSerializerContext} */ - export interface GraphMLParseValueSerializerContext extends Object,yfiles.graphml.IValueSerializerContext{} + export interface GraphMLParseValueSerializerContext extends yfiles.lang.Object,yfiles.graphml.IValueSerializerContext{} export class GraphMLParseValueSerializerContext { /** * Creates a new instance that wraps context @@ -8425,20 +8523,21 @@ declare namespace yfiles{ * @param serviceType The serviceType * @returns the wrapped {@link } for this serviceType, otherwise null */ - lookup(serviceType:yfiles.lang.Class):Object; + lookup(serviceType:yfiles.lang.Class):any; /** - * The parent object if such an object exists currently. - * @type {Object} + * Gets or sets the parent object if such an object exists currently. + * @type {any} */ - owner:Object; + owner:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLParseValueSerializerContext; } /** * Special implementation of {@link yfiles.graphml.IValueSerializerContext} that should be used in a GraphML write context. * @class * @implements {yfiles.graphml.IValueSerializerContext} */ - export interface GraphMLWriteValueSerializerContext extends Object,yfiles.graphml.IValueSerializerContext{} + export interface GraphMLWriteValueSerializerContext extends yfiles.lang.Object,yfiles.graphml.IValueSerializerContext{} export class GraphMLWriteValueSerializerContext { /** * Creates a new instance that wraps context @@ -8462,13 +8561,14 @@ declare namespace yfiles{ * @param serviceType The serviceType * @returns the wrapped {@link } for this serviceType, otherwise null */ - lookup(serviceType:yfiles.lang.Class):Object; + lookup(serviceType:yfiles.lang.Class):any; /** - * The parent object if such an object exists currently. - * @type {Object} + * Gets or sets the parent object if such an object exists currently. + * @type {any} */ - owner:Object; + owner:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.GraphMLWriteValueSerializerContext; } /** * The event arguments used by {@link yfiles.graphml.GraphMLIOHandler#addQueryNameListener QueryName} to @@ -8501,7 +8601,6 @@ declare namespace yfiles{ * It is valid to provide only part of the XML name by setting the other part to null. In that case, the default name * determination rules are used for that part. *

- * @throws {Stubs.Exceptions.ArgumentError} If the value is not assignable to TargetType * @type {yfiles.graphml.XmlName} */ result:yfiles.graphml.XmlName; @@ -8515,7 +8614,7 @@ declare namespace yfiles{ */ handled:boolean; /** - * The type for which the {@link yfiles.graphml.QueryNameEventArgs#result XML name} is queried. + * Gets the type for which the {@link yfiles.graphml.QueryNameEventArgs#result XML name} is queried. * @type {yfiles.lang.Class} */ type:yfiles.lang.Class; @@ -8525,6 +8624,7 @@ declare namespace yfiles{ */ context:yfiles.graphml.IWriteContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.QueryNameEventArgs; } /** * The event arguments used by {@link yfiles.graphml.GraphMLIOHandler#addQueryTypeListener QueryType} to @@ -8562,7 +8662,7 @@ declare namespace yfiles{ */ handled:boolean; /** - * The fully qualified xml name that should be resolved to a type. + * Gets the fully qualified xml name that should be resolved to a type. * @type {yfiles.graphml.XmlName} */ xmlName:yfiles.graphml.XmlName; @@ -8572,13 +8672,14 @@ declare namespace yfiles{ */ context:yfiles.graphml.IParseContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.QueryTypeEventArgs; } /** * An implementation that can read (a subset of) XAML formatted XML content. * @class * @final */ - export interface XamlReader extends Object{} + export interface XamlReader extends yfiles.lang.Object{} export class XamlReader { /** * Deserializes the specified element node in the context to an instance. @@ -8586,7 +8687,7 @@ declare namespace yfiles{ * @param element The XML element node. * @returns The instance that is described in the XML. */ - deserialize(context:yfiles.graphml.IParseContext,element:Element):Object; + deserialize(context:yfiles.graphml.IParseContext,element:Element):any; /** * A singleton instance of this class. * @const @@ -8595,6 +8696,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graphml.XamlReader; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.XamlReader; } /** * Interface for mapping XAML namespaces to XML namespace prefixes and vice versa. @@ -8606,7 +8708,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IXamlPrefixMapper extends Object{ + export interface IXamlPrefixMapper extends yfiles.lang.Object{ /** * Gets the namespace for the given prefix. * @param prefix The prefix. @@ -8624,7 +8726,7 @@ declare namespace yfiles{ } var IXamlPrefixMapper:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graphml.IXamlPrefixMapper; }; /** * Serializer that produces XAML conforming output from the target object's reflection data. @@ -8640,7 +8742,7 @@ declare namespace yfiles{ * @class * @final */ - export interface XamlSerializer extends Object{} + export interface XamlSerializer extends yfiles.lang.Object{} export class XamlSerializer { /** * Serialize the given object to a {@link yfiles.graphml.IXmlWriter} @@ -8650,7 +8752,7 @@ declare namespace yfiles{ * @param context The current write context * @param subject The actual object */ - serialize(context:yfiles.graphml.IWriteContext,subject:Object):void; + serialize(context:yfiles.graphml.IWriteContext,subject:any):void; /** * A singleton instance of this class. * @const @@ -8659,6 +8761,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graphml.XamlSerializer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graphml.XamlSerializer; } }export namespace view{ /** @@ -8670,7 +8773,7 @@ declare namespace yfiles{ * @see yfiles.view.IAnimation * @class */ - export interface Animator extends Object{} + export interface Animator extends yfiles.lang.Object{} export class Animator { /** * Initializes a new instance of the {@link yfiles.view.Animator} class for the given {@link yfiles.view.CanvasComponent}. @@ -8691,7 +8794,7 @@ declare namespace yfiles{ *

* @param {Object} options The parameters to pass. * @param options.canvas The canvas control. - * @param {boolean} options.allowUserInteraction Determines whether user interaction should be allowed during the animation. + * @param {boolean} options.allowUserInteraction Whether user interaction should be allowed during the animation. *

* This option sets the {@link yfiles.view.Animator#allowUserInteraction} property on the created object. *

@@ -8728,7 +8831,7 @@ declare namespace yfiles{ */ invalidateComponent(canvas:yfiles.view.CanvasComponent):void; /** - * Determines whether user interaction should be allowed during the animation. + * Gets or sets whether user interaction should be allowed during the animation. *

* If false, the {@link yfiles.input.WaitInputMode} is queried from the {@link yfiles.view.CanvasComponent} and {@link yfiles.input.WaitInputMode#waiting} is enabled during the * animation. The default is false. @@ -8737,7 +8840,7 @@ declare namespace yfiles{ */ allowUserInteraction:boolean; /** - * The control the animations are run on. + * Gets the control the animations are run on. * @type {yfiles.view.CanvasComponent} */ canvasComponent:yfiles.view.CanvasComponent; @@ -8750,6 +8853,7 @@ declare namespace yfiles{ */ autoInvalidation:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Animator; } /** * An interface for animations that can be run by {@link yfiles.view.Animator}. @@ -8775,7 +8879,7 @@ declare namespace yfiles{ * * @interface */ - export interface IAnimation extends Object{ + export interface IAnimation extends yfiles.lang.Object{ /** * Does the animation according to the relative animation time. *

@@ -8974,14 +9078,14 @@ declare namespace yfiles{ */ createTableAnimation?(table:yfiles.graph.ITable,columnLayout:number[],rowLayout:number[]):yfiles.view.IAnimation; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IAnimation; }; /** * Animates changing the viewport bounds and the zoom factor for a {@link yfiles.view.CanvasComponent}. * @class * @implements {yfiles.view.IAnimation} */ - export interface ViewportAnimation extends Object,yfiles.view.IAnimation{} + export interface ViewportAnimation extends yfiles.lang.Object,yfiles.view.IAnimation{} export class ViewportAnimation { /** * Creates a new instance of {@link yfiles.view.ViewportAnimation}. @@ -9052,7 +9156,7 @@ declare namespace yfiles{ */ targetBounds:yfiles.geometry.Rect; /** - * Whether to respect the {@link yfiles.view.CanvasComponent#viewportLimiter} of the {@link yfiles.view.CanvasComponent} whose {@link yfiles.view.CanvasComponent#viewport} is animated. + * Gets or sets whether to respect the {@link yfiles.view.CanvasComponent#viewportLimiter} of the {@link yfiles.view.CanvasComponent} whose {@link yfiles.view.CanvasComponent#viewport} is animated. *

* Default is false. *

@@ -9085,6 +9189,7 @@ declare namespace yfiles{ */ targetViewMargins:yfiles.geometry.Insets; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ViewportAnimation; } export enum ScrollBarVisibility{ /** @@ -9175,6 +9280,7 @@ declare namespace yfiles{ */ context:yfiles.view.IRenderContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.PrepareRenderContextEventArgs; } export enum SizeChangedDetectionMode{ /** @@ -9225,6 +9331,7 @@ declare namespace yfiles{ */ oldSize:yfiles.geometry.Size; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SizeChangedEventArgs; } /** * The {@link yfiles.view.CanvasComponent} can be used to efficiently display all kinds of data. @@ -9273,7 +9380,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.ILookup} */ - export interface CanvasComponent extends Object,yfiles.graph.ILookup{} + export interface CanvasComponent extends yfiles.lang.Object,yfiles.graph.ILookup{} export class CanvasComponent { /** * Creates a new instance of {@link yfiles.view.CanvasComponent} using the div element that is specified by the selector. @@ -9586,7 +9693,7 @@ declare namespace yfiles{ * @see yfiles.input.IInputModeContext * @protected */ - inputModeContextLookup(type:yfiles.lang.Class):Object; + inputModeContextLookup(type:yfiles.lang.Class):any; /** * Invalidates this instance and marks it as in need for an update. *

@@ -9616,7 +9723,26 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; + /** + * Calls evt.preventDefault() for each contextMenu event that occurs on this instance. + *

+ * By overriding this method, the browser's default behavior for the contextMenu event can be enabled. + *

+ * @param evt The event. + * @protected + */ + maybePreventContextMenuDefault(evt:Event):void; + /** + * Calls evt.preventDefault() if {@link yfiles.view.CanvasComponent#captureAllPointerInput} is enabled. + *

+ * This method is queried for each mouse, touch or pointer event that occurs on this instance. By overriding this method, + * the browser's default behavior can effectively be controlled for every single event. + *

+ * @param evt The event. + * @protected + */ + maybePreventPointerDefault(evt:Event):void; /** * This method will be called when the mouse wheel was turned and if the {@link yfiles.view.CanvasComponent#mouseWheelBehavior} property is set to * {@link yfiles.view.MouseWheelBehaviors#SCROLL}. @@ -9670,7 +9796,7 @@ declare namespace yfiles{ * @param callback The function that should be executed. * @param args The arguments with which the function should be called. */ - schedule(callback:Function,...args:Object[]):void; + schedule(callback:Function,...args:any[]):void; /** * Sets the content rectangle. *

@@ -9835,7 +9961,7 @@ declare namespace yfiles{ */ viewportLimiter:yfiles.view.ViewportLimiter; /** - * Property that sets the editable state of this canvas. + * Gets or sets the editable state of this canvas. *

* {@link yfiles.input.IInputMode} implementations should honor this property. Events will still be delivered to the IInputModes, * however they should not modify the model. @@ -9845,7 +9971,7 @@ declare namespace yfiles{ */ editable:boolean; /** - * Determines the behavior of the mouse wheel. + * Gets or sets the behavior of the mouse wheel. *

* The behavior can be switched between {@link yfiles.view.MouseWheelBehaviors#ZOOM}, {@link yfiles.view.MouseWheelBehaviors#SCROLL} and * {@link yfiles.view.MouseWheelBehaviors#NONE}. Additionally, this property can be configured to perform the action @@ -9856,16 +9982,16 @@ declare namespace yfiles{ */ mouseWheelBehavior:yfiles.view.MouseWheelBehaviors; /** - * Specifies an event recognizer that determines whether the zooming to the center of the view, rather than at the mouse + * Gets or sets an event recognizer that determines whether the zooming to the center of the view, rather than at the mouse * location should be used. *

* The default is {@link yfiles.input.KeyEventRecognizers#SHIFT_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - centerZoomEventRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + centerZoomEventRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Specifies the visibility policy for the vertical scrollbar. + * Gets or sets the visibility policy for the vertical scrollbar. *

* Scrollbars don't need to be displayed in order to move the viewport. This can be achieved programmatically or using * special IInputMode instances. The default is {@link yfiles.view.ScrollBarVisibility#AS_NEEDED}. @@ -9877,7 +10003,7 @@ declare namespace yfiles{ */ verticalScrollBarPolicy:yfiles.view.ScrollBarVisibility; /** - * Specifies the visibility policy for the vertical scrollbar. + * Gets or sets the visibility policy for the vertical scrollbar. *

* Scrollbars don't need to be displayed in order to move the viewport. This can be achieved programmatically or using * special IInputMode instances. The default is {@link yfiles.view.ScrollBarVisibility#AS_NEEDED}. @@ -9912,13 +10038,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeContentRectChangedListener */ - addContentRectChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addContentRectChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the ContentRectChanged event that occurs when the {@link yfiles.view.CanvasComponent#contentRect content rectangle} has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addContentRectChangedListener */ - removeContentRectChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeContentRectChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets and sets the insets in view coordinates that should be used by the {@link yfiles.view.CanvasComponent#fitContent} * operation. @@ -9939,14 +10065,14 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeFitContentViewMarginsChangedListener */ - addFitContentViewMarginsChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addFitContentViewMarginsChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the FitContentViewMarginsChanged event that occurs when the {@link yfiles.view.CanvasComponent#fitContentViewMargins margins for the fit content operation} * have been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addFitContentViewMarginsChangedListener */ - removeFitContentViewMarginsChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeFitContentViewMarginsChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the MouseLeave event that occurs when the mouse has exited the canvas. *

@@ -9959,7 +10085,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseLeaveListener */ - addMouseLeaveListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseLeaveListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseLeave event that occurs when the mouse has exited the canvas. *

@@ -9972,7 +10098,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseLeaveListener */ - removeMouseLeaveListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseLeaveListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseEnter event that occurs when the mouse has entered the canvas. *

@@ -9986,7 +10112,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseEnterListener */ - addMouseEnterListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseEnterListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseEnter event that occurs when the mouse has entered the canvas. *

@@ -10000,7 +10126,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseEnterListener */ - removeMouseEnterListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseEnterListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseMove event that occurs when the mouse has been moved in world coordinates. *

@@ -10014,7 +10140,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseMoveListener */ - addMouseMoveListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseMoveListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseMove event that occurs when the mouse has been moved in world coordinates. *

@@ -10028,7 +10154,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseMoveListener */ - removeMouseMoveListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseMoveListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseDown event that occurs when a mouse button has been pressed. *

@@ -10037,7 +10163,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseDownListener */ - addMouseDownListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseDownListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseDown event that occurs when a mouse button has been pressed. *

@@ -10046,7 +10172,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseDownListener */ - removeMouseDownListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseDownListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseDrag event that occurs when the mouse is being moved while at least one of the * mouse buttons is pressed. @@ -10056,7 +10182,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseDragListener */ - addMouseDragListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseDragListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseDrag event that occurs when the mouse is being moved while at least one of the * mouse buttons is pressed. @@ -10066,7 +10192,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseDragListener */ - removeMouseDragListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseDragListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseUp event that occurs when the mouse button has been released. *

@@ -10075,7 +10201,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseUpListener */ - addMouseUpListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseUpListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseUp event that occurs when the mouse button has been released. *

@@ -10084,7 +10210,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseUpListener */ - removeMouseUpListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseUpListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseLostCapture event that occurs when the mouse capture has been lost. *

@@ -10093,7 +10219,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseLostCaptureListener */ - addMouseLostCaptureListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseLostCaptureListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseLostCapture event that occurs when the mouse capture has been lost. *

@@ -10102,7 +10228,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseLostCaptureListener */ - removeMouseLostCaptureListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseLostCaptureListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseWheel event that occurs when the mouse wheel has turned. *

@@ -10111,7 +10237,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseWheelListener */ - addMouseWheelListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseWheelListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseWheel event that occurs when the mouse wheel has turned. *

@@ -10120,7 +10246,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseWheelListener */ - removeMouseWheelListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseWheelListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the MouseClick event that occurs when the user clicked the mouse. *

@@ -10132,7 +10258,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseClickListener */ - addMouseClickListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + addMouseClickListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Removes the given listener for the MouseClick event that occurs when the user clicked the mouse. *

@@ -10144,7 +10270,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseClickListener */ - removeMouseClickListener(listener:(sender:Object,evt:yfiles.view.MouseEventArgs)=>void):void; + removeMouseClickListener(listener:(sender:any,evt:yfiles.view.MouseEventArgs)=>void):void; /** * Adds the given listener for the KeyDown event that occurs when keys are being pressed. *

@@ -10153,7 +10279,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeKeyDownListener */ - addKeyDownListener(listener:(sender:Object,evt:yfiles.view.KeyEventArgs)=>void):void; + addKeyDownListener(listener:(sender:any,evt:yfiles.view.KeyEventArgs)=>void):void; /** * Removes the given listener for the KeyDown event that occurs when keys are being pressed. *

@@ -10162,7 +10288,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addKeyDownListener */ - removeKeyDownListener(listener:(sender:Object,evt:yfiles.view.KeyEventArgs)=>void):void; + removeKeyDownListener(listener:(sender:any,evt:yfiles.view.KeyEventArgs)=>void):void; /** * Adds the given listener for the KeyPressed event that occurs when keys are being typed. *

@@ -10171,7 +10297,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeKeyPressedListener */ - addKeyPressedListener(listener:(sender:Object,evt:yfiles.view.KeyEventArgs)=>void):void; + addKeyPressedListener(listener:(sender:any,evt:yfiles.view.KeyEventArgs)=>void):void; /** * Removes the given listener for the KeyPressed event that occurs when keys are being typed. *

@@ -10180,7 +10306,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addKeyPressedListener */ - removeKeyPressedListener(listener:(sender:Object,evt:yfiles.view.KeyEventArgs)=>void):void; + removeKeyPressedListener(listener:(sender:any,evt:yfiles.view.KeyEventArgs)=>void):void; /** * Adds the given listener for the KeyUp event that occurs when keys are being released. *

@@ -10189,7 +10315,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeKeyUpListener */ - addKeyUpListener(listener:(sender:Object,evt:yfiles.view.KeyEventArgs)=>void):void; + addKeyUpListener(listener:(sender:any,evt:yfiles.view.KeyEventArgs)=>void):void; /** * Removes the given listener for the KeyUp event that occurs when keys are being released. *

@@ -10198,31 +10324,31 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addKeyUpListener */ - removeKeyUpListener(listener:(sender:Object,evt:yfiles.view.KeyEventArgs)=>void):void; + removeKeyUpListener(listener:(sender:any,evt:yfiles.view.KeyEventArgs)=>void):void; /** * Adds the given listener for the EditableChanged event that occurs when the {@link yfiles.view.CanvasComponent#editable} property has been changed. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeEditableChangedListener */ - addEditableChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addEditableChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the EditableChanged event that occurs when the {@link yfiles.view.CanvasComponent#editable} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addEditableChangedListener */ - removeEditableChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeEditableChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Adds the given listener for the ViewportChanged event that occurs when the {@link yfiles.view.CanvasComponent#viewport} property has been changed. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeViewportChangedListener */ - addViewportChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addViewportChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the ViewportChanged event that occurs when the {@link yfiles.view.CanvasComponent#viewport} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addViewportChangedListener */ - removeViewportChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeViewportChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Adds the given listener for the TouchDown event that occurs when a finger has been put on the touch screen. *

@@ -10231,7 +10357,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchDownListener */ - addTouchDownListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchDownListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchDown event that occurs when a finger has been put on the touch screen. *

@@ -10240,7 +10366,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchDownListener */ - removeTouchDownListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchDownListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchUp event that occurs when a finger has been removed from the touch screen. *

@@ -10249,7 +10375,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchUpListener */ - addTouchUpListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchUpListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchUp event that occurs when a finger has been removed from the touch screen. *

@@ -10258,7 +10384,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchUpListener */ - removeTouchUpListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchUpListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchMove event that occurs when a finger has been moved on the touch screen. *

@@ -10267,7 +10393,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchMoveListener */ - addTouchMoveListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchMoveListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchMove event that occurs when a finger has been moved on the touch screen. *

@@ -10276,7 +10402,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchMoveListener */ - removeTouchMoveListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchMoveListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchEnter event that occurs when a finger on the touch screen has entered the canvas. *

@@ -10285,7 +10411,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchEnterListener */ - addTouchEnterListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchEnterListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchEnter event that occurs when a finger on the touch screen has entered the * canvas. @@ -10295,7 +10421,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchEnterListener */ - removeTouchEnterListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchEnterListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchLeave event that occurs when a finger on the touch screen has exited the canvas. *

@@ -10304,7 +10430,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchLeaveListener */ - addTouchLeaveListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchLeaveListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchLeave event that occurs when a finger on the touch screen has exited the * canvas. @@ -10314,7 +10440,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchLeaveListener */ - removeTouchLeaveListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchLeaveListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchLostCapture event that occurs when the touch capture has been lost. *

@@ -10323,7 +10449,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchLostCaptureListener */ - addTouchLostCaptureListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchLostCaptureListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchLostCapture event that occurs when the touch capture has been lost. *

@@ -10332,7 +10458,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchLostCaptureListener */ - removeTouchLostCaptureListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchLostCaptureListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchClick event that occurs when the user performed a tap gesture with a finger on the * touch screen. @@ -10346,7 +10472,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchClickListener */ - addTouchClickListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchClickListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchClick event that occurs when the user performed a tap gesture with a finger on * the touch screen. @@ -10360,7 +10486,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchClickListener */ - removeTouchClickListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchClickListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Adds the given listener for the TouchLongPress event that occurs when the user performed a long press gesture with a * finger on the touch screen. @@ -10374,7 +10500,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeTouchLongPressListener */ - addTouchLongPressListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + addTouchLongPressListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Removes the given listener for the TouchLongPress event that occurs when the user performed a long press gesture with a * finger on the touch screen. @@ -10388,7 +10514,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addTouchLongPressListener */ - removeTouchLongPressListener(listener:(sender:Object,evt:yfiles.view.TouchEventArgs)=>void):void; + removeTouchLongPressListener(listener:(sender:any,evt:yfiles.view.TouchEventArgs)=>void):void; /** * Gets a list of the active {@link yfiles.view.TouchDevice}s at the time of invocation. *

@@ -10429,14 +10555,14 @@ declare namespace yfiles{ * @see yfiles.view.CanvasComponent#inputMode * @see yfiles.view.CanvasComponent#removeInputModeChangedListener */ - addInputModeChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addInputModeChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the InputModeChanged event that occurs when the {@link yfiles.view.CanvasComponent#inputMode} property is changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#inputMode * @see yfiles.view.CanvasComponent#addInputModeChangedListener */ - removeInputModeChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeInputModeChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets or sets the single {@link yfiles.input.IInputMode} instance that shall be installed for this canvas. * @default null @@ -10444,8 +10570,8 @@ declare namespace yfiles{ */ inputMode:yfiles.input.IInputMode; /** - * Specifies the radius of the area around the mouse in view coordinates in which a {@link yfiles.input.IHitTestable} may lie to be - * considered a valid hit. + * Gets or sets the radius of the area around the mouse in view coordinates in which a {@link yfiles.input.IHitTestable} may lie to + * be considered a valid hit. *

* This value can be queried from within the {@link yfiles.input.IHitTestable} implementation from the {@link yfiles.view.ICanvasContext#hitTestRadius} property. The default value * is 3.0d @@ -10459,13 +10585,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeHitTestRadiusChangedListener */ - addHitTestRadiusChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addHitTestRadiusChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the HitTestRadiusChanged event that occurs when the {@link yfiles.view.CanvasComponent#hitTestRadius} property changes. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addHitTestRadiusChangedListener */ - removeHitTestRadiusChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeHitTestRadiusChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets or sets the zoom factor for this {@link yfiles.view.CanvasComponent}. *

@@ -10489,13 +10615,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeZoomChangedListener */ - addZoomChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addZoomChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the ZoomChanged event that occurs when the value of the {@link yfiles.view.CanvasComponent#zoom} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addZoomChangedListener */ - removeZoomChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeZoomChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets or sets the minimum zoom factor for this {@link yfiles.view.CanvasComponent}. *

@@ -10530,7 +10656,7 @@ declare namespace yfiles{ */ viewPoint:yfiles.geometry.Point; /** - * Returns the size of the usable area in which the graph will be displayed. + * Gets the size of the usable area in which the graph will be displayed. *

* This value excludes the scroll bars. *

@@ -10543,43 +10669,43 @@ declare namespace yfiles{ */ size:yfiles.geometry.Size; /** - * Returns the currently visible viewing region in world coordinates. + * Gets the currently visible viewing region in world coordinates. * @see yfiles.view.CanvasComponent#viewPoint * @see yfiles.view.CanvasComponent#zoom * @type {yfiles.geometry.Rect} */ viewport:yfiles.geometry.Rect; /** - * Adds the given listener for the GotFocus event that occurs when the Control got the focus. + * Adds the given listener for the GotFocus event that occurs when the {@link yfiles.view.CanvasComponent} got the focus. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeGotFocusListener */ - addGotFocusListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addGotFocusListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Removes the given listener for the GotFocus event that occurs when the Control got the focus. + * Removes the given listener for the GotFocus event that occurs when the {@link yfiles.view.CanvasComponent} got the focus. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addGotFocusListener */ - removeGotFocusListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeGotFocusListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Adds the given listener for the LostFocus event that occurs when the Control lost the focus. + * Adds the given listener for the LostFocus event that occurs when the {@link yfiles.view.CanvasComponent} lost the focus. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeLostFocusListener */ - addLostFocusListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addLostFocusListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Removes the given listener for the LostFocus event that occurs when the Control lost the focus. + * Removes the given listener for the LostFocus event that occurs when the {@link yfiles.view.CanvasComponent} lost the focus. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addLostFocusListener */ - removeLostFocusListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeLostFocusListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Retrieves the {@link yfiles.graph.LookupChain} that can be used do decorate the {@link yfiles.graph.ILookup#lookup} call in the {@link yfiles.view.CanvasComponent#inputModeContext}. + * Gets the {@link yfiles.graph.LookupChain} that can be used do decorate the {@link yfiles.graph.ILookup#lookup} call in the {@link yfiles.view.CanvasComponent#inputModeContext}. * @type {yfiles.graph.LookupChain} */ inputModeContextLookupChain:yfiles.graph.LookupChain; /** - * Returns an implementation of {@link yfiles.view.ICanvasContext} that describes the state of this {@link yfiles.view.CanvasComponent}. + * Gets an implementation of {@link yfiles.view.ICanvasContext} that describes the state of this {@link yfiles.view.CanvasComponent}. * @see yfiles.input.IHitTestable * @see yfiles.view.IBoundsProvider * @type {yfiles.view.ICanvasContext} @@ -10605,13 +10731,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeAutoDragChangedListener */ - addAutoDragChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addAutoDragChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the AutoDragChanged event that occurs when the {@link yfiles.view.CanvasComponent#autoDrag} property is changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addAutoDragChangedListener */ - removeAutoDragChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeAutoDragChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets or sets the policy for caching {@link yfiles.view.Visual}s which are temporarily removed from the visual tree. *

@@ -10630,29 +10756,25 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeUpdatedVisualListener */ - addUpdatedVisualListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addUpdatedVisualListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the UpdatedVisual event that occurs after the {@link yfiles.view.CanvasComponent#updateVisual visual tree has been updated}. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addUpdatedVisualListener */ - removeUpdatedVisualListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeUpdatedVisualListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Adds the given listener for the UpdatingVisual event. - *
- * Event that will be triggered before the {@link yfiles.view.CanvasComponent#updateVisual visual tree is updated}. + * Adds the given listener for the UpdatingVisual event that occurs before the {@link yfiles.view.CanvasComponent#updateVisual visual tree is updated}. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeUpdatingVisualListener */ - addUpdatingVisualListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addUpdatingVisualListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Removes the given listener for the UpdatingVisual event. - *
- * Event that will be triggered before the {@link yfiles.view.CanvasComponent#updateVisual visual tree is updated}. + * Removes the given listener for the UpdatingVisual event that occurs before the {@link yfiles.view.CanvasComponent#updateVisual visual tree is updated}. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addUpdatingVisualListener */ - removeUpdatingVisualListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeUpdatingVisualListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets the root of the scene graph. *

@@ -10680,13 +10802,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeContentGroupChangedListener */ - addContentGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addContentGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the ContentGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#contentGroup} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addContentGroupChangedListener */ - removeContentGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeContentGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the HighlightGroup property. *

@@ -10712,25 +10834,25 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeFocusGroupChangedListener */ - addFocusGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addFocusGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the FocusGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#focusGroup} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addFocusGroupChangedListener */ - removeFocusGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeFocusGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Adds the given listener for the HighlightGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#highlightGroup} property has been changed. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeHighlightGroupChangedListener */ - addHighlightGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addHighlightGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the HighlightGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#highlightGroup} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addHighlightGroupChangedListener */ - removeHighlightGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeHighlightGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the SelectionGroup property. *

@@ -10750,13 +10872,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeSelectionGroupChangedListener */ - addSelectionGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addSelectionGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the SelectionGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#selectionGroup} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addSelectionGroupChangedListener */ - removeSelectionGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeSelectionGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the InputModeGroup property. *

@@ -10778,13 +10900,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeInputModeGroupChangedListener */ - addInputModeGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addInputModeGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the InputModeGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#inputModeGroup} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addInputModeGroupChangedListener */ - removeInputModeGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeInputModeGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the BackgroundGroup property. *

@@ -10805,13 +10927,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeBackgroundGroupChangedListener */ - addBackgroundGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addBackgroundGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the BackgroundGroupChanged event that occurs when the {@link yfiles.view.CanvasComponent#backgroundGroup} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addBackgroundGroupChangedListener */ - removeBackgroundGroupChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeBackgroundGroupChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the shape-rendering type for this visual and its children. *

@@ -10902,8 +11024,8 @@ declare namespace yfiles{ */ dragSize:yfiles.geometry.Size; /** - * The area in view coordinates the mouse needs to stay in before multiple clicks are considered multiple single clicks - * instead of multi-clicks. + * Gets or sets the area in view coordinates the mouse needs to stay in before multiple clicks are considered multiple + * single clicks instead of multi-clicks. *

* If the mouse stays within this within than {@link yfiles.view.CanvasComponent#doubleClickTime}, multiple clicks will be considered double or multi-clicks. The default * value is (10, 10). @@ -10938,14 +11060,14 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseWheelZoomFactorChangedListener */ - addMouseWheelZoomFactorChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addMouseWheelZoomFactorChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the MouseWheelZoomFactorChanged event that occurs when the value of the {@link yfiles.view.CanvasComponent#mouseWheelZoomFactor} property has * been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseWheelZoomFactorChangedListener */ - removeMouseWheelZoomFactorChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeMouseWheelZoomFactorChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets or sets a factor that controls how fast the viewport scrolls when the mouse wheel is turned. *

@@ -10970,14 +11092,14 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeMouseWheelScrollFactorChangedListener */ - addMouseWheelScrollFactorChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addMouseWheelScrollFactorChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the MouseWheelScrollFactorChanged event that occurs when the value of the {@link yfiles.view.CanvasComponent#mouseWheelScrollFactor} property has * been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addMouseWheelScrollFactorChangedListener */ - removeMouseWheelScrollFactorChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeMouseWheelScrollFactorChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets or sets the auto drag insets. *

@@ -10990,21 +11112,19 @@ declare namespace yfiles{ */ autoDragInsets:yfiles.geometry.Insets; /** - * Adds the given listener for the PrepareRenderContext event. - *
- * Event that will be triggered before the visual tree is painted to prepare the {@link yfiles.view.IRenderContext}. + * Adds the given listener for the PrepareRenderContext event that occurs before the visual tree is painted to prepare the + * {@link yfiles.view.IRenderContext}. * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removePrepareRenderContextListener */ - addPrepareRenderContextListener(listener:(sender:Object,evt:yfiles.view.PrepareRenderContextEventArgs)=>void):void; + addPrepareRenderContextListener(listener:(sender:any,evt:yfiles.view.PrepareRenderContextEventArgs)=>void):void; /** - * Removes the given listener for the PrepareRenderContext event. - *
- * Event that will be triggered before the visual tree is painted to prepare the {@link yfiles.view.IRenderContext}. + * Removes the given listener for the PrepareRenderContext event that occurs before the visual tree is painted to prepare + * the {@link yfiles.view.IRenderContext}. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addPrepareRenderContextListener */ - removePrepareRenderContextListener(listener:(sender:Object,evt:yfiles.view.PrepareRenderContextEventArgs)=>void):void; + removePrepareRenderContextListener(listener:(sender:any,evt:yfiles.view.PrepareRenderContextEventArgs)=>void):void; /** * Gets or sets the InputModeContext property. *

@@ -11022,13 +11142,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.CanvasComponent#removeInputModeContextChangedListener */ - addInputModeContextChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addInputModeContextChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the InputModeContextChanged event that occurs when the {@link yfiles.view.CanvasComponent#inputModeContext} property has been changed. * @param listener The listener to remove. * @see yfiles.view.CanvasComponent#addInputModeContextChangedListener */ - removeInputModeContextChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeInputModeContextChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets a value indicating whether navigation related command bindings are enabled. *

@@ -11056,9 +11176,9 @@ declare namespace yfiles{ * Resources are named instances of objects that can be retrieved by other parts of the infrastructure that deal with this * instance, either directly or indirectly. *

- * @type {yfiles.collections.IMap.} + * @type {yfiles.collections.IMap.} */ - resources:yfiles.collections.IMap; + resources:yfiles.collections.IMap; /** * Gets or sets the interval of the size changed timer. * @see yfiles.view.CanvasComponent#addSizeChangedListener @@ -11074,7 +11194,7 @@ declare namespace yfiles{ * @see yfiles.view.SizeChangedDetectionMode * @see yfiles.view.CanvasComponent#removeSizeChangedListener */ - addSizeChangedListener(listener:(sender:Object,evt:yfiles.view.SizeChangedEventArgs)=>void):void; + addSizeChangedListener(listener:(sender:any,evt:yfiles.view.SizeChangedEventArgs)=>void):void; /** * Removes the given listener for the SizeChanged event that occurs when the size of this Control is changed. * @param listener The listener to remove. @@ -11082,7 +11202,7 @@ declare namespace yfiles{ * @see yfiles.view.SizeChangedDetectionMode * @see yfiles.view.CanvasComponent#addSizeChangedListener */ - removeSizeChangedListener(listener:(sender:Object,evt:yfiles.view.SizeChangedEventArgs)=>void):void; + removeSizeChangedListener(listener:(sender:any,evt:yfiles.view.SizeChangedEventArgs)=>void):void; /** * Gets or sets how size changes of this {@link yfiles.view.CanvasComponent} will be detected. *

@@ -11103,6 +11223,7 @@ declare namespace yfiles{ */ sizeChangedDetection:yfiles.view.SizeChangedDetectionMode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.CanvasComponent; } /** * This class sets up an {@link yfiles.view.IRenderContext} object for exporting the contents of a {@link yfiles.view.CanvasComponent} (see @@ -11119,7 +11240,7 @@ declare namespace yfiles{ * * @class */ - export interface SvgExport extends Object{} + export interface SvgExport extends yfiles.lang.Object{} export class SvgExport { /** * Creates a new {@link yfiles.view.SvgExport} instance for the given world bounds and scale. @@ -11204,9 +11325,10 @@ declare namespace yfiles{ /** * Prepares the imported SVG element before it is placed in the DOM as a replacement for the original image. *

- * This method can be used to modify the element is placed in the DOM. This specific implementation copies the values of - * the x, y, width, height and preserveAspectRatio attributes from the original image element to the imported SVG element. - * In addition, the SVG is wrapped in a g element to support the transform of the original image. + * This method can be used to modify the element that is placed in the DOM. This specific implementation copies the values + * of the x, y, width, height and preserveAspectRatio attributes from the original image element to the imported SVG + * element. In addition, the SVG is wrapped in a g element to support the transform of the original image. If the original + * image element has an id attribute, it is copied to the wrapping g element. *

* @param importedSvg The root element of the SVG file that's referenced by the original image element. * @param originalImage The original image element that will be replaced. @@ -11312,7 +11434,17 @@ declare namespace yfiles{ * @type {boolean} */ inlineSvgImages:boolean; + /** + * Determines whether the IDs of an inline SVG image should be scoped to ensure that they are unique for the given image. + *

+ * This setting is enabled by default but affects only IDs of inlined images that do not contain an (optional) base IRI. + *

+ * @see yfiles.view.SvgExport#inlineSvgImages + * @type {boolean} + */ + ensureUniqueIds:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SvgExport; } /** * Helper class for {@link yfiles.view.CanvasComponent} that manages the defs section of the SVG document. @@ -11322,7 +11454,7 @@ declare namespace yfiles{ * @see yfiles.view.CanvasComponent#svgDefsManager * @class */ - export interface SvgDefsManager extends Object{} + export interface SvgDefsManager extends yfiles.lang.Object{} export class SvgDefsManager { /** * Initializes a new instance of the {@link yfiles.view.SvgDefsManager} class. @@ -11364,6 +11496,7 @@ declare namespace yfiles{ */ defs:SVGDefsElement; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SvgDefsManager; } /** * A component for displaying and editing an {@link yfiles.graph.IGraph}. @@ -11573,7 +11706,7 @@ declare namespace yfiles{ * @param [layoutData=null] * @returns */ - morphLayout(layout:yfiles.layout.ILayoutAlgorithm,morphDuration?:yfiles.lang.TimeSpan,layoutData?:yfiles.layout.LayoutData):Promise; + morphLayout(layout:yfiles.layout.ILayoutAlgorithm,morphDuration?:yfiles.lang.TimeSpan,layoutData?:yfiles.layout.LayoutData):Promise; /** * Convenience method that runs a layouter on the graph of a given graph control and animates the transition. *

@@ -11590,7 +11723,7 @@ declare namespace yfiles{ * @param [options.layoutData=null] * @returns */ - morphLayout(options:{layout:yfiles.layout.ILayoutAlgorithm,morphDuration?:yfiles.lang.TimeSpan,layoutData?:yfiles.layout.LayoutData}):Promise; + morphLayout(options:{layout:yfiles.layout.ILayoutAlgorithm,morphDuration?:yfiles.lang.TimeSpan,layoutData?:yfiles.layout.LayoutData}):Promise; /** * Gets or sets the 'current' item. * @default null @@ -11602,13 +11735,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.GraphComponent#removeCurrentItemChangedListener */ - addCurrentItemChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addCurrentItemChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the CurrentItemChanged event that occurs when the {@link yfiles.view.GraphComponent#currentItem} property has changed its value. * @param listener The listener to remove. * @see yfiles.view.GraphComponent#addCurrentItemChangedListener */ - removeCurrentItemChangedListener(listener:(sender:Object,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removeCurrentItemChangedListener(listener:(sender:any,evt:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.view.GraphComponent#selectionIndicatorManager} property. *

@@ -11661,13 +11794,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.GraphComponent#removeGraphChangedListener */ - addGraphChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addGraphChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the GraphChanged event that occurs when the {@link yfiles.view.GraphComponent#graph} property has been changed. * @param listener The listener to remove. * @see yfiles.view.GraphComponent#addGraphChangedListener */ - removeGraphChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeGraphChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Gets or sets the selection model that is used for this control. *

@@ -11686,6 +11819,7 @@ declare namespace yfiles{ */ clipboard:yfiles.graph.GraphClipboard; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GraphComponent; } /** * Convenience component implementation that shows an overview of an {@link yfiles.graph.IGraph} contained in another {@link yfiles.view.GraphOverviewComponent#graphComponent}. @@ -11705,7 +11839,7 @@ declare namespace yfiles{ * Creates a new instance of {@link yfiles.view.GraphOverviewComponent} using the div element that is specified by the selector and * that is optionally bound to the provided {@link yfiles.view.GraphOverviewComponent#graphComponent}. *

- * If no graphControl is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. + * If no graphComponent is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. *

* @param [graphComponent=null] The {@link #graphComponent} to bind this instance to. If omitted, the property needs to be set to initialize the component. * @param selector The CSS selector or id for an existing div element @@ -11715,7 +11849,7 @@ declare namespace yfiles{ * Creates a new instance of {@link yfiles.view.GraphOverviewComponent} using the div element that is specified by the selector and * that is optionally bound to the provided {@link yfiles.view.GraphOverviewComponent#graphComponent}. *

- * If no graphControl is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. + * If no graphComponent is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. *

* @param {Object} options The parameters to pass. * @param [options.graphComponent=null] The {@link #graphComponent} to bind this instance to. If omitted, the property needs to be set to initialize the component. @@ -11730,7 +11864,7 @@ declare namespace yfiles{ * Creates a new instance of {@link yfiles.view.GraphOverviewComponent} using the div element that is optionally bound to the * provided {@link yfiles.view.GraphOverviewComponent#graphComponent}. *

- * If no graphControl is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. + * If no graphComponent is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. *

* @param div The div element to use for holding the canvas. * @param [graphComponent=null] The optional graph control to {@link #graphComponent bind} this instance to. If omitted, the property needs to be set to initialize the @@ -11741,7 +11875,7 @@ declare namespace yfiles{ * Creates a new instance of {@link yfiles.view.GraphOverviewComponent} using the div element that is optionally bound to the * provided {@link yfiles.view.GraphOverviewComponent#graphComponent}. *

- * If no graphControl is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. + * If no graphComponent is provided, in order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. *

* @param {Object} options The parameters to pass. * @param options.div The div element to use for holding the canvas. @@ -11756,7 +11890,7 @@ declare namespace yfiles{ /** * Creates a new instance that is optionally bound to the provided {@link yfiles.view.GraphOverviewComponent#graphComponent}. *

- * This constructor creates a new {@link yfiles.view.CanvasComponent#div} element that needs to be added to the DOM manually. If no graphControl is provided, in + * This constructor creates a new {@link yfiles.view.CanvasComponent#div} element that needs to be added to the DOM manually. If no graphComponent is provided, in * order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. *

* @param [graphComponent=null] The {@link #graphComponent} to bind this instance to. If omitted, the property needs to be set to initialize the component. @@ -11765,7 +11899,7 @@ declare namespace yfiles{ /** * Creates a new instance that is optionally bound to the provided {@link yfiles.view.GraphOverviewComponent#graphComponent}. *

- * This constructor creates a new {@link yfiles.view.CanvasComponent#div} element that needs to be added to the DOM manually. If no graphControl is provided, in + * This constructor creates a new {@link yfiles.view.CanvasComponent#div} element that needs to be added to the DOM manually. If no graphComponent is provided, in * order for this instance to be useful, either the {@link yfiles.view.GraphOverviewComponent#graphComponent} or the {@link yfiles.view.GraphOverviewComponent#graph} property need to be set. *

* @param {Object} options The parameters to pass. @@ -11826,6 +11960,7 @@ declare namespace yfiles{ */ graphComponent:yfiles.view.GraphComponent; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GraphOverviewComponent; } /** * This class describes a grid by providing the grid's origin as well as the horizontal and vertical spacing between the @@ -11836,7 +11971,7 @@ declare namespace yfiles{ * @see yfiles.input.IGridConstraintProvider. * @class */ - export interface GridInfo extends Object{} + export interface GridInfo extends yfiles.lang.Object{} export class GridInfo { /** * Creates a new instance using the given horizontal and vertical grid spacing as well as the given origin. @@ -11869,6 +12004,7 @@ declare namespace yfiles{ */ origin:yfiles.geometry.Point; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GridInfo; } /** * This interface describes the context for many operations performed on items in a {@link yfiles.view.ICanvasContext#canvasComponent}. @@ -11878,7 +12014,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface ICanvasContext extends Object,yfiles.graph.ILookup{ + export interface ICanvasContext extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Adds an element to the defs section of the document, if it has not been added yet. * @param defsSupport The instance that is used to create and update the element and to query if the element is still referenced @@ -11887,13 +12023,13 @@ declare namespace yfiles{ */ getDefsId(defsSupport:yfiles.view.ISvgDefsCreator):string; /** - * Returns the current zoom level that is the ratio of world coordinates to screen pixels. + * Gets the current zoom level that is the ratio of world coordinates to screen pixels. * @abstract * @type {number} */ zoom:number; /** - * The radius for hit tests and marquee selection tests in world coordinates. + * Gets the radius for hit tests and marquee selection tests in world coordinates. *

* This value already takes the zoom level into account. *

@@ -11902,7 +12038,7 @@ declare namespace yfiles{ */ hitTestRadius:number; /** - * Yields the Canvas that is associated with this context. + * Gets the Canvas that is associated with this context. *

* This value may be null in those cases where no control can be associated with the current context. *

@@ -11945,7 +12081,7 @@ declare namespace yfiles{ */ DEFAULT?:yfiles.view.ICanvasContext; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ICanvasContext; }; /** * This is the interface implemented by the basic building blocks of a scene graph in a {@link yfiles.view.CanvasComponent}. @@ -11955,7 +12091,7 @@ declare namespace yfiles{ *

* @interface */ - export interface ICanvasObject extends Object{ + export interface ICanvasObject extends yfiles.lang.Object{ /** * Moves this instance exactly behind the reference item in the referenced item's group rendering list, so that it will be * rendered directly above the given reference. @@ -12066,9 +12202,9 @@ declare namespace yfiles{ * The user object will be used by the {@link yfiles.view.ICanvasObject#descriptor} during rendering, hit testing, and bounds calculation *

* @abstract - * @type {Object} + * @type {any} */ - userObject:Object; + userObject:any; /** * Gets or sets the descriptor instance that interprets the {@link yfiles.view.ICanvasObject#userObject} during rendering, hit testing, and bounds calculation. * @abstract @@ -12100,7 +12236,7 @@ declare namespace yfiles{ } var ICanvasObject:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ICanvasObject; }; /** * Central interface used by the {@link yfiles.view.CanvasComponent} to render elements from the scene graph. @@ -12111,7 +12247,7 @@ declare namespace yfiles{ *

* @interface */ - export interface ICanvasObjectDescriptor extends Object{ + export interface ICanvasObjectDescriptor extends yfiles.lang.Object{ /** * Returns an implementation of {@link yfiles.view.IBoundsProvider} that can determine the visible bounds of the rendering of the * user object. @@ -12122,10 +12258,10 @@ declare namespace yfiles{ * each call to this method. *

* @param forUserObject the user object to query the bounds for - * @returns an implementation or null if the bounds are not known, in which case the bounds are treated as infinite + * @returns An implementation of {@link } to determine the bounds of the visualization. * @abstract */ - getBoundsProvider(forUserObject:Object):yfiles.view.IBoundsProvider; + getBoundsProvider(forUserObject:any):yfiles.view.IBoundsProvider; /** * Returns an implementation of {@link yfiles.input.IHitTestable} that can determine whether the rendering of the user object has * been hit at a given coordinate. @@ -12136,10 +12272,10 @@ declare namespace yfiles{ * each call to this method. *

* @param forUserObject the user object to do the hit testing for - * @returns an implementation or null if the rendering cannot be hit tested + * @returns An implementation of {@link } to determine visibility. * @abstract */ - getHitTestable(forUserObject:Object):yfiles.input.IHitTestable; + getHitTestable(forUserObject:any):yfiles.input.IHitTestable; /** * Returns an implementation of {@link yfiles.view.IVisibilityTestable} that can determine if the rendering of the user object * would be visible in a given context. @@ -12149,11 +12285,11 @@ declare namespace yfiles{ * design pattern. Implementations of this class can always return the same instance and reconfigure this instance upon * each call to this method. *

- * @param forUserObject the user object to query the bounds for - * @returns an implementation or null if the bounds are not known, in which case the bounds are treated as infinite + * @param forUserObject the user object to query visibility for + * @returns An implementation of {@link } to determine visibility. * @abstract */ - getVisibilityTestable(forUserObject:Object):yfiles.view.IVisibilityTestable; + getVisibilityTestable(forUserObject:any):yfiles.view.IVisibilityTestable; /** * Returns an implementation of {@link yfiles.view.IVisualCreator} that will create the {@link yfiles.view.Visual} tree for the user * object. @@ -12164,10 +12300,10 @@ declare namespace yfiles{ * each call to this method. *

* @param forUserObject the user object to create a Visual for - * @returns an implementation or null if nothing shall be rendered + * @returns An implementation of {@link } to create or update the visualization. * @abstract */ - getVisualCreator(forUserObject:Object):yfiles.view.IVisualCreator; + getVisualCreator(forUserObject:any):yfiles.view.IVisualCreator; /** * Determines whether the given canvas object is deemed dirty and needs updating. * @param context The context that will be used for the update. @@ -12269,7 +12405,7 @@ declare namespace yfiles{ */ VISUAL?:yfiles.view.ICanvasObjectDescriptor; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ICanvasObjectDescriptor; }; /** * This is the interface implemented by the composite building blocks of a scene graph in a {@link yfiles.view.CanvasComponent}. @@ -12283,7 +12419,7 @@ declare namespace yfiles{ * @implements {yfiles.view.ICanvasObject} * @implements {yfiles.collections.IListEnumerable.} */ - export interface ICanvasObjectGroup extends Object,yfiles.view.ICanvasObject,yfiles.collections.IListEnumerable{ + export interface ICanvasObjectGroup extends yfiles.lang.Object,yfiles.view.ICanvasObject,yfiles.collections.IListEnumerable{ /** * Adds a child element to the scene graph as a child of this group. *

@@ -12298,7 +12434,7 @@ declare namespace yfiles{ * @see yfiles.view.ICanvasObjectDescriptor#DYNAMIC_DIRTY_INSTANCE * @abstract */ - addChild(userObject:Object,descriptor:yfiles.view.ICanvasObjectDescriptor):yfiles.view.ICanvasObject; + addChild(userObject:any,descriptor:yfiles.view.ICanvasObjectDescriptor):yfiles.view.ICanvasObject; /** * Adds a new {@link yfiles.view.ICanvasObjectGroup} to this group in the current scene graph. *

@@ -12311,7 +12447,7 @@ declare namespace yfiles{ */ addGroup():yfiles.view.ICanvasObjectGroup; /** - * Returns the first item in the rendering list of this group or null. + * Gets the first item in the rendering list of this group or null. *

* This is the item that will be rendered first, i.e. behind all of the other items in the rendering list. In order to * iterate over all immediate children, use the following idiom: @@ -12323,7 +12459,7 @@ declare namespace yfiles{ */ firstChild:yfiles.view.ICanvasObject; /** - * Returns the last item in the rendering list of this group or null. + * Gets the last item in the rendering list of this group or null. *

* This is the item that will be on top of all other items in the list. In order to iterate over all immediate children in * reverse order, use the following idiom: @@ -12335,7 +12471,7 @@ declare namespace yfiles{ } var ICanvasObjectGroup:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ICanvasObjectGroup; }; /** * An interface for objects that can install a visual representation of a highlight decoration of an item in the model @@ -12349,11 +12485,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ICanvasObjectInstaller} */ - export interface IHighlightIndicatorInstaller extends Object,yfiles.view.ICanvasObjectInstaller{ + export interface IHighlightIndicatorInstaller extends yfiles.lang.Object,yfiles.view.ICanvasObjectInstaller{ } var IHighlightIndicatorInstaller:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IHighlightIndicatorInstaller; }; /** * An interface for objects that can install a visual focus indicator decoration of an item in the model displayed in a @@ -12368,11 +12504,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ICanvasObjectInstaller} */ - export interface IFocusIndicatorInstaller extends Object,yfiles.view.ICanvasObjectInstaller{ + export interface IFocusIndicatorInstaller extends yfiles.lang.Object,yfiles.view.ICanvasObjectInstaller{ } var IFocusIndicatorInstaller:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IFocusIndicatorInstaller; }; export enum BridgeCrossingStyle{ /** @@ -12509,7 +12645,7 @@ declare namespace yfiles{ * * @class */ - export interface BridgeManager extends Object{} + export interface BridgeManager extends yfiles.lang.Object{} export class BridgeManager { /** * Initializes a new instance of the {@link yfiles.view.BridgeManager} class. @@ -12752,11 +12888,12 @@ declare namespace yfiles{ */ defaultBridgeOrientationStyle:yfiles.view.BridgeOrientationStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.BridgeManager; } /** * Allows to add bridge visualizations to a {@link yfiles.geometry.GeneralPath}. *

- * An implementation of this interface is used by {@link yfiles.view.BridgeManager} to insert bridges into an edge path. + * An implementation of this interface is used by {@link yfiles.view.BridgeManager} to {@link yfiles.view.BridgeManager#addBridges insert bridges} into an edge path. *

*

* A custom implementation of this interface is necessary if a {@link yfiles.view.BridgeCrossingStyle#CUSTOM custom bridge drawing style} is used. @@ -12768,7 +12905,7 @@ declare namespace yfiles{ * @see yfiles.view.BridgeManager * @interface */ - export interface IBridgeCreator extends Object{ + export interface IBridgeCreator extends yfiles.lang.Object{ /** * Callback that will be used by the {@link yfiles.view.BridgeManager} if the {@link yfiles.view.IBridgeCreator#getCrossingStyle} method * yields {@link yfiles.view.BridgeCrossingStyle#CUSTOM} to actually insert a bridge into the given {@link yfiles.geometry.GeneralPath}. @@ -12828,7 +12965,7 @@ declare namespace yfiles{ } var IBridgeCreator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IBridgeCreator; }; /** * Implementations of this interface can provide a path that is used to determine bridges by {@link yfiles.view.BridgeManager}. @@ -12837,7 +12974,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IObstacleProvider extends Object{ + export interface IObstacleProvider extends yfiles.lang.Object{ /** * Returns a path representing obstacles that would need bridges. *

@@ -12852,7 +12989,7 @@ declare namespace yfiles{ } var IObstacleProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IObstacleProvider; }; /** * An {@link yfiles.view.ItemModelManager.} that automatically installs and removes visual representations of items in a {@link yfiles.collections.IObservableCollection.} into or from the canvas. @@ -12904,6 +13041,7 @@ declare namespace yfiles{ */ model:yfiles.collections.IObservableCollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.CollectionModelManager; } /** * Installs and removes visual representations of items into or from the canvas. @@ -12911,7 +13049,7 @@ declare namespace yfiles{ * @class * @template T */ - export interface ItemModelManager extends Object{} + export interface ItemModelManager extends yfiles.lang.Object{} export class ItemModelManager { /** * @@ -12982,7 +13120,7 @@ declare namespace yfiles{ * @param source The instance that raised the event. * @param evt The event arguments. */ - itemAddedHandler(source:Object,evt:yfiles.collections.ItemEventArgs):void; + itemAddedHandler(source:any,evt:yfiles.collections.ItemEventArgs):void; /** * Event handler for item change events that updates the visual representation for that item. *

@@ -12995,7 +13133,7 @@ declare namespace yfiles{ * @param source The event source. * @param evt The item event args which indicate the change. */ - itemChangedHandler(source:Object,evt:yfiles.collections.ItemEventArgs):void; + itemChangedHandler(source:any,evt:yfiles.collections.ItemEventArgs):void; /** * Event handler for item removal events that removes the item from this manager. *

@@ -13007,7 +13145,7 @@ declare namespace yfiles{ * @param source The instance that raised the event. * @param evt The event arguments. */ - itemRemovedHandler(source:Object,evt:yfiles.collections.ItemEventArgs):void; + itemRemovedHandler(source:any,evt:yfiles.collections.ItemEventArgs):void; /** * Deregisters and uninstalls the given item from the canvas. * @param item The item to uninstall. @@ -13054,6 +13192,7 @@ declare namespace yfiles{ */ canvasObjectGroup:yfiles.view.ICanvasObjectGroup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ItemModelManager; } /** * Default implementation of an {@link yfiles.view.ISelectionModel.} that is based on an observable collection to hold the selected elements. @@ -13067,7 +13206,7 @@ declare namespace yfiles{ * @implements {yfiles.view.ISelectionModel.} * @template T */ - export interface DefaultSelectionModel extends Object,yfiles.view.ISelectionModel{} + export interface DefaultSelectionModel extends yfiles.lang.Object,yfiles.view.ISelectionModel{} export class DefaultSelectionModel { /** * Creates a default selection model implementation that uses a {@link yfiles.collections.ObservableCollection.} to hold the selection. @@ -13099,7 +13238,7 @@ declare namespace yfiles{ * @param source The instance that raised the event. * @param evt The event arguments. */ - itemRemovedFromDomainHandler(source:Object,evt:yfiles.collections.ItemEventArgs):void; + itemRemovedFromDomainHandler(source:any,evt:yfiles.collections.ItemEventArgs):void; /** * Called when an item gets selected or deselected. *

@@ -13127,7 +13266,7 @@ declare namespace yfiles{ */ isInDomain:(obj:T)=>boolean; /** - * Provides an observable collection view over the selected items. + * Gets an observable collection view over the selected items. * @type {yfiles.collections.IObservableCollection.} */ selection:yfiles.collections.IObservableCollection; @@ -13140,13 +13279,14 @@ declare namespace yfiles{ * * @param listener */ - addItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; /** * * @param listener */ - removeItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DefaultSelectionModel; } export enum ShowFocusPolicy{ /** @@ -13200,13 +13340,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.FocusIndicatorManager.#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when the {@link yfiles.view.FocusIndicatorManager.#focusedItem} property has been changed. * @param listener The listener to remove. * @see yfiles.view.FocusIndicatorManager.#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the focused item, updates the canvas and fires the corresponding property change event. * @type {T} @@ -13227,6 +13367,7 @@ declare namespace yfiles{ */ focused:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.FocusIndicatorManager; } /** * A {@link yfiles.view.ModelManager.} implementation that manages the visual decorations of highlighted elements in a canvas. @@ -13270,6 +13411,7 @@ declare namespace yfiles{ */ selectionModel:yfiles.view.ISelectionModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.HighlightIndicatorManager; } /** * Installs visual representations of items in a {@link yfiles.view.CanvasComponent}. @@ -13278,7 +13420,7 @@ declare namespace yfiles{ *

* @interface */ - export interface ICanvasObjectInstaller extends Object{ + export interface ICanvasObjectInstaller extends yfiles.lang.Object{ /** * This the main method of the interface that performs the installation of an item's visual representation in the {@link yfiles.view.CanvasComponent canvas} by * adding {@link yfiles.view.ICanvasObject}s. @@ -13288,11 +13430,11 @@ declare namespace yfiles{ * @returns The newly generated {@link } for the item's visual representation. null if nothing was installed. * @abstract */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; } var ICanvasObjectInstaller:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ICanvasObjectInstaller; }; /** * An interface for objects that can install a visual representation of a selection decoration of an item in the model @@ -13306,11 +13448,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ICanvasObjectInstaller} */ - export interface ISelectionIndicatorInstaller extends Object,yfiles.view.ICanvasObjectInstaller{ + export interface ISelectionIndicatorInstaller extends yfiles.lang.Object,yfiles.view.ICanvasObjectInstaller{ } var ISelectionIndicatorInstaller:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ISelectionIndicatorInstaller; }; /** * An interface that models the selection state of a set of items. @@ -13323,7 +13465,7 @@ declare namespace yfiles{ * @implements {yfiles.collections.IEnumerable.} * @template T */ - export interface ISelectionModel extends Object,yfiles.collections.IEnumerable{ + export interface ISelectionModel extends yfiles.lang.Object,yfiles.collections.IEnumerable{ /** * Clears the selection. *

@@ -13351,7 +13493,7 @@ declare namespace yfiles{ */ setSelected(item:T,selected:boolean):void; /** - * Returns the number of selected items. + * Gets the number of selected items. * @abstract * @type {number} */ @@ -13364,7 +13506,7 @@ declare namespace yfiles{ * @see yfiles.view.ISelectionModel.#removeItemSelectionChangedListener * @abstract */ - addItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; /** * Removes the given listener for the ItemSelectionChanged event that occurs when an item changed its selection state from * selected to unselected or vice versa. @@ -13373,11 +13515,11 @@ declare namespace yfiles{ * @see yfiles.view.ISelectionModel.#addItemSelectionChangedListener * @abstract */ - removeItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; } var ISelectionModel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ISelectionModel; }; /** * Provides data for the {@link yfiles.view.ISelectionModel.#addItemSelectionChangedListener ItemSelectionChanged} event. @@ -13401,6 +13543,7 @@ declare namespace yfiles{ */ itemSelected:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ItemSelectionChangedEventArgs; } /** * Manages the visual representations of items in a {@link yfiles.view.CanvasComponent}. @@ -13408,7 +13551,7 @@ declare namespace yfiles{ * @class * @template T */ - export interface ModelManager extends Object{} + export interface ModelManager extends yfiles.lang.Object{} export class ModelManager { /** * Creates a new instance that will manage the items for the given canvas. @@ -13502,6 +13645,7 @@ declare namespace yfiles{ */ enabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ModelManager; } /** * A {@link yfiles.view.ModelManager.} implementation that manages the visual decorations of selected elements in a canvas. @@ -13552,6 +13696,7 @@ declare namespace yfiles{ */ model:yfiles.collections.IObservableCollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SelectionIndicatorManager; } /** * A container that can hold a number of {@link yfiles.view.SvgVisual}s. @@ -13586,11 +13731,12 @@ declare namespace yfiles{ */ transform:yfiles.geometry.Matrix; /** - * Provides read and write access to the list of children. + * Gets the list of children with read and write access. * @type {yfiles.collections.IList.} */ children:yfiles.collections.IList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SvgVisualGroup; } /** * Renders a grid using various different {@link yfiles.view.GridVisualCreator#gridStyle styles}. @@ -13599,7 +13745,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.view.IVisualCreator} */ - export interface GridVisualCreator extends Object,yfiles.view.IVisualCreator{} + export interface GridVisualCreator extends yfiles.lang.Object,yfiles.view.IVisualCreator{} export class GridVisualCreator { /** * Initializes a new instance of the {@link yfiles.view.GridVisualCreator} class. @@ -13668,6 +13814,7 @@ declare namespace yfiles{ */ visibilityThreshold:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GridVisualCreator; } export enum GridStyle{ /** @@ -13698,7 +13845,7 @@ declare namespace yfiles{ * @see yfiles.view.ICanvasObject * @interface */ - export interface IBoundsProvider extends Object{ + export interface IBoundsProvider extends yfiles.lang.Object{ /** * Returns a tight rectangular area where the whole rendering would fit into. *

@@ -13735,7 +13882,7 @@ declare namespace yfiles{ */ UNBOUNDED?:yfiles.view.IBoundsProvider; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IBoundsProvider; }; /** * Interface that is implemented for elements that can determine whether they might be visible in a given clipping @@ -13750,7 +13897,7 @@ declare namespace yfiles{ * @see yfiles.view.ICanvasObject * @interface */ - export interface IVisibilityTestable extends Object{ + export interface IVisibilityTestable extends yfiles.lang.Object{ /** * Determines whether an element might intersect the visible region for a given context. *

@@ -13779,7 +13926,7 @@ declare namespace yfiles{ */ NEVER?:yfiles.view.IVisibilityTestable; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IVisibilityTestable; }; export enum VisualCachingPolicy{ /** @@ -13800,7 +13947,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ICanvasContext} */ - export interface IRenderContext extends Object,yfiles.view.ICanvasContext{ + export interface IRenderContext extends yfiles.lang.Object,yfiles.view.ICanvasContext{ /** * Notifies the context that the visual has been removed from the visual tree. *

@@ -13863,7 +14010,7 @@ declare namespace yfiles{ */ toViewCoordinates(worldPoint:yfiles.geometry.Point):yfiles.geometry.Point; /** - * The clipping rectangle in world coordinates. + * Gets the clipping rectangle in world coordinates. *

* Rendering outside of this clip may be skipped altogether. *

@@ -13872,8 +14019,8 @@ declare namespace yfiles{ */ clip:yfiles.geometry.Rect; /** - * A transform that can be added to the transform list of a visual to be displayed in the original coordinate system (the - * view coordinate system). + * Gets a transform that can be added to the transform list of a visual to be displayed in the original coordinate system + * (the view coordinate system). *

* In contrast to the world coordinate system where the logical coordinates of the elements that are managed by a {@link yfiles.view.CanvasComponent} * (for example, graph elements like node and edges), the view coordinate system is used to display visualizations that are @@ -13899,7 +14046,7 @@ declare namespace yfiles{ } var IRenderContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IRenderContext; }; /** * Factory interface which is used by implementations that know how to create {@link yfiles.view.Visual}s for rendering into a @@ -13909,7 +14056,7 @@ declare namespace yfiles{ * @see yfiles.view.ICanvasObject * @interface */ - export interface IVisualCreator extends Object{ + export interface IVisualCreator extends yfiles.lang.Object{ /** * This method is called by the framework to create a {@link yfiles.view.Visual} that will be included into the * {@link yfiles.view.IRenderContext}. @@ -13945,7 +14092,7 @@ declare namespace yfiles{ } var IVisualCreator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IVisualCreator; }; /** * A void/null implementation of the {@link yfiles.view.IVisualCreator} interface that does nothing. @@ -13957,7 +14104,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IVisualCreator} * @final */ - export interface VoidVisualCreator extends Object,yfiles.view.IVisualCreator{} + export interface VoidVisualCreator extends yfiles.lang.Object,yfiles.view.IVisualCreator{} export class VoidVisualCreator { /** * Returns null. @@ -13980,6 +14127,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.view.IVisualCreator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.VoidVisualCreator; } /** * An abstract base class for the {@link yfiles.view.ISelectionIndicatorInstaller}, {@link yfiles.view.IFocusIndicatorInstaller} and {@link yfiles.view.IHighlightIndicatorInstaller} @@ -13994,7 +14142,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IHighlightIndicatorInstaller} * @implements {yfiles.view.IFocusIndicatorInstaller} */ - export interface OrientedRectangleIndicatorInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} + export interface OrientedRectangleIndicatorInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} export class OrientedRectangleIndicatorInstaller { /** * Initializes a new instance of the {@link yfiles.view.OrientedRectangleIndicatorInstaller} class with fixed bounds and a {@link string}. @@ -14025,7 +14173,7 @@ declare namespace yfiles{ * @param item * @returns */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** * Factory method that returns an {@link yfiles.geometry.IOrientedRectangle} for a given user object. *

@@ -14040,7 +14188,7 @@ declare namespace yfiles{ * @returns An {@link } for the given item that is {@link #addChild added} to the {@link }. * @protected */ - getRectangle(item:Object):yfiles.geometry.IOrientedRectangle; + getRectangle(item:any):yfiles.geometry.IOrientedRectangle; /** * A {@link string} that will be used to find the {@link yfiles.view.IVisualTemplate} for drawing the selection indicator. * @const @@ -14072,6 +14220,7 @@ declare namespace yfiles{ */ template:yfiles.view.IVisualTemplate; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.OrientedRectangleIndicatorInstaller; } /** * A simple {@link yfiles.view.ISelectionIndicatorInstaller} implementation that draws an ellipse centered at a given point in @@ -14079,7 +14228,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.view.ISelectionIndicatorInstaller} */ - export interface PointSelectionIndicatorInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller{} + export interface PointSelectionIndicatorInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller{} export class PointSelectionIndicatorInstaller { /** * Creates a new instance that indicates a point. @@ -14093,7 +14242,7 @@ declare namespace yfiles{ * @param item * @returns */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** * Factory method that retrieves the center for a given user object. *

@@ -14103,7 +14252,7 @@ declare namespace yfiles{ * @returns * @protected */ - getCenterPoint(userObject:Object):yfiles.geometry.IPoint; + getCenterPoint(userObject:any):yfiles.geometry.IPoint; /** * Gets or sets the {@link yfiles.view.Stroke} to use for drawing the point in the view coordinate system. * @type {yfiles.view.Stroke} @@ -14115,6 +14264,7 @@ declare namespace yfiles{ */ fill:yfiles.view.Fill; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.PointSelectionIndicatorInstaller; } /** * A basis implementation of {@link yfiles.view.ISelectionIndicatorInstaller}, {@link yfiles.view.IFocusIndicatorInstaller} and {@link yfiles.view.IHighlightIndicatorInstaller} @@ -14129,7 +14279,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IHighlightIndicatorInstaller} * @implements {yfiles.view.IFocusIndicatorInstaller} */ - export interface RectangleIndicatorInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} + export interface RectangleIndicatorInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} export class RectangleIndicatorInstaller { /** * Initializes a new instance of the {@link yfiles.view.RectangleIndicatorInstaller} class with fixed bounds and a {@link string}. @@ -14160,7 +14310,7 @@ declare namespace yfiles{ * @param item * @returns */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** * Factory method that returns an {@link yfiles.geometry.IRectangle} for a given user object. *

@@ -14175,7 +14325,7 @@ declare namespace yfiles{ * @returns An {@link } for the given item that is {@link #addChild added} to the {@link }. * @protected */ - getRectangle(userObject:Object):yfiles.geometry.IRectangle; + getRectangle(userObject:any):yfiles.geometry.IRectangle; /** * A {@link string} that will be used to find the {@link yfiles.view.IVisualTemplate} for drawing the selection indicator. * @const @@ -14207,6 +14357,7 @@ declare namespace yfiles{ */ template:yfiles.view.IVisualTemplate; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.RectangleIndicatorInstaller; } /** * Helper class used by {@link yfiles.view.CanvasComponent} to limit the interactive movement of the viewport. @@ -14218,7 +14369,7 @@ declare namespace yfiles{ * @see yfiles.view.ViewportLimiter#bounds * @class */ - export interface ViewportLimiter extends Object{} + export interface ViewportLimiter extends yfiles.lang.Object{} export class ViewportLimiter { /** * Initializes a new instance of the {@link yfiles.view.ViewportLimiter} class. @@ -14255,6 +14406,7 @@ declare namespace yfiles{ */ bounds:yfiles.geometry.Rect; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ViewportLimiter; } export enum DragDropKeyStates{ /** @@ -14289,7 +14441,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IVisibilityTestable} * @implements {yfiles.input.IMarqueeTestable} */ - export interface DefaultPortCandidateDescriptor extends Object,yfiles.view.ICanvasObjectDescriptor,yfiles.view.IVisualCreator,yfiles.view.IBoundsProvider,yfiles.input.IHitTestable,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable{} + export interface DefaultPortCandidateDescriptor extends yfiles.lang.Object,yfiles.view.ICanvasObjectDescriptor,yfiles.view.IVisualCreator,yfiles.view.IBoundsProvider,yfiles.input.IHitTestable,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable{} export class DefaultPortCandidateDescriptor { /** * Instantiates a new descriptor. @@ -14300,25 +14452,25 @@ declare namespace yfiles{ * @param forUserObject * @returns */ - getBoundsProvider(forUserObject:Object):yfiles.view.IBoundsProvider; + getBoundsProvider(forUserObject:any):yfiles.view.IBoundsProvider; /** * * @param forUserObject * @returns */ - getHitTestable(forUserObject:Object):yfiles.input.IHitTestable; + getHitTestable(forUserObject:any):yfiles.input.IHitTestable; /** * * @param forUserObject * @returns */ - getVisibilityTestable(forUserObject:Object):yfiles.view.IVisibilityTestable; + getVisibilityTestable(forUserObject:any):yfiles.view.IVisibilityTestable; /** * * @param forUserObject * @returns */ - getVisualCreator(forUserObject:Object):yfiles.view.IVisualCreator; + getVisualCreator(forUserObject:any):yfiles.view.IVisualCreator; /** * * @param context @@ -14397,6 +14549,7 @@ declare namespace yfiles{ */ size:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DefaultPortCandidateDescriptor; } /** * Manages the visual appearance of an {@link yfiles.graph.IGraph} instance in a {@link yfiles.view.CanvasComponent}. @@ -14411,7 +14564,7 @@ declare namespace yfiles{ * @see yfiles.view.GraphModelManager#useHierarchicNodeNesting * @class */ - export interface GraphModelManager extends Object{} + export interface GraphModelManager extends yfiles.lang.Object{} export class GraphModelManager { /** * Creates a manager instance for the given control. @@ -14714,7 +14867,7 @@ declare namespace yfiles{ */ nodeLabelDescriptor:yfiles.view.ICanvasObjectDescriptor; /** - * Determines whether this instance should nest the edges accordingly if the graph is grouped. + * Gets or sets whether this instance should nest the edges accordingly if the graph is grouped. *

* Hierarchic nesting for edges requires that {@link yfiles.view.GraphModelManager#useHierarchicNodeNesting hierarchic nesting for nodes} is enabled as well. If both properties are * enabled (the default) the edges will actually be interleaved with the nodes in the nested canvas object subtree so the {@link yfiles.view.GraphModelManager#edgeGroup} @@ -14758,7 +14911,7 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; /** - * Determines whether this instance should nest the nodes {@link yfiles.view.GraphModelManager#useHierarchicEdgeNesting and optionally edges} accordingly if the graph is grouped. + * Gets or sets whether this instance should nest the nodes {@link yfiles.view.GraphModelManager#useHierarchicEdgeNesting and optionally edges} accordingly if the graph is grouped. * @type {boolean} */ useHierarchicNodeNesting:boolean; @@ -14795,6 +14948,7 @@ declare namespace yfiles{ */ static DEFAULT_LABEL_DESCRIPTOR:yfiles.view.ICanvasObjectDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GraphModelManager; } /** * An implementation of the {@link yfiles.view.IObstacleProvider} interface that uses the {@link yfiles.graph.IGraph#edges edges} and {@link yfiles.graph.IGraph#nodes nodes} of an {@link yfiles.graph.IGraph} @@ -14811,7 +14965,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.view.IObstacleProvider} */ - export interface GraphObstacleProvider extends Object,yfiles.view.IObstacleProvider{} + export interface GraphObstacleProvider extends yfiles.lang.Object,yfiles.view.IObstacleProvider{} export class GraphObstacleProvider { /** * Helper method that retrieves the {@link yfiles.graph.IGraph} to use from the context @@ -14848,13 +15002,14 @@ declare namespace yfiles{ */ queryNodes:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GraphObstacleProvider; } /** * Simple implementation of the {@link yfiles.view.IGraphSelection} interface. * @class * @implements {yfiles.view.IGraphSelection} */ - export interface GraphSelection extends Object,yfiles.view.IGraphSelection{} + export interface GraphSelection extends yfiles.lang.Object,yfiles.view.IGraphSelection{} export class GraphSelection { /** * Instantiates an instance using the the graph as the model. @@ -14965,13 +15120,14 @@ declare namespace yfiles{ * * @param listener */ - addItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; /** * * @param listener */ - removeItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GraphSelection; } /** * Manages the selection state of items in an {@link yfiles.graph.IGraph} instance. @@ -14984,9 +15140,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ISelectionModel.} */ - export interface IGraphSelection extends Object,yfiles.view.ISelectionModel{ + export interface IGraphSelection extends yfiles.lang.Object,yfiles.view.ISelectionModel{ /** - * An {@link yfiles.view.ISelectionModel.} of the selected nodes. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected nodes. *

* This is the node part of the selection that this instance is a composite of. *

@@ -14995,7 +15151,7 @@ declare namespace yfiles{ */ selectedNodes:yfiles.view.ISelectionModel; /** - * An {@link yfiles.view.ISelectionModel.} of the selected labels. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected labels. *

* This is the label part of the selection that this instance is a composite of. *

@@ -15004,7 +15160,7 @@ declare namespace yfiles{ */ selectedLabels:yfiles.view.ISelectionModel; /** - * An {@link yfiles.view.ISelectionModel.} of the selected edges. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected edges. *

* This is the edge part of the selection that this instance is a composite of. *

@@ -15013,7 +15169,7 @@ declare namespace yfiles{ */ selectedEdges:yfiles.view.ISelectionModel; /** - * An {@link yfiles.view.ISelectionModel.} of the selected ports. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected ports. *

* This is the ports part of the selection that this instance is a composite of. *

@@ -15022,7 +15178,7 @@ declare namespace yfiles{ */ selectedPorts:yfiles.view.ISelectionModel; /** - * An {@link yfiles.view.ISelectionModel.} of the selected bends. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected bends. *

* This is the bend part of the selection that this instance is a composite of. *

@@ -15033,7 +15189,7 @@ declare namespace yfiles{ } var IGraphSelection:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IGraphSelection; }; /** * An implementation of the {@link yfiles.view.ICanvasObjectInstaller} interface that can decorate the visual appearence of an @@ -15047,7 +15203,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IHighlightIndicatorInstaller} * @implements {yfiles.view.IFocusIndicatorInstaller} */ - export interface EdgeDecorationInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} + export interface EdgeDecorationInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} export class EdgeDecorationInstaller { /** * Installs a rendering for the item if it is an {@link yfiles.graph.IEdge} that will use the {@link yfiles.view.EdgeDecorationInstaller#getBendDrawing} @@ -15057,7 +15213,7 @@ declare namespace yfiles{ * @param item The item to install. * @returns The canvas object representing the item. */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** * Callback method that retrieves the drawing of the bend for the context. *

@@ -15085,6 +15241,7 @@ declare namespace yfiles{ */ getStroke(canvas:yfiles.view.CanvasComponent,edge:yfiles.graph.IEdge):yfiles.view.Stroke; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.EdgeDecorationInstaller; } /** * An implementation of the {@link yfiles.view.ICanvasObjectInstaller} interface that can install the selection outline of an @@ -15114,6 +15271,7 @@ declare namespace yfiles{ */ static BEND_TEMPLATE_KEY:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.EdgeSelectionIndicatorInstaller; } /** * An specialized subclass of the {@link yfiles.view.EdgeSelectionIndicatorInstaller} that can install the focus indicator of an @@ -15143,6 +15301,7 @@ declare namespace yfiles{ */ static BEND_TEMPLATE_KEY:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.EdgeFocusIndicatorInstaller; } /** * An specialized subclass of the {@link yfiles.view.EdgeSelectionIndicatorInstaller} that can install the highlight rendering of @@ -15172,6 +15331,7 @@ declare namespace yfiles{ */ static BEND_TEMPLATE_KEY:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.EdgeHighlightIndicatorInstaller; } /** * Allows the use of an {@link yfiles.styles.IEdgeStyle} to render the selection, highlight or focus indicator of edges. @@ -15187,7 +15347,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IHighlightIndicatorInstaller} * @implements {yfiles.view.IFocusIndicatorInstaller} */ - export interface EdgeStyleDecorationInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} + export interface EdgeStyleDecorationInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} export class EdgeStyleDecorationInstaller { /** * Create a new instance of this class. @@ -15196,7 +15356,7 @@ declare namespace yfiles{ *

* This option sets the {@link yfiles.view.EdgeStyleDecorationInstaller#edgeStyle} property on the created object. *

- * @param {yfiles.view.StyleDecorationZoomPolicy} options.zoomPolicy Specifies how the style is affected by the current zoom level. + * @param {yfiles.view.StyleDecorationZoomPolicy} options.zoomPolicy How the style is affected by the current zoom level. *

* This option sets the {@link yfiles.view.EdgeStyleDecorationInstaller#zoomPolicy} property on the created object. *

@@ -15209,25 +15369,32 @@ declare namespace yfiles{ * @param item The item to install. * @returns The canvas object representing the item. */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** - * Specifies how the style is affected by the current zoom level. + * Gets or sets how the style is affected by the current zoom level. *

* Changes of the value of this property are propagated to all styles created by this instance and become immediately * visible. *

+ *

+ * The default value is {@link yfiles.view.StyleDecorationZoomPolicy#VIEW_COORDINATES}. + *

* @type {yfiles.view.StyleDecorationZoomPolicy} */ zoomPolicy:yfiles.view.StyleDecorationZoomPolicy; /** - * The style to use for the rendering. + * Gets or sets the style to use for the rendering. *

* Changes of the value of this property are not propagated to already created styles. *

+ *

+ * The default value is an instance of {@link yfiles.styles.PolylineEdgeStyle}. + *

* @type {yfiles.styles.IEdgeStyle} */ edgeStyle:yfiles.styles.IEdgeStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.EdgeStyleDecorationInstaller; } /** * An {@link yfiles.view.IVisualCreator} for use in a {@link yfiles.view.CanvasComponent} that renders a {@link yfiles.graph.IGraph} instance in a @@ -15235,7 +15402,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.view.IVisualCreator} */ - export interface GraphOverviewCanvasVisualCreator extends Object,yfiles.view.IVisualCreator{} + export interface GraphOverviewCanvasVisualCreator extends yfiles.lang.Object,yfiles.view.IVisualCreator{} export class GraphOverviewCanvasVisualCreator { /** * Creates a new instance for the given graph. @@ -15267,6 +15434,7 @@ declare namespace yfiles{ */ paintNode(renderContext:yfiles.view.IRenderContext,ctx:CanvasRenderingContext2D,node:yfiles.graph.INode):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GraphOverviewCanvasVisualCreator; } /** * Allows the use of an {@link yfiles.styles.ILabelStyle} to render the selection, highlight or focus indicator of labels. @@ -15282,7 +15450,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IHighlightIndicatorInstaller} * @implements {yfiles.view.IFocusIndicatorInstaller} */ - export interface LabelStyleDecorationInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} + export interface LabelStyleDecorationInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} export class LabelStyleDecorationInstaller { /** * Create a new instance of this class. @@ -15291,11 +15459,11 @@ declare namespace yfiles{ *

* This option sets the {@link yfiles.view.LabelStyleDecorationInstaller#labelStyle} property on the created object. *

- * @param {yfiles.geometry.Insets} options.margins Specifies the margin around the label layout. + * @param {yfiles.geometry.Insets} options.margins The margins around the label layout. *

* This option sets the {@link yfiles.view.LabelStyleDecorationInstaller#margins} property on the created object. *

- * @param {yfiles.view.StyleDecorationZoomPolicy} options.zoomPolicy Specifies how the style is affected by the current zoom level. + * @param {yfiles.view.StyleDecorationZoomPolicy} options.zoomPolicy How the style is affected by the current zoom level. *

* This option sets the {@link yfiles.view.LabelStyleDecorationInstaller#zoomPolicy} property on the created object. *

@@ -15308,37 +15476,47 @@ declare namespace yfiles{ * @param item The item to install. * @returns The canvas object representing the item. */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** - * Specifies how the style is affected by the current zoom level. + * Gets or sets how the style is affected by the current zoom level. *

* Changes of the value of this property are propagated to all styles created by this instance and become immediately * visible. *

+ *

+ * The default value is {@link yfiles.view.StyleDecorationZoomPolicy#VIEW_COORDINATES}. + *

* @type {yfiles.view.StyleDecorationZoomPolicy} */ zoomPolicy:yfiles.view.StyleDecorationZoomPolicy; /** - * Specifies the margin around the label layout. + * Gets or sets the margins around the label layout. *

- * Actually, the bounds rendered by the style is the original label layout enlarged by this margin. + * Actually, the bounds rendered by the style is the original label layout enlarged by these margins. *

*

* Changes of the value of this property are propagated to all styles created by this instance and become immediately * visible. *

+ *

+ * The default margins have a value of 5 for all four sides. + *

* @type {yfiles.geometry.Insets} */ margins:yfiles.geometry.Insets; /** - * The style to use for the rendering. + * Gets or sets the style to use for the rendering. *

* Changes of the value of this property are not propagated to already created styles. *

+ *

+ * The default value is an instance of {@link yfiles.styles.DefaultLabelStyle}. + *

* @type {yfiles.styles.ILabelStyle} */ labelStyle:yfiles.styles.ILabelStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.LabelStyleDecorationInstaller; } /** * Allows the use of an {@link yfiles.styles.INodeStyle} to render the selection, highlight or focus indicator of nodes. @@ -15354,7 +15532,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IHighlightIndicatorInstaller} * @implements {yfiles.view.IFocusIndicatorInstaller} */ - export interface NodeStyleDecorationInstaller extends Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} + export interface NodeStyleDecorationInstaller extends yfiles.lang.Object,yfiles.view.ISelectionIndicatorInstaller,yfiles.view.IHighlightIndicatorInstaller,yfiles.view.IFocusIndicatorInstaller{} export class NodeStyleDecorationInstaller { /** * Create a new instance of this class. @@ -15363,11 +15541,11 @@ declare namespace yfiles{ *

* This option sets the {@link yfiles.view.NodeStyleDecorationInstaller#nodeStyle} property on the created object. *

- * @param {yfiles.geometry.Insets} options.margins Specifies the margin around the node layout. + * @param {yfiles.geometry.Insets} options.margins The margins around the node layout. *

* This option sets the {@link yfiles.view.NodeStyleDecorationInstaller#margins} property on the created object. *

- * @param {yfiles.view.StyleDecorationZoomPolicy} options.zoomPolicy Specifies how the style is affected by the current zoom level. + * @param {yfiles.view.StyleDecorationZoomPolicy} options.zoomPolicy How the style is affected by the current zoom level. *

* This option sets the {@link yfiles.view.NodeStyleDecorationInstaller#zoomPolicy} property on the created object. *

@@ -15380,37 +15558,47 @@ declare namespace yfiles{ * @param item The item to install. * @returns The canvas object representing the item. */ - addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:Object):yfiles.view.ICanvasObject; + addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject; /** - * Specifies how the style is affected by the current zoom level. + * Gets or sets how the style is affected by the current zoom level. *

* Changes of the value of this property are propagated to all styles created by this instance and become immediately * visible. *

+ *

+ * The default value is {@link yfiles.view.StyleDecorationZoomPolicy#VIEW_COORDINATES}. + *

* @type {yfiles.view.StyleDecorationZoomPolicy} */ zoomPolicy:yfiles.view.StyleDecorationZoomPolicy; /** - * Specifies the margin around the node layout. + * Gets or sets the margins around the node layout. *

- * Actually, the bounds rendered by the style is the original node layout enlarged by this margin. + * Actually, the bounds rendered by the style is the original node layout enlarged by these margins. *

*

* Changes of the value of this property are propagated to all styles created by this instance and become immediately * visible. *

+ *

+ * The default margins have a value of 5 for all four sides. + *

* @type {yfiles.geometry.Insets} */ margins:yfiles.geometry.Insets; /** - * The style to use for the rendering. + * Gets or sets the style to use for the rendering. *

* Changes of the value of this property are not propagated to already created styles. *

+ *

+ * The default value is an instance of {@link yfiles.styles.ShapeNodeStyle}. + *

* @type {yfiles.styles.INodeStyle} */ nodeStyle:yfiles.styles.INodeStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.NodeStyleDecorationInstaller; } export enum StyleDecorationZoomPolicy{ /** @@ -15435,7 +15623,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.ICloneable} */ - export interface Fill extends Object,yfiles.lang.ICloneable{} + export interface Fill extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class Fill { /** * Assigns the fill defined by this instance to the given element. @@ -15448,10 +15636,10 @@ declare namespace yfiles{ */ applyTo(element:SVGElement,context:yfiles.view.ICanvasContext):void; /** - * Clones this instance by returning a {@link Object#memberwiseClone} or this in case this instance is already {@link yfiles.view.Fill#isFrozen frozen}. + * Clones this instance by returning a {@link any#memberwiseClone} or this in case this instance is already {@link yfiles.view.Fill#isFrozen frozen}. * @returns An instance of the same type as this instance. */ - clone():Object; + clone():any; /** * Freezes this instance. *

@@ -16452,13 +16640,14 @@ declare namespace yfiles{ */ static YELLOW_GREEN:yfiles.view.Fill; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Fill; } /** * Represents an ARGB (alpha, red, green, blue) encoded color object. * @class * @final */ - export interface Color extends Object{} + export interface Color extends yfiles.lang.Object{} export class Color { /** * Initializes a new instance of the {@link yfiles.view.Color} class. @@ -17510,6 +17699,7 @@ declare namespace yfiles{ */ static YELLOW_GREEN:yfiles.view.Color; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Color; } /** * @@ -17533,12 +17723,13 @@ declare namespace yfiles{ */ value:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ColorExtension; } /** * Represents a cursor object. * @class */ - export interface Cursor extends Object{} + export interface Cursor extends yfiles.lang.Object{} export class Cursor { /** * Initializes a new {@link yfiles.view.Cursor} instance using the provided url and an alternative. @@ -17829,6 +18020,7 @@ declare namespace yfiles{ */ static GRABBING:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Cursor; } /** * A container for {@link yfiles.view.DashStyle#dashes} and an {@link yfiles.view.DashStyle#offset}. @@ -17838,7 +18030,7 @@ declare namespace yfiles{ *

* @class */ - export interface DashStyle extends Object{} + export interface DashStyle extends yfiles.lang.Object{} export class DashStyle { /** * Initializes a new instance of the {@link yfiles.view.DashStyle} class using the provided dashes and offset. @@ -17851,10 +18043,10 @@ declare namespace yfiles{ */ constructor(); /** - * Clones this instance by returning a {@link Object#memberwiseClone} or this in case this instance is already {@link yfiles.view.DashStyle#isFrozen frozen}. + * Clones this instance by returning a {@link any#memberwiseClone} or this in case this instance is already {@link yfiles.view.DashStyle#isFrozen frozen}. * @returns An instance of the same type as this instance. */ - clone():Object; + clone():any; /** * Freezes this instance. *

@@ -17918,6 +18110,7 @@ declare namespace yfiles{ */ static SOLID:yfiles.view.DashStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DashStyle; } /** * Template factory for creating visual representations of rectangular shaped objects. @@ -17929,7 +18122,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IVisualTemplate extends Object{ + export interface IVisualTemplate extends yfiles.lang.Object{ /** * This method is called by the framework to create a {@link yfiles.view.SvgVisual} with the given bounds. *

@@ -17943,7 +18136,7 @@ declare namespace yfiles{ * @see yfiles.view.IVisualTemplate#updateVisual * @abstract */ - createVisual(context:yfiles.view.IRenderContext,bounds:yfiles.geometry.Rect,dataObject:Object):yfiles.view.SvgVisual; + createVisual(context:yfiles.view.IRenderContext,bounds:yfiles.geometry.Rect,dataObject:any):yfiles.view.SvgVisual; /** * This method updates or replaces a previously created {@link yfiles.view.SvgVisual} for inclusion in the * {@link yfiles.view.IRenderContext}. @@ -17961,18 +18154,18 @@ declare namespace yfiles{ * object visual tree. * @abstract */ - updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.SvgVisual,bounds:yfiles.geometry.Rect,dataObject:Object):yfiles.view.SvgVisual; + updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.SvgVisual,bounds:yfiles.geometry.Rect,dataObject:any):yfiles.view.SvgVisual; } var IVisualTemplate:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IVisualTemplate; }; /** * The default implementation of a data object for the {@link yfiles.input.DropInputMode}. * @class * @final */ - export interface DragDropItem extends Object{} + export interface DragDropItem extends yfiles.lang.Object{} export class DragDropItem { /** * Initializes a new instance of the {@link yfiles.view.DragDropItem} class and sets the provided data item for the specified @@ -17981,7 +18174,7 @@ declare namespace yfiles{ * @param [data=null] The data item. * @see yfiles.view.DragDropItem#setData */ - constructor(format?:string,data?:Object); + constructor(format?:string,data?:any); /** * Initializes a new instance of the {@link yfiles.view.DragDropItem} class and sets the provided data item for the specified * format. @@ -17997,20 +18190,21 @@ declare namespace yfiles{ * @returns The data item that is stored for this format, or null if no such item exists. * @see yfiles.view.DragDropItem#setData */ - getData(format:string):Object; + getData(format:string):any; /** * Sets the data item for the given format. * @param format The format. * @param data The data item. * @see yfiles.view.DragDropItem#getData */ - setData(format:string,data:Object):void; + setData(format:string,data:any):void; /** * Gets the types of the data items stored in this instance. * @type {Array.} */ types:string[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DragDropItem; } export enum DragDropEffects{ /** @@ -18097,6 +18291,7 @@ declare namespace yfiles{ */ handled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DragEventArgs; } export enum GradientSpreadMethod{ /** @@ -18117,7 +18312,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.ICloneable} */ - export interface GradientStop extends Object,yfiles.lang.ICloneable{} + export interface GradientStop extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class GradientStop { /** * Creates a new transition point of a gradient with the given rgba values and offset. @@ -18158,10 +18353,10 @@ declare namespace yfiles{ */ constructor(options:{color?:yfiles.view.Color,offset?:number}); /** - * Clones this instance by returning a {@link Object#memberwiseClone} or this in case this instance is already {@link yfiles.view.GradientStop#isFrozen frozen}. + * Clones this instance by returning a {@link any#memberwiseClone} or this in case this instance is already {@link yfiles.view.GradientStop#isFrozen frozen}. * @returns An instance of the same type as this instance. */ - clone():Object; + clone():any; /** * Freezes this instance. *

@@ -18185,6 +18380,7 @@ declare namespace yfiles{ */ offset:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.GradientStop; } /** * Classes that implement this interface can be placed in the SVGs defs section by the {@link yfiles.view.SvgDefsManager}. @@ -18200,7 +18396,7 @@ declare namespace yfiles{ *

* @interface */ - export interface ISvgDefsCreator extends Object{ + export interface ISvgDefsCreator extends yfiles.lang.Object{ /** * Checks if the specified node references the element represented by this object. * @param context The current canvas context. @@ -18244,7 +18440,7 @@ declare namespace yfiles{ */ isUseReference?(element:Node,defsId:string):boolean; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.ISvgDefsCreator; }; export enum ImageRenderingType{ /** @@ -18458,6 +18654,7 @@ declare namespace yfiles{ */ defaultPrevented:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.KeyEventArgs; } /** * Fills an area with a linear gradient. @@ -18537,6 +18734,7 @@ declare namespace yfiles{ */ gradientStops:yfiles.collections.List; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.LinearGradient; } export enum ModifierKeys{ /** @@ -18613,6 +18811,7 @@ declare namespace yfiles{ */ size:yfiles.geometry.Size; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.PatternFill; } /** * A utility class that holds all properties of a {@link yfiles.view.Stroke}. @@ -18620,7 +18819,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface Stroke extends Object,yfiles.lang.ICloneable{} + export interface Stroke extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class Stroke { /** * Initializes a new instance of the {@link yfiles.view.Stroke} class using the given rgba values and thickness. @@ -18699,10 +18898,10 @@ declare namespace yfiles{ */ applyTo(element:SVGElement,context:yfiles.view.ICanvasContext):void; /** - * Clones this instance by returning a {@link Object#memberwiseClone} or this in case this instance is already {@link yfiles.view.Stroke#isFrozen frozen}. + * Clones this instance by returning a {@link any#memberwiseClone} or this in case this instance is already {@link yfiles.view.Stroke#isFrozen frozen}. * @returns An instance of the same type as this instance. */ - clone():Object; + clone():any; /** * Clones the current value of this instance to a new unfrozen {@link yfiles.view.Stroke}. * @returns @@ -19330,6 +19529,7 @@ declare namespace yfiles{ */ static YELLOW_GREEN:yfiles.view.Stroke; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Stroke; } export enum LineCap{ /** @@ -19455,6 +19655,7 @@ declare namespace yfiles{ */ gradientStops:yfiles.collections.List; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.RadialGradient; } /** * Base class for {@link yfiles.view.Visual}s that use HTML5's Canvas for the visualization. @@ -19483,6 +19684,7 @@ declare namespace yfiles{ */ paint(renderContext:yfiles.view.IRenderContext,ctx:CanvasRenderingContext2D):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.HtmlCanvasVisual; } export enum ShapeRenderingType{ /** @@ -19532,6 +19734,7 @@ declare namespace yfiles{ */ color:yfiles.view.Color; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SolidColorFill; } /** * Wraps a {@link SVGElement} as {@link yfiles.view.Visual}. @@ -19575,6 +19778,7 @@ declare namespace yfiles{ */ svgElement:SVGElement; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.SvgVisual; } export enum HorizontalTextAlignment{ /** @@ -19656,7 +19860,7 @@ declare namespace yfiles{ * Displays a string or any HTML element as tool tip. * @class */ - export interface ToolTip extends Object{} + export interface ToolTip extends yfiles.lang.Object{} export class ToolTip { /** * Creates a new instance. @@ -19687,7 +19891,7 @@ declare namespace yfiles{ * @param newContent The content to add. * @protected */ - onContentChanged(oldContent:Object,newContent:Object):void; + onContentChanged(oldContent:any,newContent:any):void; /** * Gets the div element that represents this {@link yfiles.view.ToolTip}. * @type {HTMLDivElement} @@ -19721,16 +19925,17 @@ declare namespace yfiles{ *

* This setter invokes the method {@link yfiles.view.ToolTip#onContentChanged} if the content is changed. *

- * @type {Object} + * @type {any} */ - content:Object; + content:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.ToolTip; } /** * Describes a font, with size, family, style, weight and line spacing. * @class */ - export interface Font extends Object{} + export interface Font extends yfiles.lang.Object{} export class Font { /** * Initializes a new instance of the {@link yfiles.view.Font} class with size 10, "Arial" family, normal weight and style and line @@ -19828,6 +20033,7 @@ declare namespace yfiles{ */ textDecoration:yfiles.view.TextDecoration; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Font; } export enum FontStyle{ NORMAL, @@ -19871,9 +20077,10 @@ declare namespace yfiles{ * @see yfiles.view.HtmlCanvasVisual * @class */ - export interface Visual extends Object{} + export interface Visual extends yfiles.lang.Object{} export class Visual { static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.Visual; } export enum MouseEventTypes{ /** @@ -19982,12 +20189,12 @@ declare namespace yfiles{ */ eventType:yfiles.view.MouseEventTypes; /** - * Returns the coordinates in the world coordinate space associated with this event. + * Gets the coordinates in the world coordinate space associated with this event. * @type {yfiles.geometry.Point} */ location:yfiles.geometry.Point; /** - * Returns the number of clicks the current event represents if it is of type {@link yfiles.view.MouseEventTypes#CLICK}. + * Gets the number of clicks the current event represents if it is of type {@link yfiles.view.MouseEventTypes#CLICK}. * @type {number} */ clickCount:number; @@ -20023,24 +20230,24 @@ declare namespace yfiles{ */ deltaMode:yfiles.view.MouseWheelDeltaMode; /** - * Returns the modifier keys that have changed for this event. + * Gets the modifier keys that have changed for this event. * @see yfiles.view.MouseEventArgs#modifiers * @type {yfiles.view.ModifierKeys} */ changedModifiers:yfiles.view.ModifierKeys; /** - * Returns the mouse buttons that have changed for this event. + * Gets the mouse buttons that have changed for this event. * @see yfiles.view.MouseEventArgs#buttons * @type {yfiles.view.MouseButtons} */ changedButtons:yfiles.view.MouseButtons; /** - * The state of the modifier keys at the time of the event creation. + * Gets the state of the modifier keys at the time of the event creation. * @type {yfiles.view.ModifierKeys} */ modifiers:yfiles.view.ModifierKeys; /** - * The state of the mouse buttons at the time of the event creation. + * Gets the state of the mouse buttons at the time of the event creation. * @type {yfiles.view.MouseButtons} */ buttons:yfiles.view.MouseButtons; @@ -20056,6 +20263,7 @@ declare namespace yfiles{ */ defaultPrevented:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.MouseEventArgs; } export enum MouseWheelDeltaMode{ /** @@ -20180,12 +20388,13 @@ declare namespace yfiles{ */ defaultPrevented:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.TouchEventArgs; } /** * The representation of a touch point on the screen. * @class */ - export interface TouchDevice extends Object{} + export interface TouchDevice extends yfiles.lang.Object{} export class TouchDevice { /** * Gets the device's index @@ -20219,6 +20428,7 @@ declare namespace yfiles{ */ isDown:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.TouchDevice; } /** * The event argument class that is used by {@link yfiles.view.DragSource#addQueryContinueDragListener QueryContinueDrag} @@ -20250,6 +20460,7 @@ declare namespace yfiles{ */ handled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.QueryContinueDragEventArgs; } export enum DragAction{ /** @@ -20269,7 +20480,7 @@ declare namespace yfiles{ * Helper class for drag and drop support that is used for the source of drag and drop operations. * @class */ - export interface DragSource extends Object{} + export interface DragSource extends yfiles.lang.Object{} export class DragSource { /** * Initializes a new instance of the {@link yfiles.view.DragSource} class setting the {@link yfiles.view.DragSource#source} property to the given element. @@ -20333,7 +20544,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.DragSource#removeQueryContinueDragListener */ - addQueryContinueDragListener(listener:(sender:Object,evt:yfiles.view.QueryContinueDragEventArgs)=>void):void; + addQueryContinueDragListener(listener:(sender:any,evt:yfiles.view.QueryContinueDragEventArgs)=>void):void; /** * Removes the given listener for the QueryContinueDrag event that occurs when the state of the {@link yfiles.view.DragDropKeyStates} * has changed to query the source whether the drag operation should be continued. @@ -20343,7 +20554,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.DragSource#addQueryContinueDragListener */ - removeQueryContinueDragListener(listener:(sender:Object,evt:yfiles.view.QueryContinueDragEventArgs)=>void):void; + removeQueryContinueDragListener(listener:(sender:any,evt:yfiles.view.QueryContinueDragEventArgs)=>void):void; /** * Gets or sets the source element from which drags can originate. *

@@ -20363,12 +20574,12 @@ declare namespace yfiles{ /** * Gets or sets the data that will be used for the {@link yfiles.view.DragSource#allowDrag automatic drag operation}. *

- * If this data is not a {@link yfiles.view.DragDropItem}, the {@link yfiles.input.DropInputMode expected format} of the automatic drag operation will be code. + * If this data is not a {@link yfiles.view.DragDropItem}, the expected format of the automatic drag operation will be code. *

* @default null - * @type {Object} + * @type {any} */ - item:Object; + item:any; /** * Gets or sets the {@link yfiles.view.DragSource#effectAllowed} that will be used for the {@link yfiles.view.DragSource#allowDrag automatic drag operation}. * @default yfiles.view.DragDropEffects.ALL @@ -20376,13 +20587,14 @@ declare namespace yfiles{ */ effectAllowed:yfiles.view.DragDropEffects; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DragSource; } /** * Helper class that plays the role of the target during a drag and drop operation that is initiated using {@link yfiles.view.DragSource#startDrag} * in a {@link yfiles.view.DragSource}. * @class */ - export interface DropTarget extends Object{} + export interface DropTarget extends yfiles.lang.Object{} export class DropTarget { /** * Initializes a new instance of the {@link yfiles.view.DropTarget} class. @@ -20419,7 +20631,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.DropTarget#removeDragEnterListener */ - addDragEnterListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + addDragEnterListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Removes the given listener for the DragEnter event that occurs when a drag enters the drop target. *

@@ -20428,7 +20640,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.DropTarget#addDragEnterListener */ - removeDragEnterListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + removeDragEnterListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Adds the given listener for the DragLeave event that occurs when a drag leaves the drop target. *

@@ -20437,7 +20649,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.DropTarget#removeDragLeaveListener */ - addDragLeaveListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + addDragLeaveListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Removes the given listener for the DragLeave event that occurs when a drag leaves the drop target. *

@@ -20446,7 +20658,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.DropTarget#addDragLeaveListener */ - removeDragLeaveListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + removeDragLeaveListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Adds the given listener for the DragOver event that occurs when a drag is being performed over the drop target. *

@@ -20455,7 +20667,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.DropTarget#removeDragOverListener */ - addDragOverListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + addDragOverListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Removes the given listener for the DragOver event that occurs when a drag is being performed over the drop target. *

@@ -20464,7 +20676,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.DropTarget#addDragOverListener */ - removeDragOverListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + removeDragOverListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Adds the given listener for the Drop event that occurs when the drop operation is performed on the drop target. *

@@ -20473,7 +20685,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.view.DropTarget#removeDropListener */ - addDropListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + addDropListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Removes the given listener for the Drop event that occurs when the drop operation is performed on the drop target. *

@@ -20482,20 +20694,21 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.view.DropTarget#addDropListener */ - removeDropListener(listener:(sender:Object,evt:yfiles.view.DragEventArgs)=>void):void; + removeDropListener(listener:(sender:any,evt:yfiles.view.DragEventArgs)=>void):void; /** * Gets or sets a value indicating whether dropping to this target is currently allowed. * @type {boolean} */ allowDrop:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.DropTarget; } /** * An animation for the {@link yfiles.graph.IStripe stripes} in an {@link yfiles.graph.ITable}. * @class * @implements {yfiles.view.IAnimation} */ - export interface TableAnimation extends Object,yfiles.view.IAnimation{} + export interface TableAnimation extends yfiles.lang.Object,yfiles.view.IAnimation{} export class TableAnimation { /** * Initializes a new instance of the {@link yfiles.view.TableAnimation} class for the given table, the column widths, and row @@ -20537,6 +20750,7 @@ declare namespace yfiles{ */ preferredDuration:yfiles.lang.TimeSpan; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.TableAnimation; } /** * Manages the selection state of items in an {@link yfiles.graph.ITable} instance. @@ -20548,9 +20762,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ISelectionModel.} */ - export interface IStripeSelection extends Object,yfiles.view.ISelectionModel{ + export interface IStripeSelection extends yfiles.lang.Object,yfiles.view.ISelectionModel{ /** - * An {@link yfiles.view.ISelectionModel.} of the selected rows. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected rows. *

* This is the row part of the selection that this instance is a composite of. *

@@ -20559,7 +20773,7 @@ declare namespace yfiles{ */ selectedRows:yfiles.view.ISelectionModel; /** - * An {@link yfiles.view.ISelectionModel.} of the selected columns. + * Gets an {@link yfiles.view.ISelectionModel.} of the selected columns. *

* This is the column part of the selection that this instance is a composite of. *

@@ -20568,13 +20782,13 @@ declare namespace yfiles{ */ selectedColumns:yfiles.view.ISelectionModel; /** - * Whether to allow mixed row/column selections + * Gets or sets whether to allow mixed row/column selections * @abstract * @type {boolean} */ allowMixedSelection:boolean; /** - * Whether to allow the selection to span multiple table instances + * Gets or sets whether to allow the selection to span multiple table instances *

* The default is false *

@@ -20585,14 +20799,14 @@ declare namespace yfiles{ } var IStripeSelection:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.view.IStripeSelection; }; /** * Default implementation of the {@link yfiles.view.IStripeSelection} interface. * @class * @implements {yfiles.view.IStripeSelection} */ - export interface StripeSelection extends Object,yfiles.view.IStripeSelection{} + export interface StripeSelection extends yfiles.lang.Object,yfiles.view.IStripeSelection{} export class StripeSelection { /** * Default constructor that creates empty selection models. @@ -20626,7 +20840,7 @@ declare namespace yfiles{ */ setSelected(item:yfiles.graph.IStripe,selected:boolean):void; /** - * Whether to allow mixed row/column selections + * Gets or sets whether to allow mixed row/column selections *

* The default is false *

@@ -20634,7 +20848,7 @@ declare namespace yfiles{ */ allowMixedSelection:boolean; /** - * Whether to allow the selection to span multiple table instances + * Gets or sets whether to allow the selection to span multiple table instances *

* The default is true *

@@ -20660,13 +20874,14 @@ declare namespace yfiles{ * * @param listener */ - addItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; /** * * @param listener */ - removeItemSelectionChangedListener(listener:(sender:Object,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; + removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.view.StripeSelection; } }export namespace input{ export enum GridSnapTypes{ @@ -20701,7 +20916,7 @@ declare namespace yfiles{ * @interface * @template T */ - export interface IHitTester extends Object{ + export interface IHitTester extends yfiles.lang.Object{ /** * Yields an enumerable that enumerates the hits for a given world coordinate. * @param context The context in which to perform the hit testing. @@ -20713,7 +20928,7 @@ declare namespace yfiles{ } var IHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IHitTester; }; /** * This is a flagging interface for instances of {@link yfiles.input.IHitTester.} that enumerate over a collection of {@link yfiles.graph.INode INodes}. @@ -20723,11 +20938,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IHitTester.} */ - export interface INodeHitTester extends Object,yfiles.input.IHitTester{ + export interface INodeHitTester extends yfiles.lang.Object,yfiles.input.IHitTester{ } var INodeHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.INodeHitTester; }; /** * This is a flagging interface for instances of {@link yfiles.input.IHitTester.} that enumerate over a collection of {@link yfiles.graph.ILabel ILabels}. @@ -20737,11 +20952,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IHitTester.} */ - export interface ILabelHitTester extends Object,yfiles.input.IHitTester{ + export interface ILabelHitTester extends yfiles.lang.Object,yfiles.input.IHitTester{ } var ILabelHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.ILabelHitTester; }; /** * This is a flagging interface for instances of {@link yfiles.input.IHitTester.} that enumerate over a collection of {@link yfiles.graph.ILabelOwner}. @@ -20751,11 +20966,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IHitTester.} */ - export interface ILabelOwnerHitTester extends Object,yfiles.input.IHitTester{ + export interface ILabelOwnerHitTester extends yfiles.lang.Object,yfiles.input.IHitTester{ } var ILabelOwnerHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.ILabelOwnerHitTester; }; /** * This is a flagging interface for instances of {@link yfiles.input.IHitTester.} that enumerate over a collection of {@link yfiles.graph.IPort IPorts}. @@ -20765,11 +20980,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IHitTester.} */ - export interface IPortHitTester extends Object,yfiles.input.IHitTester{ + export interface IPortHitTester extends yfiles.lang.Object,yfiles.input.IHitTester{ } var IPortHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IPortHitTester; }; /** * This is a flagging interface for instances of {@link yfiles.input.IHitTester.} that enumerate over a collection of {@link yfiles.graph.IEdge IEdges}. @@ -20779,11 +20994,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IHitTester.} */ - export interface IEdgeHitTester extends Object,yfiles.input.IHitTester{ + export interface IEdgeHitTester extends yfiles.lang.Object,yfiles.input.IHitTester{ } var IEdgeHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IEdgeHitTester; }; /** * This is a flagging interface for instances of {@link yfiles.input.IHitTester.} that enumerate over a collection of {@link yfiles.graph.IBend IBends}. @@ -20793,11 +21008,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IHitTester.} */ - export interface IBendHitTester extends Object,yfiles.input.IHitTester{ + export interface IBendHitTester extends yfiles.lang.Object,yfiles.input.IHitTester{ } var IBendHitTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IBendHitTester; }; /** * Abstract base class implementation of an {@link yfiles.input.IInputMode} that can be used concurrently with other {@link yfiles.input.IInputMode} @@ -20808,7 +21023,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface InputModeBase extends Object,yfiles.input.IInputMode{} + export interface InputModeBase extends yfiles.lang.Object,yfiles.input.IInputMode{} export class InputModeBase { /** * Initializes a new instance of the {@link yfiles.input.InputModeBase} class. @@ -21080,7 +21295,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#install * @see yfiles.input.InputModeBase#removeInitializingListener */ - addInitializingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addInitializingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Initializing event that occurs before the call to * {@link yfiles.input.InputModeBase#initialize} @@ -21091,7 +21306,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#install * @see yfiles.input.InputModeBase#addInitializingListener */ - removeInitializingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeInitializingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Initialized event that occurs after the call to {@link yfiles.input.InputModeBase#initialize} *

@@ -21102,7 +21317,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#install * @see yfiles.input.InputModeBase#removeInitializedListener */ - addInitializedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addInitializedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Initialized event that occurs after the call to * {@link yfiles.input.InputModeBase#initialize} @@ -21114,7 +21329,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#install * @see yfiles.input.InputModeBase#addInitializedListener */ - removeInitializedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeInitializedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Canceled event that occurs after the call to {@link yfiles.input.InputModeBase#cancel} *

@@ -21127,7 +21342,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#addStoppedListener * @see yfiles.input.InputModeBase#removeCanceledListener */ - addCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Canceled event that occurs after the call to {@link yfiles.input.InputModeBase#cancel} *

@@ -21140,7 +21355,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#addStoppedListener * @see yfiles.input.InputModeBase#addCanceledListener */ - removeCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Stopped event that occurs after the call to {@link yfiles.input.InputModeBase#tryStop} *

@@ -21153,7 +21368,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#addCanceledListener * @see yfiles.input.InputModeBase#removeStoppedListener */ - addStoppedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addStoppedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Stopped event that occurs after the call to {@link yfiles.input.InputModeBase#tryStop} *

@@ -21166,15 +21381,15 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase#addCanceledListener * @see yfiles.input.InputModeBase#addStoppedListener */ - removeStoppedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeStoppedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** - * Returns whether this mode is currently installed in a {@link yfiles.view.CanvasComponent}. + * Gets whether this mode is currently installed in a {@link yfiles.view.CanvasComponent}. * @see yfiles.input.InputModeBase#install * @type {boolean} */ installed:boolean; /** - * Returns the context instance this mode is currently installed in or null if this instance is not installed. + * Gets the context instance this mode is currently installed in or null if this instance is not installed. *

* Note that this instance should not be passed down to subordinate modes or instances. Instead a corresponding context * that has this instance set as the {@link yfiles.input.IInputModeContext#parentInputMode} should be used. One such instance can be obtained through helper method @@ -21198,7 +21413,7 @@ declare namespace yfiles{ */ enabled:boolean; /** - * Returns if this mode is active. + * Gets if this mode is active. *

* This mode is active if a {@link yfiles.input.InputModeBase#controller} is installed and is {@link yfiles.input.ConcurrencyController#active}. *

@@ -21218,7 +21433,7 @@ declare namespace yfiles{ */ exclusive:boolean; /** - * Returns the installed {@link yfiles.input.InputModeBase#controller}. + * Gets the installed {@link yfiles.input.InputModeBase#controller}. * @see yfiles.input.InputModeBase#requestMutex * @see yfiles.input.InputModeBase#releaseMutex * @see yfiles.input.InputModeBase#hasMutex @@ -21228,6 +21443,7 @@ declare namespace yfiles{ */ controller:yfiles.input.ConcurrencyController; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.InputModeBase; } /** * Event arguments used by {@link yfiles.input.ClickInputMode#addClickedListener Clicked}. @@ -21279,6 +21495,7 @@ declare namespace yfiles{ */ clickCount:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ClickEventArgs; } export enum DoubleClickPolicy{ /** @@ -21320,7 +21537,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface ClickInputMode extends Object,yfiles.input.IInputMode{} + export interface ClickInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class ClickInputMode { /** * Creates a new instance of this mode that detects left mouse clicks. @@ -21340,19 +21557,19 @@ declare namespace yfiles{ * @returns * @protected */ - createClickRecognizer():(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createClickRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates the event recognizer that is used to recognize the press event for this instance. * @returns * @protected */ - createPressRecognizer():(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createPressRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates the event recognizer that is used to recognize the release event for this instance. * @returns * @protected */ - createReleaseRecognizer():(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createReleaseRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Installs this mode into the given context that is provided by the canvas. *

@@ -21380,7 +21597,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#validClickHitTestable * @protected */ - isInvalidPress(eventSource:Object,evt:yfiles.lang.EventArgs):boolean; + isInvalidPress(eventSource:any,evt:yfiles.lang.EventArgs):boolean; /** * Determines whether the given event is a valid click event. * @param src @@ -21389,7 +21606,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#validClickHitTestable * @protected */ - isValidClick(src:Object,evt:yfiles.lang.EventArgs):boolean; + isValidClick(src:any,evt:yfiles.lang.EventArgs):boolean; /** * Determines whether the given event is a valid press event. * @param eventSource @@ -21397,7 +21614,7 @@ declare namespace yfiles{ * @returns * @protected */ - isValidPress(eventSource:Object,evt:yfiles.lang.EventArgs):boolean; + isValidPress(eventSource:any,evt:yfiles.lang.EventArgs):boolean; /** * Determines whether the given event is a valid release event. * @param src @@ -21406,7 +21623,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#validClickHitTestable * @protected */ - isValidRelease(src:Object,evt:yfiles.lang.EventArgs):boolean; + isValidRelease(src:any,evt:yfiles.lang.EventArgs):boolean; /** * Called after {@link yfiles.input.ClickInputMode#cancel} has been called. *

@@ -21594,7 +21811,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#removeClickedListener */ - addClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the Clicked event that occurs once a click has been detected. * @param listener The listener to remove. @@ -21602,7 +21819,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#addClickedListener */ - removeClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Adds the given listener for the LeftClicked event that occurs once a left click has been detected. * @param listener The listener to add. @@ -21610,7 +21827,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#removeLeftClickedListener */ - addLeftClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addLeftClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the LeftClicked event that occurs once a left click has been detected. * @param listener The listener to remove. @@ -21618,7 +21835,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#addLeftClickedListener */ - removeLeftClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeLeftClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Adds the given listener for the RightClicked event that occurs once a right click has been detected. * @param listener The listener to add. @@ -21626,7 +21843,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#removeRightClickedListener */ - addRightClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addRightClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the RightClicked event that occurs once a right click has been detected. * @param listener The listener to remove. @@ -21634,7 +21851,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#addRightClickedListener */ - removeRightClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeRightClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Adds the given listener for the DoubleClicked event that occurs once a double-click has been detected. * @param listener The listener to add. @@ -21642,7 +21859,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#removeDoubleClickedListener */ - addDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the DoubleClicked event that occurs once a double-click has been detected. * @param listener The listener to remove. @@ -21650,7 +21867,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#addDoubleClickedListener */ - removeDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Adds the given listener for the LeftDoubleClicked event that occurs once a left double-click has been detected. * @param listener The listener to add. @@ -21658,7 +21875,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#removeLeftDoubleClickedListener */ - addLeftDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addLeftDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the LeftDoubleClicked event that occurs once a left double-click has been detected. * @param listener The listener to remove. @@ -21666,7 +21883,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#addLeftDoubleClickedListener */ - removeLeftDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeLeftDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Adds the given listener for the RightDoubleClicked event that occurs once a right double-click has been detected. * @param listener The listener to add. @@ -21674,7 +21891,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#removeRightDoubleClickedListener */ - addRightDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addRightDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the RightDoubleClicked event that occurs once a right double-click has been detected. * @param listener The listener to remove. @@ -21682,7 +21899,7 @@ declare namespace yfiles{ * @see yfiles.input.ClickInputMode#doubleClickPolicy * @see yfiles.input.ClickInputMode#addRightDoubleClickedListener */ - removeRightDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeRightDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Gets or sets the click handling mode that determines the triggering behavior of {@link yfiles.input.ClickInputMode#addClickedListener Clicked} * and {@link yfiles.input.ClickInputMode#addDoubleClickedListener DoubleClicked}. @@ -21701,7 +21918,7 @@ declare namespace yfiles{ */ validClickHitTestable:yfiles.input.IHitTestable; /** - * Whether to {@link yfiles.input.ConcurrencyController#requestMutex request the mutex} on a click. + * Gets or sets whether to {@link yfiles.input.ConcurrencyController#requestMutex request the mutex} on a click. *

* If set to true this will discard other concurrent input modes on a click. The default is true. *

@@ -21718,7 +21935,7 @@ declare namespace yfiles{ */ validClickHitCursor:yfiles.view.Cursor; /** - * Determines for which button(s) mouse clicks should be processed. + * Gets or sets for which button(s) mouse clicks should be processed. *

* Default value is {@link yfiles.view.MouseButtons#LEFT} *

@@ -21743,11 +21960,12 @@ declare namespace yfiles{ */ clickLocation:yfiles.geometry.Point; /** - * Returns the state of the modifier keys at the time of the end of the gesture. + * Gets the state of the modifier keys at the time of the end of the gesture. * @type {yfiles.view.ModifierKeys} */ modifiers:yfiles.view.ModifierKeys; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ClickInputMode; } /** * Event arguments for the {@link yfiles.input.SnapContext#addCollectSnapResultsListener CollectSnapResults} event. @@ -21793,11 +22011,12 @@ declare namespace yfiles{ */ delta:yfiles.geometry.Point; /** - * The zoom invariant snap distance. + * Gets the zoom invariant snap distance. * @type {number} */ snapDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.CollectSnapResultsEventArgs; } /** * A controller class that manages a single {@link yfiles.input.IInputMode} implementation. @@ -21811,7 +22030,7 @@ declare namespace yfiles{ * @class * @final */ - export interface ConcurrencyController extends Object{} + export interface ConcurrencyController extends yfiles.lang.Object{} export class ConcurrencyController { /** * Creates an instance that can be used to {@link yfiles.input.IInputMode#install} the given mode. @@ -21871,7 +22090,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ConcurrencyController#removeMutexObtainedListener */ - addMutexObtainedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addMutexObtainedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the MutexObtained event that occurs when the mutex has been successfully obtained. *

@@ -21880,7 +22099,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.ConcurrencyController#addMutexObtainedListener */ - removeMutexObtainedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeMutexObtainedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the MutexReleased event that occurs when the mutex has been released. *

@@ -21889,7 +22108,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ConcurrencyController#removeMutexReleasedListener */ - addMutexReleasedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addMutexReleasedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the MutexReleased event that occurs when the mutex has been released. *

@@ -21898,7 +22117,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.ConcurrencyController#addMutexReleasedListener */ - removeMutexReleasedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeMutexReleasedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Gets the current owner of the input mutex or null if no mode currently owns the mutex. * @type {yfiles.input.IInputMode} @@ -21919,7 +22138,7 @@ declare namespace yfiles{ */ enabled:boolean; /** - * Returns if this controller is active. + * Gets if this controller is active. *

* An {@link yfiles.input.IInputMode} should only handle events and gestures if this property on its associated {@link yfiles.input.ConcurrencyController} * is set to true. @@ -21940,7 +22159,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ConcurrencyController#removeActiveChangedListener */ - addActiveChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addActiveChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the ActiveChanged event that occurs the {@link yfiles.input.ConcurrencyController#active} property changes. *

@@ -21949,9 +22168,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.ConcurrencyController#addActiveChangedListener */ - removeActiveChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeActiveChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** - * Gets a value indicating whether this controller will be the only one running when it has the mutex. + * Gets or sets a value indicating whether this controller will be the only one running when it has the mutex. *

* If this controller is marked as exclusive and has the mutex, all controllers of other modes {@link yfiles.input.MultiplexingInputMode#add added} to the same {@link yfiles.input.MultiplexingInputMode} * will be {@link yfiles.input.ConcurrencyController#active deactivated}. Otherwise it will always run concurrently with all other controllers. @@ -21963,7 +22182,7 @@ declare namespace yfiles{ */ exclusive:boolean; /** - * Returns the cursor the associated mode of this controller would like to have displayed in the + * Gets or sets the cursor the associated mode of this controller would like to have displayed in the * {@link yfiles.view.CanvasComponent}. *

* To indicate that the mode does not have any preferences the property should be set to null. @@ -21980,7 +22199,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ConcurrencyController#removePreferredCursorChangedListener */ - addPreferredCursorChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addPreferredCursorChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the PreferredCursorChanged event that occurs when the {@link yfiles.input.ConcurrencyController#preferredCursor} property changes. *

@@ -21990,7 +22209,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.ConcurrencyController#addPreferredCursorChangedListener */ - removePreferredCursorChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removePreferredCursorChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the PriorityChanged event that occurs when {@link yfiles.input.ConcurrencyController#onPriorityChanged} * is called by the associated mode. @@ -22000,7 +22219,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ConcurrencyController#removePriorityChangedListener */ - addPriorityChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addPriorityChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the PriorityChanged event that occurs when {@link yfiles.input.ConcurrencyController#onPriorityChanged} * is called by the associated mode. @@ -22010,8 +22229,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.ConcurrencyController#addPriorityChangedListener */ - removePriorityChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removePriorityChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ConcurrencyController; } /** * Event arguments for the {@link yfiles.input.ContextMenuInputMode#addPopulateMenuListener PopulateMenu} @@ -22055,6 +22275,7 @@ declare namespace yfiles{ */ showMenu:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PopulateMenuEventArgs; } /** * An implementation of the {@link yfiles.input.IInputMode} interface that handles the display of a custom context menu when the @@ -22087,7 +22308,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface ContextMenuInputMode extends Object,yfiles.input.IInputMode{} + export interface ContextMenuInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class ContextMenuInputMode { /** * Initializes a new instance of the {@link yfiles.input.ContextMenuInputMode} class. @@ -22258,7 +22479,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ContextMenuInputMode#removePopulateMenuListener */ - addPopulateMenuListener(listener:(sender:Object,evt:yfiles.input.PopulateMenuEventArgs)=>void):void; + addPopulateMenuListener(listener:(sender:any,evt:yfiles.input.PopulateMenuEventArgs)=>void):void; /** * Removes the given listener for the PopulateMenu event that occurs when the context menu is about to be shown. *

@@ -22269,7 +22490,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.ContextMenuInputMode#addPopulateMenuListener */ - removePopulateMenuListener(listener:(sender:Object,evt:yfiles.input.PopulateMenuEventArgs)=>void):void; + removePopulateMenuListener(listener:(sender:any,evt:yfiles.input.PopulateMenuEventArgs)=>void):void; /** * Gets or sets an {@link yfiles.input.IHitTestable} that determines whether it is valid to open a context menu at the queried * position. @@ -22299,7 +22520,7 @@ declare namespace yfiles{ * @see yfiles.input.ContextMenuInputMode#menuClosed * @see yfiles.input.ContextMenuInputMode#removeCloseMenuListener */ - addCloseMenuListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addCloseMenuListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the CloseMenu event that occurs when this instance requests closing an open context * menu. @@ -22310,8 +22531,9 @@ declare namespace yfiles{ * @see yfiles.input.ContextMenuInputMode#menuClosed * @see yfiles.input.ContextMenuInputMode#addCloseMenuListener */ - removeCloseMenuListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeCloseMenuListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ContextMenuInputMode; } /** * This is an input mode handling drag and drop related events on a {@link yfiles.view.CanvasComponent}. @@ -22347,7 +22569,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface DropInputMode extends Object,yfiles.input.IInputMode{} + export interface DropInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class DropInputMode { /** * Initializes a new instance of the {@link yfiles.input.DropInputMode} class for the expected data format. @@ -22509,7 +22731,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.DropInputMode#controller}. + * Gets the installed {@link yfiles.input.DropInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -22532,7 +22754,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.DropInputMode#removeDragEnteredListener */ - addDragEnteredListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragEnteredListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragEntered event that occurs when a drag operation enters the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22551,7 +22773,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.DropInputMode#addDragEnteredListener */ - removeDragEnteredListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragEnteredListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragOver event that occurs when a drag operation drags over the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22570,7 +22792,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.DropInputMode#removeDragOverListener */ - addDragOverListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragOverListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragOver event that occurs when a drag operation drags over the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22589,7 +22811,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.DropInputMode#addDragOverListener */ - removeDragOverListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragOverListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragLeft event that occurs when a drag operation leaves the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22608,7 +22830,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.DropInputMode#removeDragLeftListener */ - addDragLeftListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragLeftListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragLeft event that occurs when a drag operation leaves the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22627,7 +22849,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.DropInputMode#addDragLeftListener */ - removeDragLeftListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragLeftListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragDropped event that occurs when a drag operation is dropped onto the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22646,7 +22868,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.DropInputMode#removeDragDroppedListener */ - addDragDroppedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragDroppedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragDropped event that occurs when a drag operation is dropped onto the {@link yfiles.view.CanvasComponent} * into which this instance is installed. @@ -22665,7 +22887,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.DropInputMode#addDragDroppedListener */ - removeDragDroppedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragDroppedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.view.DragDropEffects} that will be used for drags on the canvas. * @type {yfiles.view.DragDropEffects} @@ -22704,9 +22926,9 @@ declare namespace yfiles{ *

* This is only valid, if a drag entered the {@link yfiles.view.CanvasComponent} first. *

- * @type {Object} + * @type {any} */ - dropData:Object; + dropData:any; /** * Gets or sets a value indicating whether to capture mouse input during drag operations. *

@@ -22717,6 +22939,7 @@ declare namespace yfiles{ */ captureMouseInputDuringDrag:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.DropInputMode; } /** * An {@link yfiles.input.IInputMode} that can be added to a {@link yfiles.input.MultiplexingInputMode} to suppress other modes from doing @@ -22733,7 +22956,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface FocusGuardInputMode extends Object,yfiles.input.IInputMode{} + export interface FocusGuardInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class FocusGuardInputMode { /** * Creates a new instance of this mode. @@ -22844,7 +23067,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.FocusGuardInputMode#controller}. + * Gets the installed {@link yfiles.input.FocusGuardInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -22858,6 +23081,7 @@ declare namespace yfiles{ */ guardCursor:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.FocusGuardInputMode; } /** * An {@link yfiles.input.IInputMode} implementation that can handle a collection of {@link yfiles.input.IHandle}s. @@ -22872,7 +23096,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface HandleInputMode extends Object,yfiles.input.IInputMode{} + export interface HandleInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class HandleInputMode { /** * Creates a new mode with no handles initially. @@ -23016,7 +23240,7 @@ declare namespace yfiles{ * @see yfiles.input.HandleInputMode#getClosestHitHandle * @protected */ - isHovering(sender:Object,evt:yfiles.lang.EventArgs):boolean; + isHovering(sender:any,evt:yfiles.lang.EventArgs):boolean; /** * Called after {@link yfiles.input.HandleInputMode#cancel} has been called. *

@@ -23171,7 +23395,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.HandleInputMode#controller}. + * Gets the installed {@link yfiles.input.HandleInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -23508,77 +23732,77 @@ declare namespace yfiles{ /** * Gets or sets event recognizer that recognizes when the user temporarily disables snapping. * @see yfiles.input.HandleInputMode#enableSnappingRecognizer - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - disableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + disableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets event recognizer that recognizes when the user reenables temporarily disabled snapping. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - enableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + enableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" state recognizer. *

* This recognizer instance will be used to determine when the user begins to move a handle. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer. *

* This recognizer instance determines when the user is moving a handle. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "cancel" recognizer. *

* This recognizer recognizes the cancel action during the move. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer. *

* This instance determines when the user has finished moving the handle. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" state recognizer for touch input. *

* This recognizer instance will be used to determine when the user begins to move a handle. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer for touch input. *

* This recognizer instance determines when the user is moving a handle. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer for touch input. *

* This instance determines when the user has finished moving the handle. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the collection of {@link yfiles.input.IHandle}s this mode manages. * @type {yfiles.collections.IObservableCollection.} */ handles:yfiles.collections.IObservableCollection; /** - * The {@link yfiles.input.HandleInputMode#snapContext} which manages snapping model items to certain coordinates (for instance, other items). + * Gets or sets the {@link yfiles.input.HandleInputMode#snapContext} which manages snapping model items to certain coordinates (for instance, other items). *

* If set to null (the default) this input mode tries to obtain the {@link yfiles.input.HandleInputMode#snapContext} from the {@link yfiles.input.IInputModeContext}. To explicitly * disable snapping, a {@link yfiles.input.HandleInputMode#snapContext} implementation that does nothing has to be set to this instance. @@ -23610,98 +23834,99 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDragFinishingListener */ - addDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDragFinishingListener */ - removeDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDragFinishedListener */ - addDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDragFinishedListener */ - removeDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDragStartingListener */ - addDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDragStartingListener */ - removeDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDragStartedListener */ - addDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDragStartedListener */ - removeDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDraggingListener */ - addDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDraggingListener */ - removeDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDraggedListener */ - addDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDraggedListener */ - removeDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDragCanceledListener */ - addDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDragCanceledListener */ - removeDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to add. * @see yfiles.input.HandleInputMode#removeDragCancelingListener */ - addDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to remove. * @see yfiles.input.HandleInputMode#addDragCancelingListener */ - removeDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.HandleInputMode; } /** * Interface for an object that can be used to drag something displayed in a {@link yfiles.view.CanvasComponent} @@ -23719,7 +23944,7 @@ declare namespace yfiles{ * @see yfiles.input.IInputModeContext * @interface */ - export interface IDragHandler extends Object{ + export interface IDragHandler extends yfiles.lang.Object{ /** * Called by clients to indicate that the dragging has been canceled by the user. *

@@ -23772,7 +23997,7 @@ declare namespace yfiles{ */ initializeDrag(context:yfiles.input.IInputModeContext):void; /** - * Returns a view of the location of the item. + * Gets a view of the location of the item. *

* The point describes the current world coordinate of the element that can be modified by this handler. *

@@ -23783,7 +24008,7 @@ declare namespace yfiles{ } var IDragHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IDragHandler; }; export enum SnapPolicy{ /** @@ -23810,7 +24035,7 @@ declare namespace yfiles{ * @interface * @template T */ - export interface IGridConstraintProvider extends Object{ + export interface IGridConstraintProvider extends yfiles.lang.Object{ /** * Performs the actual snapping to grid coordinates. * @param context The context in which the snapping should occur. @@ -23843,7 +24068,7 @@ declare namespace yfiles{ } var IGridConstraintProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IGridConstraintProvider; }; /** * A simple integer based implementation of {@link yfiles.input.IGridConstraintProvider.}. @@ -23852,7 +24077,7 @@ declare namespace yfiles{ * @implements {yfiles.input.IGridConstraintProvider.} * @template T */ - export interface GridConstraintProvider extends Object,yfiles.input.IGridConstraintProvider{} + export interface GridConstraintProvider extends yfiles.lang.Object,yfiles.input.IGridConstraintProvider{} export class GridConstraintProvider { /** * Creates a new instance using the given grid info. @@ -23910,6 +24135,7 @@ declare namespace yfiles{ */ gridOrigin:yfiles.geometry.Point; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.GridConstraintProvider; } export enum HandleTypes{ /** @@ -24112,15 +24338,15 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IDragHandler} */ - export interface IHandle extends Object,yfiles.input.IDragHandler{ + export interface IHandle extends yfiles.lang.Object,yfiles.input.IDragHandler{ /** - * Returns the type of the handle that can be used by the rendering engine to render types differently. + * Gets the type of the handle that can be used by the rendering engine to render types differently. * @abstract * @type {yfiles.input.HandleTypes} */ type:yfiles.input.HandleTypes; /** - * Provides the cursor to display when the mouse hovers over or drags this handle. + * Gets the cursor to display when the mouse hovers over or drags this handle. * @abstract * @type {yfiles.view.Cursor} */ @@ -24128,13 +24354,13 @@ declare namespace yfiles{ } var IHandle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IHandle; }; /** * Interface for an object that provides a number of {@link yfiles.input.IHandle} implementations. * @interface */ - export interface IHandleProvider extends Object{ + export interface IHandleProvider extends yfiles.lang.Object{ /** * Returns a collection of zero or more {@link yfiles.input.IHandle} implementations that are associated with this instance. * @param context @@ -24145,7 +24371,7 @@ declare namespace yfiles{ } var IHandleProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IHandleProvider; }; /** * A specialized version of the {@link yfiles.input.IHandleProvider} interface that can be used to query {@link yfiles.input.IHandle} @@ -24156,7 +24382,7 @@ declare namespace yfiles{ * * @interface */ - export interface IReshapeHandleProvider extends Object{ + export interface IReshapeHandleProvider extends yfiles.lang.Object{ /** * Returns a bitwise combination of all of the {@link yfiles.input.HandlePositions} this interface can provide an implementation * for. @@ -24184,7 +24410,7 @@ declare namespace yfiles{ } var IReshapeHandleProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IReshapeHandleProvider; }; /** * Interface implemented by input modes that can be registered with a {@link yfiles.view.CanvasComponent} instance. @@ -24201,7 +24427,7 @@ declare namespace yfiles{ * @see yfiles.input.InputModeBase * @interface */ - export interface IInputMode extends Object{ + export interface IInputMode extends yfiles.lang.Object{ /** * Called by the client to unconditionally cancel all editing. *

@@ -24257,7 +24483,7 @@ declare namespace yfiles{ */ uninstall(context:yfiles.input.IInputModeContext):void; /** - * Returns the context instance this mode is currently installed in or null if this instance is not installed. + * Gets the context instance this mode is currently installed in or null if this instance is not installed. *

* Note that this instance should not be passed down to subordinate modes or instances. Instead a corresponding context * that has this instance set as the {@link yfiles.input.IInputModeContext#parentInputMode} should be used. @@ -24267,7 +24493,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * The priority of this input mode. + * Gets the priority of this input mode. *

* The priority will influence the order in which the modes will be {@link yfiles.input.IInputMode#install installed} into the canvas control. The lower the * priority value, the earlier it will be installed. If two modes are installed using the same priority value, the first @@ -24280,7 +24506,7 @@ declare namespace yfiles{ } var IInputMode:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IInputMode; }; /** * The interface for the context object that is passed to {@link yfiles.input.IInputMode} instances during {@link yfiles.input.IInputMode#install} @@ -24294,7 +24520,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.view.ICanvasContext} */ - export interface IInputModeContext extends Object,yfiles.view.ICanvasContext{ + export interface IInputModeContext extends yfiles.lang.Object,yfiles.view.ICanvasContext{ /** * Tries to call {@link yfiles.graph.IGraph#invalidateDisplays} on the {@link yfiles.input.IInputModeContext#graph graph} obtains from the {@link yfiles.input.IInputModeContext}. *

@@ -24303,7 +24529,7 @@ declare namespace yfiles{ */ invalidateDisplays?():void; /** - * Yields the {@link yfiles.input.IInputMode} which issued the context object. + * Gets the {@link yfiles.input.IInputMode} which issued the context object. *

* This can be null if this context is used outside the context of an IInputMode. *

@@ -24331,7 +24557,7 @@ declare namespace yfiles{ * @returns * @static */ - createInputModeContext?(parent:yfiles.input.IInputMode,parentContext:yfiles.input.IInputModeContext,lookupCallback:(subject:Object,type:yfiles.lang.Class)=>Object):yfiles.input.IInputModeContext; + createInputModeContext?(parent:yfiles.input.IInputMode,parentContext:yfiles.input.IInputModeContext,lookupCallback:(subject:any,type:yfiles.lang.Class)=>any):yfiles.input.IInputModeContext; /** * Factory method that creates an {@link yfiles.input.IInputModeContext} that uses the provided parent mode and lookup decoration. * @param parent @@ -24339,7 +24565,7 @@ declare namespace yfiles{ * @returns * @static */ - createInputModeContext?(parent:yfiles.input.IInputMode,lookupCallback:(subject:Object,type:yfiles.lang.Class)=>Object):yfiles.input.IInputModeContext; + createInputModeContext?(parent:yfiles.input.IInputMode,lookupCallback:(subject:any,type:yfiles.lang.Class)=>any):yfiles.input.IInputModeContext; /** * Factory method that creates an {@link yfiles.input.IInputModeContext} that uses the provided values. * @param canvas The {@link } to use, may not be null. @@ -24388,7 +24614,7 @@ declare namespace yfiles{ */ EMPTY?:yfiles.input.IInputModeContext; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IInputModeContext; }; /** * An interface that allows input modes to collect {@link yfiles.graph.IModelItem}s for various purposes. @@ -24400,7 +24626,7 @@ declare namespace yfiles{ * @see yfiles.input.MoveInputMode#affectedItems * @interface */ - export interface IModelItemCollector extends Object{ + export interface IModelItemCollector extends yfiles.lang.Object{ /** * Adds a model item to this collector instance. * @param item The model item to add. @@ -24410,7 +24636,7 @@ declare namespace yfiles{ } var IModelItemCollector:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IModelItemCollector; }; /** * Interface for an object that can handle the position of an item displayed in a {@link yfiles.view.CanvasComponent} @@ -24433,11 +24659,11 @@ declare namespace yfiles{ * @interface * @implements {yfiles.input.IDragHandler} */ - export interface IPositionHandler extends Object,yfiles.input.IDragHandler{ + export interface IPositionHandler extends yfiles.lang.Object,yfiles.input.IDragHandler{ } var IPositionHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IPositionHandler; }; /** * Interface for an object that can be interactively reshaped in a {@link yfiles.view.CanvasComponent} @@ -24454,7 +24680,7 @@ declare namespace yfiles{ * @see yfiles.input.IInputModeContext * @interface */ - export interface IReshapeHandler extends Object{ + export interface IReshapeHandler extends yfiles.lang.Object{ /** * Called by clients to indicate that the reshaping has been canceled by the user. *

@@ -24507,7 +24733,7 @@ declare namespace yfiles{ */ reshapeFinished(context:yfiles.input.IInputModeContext,originalBounds:yfiles.geometry.Rect,newBounds:yfiles.geometry.Rect):void; /** - * Returns a view of the bounds of the item. + * Gets a view of the bounds of the item. *

* The rectangle describes the current world coordinate of the element that can be modified by this handler. *

@@ -24518,7 +24744,7 @@ declare namespace yfiles{ } var IReshapeHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IReshapeHandler; }; /** * Event argument base class that is used by events that are triggered by {@link yfiles.input.IInputMode} implementations @@ -24538,6 +24764,7 @@ declare namespace yfiles{ */ context:yfiles.input.IInputModeContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.InputModeEventArgs; } /** * An {@link yfiles.input.IInputMode} that recognizes simple key events and invokes a registered handler. @@ -24547,7 +24774,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface KeyboardInputMode extends Object,yfiles.input.IInputMode{} + export interface KeyboardInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class KeyboardInputMode { constructor(); /** @@ -24560,7 +24787,7 @@ declare namespace yfiles{ * @param [canExecute=null] The handler that determines executability; a handler that is always enabled if omitted. * @returns A token for the newly created command binding that can used to later {@link #remove remove} this binding from this instance again. */ - addCommandBinding(command:yfiles.input.ICommand,execute?:(command:yfiles.input.ICommand,parameter:Object,source:Object)=>boolean,canExecute?:(command:yfiles.input.ICommand,parameter:Object,source:Object)=>boolean):yfiles.input.KeyboardInputModeBinding; + addCommandBinding(command:yfiles.input.ICommand,execute?:(command:yfiles.input.ICommand,parameter:any,source:any)=>boolean,canExecute?:(command:yfiles.input.ICommand,parameter:any,source:any)=>boolean):yfiles.input.KeyboardInputModeBinding; /** * Adds a command and associated execution handlers to this instance. *

@@ -24584,7 +24811,7 @@ declare namespace yfiles{ * @param [commandParameter=null] The command parameter to use for the {@link #execute execution}; null if omitted. * @returns A token for the newly created command binding that can used to later {@link #remove remove} this binding from this instance again. */ - addKeyBinding(key:yfiles.view.Key,modifiers:yfiles.view.ModifierKeys,command:yfiles.input.ICommand,commandParameter?:Object):yfiles.input.KeyboardInputModeBinding; + addKeyBinding(key:yfiles.view.Key,modifiers:yfiles.view.ModifierKeys,command:yfiles.input.ICommand,commandParameter?:any):yfiles.input.KeyboardInputModeBinding; /** * Adds a given handler to this instance that will be triggered if the event recognizer recognizes a {@link yfiles.view.KeyEventArgs key event} that has * been triggered by the {@link yfiles.view.CanvasComponent}. @@ -24594,7 +24821,7 @@ declare namespace yfiles{ * @returns The newly constructed binding on which {@link #remove} can be called to remove the * resulting binding from this instance. */ - addRecognizerBinding(recognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean,command:yfiles.input.ICommand,commandParameter?:Object):yfiles.input.KeyboardInputModeBinding; + addRecognizerBinding(recognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean,command:yfiles.input.ICommand,commandParameter?:any):yfiles.input.KeyboardInputModeBinding; /** * */ @@ -24724,12 +24951,13 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.KeyboardInputMode#controller}. + * Gets the installed {@link yfiles.input.KeyboardInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ controller:yfiles.input.ConcurrencyController; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.KeyboardInputMode; } /** * A token returned by {@link yfiles.input.KeyboardInputMode}'s factory methods that can be used to {@link yfiles.input.KeyboardInputModeBinding#remove} @@ -24742,7 +24970,7 @@ declare namespace yfiles{ * @class * @final */ - export interface KeyboardInputModeBinding extends Object{} + export interface KeyboardInputModeBinding extends yfiles.lang.Object{} export class KeyboardInputModeBinding { /** * Removes the binding represented by this instance from the {@link yfiles.input.KeyboardInputMode} it has been created for. @@ -24757,6 +24985,7 @@ declare namespace yfiles{ */ command:yfiles.input.ICommand; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.KeyboardInputModeBinding; } /** * An {@link yfiles.input.IInputMode} implementation that can handle marquee selections performed by the user with a mouse. @@ -24769,7 +24998,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface MarqueeSelectionInputMode extends Object,yfiles.input.IInputMode{} + export interface MarqueeSelectionInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class MarqueeSelectionInputMode { /** * Creates a new instance of the marquee selection mode. @@ -24966,7 +25195,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.MarqueeSelectionInputMode#controller}. + * Gets the installed {@link yfiles.input.MarqueeSelectionInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -24986,9 +25215,9 @@ declare namespace yfiles{ *

* This recognizer recognizes the cancel action during the marquee selection. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * A {@link string} that can be used to store a {@link yfiles.view.IVisualTemplate} that can be used to create the visual that will be used to * draw the marquee box. @@ -25010,146 +25239,147 @@ declare namespace yfiles{ *

* This recognizer instance will be used to determine when the user begins to draw the marquee. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer. *

* This recognizer instance determines when the user is dragging the marquee. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer. *

* This instance determines when the user has finished creating the marquee. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" state recognizer for touch input. *

* This recognizer instance will be used to determine when the user begins to draw the marquee. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer for touch input. *

* This recognizer instance determines when the user is dragging the marquee. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer for touch input. *

* This instance determines when the user has finished creating the marquee. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Adds the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDraggingListener */ - addDraggingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDraggingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDraggingListener */ - removeDraggingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDraggingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDraggedListener */ - addDraggedListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDraggedListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDraggedListener */ - removeDraggedListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDraggedListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDragCanceledListener */ - addDragCanceledListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDragCanceledListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDragCanceledListener */ - removeDragCanceledListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDragCanceledListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDragCancelingListener */ - addDragCancelingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDragCancelingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDragCancelingListener */ - removeDragCancelingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDragCancelingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDragFinishingListener */ - addDragFinishingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDragFinishingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDragFinishingListener */ - removeDragFinishingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDragFinishingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the DragFinished event that occurs the drag has been finished. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDragFinishedListener */ - addDragFinishedListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDragFinishedListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the DragFinished event that occurs the drag has been finished. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDragFinishedListener */ - removeDragFinishedListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDragFinishedListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDragStartingListener */ - addDragStartingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDragStartingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDragStartingListener */ - removeDragStartingListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDragStartingListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Adds the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to add. * @see yfiles.input.MarqueeSelectionInputMode#removeDragStartedListener */ - addDragStartedListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + addDragStartedListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; /** * Removes the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to remove. * @see yfiles.input.MarqueeSelectionInputMode#addDragStartedListener */ - removeDragStartedListener(listener:(sender:Object,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; + removeDragStartedListener(listener:(sender:any,evt:yfiles.input.MarqueeSelectionEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MarqueeSelectionInputMode; } /** * Event arguments used by {@link yfiles.input.MarqueeSelectionInputMode}. @@ -25164,6 +25394,7 @@ declare namespace yfiles{ */ rectangle:yfiles.geometry.Rect; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MarqueeSelectionEventArgs; } /** * Event argument that can be used to query the text to display when the mouse hovers over the given point in world @@ -25193,9 +25424,9 @@ declare namespace yfiles{ *

* Setting this property will set the {@link yfiles.input.ToolTipQueryEventArgs#handled} property to true. *

- * @type {Object} + * @type {any} */ - toolTip:Object; + toolTip:any; /** * Gets or sets a value indicating whether this {@link yfiles.input.ToolTipQueryEventArgs} has been handled. *

@@ -25207,6 +25438,7 @@ declare namespace yfiles{ */ handled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ToolTipQueryEventArgs; } /** * An {@link yfiles.input.IInputMode} that detects when the mouse hovers over the {@link yfiles.view.CanvasComponent}. @@ -25220,14 +25452,14 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface MouseHoverInputMode extends Object,yfiles.input.IInputMode{} + export interface MouseHoverInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class MouseHoverInputMode { /** * Creates a new instance using the provided {@link yfiles.input.MouseHoverInputMode#toolTip} and query callback. * @param toolTip * @param textProvider */ - constructor(toolTip:yfiles.view.ToolTip,textProvider:(sender:Object,evt:yfiles.input.ToolTipQueryEventArgs)=>void); + constructor(toolTip:yfiles.view.ToolTip,textProvider:(sender:any,evt:yfiles.input.ToolTipQueryEventArgs)=>void); /** * Creates a new instance with default values. */ @@ -25269,7 +25501,7 @@ declare namespace yfiles{ * @see yfiles.input.MouseHoverInputMode#createHoverInputModeContext * @protected */ - getToolTipContent(location:yfiles.geometry.Point):Object; + getToolTipContent(location:yfiles.geometry.Point):any; /** * Finds the position in canvas view coordinates to display the tool tip at for the given world coordinates. *

@@ -25424,7 +25656,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.MouseHoverInputMode#controller}. + * Gets the installed {@link yfiles.input.MouseHoverInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -25446,7 +25678,7 @@ declare namespace yfiles{ */ toolTip:yfiles.view.ToolTip; /** - * Determines whether the tool tip is currently showing. + * Gets or sets whether the tool tip is currently showing. * @type {boolean} */ showing:boolean; @@ -25472,14 +25704,7 @@ declare namespace yfiles{ /** * Gets or sets the delay time before showing the tool tip. *

- * The default is - *

- *
-       * 1
-       * 
- * - *

- * second. + * The default value is 1 second. *

* @default '00:00:01.0' * @type {yfiles.lang.TimeSpan} @@ -25508,7 +25733,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.MouseHoverInputMode#removeQueryToolTipListener */ - addQueryToolTipListener(listener:(sender:Object,evt:yfiles.input.ToolTipQueryEventArgs)=>void):void; + addQueryToolTipListener(listener:(sender:any,evt:yfiles.input.ToolTipQueryEventArgs)=>void):void; /** * Removes the given listener for the QueryToolTip event that occurs when this mode queries the tool tip for a certain * query location. @@ -25518,8 +25743,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.MouseHoverInputMode#addQueryToolTipListener */ - removeQueryToolTipListener(listener:(sender:Object,evt:yfiles.input.ToolTipQueryEventArgs)=>void):void; + removeQueryToolTipListener(listener:(sender:any,evt:yfiles.input.ToolTipQueryEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MouseHoverInputMode; } /** * Generic {@link yfiles.input.IInputMode} implementation that can be used to move something in the canvas using the mouse. @@ -25533,7 +25759,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface MoveInputMode extends Object,yfiles.input.IInputMode{} + export interface MoveInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class MoveInputMode { /** * Initializes a new instance of the {@link yfiles.input.MoveInputMode} class. @@ -25751,7 +25977,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.MoveInputMode#controller}. + * Gets the installed {@link yfiles.input.MoveInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -25776,22 +26002,22 @@ declare namespace yfiles{ /** * Gets or sets event recognizer that recognizes when the user temporarily disables snapping. * @see yfiles.input.MoveInputMode#enableSnappingRecognizer - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - disableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + disableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets event recognizer that recognizes when the user reenables temporarily disabled snapping. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - enableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + enableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" state recognizer. *

* This recognizer instance will be used to determine when the user begins to move the selection. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "hovering" state recognizer. *

@@ -25799,57 +26025,57 @@ declare namespace yfiles{ * initialize a move operation. The default implementation uses the {@link yfiles.input.MoveInputMode#isValidStartLocation} method * to determine whether the mode can be initialized, here. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - hoverRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + hoverRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer. *

* This recognizer instance determines when the user is moving the selection *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "cancel" recognizer. *

* This recognizer recognizes a cancel action during the move. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer. *

* This instance determines when the user has finished the move. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" recognizer for touch events. *

* This recognizer instance determines when the user begins the move selection operation. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer for touch events. *

* This recognizer instance determines when the user is moving the selection *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer for touch events. *

* This instance determines when the user has finished the move using touch. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the {@link yfiles.input.IHitTestable} that will be used by this mode to determine where the user may start * dragging. @@ -25872,7 +26098,7 @@ declare namespace yfiles{ */ moveCursor:yfiles.view.Cursor; /** - * The {@link yfiles.input.MoveInputMode#snapContext} which manages snapping model items to certain coordinates (for instance, other items). + * Gets or sets the {@link yfiles.input.MoveInputMode#snapContext} which manages snapping model items to certain coordinates (for instance, other items). *

* If set to null (the default) this input mode tries to obtain the {@link yfiles.input.MoveInputMode#snapContext} from the {@link yfiles.input.IInputModeContext}. To explicitly * disable snapping, a {@link yfiles.input.MoveInputMode#snapContext} implementation that does nothing has to be set to this instance. @@ -25890,7 +26116,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeQueryPositionHandlerListener */ - addQueryPositionHandlerListener(listener:(sender:Object,evt:yfiles.input.QueryPositionHandlerEventArgs)=>void):void; + addQueryPositionHandlerListener(listener:(sender:any,evt:yfiles.input.QueryPositionHandlerEventArgs)=>void):void; /** * Removes the given listener for the QueryPositionHandler event that occurs when a drag is recognized for the * {@link yfiles.input.MoveInputMode}. @@ -25901,14 +26127,14 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addQueryPositionHandlerListener */ - removeQueryPositionHandlerListener(listener:(sender:Object,evt:yfiles.input.QueryPositionHandlerEventArgs)=>void):void; + removeQueryPositionHandlerListener(listener:(sender:any,evt:yfiles.input.QueryPositionHandlerEventArgs)=>void):void; /** * Gets a value indicating whether a drag operation is currently in progress. * @type {boolean} */ isDragging:boolean; /** - * Returns the initial position where the dragging was initiated. + * Gets the initial position where the dragging was initiated. * @type {yfiles.geometry.Point} */ initialLocation:yfiles.geometry.Point; @@ -25931,98 +26157,99 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDragFinishingListener */ - addDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDragFinishingListener */ - removeDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDragFinishedListener */ - addDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDragFinishedListener */ - removeDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDragStartingListener */ - addDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDragStartingListener */ - removeDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDragStartedListener */ - addDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDragStartedListener */ - removeDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDraggingListener */ - addDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDraggingListener */ - removeDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDraggedListener */ - addDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDraggedListener */ - removeDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDragCanceledListener */ - addDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDragCanceledListener */ - removeDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to add. * @see yfiles.input.MoveInputMode#removeDragCancelingListener */ - addDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to remove. * @see yfiles.input.MoveInputMode#addDragCancelingListener */ - removeDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MoveInputMode; } /** * Event argument that is used to query the {@link yfiles.input.IPositionHandler} that is used to move the items while dragging via @@ -26041,7 +26268,7 @@ declare namespace yfiles{ */ constructor(context:yfiles.input.IInputModeContext,queryLocation:yfiles.geometry.Point); /** - * The {@link yfiles.input.IPositionHandler} to use for the movement of the items that are affected by the + * Gets or sets the {@link yfiles.input.IPositionHandler} to use for the movement of the items that are affected by the * {@link yfiles.input.MoveInputMode}. * @type {yfiles.input.IPositionHandler} */ @@ -26057,6 +26284,7 @@ declare namespace yfiles{ */ handled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.QueryPositionHandlerEventArgs; } export enum InertiaPolicies{ /** @@ -26091,7 +26319,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface MoveViewportInputMode extends Object,yfiles.input.IInputMode{} + export interface MoveViewportInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class MoveViewportInputMode { /** * Creates a new instance of the move viewport mode @@ -26286,42 +26514,42 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.MoveViewportInputMode#controller}. + * Gets the installed {@link yfiles.input.MoveViewportInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ controller:yfiles.input.ConcurrencyController; /** * Gets or sets the event recognizer that starts the 'move viewport' gesture. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - primaryDownRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + primaryDownRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that moves the viewport or zooms the canvas if a secondary device is down. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - primaryMoveRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + primaryMoveRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that ends the 'move viewport' or 'pinch' gesture. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - primaryUpRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + primaryUpRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that starts the 'pinch' gesture - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - secondaryDownRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + secondaryDownRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that zooms the canvas using the 'pinch' gesture or moves the viewport if no primary * device is down. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - secondaryMoveRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + secondaryMoveRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that ends the pinch zoom gesture or ends the move if no primary device is down. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - secondaryUpRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + secondaryUpRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the factor that determines how much the recent movement data is taken into account for the calculation of * inertia speed and direction. @@ -26341,7 +26569,7 @@ declare namespace yfiles{ */ inertiaThreshold:number; /** - * The amount of damping that is applied to the inertia movement. + * Gets or sets the amount of damping that is applied to the inertia movement. *

* The default value is 0.15d *

@@ -26361,7 +26589,7 @@ declare namespace yfiles{ */ allowPinchZoom:boolean; /** - * The cursor to use during the dragging. + * Gets or sets the cursor to use during the dragging. *

* The default is {@link yfiles.view.Cursor#POINTER}. *

@@ -26373,122 +26601,123 @@ declare namespace yfiles{ *

* This recognizer instance will be used to determine when the user begins the navigation gesture. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer. *

* This recognizer instance determines when the user is dragging the viewport. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer. *

* This instance determines when the user has finished dragging the viewport. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Adds the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDraggingListener */ - addDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDraggingListener */ - removeDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDraggedListener */ - addDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDraggedListener */ - removeDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDragFinishingListener */ - addDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDragFinishingListener */ - removeDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDragFinishedListener */ - addDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDragFinishedListener */ - removeDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDragStartingListener */ - addDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDragStartingListener */ - removeDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDragStartedListener */ - addDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDragStartedListener */ - removeDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDragCanceledListener */ - addDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDragCanceledListener */ - removeDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to add. * @see yfiles.input.MoveViewportInputMode#removeDragCancelingListener */ - addDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to remove. * @see yfiles.input.MoveViewportInputMode#addDragCancelingListener */ - removeDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MoveViewportInputMode; } /** * A composite {@link yfiles.input.IInputMode} implementation that additionally can deal with {@link yfiles.input.ConcurrencyController#exclusive} instances. @@ -26513,7 +26742,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface MultiplexingInputMode extends Object,yfiles.input.IInputMode{} + export interface MultiplexingInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class MultiplexingInputMode { /** * Creates an instance with no initial modes. @@ -26551,7 +26780,7 @@ declare namespace yfiles{ * @see yfiles.input.MultiplexingInputMode#createChildInputModeContext * @protected */ - childInputModeContextLookup(type:yfiles.lang.Class):Object; + childInputModeContextLookup(type:yfiles.lang.Class):any; /** * Yields an {@link yfiles.input.IInputModeContext} for the child modes of this mode. *

@@ -26675,7 +26904,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.MultiplexingInputMode#controller}. + * Gets the installed {@link yfiles.input.MultiplexingInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -26696,6 +26925,7 @@ declare namespace yfiles{ */ defaultCursor:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MultiplexingInputMode; } /** * An {@link yfiles.input.IInputMode} that can be used for an overview {@link yfiles.view.CanvasComponent}. @@ -26782,7 +27012,7 @@ declare namespace yfiles{ */ updateVisibleArea():void; /** - * Determines whether the the canvas this mode is installed in should automatically be invalidated if the client canvas + * Gets or sets whether the the canvas this mode is installed in should automatically be invalidated if the client canvas * gets invalidated. *

* Automatic invalidation will be deferred to avoid too frequent updates of the overview. @@ -26913,7 +27143,7 @@ declare namespace yfiles{ */ template:yfiles.view.IVisualTemplate; /** - * Determines whether the mouse wheel can be used to perform zooming in the {@link yfiles.input.OverviewInputMode#canvasComponent}. + * Gets or sets whether the mouse wheel can be used to perform zooming in the {@link yfiles.input.OverviewInputMode#canvasComponent}. *

* The default value is true. *

@@ -26932,6 +27162,7 @@ declare namespace yfiles{ */ margins:yfiles.geometry.Insets; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.OverviewInputMode; } /** * A specialized subclass of {@link yfiles.input.PopulateMenuEventArgs} that carries the {@link yfiles.input.PopulateItemContextMenuEventArgs.#item} for which the context menu should be @@ -26956,6 +27187,7 @@ declare namespace yfiles{ */ item:TModelItem; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PopulateItemContextMenuEventArgs; } /** * A specialized subclass of {@link yfiles.input.ToolTipQueryEventArgs} that carries the {@link yfiles.input.QueryItemToolTipEventArgs.#item} for which the tool tip is queried. @@ -26979,6 +27211,7 @@ declare namespace yfiles{ */ item:TModelItem; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.QueryItemToolTipEventArgs; } /** * A simple convenience implementation of an {@link yfiles.input.IReshapeHandleProvider} that returns handles that modify a @@ -26995,12 +27228,13 @@ declare namespace yfiles{ */ constructor(rectangle:yfiles.geometry.IMutableRectangle,handlePositions?:yfiles.input.HandlePositions); /** - * The rectangle to read the current state from. + * Gets the rectangle to read the current state from. * @protected * @type {yfiles.geometry.IMutableRectangle} */ rectangle:yfiles.geometry.IMutableRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.RectangleReshapeHandleProvider; } /** * Abstract base class implementation of the {@link yfiles.input.IReshapeHandleProvider} interface that has properties to restrict @@ -27008,7 +27242,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IReshapeHandleProvider} */ - export interface ReshapeHandleProviderBase extends Object,yfiles.input.IReshapeHandleProvider{} + export interface ReshapeHandleProviderBase extends yfiles.lang.Object,yfiles.input.IReshapeHandleProvider{} export class ReshapeHandleProviderBase { constructor(); /** @@ -27066,6 +27300,7 @@ declare namespace yfiles{ */ handlePositions:yfiles.input.HandlePositions; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReshapeHandleProviderBase; } /** * Event arguments that are used when modifying a {@link yfiles.view.ISelectionModel.} @@ -27088,6 +27323,7 @@ declare namespace yfiles{ */ selection:yfiles.view.ISelectionModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.SelectionEventArgs; } /** * Manages interactive snapping of elements to other elements during drag operations like movements. @@ -27116,7 +27352,7 @@ declare namespace yfiles{ * @see yfiles.input.SnapContext#createSnapResultsModelManager * @class */ - export interface SnapContext extends Object{} + export interface SnapContext extends yfiles.lang.Object{} export class SnapContext { /** * Initializes a new instance of the {@link yfiles.input.SnapContext} class. @@ -27269,7 +27505,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.SnapContext#removeCollectSnapResultsListener */ - addCollectSnapResultsListener(listener:(sender:Object,evt:yfiles.input.CollectSnapResultsEventArgs)=>void):void; + addCollectSnapResultsListener(listener:(sender:any,evt:yfiles.input.CollectSnapResultsEventArgs)=>void):void; /** * Removes the given listener for the CollectSnapResults event that occurs while {@link yfiles.input.IDragHandler#handleMove moving} items and handles. *

@@ -27284,49 +27520,49 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.SnapContext#addCollectSnapResultsListener */ - removeCollectSnapResultsListener(listener:(sender:Object,evt:yfiles.input.CollectSnapResultsEventArgs)=>void):void; + removeCollectSnapResultsListener(listener:(sender:any,evt:yfiles.input.CollectSnapResultsEventArgs)=>void):void; /** * Adds the given listener for the CleanedUp event that occurs when this instance has been cleaned up. * @param listener The listener to add. * @see yfiles.input.SnapContext#cleanUp * @see yfiles.input.SnapContext#removeCleanedUpListener */ - addCleanedUpListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addCleanedUpListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the CleanedUp event that occurs when this instance has been cleaned up. * @param listener The listener to remove. * @see yfiles.input.SnapContext#cleanUp * @see yfiles.input.SnapContext#addCleanedUpListener */ - removeCleanedUpListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeCleanedUpListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Initialized event that occurs when this instance has been initialized. * @param listener The listener to add. * @see yfiles.input.SnapContext#initializeDrag * @see yfiles.input.SnapContext#removeInitializedListener */ - addInitializedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addInitializedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Initialized event that occurs when this instance has been initialized. * @param listener The listener to remove. * @see yfiles.input.SnapContext#initializeDrag * @see yfiles.input.SnapContext#addInitializedListener */ - removeInitializedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeInitializedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Initializing event that occurs when this instance is about to be initialized. * @param listener The listener to add. * @see yfiles.input.SnapContext#initializeDrag * @see yfiles.input.SnapContext#removeInitializingListener */ - addInitializingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addInitializingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Initializing event that occurs when this instance is about to be initialized. * @param listener The listener to remove. * @see yfiles.input.SnapContext#initializeDrag * @see yfiles.input.SnapContext#addInitializingListener */ - removeInitializingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeInitializingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Gets or sets a value indicating whether to visualize the snap results. * @see yfiles.input.SnapContext#createSnapResultsModelManager @@ -27348,7 +27584,7 @@ declare namespace yfiles{ */ currentInputModeContext:yfiles.input.IInputModeContext; /** - * The collection of {@link yfiles.input.SnapResult}s. + * Gets the collection of {@link yfiles.input.SnapResult}s. *

* This collection is automatically updated during moving the mouse. *

@@ -27356,7 +27592,7 @@ declare namespace yfiles{ */ snapResults:yfiles.collections.IObservableCollection; /** - * Whether the context is initialized. + * Gets whether the context is initialized. *

* The context is initialized between the calls to {@link yfiles.input.SnapContext#dragInitialized} and {@link yfiles.input.SnapContext#dragFinished} * or {@link yfiles.input.SnapContext#cancelDrag}. @@ -27365,8 +27601,8 @@ declare namespace yfiles{ */ isInitialized:boolean; /** - * Sets the global snap distance, which is the maximum distance between the current mouse coordinates and the coordinates - * to which the mouse will snap. + * Gets or sets the global snap distance, which is the maximum distance between the current mouse coordinates and the + * coordinates to which the mouse will snap. *

* The distance is interpreted in view coordinates. *

@@ -27389,6 +27625,7 @@ declare namespace yfiles{ */ enabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.SnapContext; } /** * This is the abstract base class used by the implementers of {@link yfiles.input.SnapContext} to model the result of the mouse @@ -27400,7 +27637,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.IComparable} */ - export interface SnapResult extends Object,yfiles.lang.IComparable{} + export interface SnapResult extends yfiles.lang.Object,yfiles.lang.IComparable{} export class SnapResult { /** * Factory method that creates a {@link yfiles.input.SnapResult} to which a {@link yfiles.graph.ILabel} will snap, based on the given @@ -27416,7 +27653,7 @@ declare namespace yfiles{ * @returns * @static */ - static createLabelSnapResult(layoutParameter:yfiles.graph.ILabelModelParameter,weight:number,delta:yfiles.geometry.Point,tag:Object,snapLine:yfiles.input.SnapLine,snappedCoordinates:yfiles.geometry.Point,movedObject:Object):yfiles.input.SnapResult; + static createLabelSnapResult(layoutParameter:yfiles.graph.ILabelModelParameter,weight:number,delta:yfiles.geometry.Point,tag:any,snapLine:yfiles.input.SnapLine,snappedCoordinates:yfiles.geometry.Point,movedObject:any):yfiles.input.SnapResult; /** * Factory method that creates a {@link yfiles.input.SnapResult} that snaps to a given location. * @param location The location to snap to. @@ -27428,7 +27665,7 @@ declare namespace yfiles{ * @returns A result that snaps to the provided location using the provided mode. * @static */ - static createPointSnapResult(location:yfiles.geometry.Point,weight:number,tag:Object,visualCreator:yfiles.view.IVisualCreator,snapType:yfiles.input.SnapTypes):yfiles.input.SnapResult; + static createPointSnapResult(location:yfiles.geometry.Point,weight:number,tag:any,visualCreator:yfiles.view.IVisualCreator,snapType:yfiles.input.SnapTypes):yfiles.input.SnapResult; /** * Factory method that creates a {@link yfiles.input.SnapResult} which snaps to a given size through a resize operation. * @param weight The weight of this result. The higher the weight, the more important it is. @@ -27443,7 +27680,7 @@ declare namespace yfiles{ * @returns * @static */ - static createResizeSnapResult(weight:number,delta:number,tag:Object,rectangles:yfiles.collections.IEnumerable,size:number,horizontal:boolean):yfiles.input.SnapResult; + static createResizeSnapResult(weight:number,delta:number,tag:any,rectangles:yfiles.collections.IEnumerable,size:number,horizontal:boolean):yfiles.input.SnapResult; /** * Factory method that creates a {@link yfiles.input.SnapResult} which represents a {@link yfiles.input.SnapLine} to which the current * moved item will potentially snap. @@ -27457,7 +27694,7 @@ declare namespace yfiles{ * @returns * @static */ - static createSnapLineSnapResult(weight:number,delta:yfiles.geometry.Point,tag:Object,snapLine:yfiles.input.SnapLine,snappedLocation:yfiles.geometry.Point,movedObject:Object):yfiles.input.SnapResult; + static createSnapLineSnapResult(weight:number,delta:yfiles.geometry.Point,tag:any,snapLine:yfiles.input.SnapLine,snappedLocation:yfiles.geometry.Point,movedObject:any):yfiles.input.SnapResult; /** * Returns a {@link yfiles.view.IVisualCreator} instance that can be used to create a {@link yfiles.view.Visual} for this result. * @returns A visual creator which creates a {@link } which depicts this snap result. @@ -27497,9 +27734,9 @@ declare namespace yfiles{ *

* If more than one result uses the same tag (not null), only the one with the highest {@link yfiles.input.SnapResult#weight} will be rendered. *

- * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** * Gets a {@link yfiles.input.SnapResult} representing that there is no snapping of the x or y coordinate. * @static @@ -27507,6 +27744,7 @@ declare namespace yfiles{ */ static NULL_RESULT:yfiles.input.SnapResult; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.SnapResult; } export enum SnapTypes{ /** @@ -27551,7 +27789,7 @@ declare namespace yfiles{ * @class * @final */ - export interface SnapState extends Object{} + export interface SnapState extends yfiles.lang.Object{} export class SnapState { /** * Initializes a new instance of the {@link yfiles.input.SnapState} class. @@ -27585,6 +27823,7 @@ declare namespace yfiles{ */ snapType:yfiles.input.SnapTypes; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.SnapState; } /** * Event arguments used by {@link yfiles.input.TapInputMode#addTappedListener Tapped}. @@ -27619,6 +27858,7 @@ declare namespace yfiles{ */ handled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TapEventArgs; } export enum TapHandlingPolicy{ /** @@ -27656,7 +27896,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface TapInputMode extends Object,yfiles.input.IInputMode{} + export interface TapInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class TapInputMode { /** * Creates a new instance of this mode that detects touch taps. @@ -27676,19 +27916,19 @@ declare namespace yfiles{ * @returns * @protected */ - createPressRecognizer():(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createPressRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates the event recognizer that is used to recognize the release event for this instance. * @returns * @protected */ - createReleaseRecognizer():(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createReleaseRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates the event recognizer that is used to recognize the taps for this instance. * @returns * @protected */ - createTapRecognizer():(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createTapRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Installs this mode into the given context that is provided by the canvas. *

@@ -27716,7 +27956,7 @@ declare namespace yfiles{ * @see yfiles.input.TapInputMode#validTapHitTestable * @protected */ - isInvalidPress(eventSource:Object,evt:yfiles.lang.EventArgs):boolean; + isInvalidPress(eventSource:any,evt:yfiles.lang.EventArgs):boolean; /** * Determines whether the given event is a valid press event. * @param eventSource @@ -27724,7 +27964,7 @@ declare namespace yfiles{ * @returns * @protected */ - isValidPress(eventSource:Object,evt:yfiles.lang.EventArgs):boolean; + isValidPress(eventSource:any,evt:yfiles.lang.EventArgs):boolean; /** * Determines whether the given event is a valid release event. * @param eventSource @@ -27732,7 +27972,7 @@ declare namespace yfiles{ * @returns * @protected */ - isValidRelease(eventSource:Object,evt:yfiles.lang.EventArgs):boolean; + isValidRelease(eventSource:any,evt:yfiles.lang.EventArgs):boolean; /** * Determines whether the given event is a valid tap event. * @param eventSource @@ -27740,7 +27980,7 @@ declare namespace yfiles{ * @returns * @protected */ - isValidTap(eventSource:Object,evt:yfiles.lang.EventArgs):boolean; + isValidTap(eventSource:any,evt:yfiles.lang.EventArgs):boolean; /** * Called after {@link yfiles.input.TapInputMode#cancel} has been called. *

@@ -27889,7 +28129,7 @@ declare namespace yfiles{ * @see yfiles.input.TapInputMode#tapHandlingPolicy * @see yfiles.input.TapInputMode#removeTappedListener */ - addTappedListener(listener:(sender:Object,evt:yfiles.input.TapEventArgs)=>void):void; + addTappedListener(listener:(sender:any,evt:yfiles.input.TapEventArgs)=>void):void; /** * Removes the given listener for the Tapped event that occurs once a tap has been detected. * @param listener The listener to remove. @@ -27897,7 +28137,7 @@ declare namespace yfiles{ * @see yfiles.input.TapInputMode#tapHandlingPolicy * @see yfiles.input.TapInputMode#addTappedListener */ - removeTappedListener(listener:(sender:Object,evt:yfiles.input.TapEventArgs)=>void):void; + removeTappedListener(listener:(sender:any,evt:yfiles.input.TapEventArgs)=>void):void; /** * Adds the given listener for the DoubleTapped event that occurs once a double-tap has been detected. * @param listener The listener to add. @@ -27905,7 +28145,7 @@ declare namespace yfiles{ * @see yfiles.input.TapInputMode#tapHandlingPolicy * @see yfiles.input.TapInputMode#removeDoubleTappedListener */ - addDoubleTappedListener(listener:(sender:Object,evt:yfiles.input.TapEventArgs)=>void):void; + addDoubleTappedListener(listener:(sender:any,evt:yfiles.input.TapEventArgs)=>void):void; /** * Removes the given listener for the DoubleTapped event that occurs once a double-tap has been detected. * @param listener The listener to remove. @@ -27913,7 +28153,7 @@ declare namespace yfiles{ * @see yfiles.input.TapInputMode#tapHandlingPolicy * @see yfiles.input.TapInputMode#addDoubleTappedListener */ - removeDoubleTappedListener(listener:(sender:Object,evt:yfiles.input.TapEventArgs)=>void):void; + removeDoubleTappedListener(listener:(sender:any,evt:yfiles.input.TapEventArgs)=>void):void; /** * Gets or sets the tap handling policy that determines the triggering behavior of {@link yfiles.input.TapInputMode#addTappedListener Tapped} * and {@link yfiles.input.TapInputMode#addDoubleTappedListener DoubleTapped}. @@ -27956,6 +28196,7 @@ declare namespace yfiles{ */ tapLocation:yfiles.geometry.Point; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TapInputMode; } /** * A simple {@link yfiles.input.IInputMode} that displays a textarea in the {@link yfiles.view.CanvasComponent} to let the user edit a @@ -27969,7 +28210,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface TextEditorInputMode extends Object,yfiles.input.IInputMode{} + export interface TextEditorInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class TextEditorInputMode { /** * Creates a new instance using a default text box. @@ -28192,7 +28433,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.TextEditorInputMode#controller}. + * Gets the installed {@link yfiles.input.TextEditorInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -28202,37 +28443,37 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.TextEditorInputMode#removeTextEditedListener */ - addTextEditedListener(listener:(sender:Object,evt:yfiles.input.TextEventArgs)=>void):void; + addTextEditedListener(listener:(sender:any,evt:yfiles.input.TextEventArgs)=>void):void; /** * Removes the given listener for the TextEdited event that occurs once the text has been edited. * @param listener The listener to remove. * @see yfiles.input.TextEditorInputMode#addTextEditedListener */ - removeTextEditedListener(listener:(sender:Object,evt:yfiles.input.TextEventArgs)=>void):void; + removeTextEditedListener(listener:(sender:any,evt:yfiles.input.TextEventArgs)=>void):void; /** * Adds the given listener for the EditingCanceled event that occurs if the editing has not been finished. * @param listener The listener to add. * @see yfiles.input.TextEditorInputMode#removeEditingCanceledListener */ - addEditingCanceledListener(listener:(sender:Object,evt:yfiles.input.TextEventArgs)=>void):void; + addEditingCanceledListener(listener:(sender:any,evt:yfiles.input.TextEventArgs)=>void):void; /** * Removes the given listener for the EditingCanceled event that occurs if the editing has not been finished. * @param listener The listener to remove. * @see yfiles.input.TextEditorInputMode#addEditingCanceledListener */ - removeEditingCanceledListener(listener:(sender:Object,evt:yfiles.input.TextEventArgs)=>void):void; + removeEditingCanceledListener(listener:(sender:any,evt:yfiles.input.TextEventArgs)=>void):void; /** * Adds the given listener for the EditingStarted event that occurs when text editing is started. * @param listener The listener to add. * @see yfiles.input.TextEditorInputMode#removeEditingStartedListener */ - addEditingStartedListener(listener:(sender:Object,evt:yfiles.input.TextEventArgs)=>void):void; + addEditingStartedListener(listener:(sender:any,evt:yfiles.input.TextEventArgs)=>void):void; /** * Removes the given listener for the EditingStarted event that occurs when text editing is started. * @param listener The listener to remove. * @see yfiles.input.TextEditorInputMode#addEditingStartedListener */ - removeEditingStartedListener(listener:(sender:Object,evt:yfiles.input.TextEventArgs)=>void):void; + removeEditingStartedListener(listener:(sender:any,evt:yfiles.input.TextEventArgs)=>void):void; /** * Gets or sets a property that determines whether the text edited should be committed if the focus gets lost or the * editing should be canceled. @@ -28254,7 +28495,7 @@ declare namespace yfiles{ */ autoFocusCanvasOnEditorClosed:boolean; /** - * Determines whether this mode should automatically fire up the editor once it gets installed. + * Gets or sets whether this mode should automatically fire up the editor once it gets installed. *

* If this mode is permanently installed, set this flag to false and set the {@link yfiles.input.TextEditorInputMode#editing} flag to true in order to start editing. *

@@ -28269,9 +28510,9 @@ declare namespace yfiles{ *

* @see yfiles.input.TextEditorInputMode#cancelRecognizer * @see yfiles.input.TextEditorInputMode#stopRecognizer - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - lineBreakRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + lineBreakRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer to detect when editing the text shall be canceled. *

@@ -28279,9 +28520,9 @@ declare namespace yfiles{ *

* @see yfiles.input.TextEditorInputMode#lineBreakRecognizer * @see yfiles.input.TextEditorInputMode#stopRecognizer - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer to detect when editing the text shall be stopped. *

@@ -28289,9 +28530,9 @@ declare namespace yfiles{ *

* @see yfiles.input.TextEditorInputMode#lineBreakRecognizer * @see yfiles.input.TextEditorInputMode#cancelRecognizer - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - stopRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + stopRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the current editing state of the editor. *

@@ -28358,6 +28599,7 @@ declare namespace yfiles{ */ rotateTextBox:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TextEditorInputMode; } /** * Event arguments used by {@link yfiles.input.TextEditorInputMode}. @@ -28378,6 +28620,7 @@ declare namespace yfiles{ */ text:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TextEventArgs; } /** * An {@link yfiles.input.IInputMode} implementation that can be used to block user interaction. @@ -28392,7 +28635,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface WaitInputMode extends Object,yfiles.input.IInputMode{} + export interface WaitInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class WaitInputMode { /** * Creates a new instance of this mode. @@ -28537,7 +28780,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.WaitInputMode#controller}. + * Gets the installed {@link yfiles.input.WaitInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -28555,31 +28798,32 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.WaitInputMode#removeWaitingStartedListener */ - addWaitingStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addWaitingStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the WaitingStarted event that occurs when the waiting started. * @param listener The listener to remove. * @see yfiles.input.WaitInputMode#addWaitingStartedListener */ - removeWaitingStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeWaitingStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the WaitingEnded event that occurs when the waiting ended. * @param listener The listener to add. * @see yfiles.input.WaitInputMode#removeWaitingEndedListener */ - addWaitingEndedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addWaitingEndedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the WaitingEnded event that occurs when the waiting ended. * @param listener The listener to remove. * @see yfiles.input.WaitInputMode#addWaitingEndedListener */ - removeWaitingEndedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeWaitingEndedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Gets or sets the WaitCursor property. * @type {yfiles.view.Cursor} */ waitCursor:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.WaitInputMode; } /** * A convenience implementation of the {@link yfiles.input.IPositionHandler} interface that can be used to constrain the position @@ -28599,6 +28843,7 @@ declare namespace yfiles{ */ constructor(wrappedHandler:yfiles.input.IPositionHandler); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ConstrainedPositionHandler; } /** * A convenience implementation of the {@link yfiles.input.IHandle} interface that can be used to constrain the handle of an item. @@ -28617,16 +28862,17 @@ declare namespace yfiles{ */ constructor(wrappedHandle:yfiles.input.IHandle); /** - * Delegates to {@link yfiles.input.ConstrainedDragHandler.#wrappedHandler}'s {@link yfiles.input.IHandle#type} property. + * Gets the {@link yfiles.input.ConstrainedDragHandler.#wrappedHandler}'s {@link yfiles.input.IHandle#type} property. * @type {yfiles.input.HandleTypes} */ type:yfiles.input.HandleTypes; /** - * Delegates to {@link yfiles.input.ConstrainedDragHandler.#wrappedHandler}'s {@link yfiles.input.IHandle#cursor} property. + * Gets the {@link yfiles.input.ConstrainedDragHandler.#wrappedHandler}'s {@link yfiles.input.IHandle#cursor} property. * @type {yfiles.view.Cursor} */ cursor:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ConstrainedHandle; } /** * A utility implementation of the {@link yfiles.input.IReshapeHandler} interface that can be used to constrain the reshaping of an @@ -28637,7 +28883,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IReshapeHandler} */ - export interface ConstrainedReshapeHandler extends Object,yfiles.input.IReshapeHandler{} + export interface ConstrainedReshapeHandler extends yfiles.lang.Object,yfiles.input.IReshapeHandler{} export class ConstrainedReshapeHandler { /** * Initializes a new instance of the {@link yfiles.input.ConstrainedReshapeHandler} class that delegates to the wrappedHandler. @@ -28725,11 +28971,12 @@ declare namespace yfiles{ */ wrappedHandler:yfiles.input.IReshapeHandler; /** - * Delegates to the {@link yfiles.input.ConstrainedReshapeHandler#wrappedHandler}'s {@link yfiles.input.IReshapeHandler#bounds} property. + * Gets the {@link yfiles.input.ConstrainedReshapeHandler#wrappedHandler}'s {@link yfiles.input.IReshapeHandler#bounds} property. * @type {yfiles.geometry.IRectangle} */ bounds:yfiles.geometry.IRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ConstrainedReshapeHandler; } /** * A utility implementation of the {@link yfiles.input.IDragHandler} interface that can be used to constrain the movement of an @@ -28742,7 +28989,7 @@ declare namespace yfiles{ * @implements {yfiles.input.IDragHandler} * @template TWrapped */ - export interface ConstrainedDragHandler extends Object,yfiles.input.IDragHandler{} + export interface ConstrainedDragHandler extends yfiles.lang.Object,yfiles.input.IDragHandler{} export class ConstrainedDragHandler { /** * Initializes a new instance of the {@link yfiles.input.ConstrainedDragHandler.} class that delegates to the wrappedHandler. @@ -28829,11 +29076,12 @@ declare namespace yfiles{ */ wrappedHandler:TWrapped; /** - * Delegates to the {@link yfiles.input.ConstrainedDragHandler.#wrappedHandler}'s {@link yfiles.input.IDragHandler#location} property. + * Gets the {@link yfiles.input.ConstrainedDragHandler.#wrappedHandler}'s {@link yfiles.input.IDragHandler#location} property. * @type {yfiles.geometry.IPoint} */ location:yfiles.geometry.IPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ConstrainedDragHandler; } /** * Interface that is implemented for elements that can be hit or picked in a coordinate system. @@ -28847,7 +29095,7 @@ declare namespace yfiles{ * @see yfiles.view.ICanvasObject * @interface */ - export interface IHitTestable extends Object{ + export interface IHitTestable extends yfiles.lang.Object{ /** * Determines if something has been hit at the given coordinates in the world coordinate system. *

@@ -28884,7 +29132,7 @@ declare namespace yfiles{ */ ALWAYS?:yfiles.input.IHitTestable; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IHitTestable; }; /** * Interface that is used to test whether a rendered item is deemed to be inside a rectangular marquee selection. @@ -28894,7 +29142,7 @@ declare namespace yfiles{ * * @interface */ - export interface IMarqueeTestable extends Object{ + export interface IMarqueeTestable extends yfiles.lang.Object{ /** * This callback returns true if the corresponding item is considered to intersect the given rectangular box. *

@@ -28927,7 +29175,7 @@ declare namespace yfiles{ */ NEVER?:yfiles.input.IMarqueeTestable; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IMarqueeTestable; }; /** * A more sophisticated {@link yfiles.input.IHandle} implementation that modifies a rectangle. @@ -28940,7 +29188,7 @@ declare namespace yfiles{ * @implements {yfiles.geometry.IMutablePoint} * @implements {yfiles.input.IHandle} */ - export interface RectangleHandle extends Object,yfiles.geometry.IMutablePoint,yfiles.input.IHandle{} + export interface RectangleHandle extends yfiles.lang.Object,yfiles.geometry.IMutablePoint,yfiles.input.IHandle{} export class RectangleHandle { /** * Subclass constructor that creates a handle for the given position using the location instance as the {@link yfiles.input.IDragHandler#location} for the handle. @@ -28989,13 +29237,13 @@ declare namespace yfiles{ */ set(x:number,y:number):void; /** - * The position of the handle. + * Gets the position of the handle. * @protected * @type {yfiles.input.HandlePositions} */ position:yfiles.input.HandlePositions; /** - * The rectangle instance to modify. + * Gets the rectangle instance to modify. * @protected * @type {yfiles.geometry.IMutableRectangle} */ @@ -29025,7 +29273,7 @@ declare namespace yfiles{ */ maximumSize:yfiles.geometry.ISize; /** - * Returns a view of the center of the handle. + * Gets a view of the center of the handle. *

* The point describes the current world coordinate of the element that can be modified by this handle. *

@@ -29059,6 +29307,7 @@ declare namespace yfiles{ */ y:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.RectangleHandle; } /** * A more sophisticated {@link yfiles.input.IHandle} implementation that delegates to a {@link yfiles.input.IReshapeHandler}. @@ -29068,7 +29317,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IHandle} */ - export interface ReshapeHandlerHandle extends Object,yfiles.input.IHandle{} + export interface ReshapeHandlerHandle extends yfiles.lang.Object,yfiles.input.IHandle{} export class ReshapeHandlerHandle { /** * Subclass constructor that creates a handle for the given position using the location instance as the {@link yfiles.input.IDragHandler#location} for the handle. @@ -29121,7 +29370,7 @@ declare namespace yfiles{ */ initializeDrag(context:yfiles.input.IInputModeContext):void; /** - * The reshapeable instance to write the changes to. + * Gets the reshapeable instance to write the changes to. * @protected * @type {yfiles.input.IReshapeHandler} */ @@ -29151,7 +29400,7 @@ declare namespace yfiles{ */ maximumSize:yfiles.geometry.ISize; /** - * Returns a view of the center of the handle. + * Gets a view of the center of the handle. *

* The point describes the current world coordinate of the element that can be modified by this handle. *

@@ -29169,6 +29418,7 @@ declare namespace yfiles{ */ cursor:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReshapeHandlerHandle; } /** * Event arguments for the {@link yfiles.input.GraphSnapContext#addCollectSnapLinesListener CollectSnapLines} event. @@ -29222,6 +29472,7 @@ declare namespace yfiles{ */ addPortSnapLine(snapLine:yfiles.input.OrthogonalSnapLine):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.CollectGraphSnapLinesEventArgs; } /** * Abstract base class for {@link yfiles.input.GraphViewerInputMode} and {@link yfiles.input.GraphEditorInputMode}. @@ -29827,9 +30078,9 @@ declare namespace yfiles{ *

* The default is {@link yfiles.input.KeyEventRecognizers#SHIFT_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - detailSelectionRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + detailSelectionRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that will be queried to decide if a click should cycle through all the items that are * currently under the mouse cursor. @@ -29843,20 +30094,20 @@ declare namespace yfiles{ *

* The default is {@link yfiles.input.KeyEventRecognizers#ALT_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cyclicSelectionRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cyclicSelectionRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that will be queried to decide if a click is deemed a multi selection gesture. *

* The default is a combination of {@link yfiles.input.KeyEventRecognizers#CONTROL_PRESSED} or * {@link yfiles.input.KeyEventRecognizers#META_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - multiSelectionRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + multiSelectionRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Determines which types of items should be reported through the {@link yfiles.input.GraphInputMode#addItemClickedListener item click events}. + * Gets or sets which types of items should be reported through the {@link yfiles.input.GraphInputMode#addItemClickedListener item click events}. *

* This also affects taps. *

@@ -29877,7 +30128,7 @@ declare namespace yfiles{ */ focusableItems:yfiles.graph.GraphItemTypes; /** - * Determines which types of items should be selectable at all. + * Gets or sets which types of items should be selectable at all. *

* The default is {@link yfiles.graph.GraphItemTypes#ALL}. *

@@ -29895,7 +30146,7 @@ declare namespace yfiles{ */ selectablePredicate:(obj:yfiles.graph.IModelItem)=>boolean; /** - * Determines which types of items should be selectable by mouse clicks. + * Gets or sets which types of items should be selectable by mouse clicks. *

* The default is {@link yfiles.graph.GraphItemTypes#ALL}. *

@@ -29905,7 +30156,7 @@ declare namespace yfiles{ */ clickSelectableItems:yfiles.graph.GraphItemTypes; /** - * Determines which types of items should be selected during {@link yfiles.input.GraphInputMode#marqueeSelect marquee selections}. + * Gets or sets which types of items should be selected during {@link yfiles.input.GraphInputMode#marqueeSelect marquee selections}. *

* The default is a combination of {@link yfiles.graph.GraphItemTypes#NODE}, {@link yfiles.graph.GraphItemTypes#EDGE}, and * {@link yfiles.graph.GraphItemTypes#BEND}. @@ -29954,7 +30205,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphInputMode#removePopulateItemContextMenuListener */ - addPopulateItemContextMenuListener(listener:(sender:Object,evt:yfiles.input.PopulateItemContextMenuEventArgs)=>void):void; + addPopulateItemContextMenuListener(listener:(sender:any,evt:yfiles.input.PopulateItemContextMenuEventArgs)=>void):void; /** * Removes the given listener for the PopulateItemContextMenu event that occurs when the {@link yfiles.input.ContextMenuInputMode context menu} over an item is about * to be opened to determine the contents of the Menu. @@ -29964,7 +30215,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphInputMode#addPopulateItemContextMenuListener */ - removePopulateItemContextMenuListener(listener:(sender:Object,evt:yfiles.input.PopulateItemContextMenuEventArgs)=>void):void; + removePopulateItemContextMenuListener(listener:(sender:any,evt:yfiles.input.PopulateItemContextMenuEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.input.GraphInputMode#mouseHoverInputMode} property. *

@@ -29980,7 +30231,7 @@ declare namespace yfiles{ */ mouseHoverInputMode:yfiles.input.MouseHoverInputMode; /** - * Gets the types of the items that should be queried a tool tip for. + * Gets or sets the types of the items that should be queried a tool tip for. *

* The items for which a tool tip text should be {@link yfiles.input.GraphInputMode#addQueryItemToolTipListener queried}. The default value is * {@link yfiles.graph.GraphItemTypes#NODE}|{@link yfiles.graph.GraphItemTypes#EDGE}|{@link yfiles.graph.GraphItemTypes#LABEL}|{@link yfiles.graph.GraphItemTypes#PORT}|. @@ -29998,7 +30249,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphInputMode#removeQueryItemToolTipListener */ - addQueryItemToolTipListener(listener:(sender:Object,evt:yfiles.input.QueryItemToolTipEventArgs)=>void):void; + addQueryItemToolTipListener(listener:(sender:any,evt:yfiles.input.QueryItemToolTipEventArgs)=>void):void; /** * Removes the given listener for the QueryItemToolTip event that occurs when the mouse is {@link yfiles.input.MouseHoverInputMode hovering} over an item to * determine the tool tip to display. @@ -30008,7 +30259,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphInputMode#addQueryItemToolTipListener */ - removeQueryItemToolTipListener(listener:(sender:Object,evt:yfiles.input.QueryItemToolTipEventArgs)=>void):void; + removeQueryItemToolTipListener(listener:(sender:any,evt:yfiles.input.QueryItemToolTipEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.input.ClickInputMode} that is used by this instance to determine clicks. *

@@ -30063,7 +30314,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightClickedListener * @see yfiles.input.GraphInputMode#removeItemClickedListener */ - addItemClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + addItemClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Removes the given listener for the ItemClicked event that occurs when an item has been clicked. *

@@ -30084,7 +30335,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightClickedListener * @see yfiles.input.GraphInputMode#addItemClickedListener */ - removeItemClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + removeItemClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Adds the given listener for the ItemLeftClicked event that occurs when an item has been left clicked. *

@@ -30101,7 +30352,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener * @see yfiles.input.GraphInputMode#removeItemLeftClickedListener */ - addItemLeftClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + addItemLeftClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Removes the given listener for the ItemLeftClicked event that occurs when an item has been left clicked. *

@@ -30118,7 +30369,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener * @see yfiles.input.GraphInputMode#addItemLeftClickedListener */ - removeItemLeftClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + removeItemLeftClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Adds the given listener for the ItemRightClicked event that occurs when an item has been right clicked. *

@@ -30135,7 +30386,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener * @see yfiles.input.GraphInputMode#removeItemRightClickedListener */ - addItemRightClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + addItemRightClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Removes the given listener for the ItemRightClicked event that occurs when an item has been right clicked. *

@@ -30152,7 +30403,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener * @see yfiles.input.GraphInputMode#addItemRightClickedListener */ - removeItemRightClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + removeItemRightClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Adds the given listener for the ItemDoubleClicked event that occurs when an item has been double clicked. *

@@ -30174,7 +30425,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener * @see yfiles.input.GraphInputMode#removeItemDoubleClickedListener */ - addItemDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + addItemDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Removes the given listener for the ItemDoubleClicked event that occurs when an item has been double clicked. *

@@ -30196,7 +30447,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener * @see yfiles.input.GraphInputMode#addItemDoubleClickedListener */ - removeItemDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + removeItemDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Adds the given listener for the ItemLeftDoubleClicked event that occurs when an item has been left double clicked. *

@@ -30211,7 +30462,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener * @see yfiles.input.GraphInputMode#removeItemLeftDoubleClickedListener */ - addItemLeftDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + addItemLeftDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Removes the given listener for the ItemLeftDoubleClicked event that occurs when an item has been left double clicked. *

@@ -30226,7 +30477,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener * @see yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener */ - removeItemLeftDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + removeItemLeftDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Adds the given listener for the ItemRightDoubleClicked event that occurs when an item has been right double clicked. *

@@ -30241,7 +30492,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener * @see yfiles.input.GraphInputMode#removeItemRightDoubleClickedListener */ - addItemRightDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + addItemRightDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Removes the given listener for the ItemRightDoubleClicked event that occurs when an item has been right double clicked. *

@@ -30256,7 +30507,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener * @see yfiles.input.GraphInputMode#addItemRightDoubleClickedListener */ - removeItemRightDoubleClickedListener(listener:(sender:Object,evt:yfiles.input.ItemClickedEventArgs)=>void):void; + removeItemRightDoubleClickedListener(listener:(sender:any,evt:yfiles.input.ItemClickedEventArgs)=>void):void; /** * Adds the given listener for the CanvasClicked event that occurs when the empty canvas area has been clicked. *

@@ -30266,7 +30517,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemClickedListener * @see yfiles.input.GraphInputMode#removeCanvasClickedListener */ - addCanvasClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + addCanvasClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Removes the given listener for the CanvasClicked event that occurs when the empty canvas area has been clicked. *

@@ -30276,7 +30527,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphInputMode#addItemClickedListener * @see yfiles.input.GraphInputMode#addCanvasClickedListener */ - removeCanvasClickedListener(listener:(sender:Object,evt:yfiles.input.ClickEventArgs)=>void):void; + removeCanvasClickedListener(listener:(sender:any,evt:yfiles.input.ClickEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.input.GraphInputMode#marqueeSelectionInputMode} property. *

@@ -30315,7 +30566,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphInputMode#removeMultiSelectionStartedListener */ - addMultiSelectionStartedListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + addMultiSelectionStartedListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Removes the given listener for the MultiSelectionStarted event that occurs when a single or multi select operation has * been started. @@ -30325,7 +30576,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphInputMode#addMultiSelectionStartedListener */ - removeMultiSelectionStartedListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + removeMultiSelectionStartedListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Adds the given listener for the MultiSelectionFinished event that occurs when a single or multi select operation has * been finished. @@ -30335,7 +30586,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphInputMode#removeMultiSelectionFinishedListener */ - addMultiSelectionFinishedListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + addMultiSelectionFinishedListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Removes the given listener for the MultiSelectionFinished event that occurs when a single or multi select operation has * been finished. @@ -30345,7 +30596,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphInputMode#addMultiSelectionFinishedListener */ - removeMultiSelectionFinishedListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + removeMultiSelectionFinishedListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.input.WaitInputMode} that is provided by this instance for those who need to make use of it. *

@@ -30425,1793 +30676,7 @@ declare namespace yfiles{ */ allowClipboardOperations:boolean; static $class:yfiles.lang.Class; - } - /** - * An {@link yfiles.input.IInputMode} implementation for use in a {@link yfiles.view.GraphComponent} to assign to the {@link yfiles.view.CanvasComponent#inputMode} property. - *

- * This mode can be used in a viewer-centric application where there is no need to modify the {@link yfiles.graph.IGraph} but - * browsing of the graph should be convenient. This mode allows for {@link yfiles.input.GraphInputMode#addItemClickedListener clicking on items using the mouse}, - * {@link yfiles.input.GraphInputMode#addQueryItemToolTipListener displaying tool tips for items}, {@link yfiles.input.GraphInputMode#addPopulateItemContextMenuListener showing a context menu}, {@link yfiles.input.NavigationInputMode allowing for easy navigation and traversal}, - * {@link yfiles.input.MoveViewportInputMode moving the view port}, and {@link yfiles.input.GraphInputMode#marqueeSelectableItems optionally doing marquee selection}. Also {@link yfiles.input.ItemHoverInputMode} can be used to get - * notified of the elements that the mouse is hovering over. - *

- *

- * Due to the viewer-centric nature of this input mode, collapsing and expanding groups is disabled per default. To enable - * this feature, set {@link yfiles.input.NavigationInputMode#allowCollapseGroup} and {@link yfiles.input.NavigationInputMode#allowExpandGroup} to true. - *

- *

- * This input mode manages a set of specialized input modes, each handling a specific part of the interaction with the - * graph. The following list details those along with their default - * {@link yfiles.input.IInputMode#priority priorities}. Lower priorities come earlier when handing events. - *

- *
    - *
  • {@link yfiles.input.WaitInputMode} (−1) – Disables this input mode when layouts or animations run.
  • - *
  • {@link yfiles.input.KeyboardInputMode} (0) – Handles commands and arbitrary keyboard shortcuts.
  • - *
  • {@link yfiles.input.ClickInputMode} (10) – Handles mouse clicks and double-clicks.
  • - *
  • {@link yfiles.input.TapInputMode} (20) – Handles taps and double-tap.
  • - *
  • {@link yfiles.input.MarqueeSelectionInputMode} (30) – Allows dragging a rectangle to select items within it.
  • - *
  • {@link yfiles.input.MoveViewportInputMode} (39) – Allows panning the viewport.
  • - *
  • {@link yfiles.input.ItemHoverInputMode} (55) – Provides events to indicate that the mouse pointer hovers over an item.
  • - *
  • {@link yfiles.input.NavigationInputMode} (55) – Provides general navigation facilities, such as navigating from one item to another with the arrow keys.
  • - *
  • {@link yfiles.input.ContextMenuInputMode} (60) – Handles querying the context menu contents based on a location as well as preparing the menu for display.
  • - *
  • {@link yfiles.input.MouseHoverInputMode} (100) – Handles tool tips.
  • - *
- * @class - * @extends {yfiles.input.GraphInputMode} - */ - export interface GraphViewerInputMode extends yfiles.input.GraphInputMode{} - export class GraphViewerInputMode { - /** - * Initializes a new instance of the {@link yfiles.input.GraphViewerInputMode} class. - */ - constructor(); - static $class:yfiles.lang.Class; - } - /** - * A simple interface that can be used to react to clicks on regions of {@link yfiles.styles.INodeStyle}s etc. - *

- * {@link yfiles.input.GraphEditorInputMode} will query the {@link yfiles.graph.IModelItem}'s Lookup method for this interface if it has - * detected {@link yfiles.input.GraphInputMode#click}s. If the item yields an instance of this interface and the click was inside - * the {@link yfiles.input.IClickListener#getHitTestable}, then {@link yfiles.input.IClickListener#onClicked} is invoked. - *

- * @see yfiles.input.GraphEditorInputMode - * @see yfiles.styles.CollapsibleNodeStyleDecorator - * @interface - */ - export interface IClickListener extends Object{ - /** - * Gets an {@link yfiles.input.IHitTestable} that can be used to check if {@link yfiles.input.IClickListener#onClicked} should be invoked. - * @returns A hit testable that can determine whether {@link #onClicked} should be invoked by a given click. - * @abstract - */ - getHitTestable():yfiles.input.IHitTestable; - /** - * Called by the framework to indicate that the {@link yfiles.graph.IModelItem} has been clicked by the user at the specified - * location. - *

- * This method is called by {@link yfiles.input.GraphInputMode#click} for the - * {@link yfiles.graph.IModelItem}s that yielded an instance of this interface. - *

- * @param context The context to use for the click operation. - * @param location The location of the click - * @abstract - */ - onClicked(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point):void; - } - var IClickListener:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * An interface for classes that can yield {@link yfiles.input.IHandle} implementations for the {@link yfiles.graph.IEdge#sourcePort source} and {@link yfiles.graph.IEdge#targetPort target} ends of an - * {@link yfiles.graph.IEdge}. - *

- * This interface will be queried by the default implementation of the {@link yfiles.input.IHandleProvider} that is in the lookup - * of an {@link yfiles.graph.IEdge}. It is recommended to use this interface instead of the more generic {@link yfiles.input.IHandleProvider} - * interface, because other generic code can then use this interface to gain access to a specific {@link yfiles.input.IHandle} more - * easily. - *

- * @interface - */ - export interface IEdgePortHandleProvider extends Object{ - /** - * Gets an {@link yfiles.input.IHandle} implementation for one end of the provided edge. - * @param context The context in which the handle will be used. - * @param edge The edge for which an handle is needed. - * @param sourceHandle if set to true the handle for the source side/port should be returned. - * @returns The handle to use for the provided side or null. - * @abstract - */ - getHandle(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,sourceHandle:boolean):yfiles.input.IHandle; - } - var IEdgePortHandleProvider:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * Helper interface to customize interactive label editing. - *

- * Implementations of this interface can be put into the {@link yfiles.graph.ILookup} of {@link yfiles.graph.ILabelOwner}s and - * {@link yfiles.graph.ILabel}s so that it is possible to tweak the behavior on a case by case basis. - *

- *

- * Conceptually, in most cases, implementations of this interface behaves like an additional event handler for {@link yfiles.input.GraphEditorInputMode#addLabelAddingListener LabelAdding} - * and {@link yfiles.input.GraphEditorInputMode#addLabelEditingListener LabelEditing}. If no event handler - * handled those events, an {@link yfiles.input.IEditLabelHelper} will be queried from the {@link yfiles.graph.ILookup} and the unhandled - * event arguments passed to the respective methods. - *

- * @see yfiles.input.EditLabelHelper - * @see yfiles.input.GraphEditorInputMode#createLabel - * @see yfiles.input.GraphEditorInputMode#editLabel - * @see yfiles.input.GraphEditorInputMode#addLabel - * @see yfiles.input.GraphEditorInputMode#addLabelAddingListener - * @see yfiles.input.GraphEditorInputMode#addLabelEditingListener - * @interface - */ - export interface IEditLabelHelper extends Object{ - /** - * Helper method that will be called when trying to add a label to an {@link yfiles.graph.ILabelOwner}. - *

- * Implementations of this method can set the {@link yfiles.graph.ILabel#style}, {@link yfiles.graph.ILabel#layoutParameter}, {@link yfiles.graph.ILabel#preferredSize}, and {@link yfiles.graph.ITagOwner#tag} for newly-added labels by setting the appropriate properties on - * args. - *

- *

- * Setting the {@link yfiles.input.LabelEditingEventArgs#cancel} property on args to true will disallow label creation. - *

- * @param evt The original event arguments. - * @see yfiles.input.IEditLabelHelper#onLabelEditing - * @abstract - */ - onLabelAdding(evt:yfiles.input.LabelEditingEventArgs):void; - /** - * Helper method that will be called when trying to edit a label. - *

- * This method can be called for editing labels for an {@link yfiles.graph.ILabelOwner}, in which case the {@link yfiles.input.LabelEditingEventArgs#label} property on args will - * be null, but the {@link yfiles.input.LabelEditingEventArgs#owner} property will be non-null. It can also be called for editing a specific label, in which case the {@link yfiles.input.LabelEditingEventArgs#label} - * property on args will be non-null, and the {@link yfiles.input.LabelEditingEventArgs#owner} property will be set to the label's owner. - *

- *

- * Implementations of this method can set a specific label to be edited, by setting the {@link yfiles.input.LabelEditingEventArgs#label} property of the args to an - * existing label instance. This label does not need to belong to the same owner that is queried for. Setting the {@link yfiles.input.LabelEditingEventArgs#label} property - * to null will not edit an existing label, but instead add a new one on the {@link yfiles.graph.ILabelOwner} set in the {@link yfiles.input.LabelEditingEventArgs#owner} - * property. - *

- *

- * When a new label is added, the properties {@link yfiles.input.LabelEditingEventArgs#style}, {@link yfiles.input.LabelEditingEventArgs#layoutParameter}, {@link yfiles.input.LabelEditingEventArgs#preferredSize}, and {@link yfiles.input.LabelEditingEventArgs#tag} are used for the newly-created label, just as in - * {@link yfiles.input.IEditLabelHelper#onLabelAdding}. - *

- *

- * Setting the {@link yfiles.input.LabelEditingEventArgs#cancel} property on args to true will disallow label editing and creation. - *

- * @param evt The original event arguments. - * @see yfiles.input.IEditLabelHelper#onLabelAdding - * @abstract - */ - onLabelEditing(evt:yfiles.input.LabelEditingEventArgs):void; - } - var IEditLabelHelper:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * Provides the snap lines and the snap results to the {@link yfiles.input.LabelSnapContext} during dragging of labels. - * @see yfiles.input.LabelSnapContext - * @see yfiles.graph.LabelDecorator#labelSnapContextHelperDecorator - * @interface - */ - export interface ILabelSnapContextHelper extends Object{ - /** - * Called during {@link yfiles.input.IDragHandler#initializeDrag initialization} of a label dragging to add {@link yfiles.input.SnapLine snap lines} to which the label can potentially snap to the - * snapContext. - * @param snapContext The snap context which manages the snap lines and the settings. Note that implementations should not change the state of - * the context explicitly. - * @param inputModeContext The context of the input mode that handles the dragging. - * @param label The label that is dragged. - * @abstract - */ - addSnapLines(snapContext:yfiles.input.LabelSnapContext,inputModeContext:yfiles.input.IInputModeContext,label:yfiles.graph.ILabel):void; - /** - * Called while the given label is {@link yfiles.input.IDragHandler#handleMove dragged} to add {@link yfiles.input.SnapResult snap results} for the {@link yfiles.input.SnapLine snap lines} provided by the context. - * @param context The snap context which manages the snap lines and the settings. - * @param evt The event argument to obtain the necessary information from and {@link #addSnapResult add results to}. - * @param suggestedLayout The {@link #layout layout} of the label that would be used without snapping. - * @param label The label that is dragged. - * @abstract - */ - collectSnapResults(context:yfiles.input.LabelSnapContext,evt:yfiles.input.CollectSnapResultsEventArgs,suggestedLayout:yfiles.geometry.IOrientedRectangle,label:yfiles.graph.ILabel):void; - } - var ILabelSnapContextHelper:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * An interface used by implementations that provide various size constraints for {@link yfiles.graph.INode}s. - *

Related demos:

- *
    - *
  • Demo: SizeConstraintProvider, demo.yfiles.input.sizeconstraintprovider
  • - *
- * @see yfiles.input.NodeSizeConstraintProvider - * @interface - */ - export interface INodeSizeConstraintProvider extends Object{ - /** - * Returns the maximum size allowed for the given node. - * @param node The node to return the maximum size for. - * @returns The maximum size or {@link #INFINITE} if there is no constraint on the size. - * @abstract - */ - getMaximumSize(node:yfiles.graph.INode):yfiles.geometry.Size; - /** - * Returns the minimum area that needs to be enclosed by the given node. - * @param node The node to return the area for. - * @returns The area to enclose or {@link #EMPTY} if there is no constraint on the size due to an enclosed area. - * @abstract - */ - getMinimumEnclosedArea(node:yfiles.graph.INode):yfiles.geometry.Rect; - /** - * Returns the minimum size allowed for the given node. - * @param node The node to return the minimum size for. - * @returns The minimum size or {@link #EMPTY} if there is no constraint on the size. - * @abstract - */ - getMinimumSize(node:yfiles.graph.INode):yfiles.geometry.Size; - } - var INodeSizeConstraintProvider:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * A simple default implementation of {@link yfiles.input.INodeSizeConstraintProvider} - * @class - * @implements {yfiles.input.INodeSizeConstraintProvider} - */ - export interface NodeSizeConstraintProvider extends Object,yfiles.input.INodeSizeConstraintProvider{} - export class NodeSizeConstraintProvider { - /** - * Creates a new instance using the provided size instances as the initial values. - *

- * Not specifing the minimumEnclosedArea will set it to {@link yfiles.geometry.Rect#EMPTY}. - *

- * @param minimumSize The {@link #minimumSize}. - * @param maximumSize The {@link #maximumSize}. - * @param [minimumEnclosedArea=null] The {@link #minimumEnclosedArea}. - */ - constructor(minimumSize:yfiles.geometry.ISize,maximumSize:yfiles.geometry.ISize,minimumEnclosedArea?:yfiles.geometry.IRectangle); - /** - * - * @param node - * @returns - */ - getMaximumSize(node:yfiles.graph.INode):yfiles.geometry.Size; - /** - * - * @param node - * @returns - */ - getMinimumEnclosedArea(node:yfiles.graph.INode):yfiles.geometry.Rect; - /** - * - * @param node - * @returns - */ - getMinimumSize(node:yfiles.graph.INode):yfiles.geometry.Size; - /** - * Gets or sets the instance to return by {@link yfiles.input.NodeSizeConstraintProvider#getMaximumSize}. - * @type {yfiles.geometry.ISize} - */ - maximumSize:yfiles.geometry.ISize; - /** - * Gets or sets the instance to return by {@link yfiles.input.NodeSizeConstraintProvider#getMinimumEnclosedArea}. - * @type {yfiles.geometry.IRectangle} - */ - minimumEnclosedArea:yfiles.geometry.IRectangle; - /** - * Gets or sets the instance to return by {@link yfiles.input.NodeSizeConstraintProvider#getMinimumSize}. - * @type {yfiles.geometry.ISize} - */ - minimumSize:yfiles.geometry.ISize; - static $class:yfiles.lang.Class; - } - /** - * Interface used by {@link yfiles.input.OrthogonalEdgeEditingContext} and the like that can be decorated to the {@link yfiles.graph.ILookup} - * of {@link yfiles.graph.IEdge}s. - *

- * This interface is for editing edges in such a way that their path stays orthogonal, i.e. all of the segments are - * oriented either horizontally or vertically. - *

- * @see yfiles.input.OrthogonalEdgeEditingContext#getOrthogonalEdgeHelper - * @interface - */ - export interface IOrthogonalEdgeHelper extends Object{ - /** - * Callback method that is invoked after the provided edge has been edited orthogonally. - *

- * This callback can be used to remove unused bends and finalize the orthogonal edge editing gesture. - *

- * @param context The input mode context which edited the edge. - * @param graph The graph to use for modifying the edge instance. - * @param edge The edge to clean up the path. - * @abstract - */ - cleanUpEdge(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge):void; - /** - * Gets the declared orientation of the given segment at the provided edge. - *

- * The orientation cannot always be inferred from the current geometry: If a segment has a zero length it is unclear what - * orientation it should have, also a segment could be accidentally orthogonally oriented, while in fact it is considered - * {@link yfiles.input.SegmentOrientation#NON_ORTHOGONAL}. - *

- * @param context The input mode context in which the orientation is needed. - * @param edge The edge to inspect. - * @param segmentIndex The index of the segment. - * @returns The declared orientation of the segment. - * @abstract - */ - getSegmentOrientation(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,segmentIndex:number):yfiles.input.SegmentOrientation; - /** - * Determines whether the provided edge should be edited orthogonally in the specified input mode context. - *

- * If this method returns false, the other methods will not be queried at all. - *

- * @param context The input mode context in which the edge is about to be edited. - * @param edge The edge to inspect. - * @returns true if the edge should be orthogonally edited in the specified input mode context; false otherwise. - * @abstract - */ - shouldEditOrthogonally(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge):boolean; - /** - * Determines whether this end of the provided edge can be moved in the input mode context. - *

- * This information is required to determine whether an edge's first or last segment needs to be split or the adjacent edge - * end can be moved along with the other end of the segment. - *

- * @param context The input mode context in which the segment is edited. - * @param edge The edge to inspect. - * @param sourceEnd if set to true the source end of the edge is queried, otherwise the target end. - * @returns true if the end of the edge can be moved for the specified input mode context; false otherwise, in which case the - * corresponding segment needs to be split to keep the segment orientation orthogonal. - * @abstract - */ - shouldMoveEndImplicitly(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,sourceEnd:boolean):boolean; - } - var IOrthogonalEdgeHelper:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * Interface used for implementations that recognize, approve and disapprove node reparenting gestures, as well as actually - * performs the reparenting. - *

- * Implementations of this interface are queried from the {@link yfiles.input.IInputModeContext} by code that wants to reparent a - * node. Specifically this is used by default to reparent nodes during the {@link yfiles.input.MoveInputMode dragging of nodes}. - *

- *

Related demos:

- *
    - *
  • Demo: ReparentHandler, demo.yfiles.input.reparenthandler
  • - *
- * @interface - */ - export interface IReparentNodeHandler extends Object{ - /** - * Determines whether the current gesture that can be determined through the context is a reparent gesture. - * @param context The context that provides information about the user input. - * @param node The node that will possibly be reparented. - * @returns Whether this is a reparenting gesture. - * @abstract - */ - isReparentGesture(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode):boolean; - /** - * Determines whether the provided node may be reparented to a newParent. - * @param context The context that provides information about the user input. - * @param node The node that will be reparented. - * @param newParent The potential new parent or null. Can be a group or a non-group node. - * @returns Whether newParent is a valid new parent for node. - * @abstract - */ - isValidParent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode,newParent:yfiles.graph.INode):boolean; - /** - * Performs the actual reparenting after the reparent gesture has been finalized. - *

- * Implementations should {@link yfiles.graph.IGraph#setParent set the parent} of node to newParent. - *

- * @param context The context that provides information about the user input. - * @param node The node that will be reparented. - * @param newParent The potential new parent or null. Can be a group or a non-group node. - * @abstract - */ - reparent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode,newParent:yfiles.graph.INode):void; - /** - * Determines whether the user may detach the given node from its current parent in order to reparent it. - * @param context The context that provides information about the user input. - * @param node The node that is about to be detached from its current parent. - * @returns Whether the node may be detached and reparented. - * @abstract - */ - shouldReparent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode):boolean; - } - var IReparentNodeHandler:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * Queried by the {@link yfiles.input.GraphSnapContext} to add {@link yfiles.input.OrthogonalSnapLine}s to its collections during the - * {@link yfiles.input.SnapContext#isInitializing initialization phase}. - *

- * Implementations of this interface are queried by {@link yfiles.input.GraphSnapContext} for each item that is not modified during - * the edit using the {@link yfiles.graph.ILookup#lookup} of the respective item. - *

- * @see yfiles.graph.NodeDecorator#snapLineProviderDecorator - * @interface - */ - export interface ISnapLineProvider extends Object{ - /** - * Called by the {@link yfiles.input.GraphSnapContext} when a {@link yfiles.input.GraphSnapContext#initializeDrag drag} is about to start. - * @param context The context which holds the settings for the snap lines. Note that implementations should not change the state of the - * context explicitly. - * @param evt The argument to use for adding snap lines. - * @param item The item to add snap lines for. - * @abstract - */ - addSnapLines(context:yfiles.input.GraphSnapContext,evt:yfiles.input.CollectGraphSnapLinesEventArgs,item:yfiles.graph.IModelItem):void; - } - var ISnapLineProvider:{ - $class:yfiles.lang.Class; - isInstance(o:Object):boolean; - }; - /** - * Provides data for the {@link yfiles.input.GraphInputMode#addItemClickedListener ItemClicked}, - * {@link yfiles.input.GraphInputMode#addItemDoubleClickedListener ItemDoubleClicked}, - * {@link yfiles.input.GraphInputMode#addItemLeftClickedListener ItemLeftClicked}, - * {@link yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener ItemLeftDoubleClicked}, {@link yfiles.input.GraphInputMode#addItemRightClickedListener ItemRightClicked} - * and {@link yfiles.input.GraphInputMode#addItemRightDoubleClickedListener ItemRightDoubleClicked} events. - * Type parameter T: The type of the item this event carries. - * @class - * @extends {yfiles.collections.ItemEventArgs.} - * @template T - */ - export interface ItemClickedEventArgs extends yfiles.collections.ItemEventArgs{} - export class ItemClickedEventArgs { - /** - * Initializes a new instance of the {@link yfiles.input.ItemClickedEventArgs.} class. - * @param item The item which is the subject of the event. - * @param location The location of the click. - */ - constructor(item:T,location:yfiles.geometry.Point); - /** - * Gets or sets a value indicating whether this {@link yfiles.input.ItemClickedEventArgs.} is handled. - *

- * Setting the event to handled indicates whether the event should be further propagated or whether there has not been any - * code that actively handled the event to the event source. How this flag is actually being treated depends on the source - * of the event. - *

- * @type {boolean} - */ - handled:boolean; - /** - * Gets the location of the click. - * @type {yfiles.geometry.Point} - */ - location:yfiles.geometry.Point; - static $class:yfiles.lang.Class; - } - /** - * An input mode for use in a {@link yfiles.view.GraphComponent} that fires events when the mouse enters or leaves the - * visualization of a {@link yfiles.graph.IModelItem graph item}. - *

- * This mode can be used to determine when the mouse is being moved from one item to the next. - *

- *

- * This mode is {@link yfiles.input.ItemHoverInputMode#exclusive} by default. - *

- * @class - * @implements {yfiles.input.IInputMode} - */ - export interface ItemHoverInputMode extends Object,yfiles.input.IInputMode{} - export class ItemHoverInputMode { - /** - * Initializes a new instance of the {@link yfiles.input.ItemHoverInputMode} class. - */ - constructor(); - /** - * - */ - cancel():void; - /** - * Gets the items that have been hit at the given location. - * @param location The location in world coordinates to query. - * @returns An enumerable over all items that have been hit at the given location. - * @protected - */ - getHitItemsAt(location:yfiles.geometry.Point):yfiles.collections.IEnumerable; - /** - * Installs this mode into the given context that is provided by the canvas. - *

- * In general a mode can only be installed into a single canvas at all times. - *

- *

- * This method is called to initialize this instance. Subclasses should override this method to register the corresponding - * event handler delegates for the various input events they need to register with. - *

- *

- * Overriding implementations should call the base implementation, first. - *

- * @param context The context that this instance shall be installed into. The same instance will be passed to this instance during - * {@link #uninstall}. A reference to the context may be kept and queried during the time the mode is - * installed. - * @param controller The {@link #controller} for this mode. - * @see yfiles.input.IInputMode#uninstall - */ - install(context:yfiles.input.IInputModeContext,controller:yfiles.input.ConcurrencyController):void; - /** - * Determines whether the given item is a valid item to be considered for hovering. - *

- * This implementation checks whether the item is covered by the {@link yfiles.input.ItemHoverInputMode#hoverItems} set, only. - *

- * @param item The item to check. - * @returns true if it is valid to report a hover over the specified item; false otherwise. - * @see yfiles.input.ItemHoverInputMode#discardInvalidItems - * @protected - */ - isValidHoverItem(item:yfiles.graph.IModelItem):boolean; - /** - * Called after {@link yfiles.input.ItemHoverInputMode#cancel} has been called. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been canceled. - *

- *

- * This implementation does nothing. - *

- * @protected - */ - onCanceled():void; - /** - * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to true. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been activated. - *

- *

- * Overriding implementations should call the base implementation. - *

- * @protected - */ - onConcurrencyControllerActivated():void; - /** - * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to false. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been deactivated. - *

- *

- * Overriding implementations should call the base implementation. - *

- * @protected - */ - onConcurrencyControllerDeactivated():void; - /** - * Raises the {@link yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener HoveredItemChanged} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onHoveredItemChanged(evt:yfiles.input.HoveredItemChangedEventArgs):void; - /** - * Called after {@link yfiles.input.ItemHoverInputMode#tryStop} has been called. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been stopped. - *

- *

- * This implementation does nothing. - *

- * @protected - */ - onStopped():void; - /** - * Overridden to only return true if this instance does not currently {@link yfiles.input.ConcurrencyController#hasMutex have the input mutex}. - * @returns true iff this instance does not {@link #hasMutex own the mutex}. - */ - tryStop():boolean; - /** - * Uninstalls this mode from the given context. - *

- * This code should clean up all changes made to the canvas in the {@link yfiles.input.IInputMode#install} method. After a mode has - * been uninstalled it can be installed again into the same or another canvas. - *

- *

- * Overriding implementations should call the base implementation after their own code. - *

- * @param context The context to deregister from. This is the same instance that had been passed to {@link #install} during - * installation. - */ - uninstall(context:yfiles.input.IInputModeContext):void; - /** - * Forces a reevaluation of the item that the mouse is currently hovering over or at a specific location. - *

- * This method may be called by code that is aware of the fact that the visualization has changed, but the mouse may not - * have been moved. By default this implementation will only re-query the items at the mouse location when the mouse has - * moved. This method can be called to force a reevaluation in other cases. - *

- * @param [location=null] The query location. - */ - updateHover(location?:yfiles.geometry.Point):void; - /** - * - * @type {number} - */ - priority:number; - /** - * Gets or sets a value indicating whether this mode will be the only one running when it has the mutex. - *

- * The value of this property will be delegated to the {@link yfiles.input.ConcurrencyController#exclusive} property of the {@link yfiles.input.ItemHoverInputMode#controller}. - *

- *

- * If this mode is marked as exclusive and has the mutex, all other modes {@link yfiles.input.MultiplexingInputMode#add added} to the same {@link yfiles.input.MultiplexingInputMode} - * will be deactivated. Otherwise it will always run concurrently with all other modes. - *

- * @type {boolean} - */ - exclusive:boolean; - /** - * Gets or sets the enabled state of this input mode. - *

- * Clients can use this property to disable or reenable this instance. This will set the {@link yfiles.input.ConcurrencyController#enabled Enabled} property of the installed - * {@link yfiles.input.ItemHoverInputMode#controller} so a disabled instance should never try to acquire the input mutex. - *

- * @type {boolean} - */ - enabled:boolean; - /** - * - * @type {yfiles.input.IInputModeContext} - */ - inputModeContext:yfiles.input.IInputModeContext; - /** - * Returns the installed {@link yfiles.input.ItemHoverInputMode#controller}. - * @protected - * @type {yfiles.input.ConcurrencyController} - */ - controller:yfiles.input.ConcurrencyController; - /** - * Adds the given listener for the HoveredItemChanged event that occurs when the item that is being hovered over with the - * mouse changes. - *

- * This event is also fired when the mouse pointer leaves an item. - *

- * @param listener The listener to add. - * @see yfiles.input.ItemHoverInputMode#removeHoveredItemChangedListener - */ - addHoveredItemChangedListener(listener:(sender:Object,evt:yfiles.input.HoveredItemChangedEventArgs)=>void):void; - /** - * Removes the given listener for the HoveredItemChanged event that occurs when the item that is being hovered over with - * the mouse changes. - *

- * This event is also fired when the mouse pointer leaves an item. - *

- * @param listener The listener to remove. - * @see yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener - */ - removeHoveredItemChangedListener(listener:(sender:Object,evt:yfiles.input.HoveredItemChangedEventArgs)=>void):void; - /** - * Gets the current item the mouse is hovering over. - * @type {yfiles.graph.IModelItem} - */ - currentHoverItem:yfiles.graph.IModelItem; - /** - * Gets or sets which graph items are considered by this input mode. - *

- * The default is {@link yfiles.graph.GraphItemTypes#ALL}. - *

- * @type {yfiles.graph.GraphItemTypes} - */ - hoverItems:yfiles.graph.GraphItemTypes; - /** - * Gets or sets the cursor to use when the mouse is hovering over a {@link yfiles.input.ItemHoverInputMode#isValidHoverItem} valid - * hover item. - * @type {yfiles.view.Cursor} - */ - hoverCursor:yfiles.view.Cursor; - /** - * Determines whether items that have been hit at the current location that are not {@link yfiles.input.ItemHoverInputMode#isValidHoverItem valid items} should be ignored or - * reported as null. - * @see yfiles.input.ItemHoverInputMode#isValidHoverItem - * @type {boolean} - */ - discardInvalidItems:boolean; - static $class:yfiles.lang.Class; - } - /** - * Event argument class containing information about which {@link yfiles.graph.IModelItem} the mouse is currently hovering over. - *

- * This event is used by the {@link yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener HoveredItemChanged} - * event. The {@link yfiles.collections.ItemEventArgs.#item} property yields the item that is currently being hovered over or null if the mouse just left an item without - * hovering over an other one. The {@link yfiles.input.HoveredItemChangedEventArgs#oldItem} property provides the previously hovered item. - *

- * @class - * @extends {yfiles.collections.ItemEventArgs.} - */ - export interface HoveredItemChangedEventArgs extends yfiles.collections.ItemEventArgs{} - export class HoveredItemChangedEventArgs { - /** - * Initializes a new instance of the {@link yfiles.input.HoveredItemChangedEventArgs} class. - * @param item The model item, possibly null. - * @param oldItem The old item, possibly null. - */ - constructor(item:yfiles.graph.IModelItem,oldItem:yfiles.graph.IModelItem); - /** - * The item that was previously hovered, possibly null. - * @see yfiles.collections.ItemEventArgs.#item - * @type {yfiles.graph.IModelItem} - */ - oldItem:yfiles.graph.IModelItem; - static $class:yfiles.lang.Class; - } - /** - * Event arguments for the {@link yfiles.input.GraphEditorInputMode#addLabelAddingListener LabelAdding} and {@link yfiles.input.GraphEditorInputMode#addLabelEditingListener LabelEditing} - * events, as well as the {@link yfiles.input.IEditLabelHelper} interface. - * @class - * @extends {yfiles.input.InputModeEventArgs} - * @final - */ - export interface LabelEditingEventArgs extends yfiles.input.InputModeEventArgs{} - export class LabelEditingEventArgs { - /** - * Initializes a new instance of the {@link yfiles.input.LabelEditingEventArgs} class with the given context, owner, and label. - * @param context The input mode context to use. - * @param owner The {@link } whose label should be edited. - * @param label The {@link } that should be edited. - */ - constructor(context:yfiles.input.IInputModeContext,owner:yfiles.graph.ILabelOwner,label:yfiles.graph.ILabel); - /** - * Gets or sets the label to edit. - *

- * This can be set to an exiting label to edit a specific one, or set to null to add a new label instead (e.g. for - * {@link yfiles.graph.ILabelOwner}s that have no label yet). - *

- *

- * If this property is set to null, the properties {@link yfiles.input.LabelEditingEventArgs#style}, {@link yfiles.input.LabelEditingEventArgs#preferredSize}, {@link yfiles.input.LabelEditingEventArgs#layoutParameter}, and {@link yfiles.input.LabelEditingEventArgs#tag} are used for the newly-added label, just like with - * {@link yfiles.input.LabelEditingEventArgs}. - *

- *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {yfiles.graph.ILabel} - */ - label:yfiles.graph.ILabel; - /** - * Gets or sets a value indicating whether the action (adding or editing a label) should be canceled. - *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {boolean} - */ - cancel:boolean; - /** - * Gets or sets a value indicating whether this event has been handled. - *

- * A handled instance of {@link yfiles.input.LabelEditingEventArgs} will not be passed to further event handlers or an {@link yfiles.input.IEditLabelHelper} - * instance. - *

- *

- * Setting any of the other properties implicitly also sets this to true. - *

- * @type {boolean} - */ - handled:boolean; - /** - * Gets or sets the owner of the label. - *

- * This property can be null if there is no owner known, e.g. if the event is raised for - * non-{@link yfiles.graph.ILabelOwner}s. Otherwise it is initially set to the item for which the event is raised. - *

- *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {yfiles.graph.ILabelOwner} - */ - owner:yfiles.graph.ILabelOwner; - /** - * Gets or sets the {@link yfiles.graph.ILabel#style} of the label to add. - *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {yfiles.styles.ILabelStyle} - */ - style:yfiles.styles.ILabelStyle; - /** - * Gets or sets the {@link yfiles.graph.ILabel#preferredSize} of the label to add. - *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {yfiles.geometry.Size} - */ - preferredSize:yfiles.geometry.Size; - /** - * Gets or sets the {@link yfiles.graph.ILabel#layoutParameter} of the label to add. - *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {yfiles.graph.ILabelModelParameter} - */ - layoutParameter:yfiles.graph.ILabelModelParameter; - /** - * Gets or sets the {@link yfiles.graph.ITagOwner#tag} of the label to add. - *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {Object} - */ - tag:Object; - /** - * Configures the {@link yfiles.input.TextEditorInputMode} for editing the provided label instance. - *

- * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. - *

- * @type {function(yfiles.input.IInputModeContext, yfiles.input.TextEditorInputMode, yfiles.graph.ILabel): void} - */ - textEditorInputModeConfigurator:(context:yfiles.input.IInputModeContext,mode:yfiles.input.TextEditorInputMode,label:yfiles.graph.ILabel)=>void; - static $class:yfiles.lang.Class; - } - /** - * Manages interactive snapping of {@link yfiles.graph.ILabel}s to their owner during drag operations like movements. - *

- * This class provides a set of properties to customize the snapping behavior. {@link yfiles.input.IPositionHandler} - * implementations and similar classes can use the following idiom to get an instance of this class: - *

- *

Related demos:

- *
    - *
  • Tutorial: 01 Getting Started, step 15 Snapping
  • - *
- * @see yfiles.input.MoveLabelInputMode - * @see yfiles.input.GraphEditorInputMode#snapContext - * @class - * @extends {yfiles.input.SnapContext} - */ - export interface LabelSnapContext extends yfiles.input.SnapContext{} - export class LabelSnapContext { - /** - * Initializes a new instance of the {@link yfiles.input.LabelSnapContext} class. - */ - constructor(); - /** - * Adds the given snapLine to the {@link yfiles.input.LabelSnapContext#snapLines snap line} collection of this context. - * @param snapLine The snap line to add. - * @see yfiles.input.GraphSnapContext#additionalSnapLines - */ - addSnapLine(snapLine:yfiles.input.SnapLine):void; - /** - * Raises the {@link yfiles.input.LabelSnapContext#addCollectSnapLinesListener CollectSnapLines} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onCollectSnapLines(evt:yfiles.input.CollectLabelSnapLineEventArgs):void; - /** - * Determines whether this instance should collect snap lines for the initial position of a label. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectInitialLocationSnapLines:boolean; - /** - * Determines whether this instance should collect six snap lines, two through the center and four through the border sides - * of the label owner. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectNodeShapeSnapLines:boolean; - /** - * Determines whether this instance should collect four snap lines in parallel to the owner's borders at the initial label - * distance. - *

- * Note that the label snaps to these snap lines with the side that is closer to the node's border. That way, snapping to - * such a snap line preserves the perceived distance from the node border for both labels inside and outside the node - * bounds. - *

- *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectOwnNodeDistanceSnapLines:boolean; - /** - * Determines whether this instance should collect snap lines in parallel to the border of the label owner at the distance - * of other node labels of that owner. - *

- * Note that the label snaps to these snap lines with the side that is closer to the node's border. That way, snapping to - * such a snap line preserves the perceived distance from the node border for both labels inside and outside the node - * bounds. - *

- *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectSameOwnerNodeDistanceSnapLines:boolean; - /** - * Determines whether this instance should collect snap lines in parallel to the border of the label owner at the distance - * of other node labels in the graph. - *

- * Note that the label snaps to these snap lines with the side that is closer to the node's border. That way, snapping to - * such a snap line preserves the perceived distance from the node border for both labels inside and outside the node - * bounds. - *

- *

- * The default is false. - *

- * @default false - * @type {boolean} - */ - collectAllNodeDistanceSnapLines:boolean; - /** - * Determines whether this instance should collect snap lines on the edge path. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectEdgePathSnapLines:boolean; - /** - * Determines whether this instance should collect two snap lines in parallel to the edge path of the label owner at the - * initial distance of the edge label. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectOwnEdgeDistanceSnapLines:boolean; - /** - * Determines whether this instance should collect snap lines in parallel to the edge path of the label owner at the - * distances of all edge labels of that owner. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - collectSameOwnerEdgeDistanceSnapLines:boolean; - /** - * Determines whether this instance should collect snap lines in parallel to the edge path of the label owner at the - * distance of other edge labels in the graph. - *

- * The default is false. - *

- * @default false - * @type {boolean} - */ - collectAllEdgeDistanceSnapLines:boolean; - /** - * Specifies whether this context will automatically snap the node labels to snap lines. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - snapNodeLabels:boolean; - /** - * Specifies whether this context will automatically snap the edge labels to snap lines. - *

- * The default is true. - *

- * @default true - * @type {boolean} - */ - snapEdgeLabels:boolean; - /** - * Gets or sets the amount by which snap lines that are induced by existing edge segments are being extended. - *

- * The default is 40.0d, this value will be used to prolongate the ends of the snap lines. - *

- * @default 40.0 - * @type {number} - */ - snapLineExtension:number; - /** - * The collection of the {@link yfiles.input.SnapLine snap lines} that have been {@link yfiles.input.LabelSnapContext#addSnapLine added} to this context. - *

- * This collection is only available if {@link yfiles.input.SnapContext#isInitialized} is true. - *

- * @see yfiles.input.LabelSnapContext#addSnapLine - * @type {yfiles.collections.IEnumerable.} - */ - snapLines:yfiles.collections.IEnumerable; - /** - * Adds the given listener for the CollectSnapLines event that occurs every time this instance has been {@link yfiles.input.SnapContext#dragInitialized initialized} to - * collect {@link yfiles.input.SnapLine}s. - *

- * Event handlers should add snap lines to the caller using the methods provided by - * {@link yfiles.input.CollectLabelSnapLineEventArgs}. - *

- * @param listener The listener to add. - * @see yfiles.input.LabelSnapContext#removeCollectSnapLinesListener - */ - addCollectSnapLinesListener(listener:(sender:Object,evt:yfiles.input.CollectLabelSnapLineEventArgs)=>void):void; - /** - * Removes the given listener for the CollectSnapLines event that occurs every time this instance has been {@link yfiles.input.SnapContext#dragInitialized initialized} to - * collect {@link yfiles.input.SnapLine}s. - *

- * Event handlers should add snap lines to the caller using the methods provided by - * {@link yfiles.input.CollectLabelSnapLineEventArgs}. - *

- * @param listener The listener to remove. - * @see yfiles.input.LabelSnapContext#addCollectSnapLinesListener - */ - removeCollectSnapLinesListener(listener:(sender:Object,evt:yfiles.input.CollectLabelSnapLineEventArgs)=>void):void; - static $class:yfiles.lang.Class; - } - /** - * The event arguments used by {@link yfiles.input.LabelSnapContext} to collect custom snap lines for each drag. - * @see yfiles.input.LabelSnapContext#addCollectSnapLinesListener - * @class - * @extends {yfiles.input.InputModeEventArgs} - */ - export interface CollectLabelSnapLineEventArgs extends yfiles.input.InputModeEventArgs{} - export class CollectLabelSnapLineEventArgs { - /** - * Creates a new instance of this class. - * @param context The context this event is being used in. - * @param snapLines The snap lines collection to add to. - */ - constructor(context:yfiles.input.IInputModeContext,snapLines:yfiles.collections.ICollection); - /** - * Adds the given snap line to the snap line collection of this class. - * @param snapLine the snap line to add. - */ - addSnapLine(snapLine:yfiles.input.OrthogonalSnapLine):void; - static $class:yfiles.lang.Class; - } - /** - * An {@link yfiles.input.IInputMode} that can {@link yfiles.input.NavigationInputMode#moveTo navigate} an {@link yfiles.graph.IGraph} displayed in a {@link yfiles.input.NavigationInputMode#graphComponent}. - *

- * This mode is {@link yfiles.input.NavigationInputMode#exclusive} by default. - *

- * @class - * @implements {yfiles.input.IInputMode} - */ - export interface NavigationInputMode extends Object,yfiles.input.IInputMode{} - export class NavigationInputMode { - /** - * Initializes a new instance of the {@link yfiles.input.NavigationInputMode} class. - */ - constructor(); - /** - * Callback that adjusts the {@link yfiles.view.CanvasComponent#contentRect} to encompass all elements. - *

- * This implementation will try to delegate to {@link yfiles.input.GraphEditorInputMode#adjustContentRect} if it can find the {@link yfiles.input.GraphEditorInputMode} - * in the {@link yfiles.input.NavigationInputMode#inputModeContext}, otherwise the {@link yfiles.input.ICommand#FIT_GRAPH_BOUNDS} is executed. - *

- * @protected - */ - adjustContentRect():void; - /** - * Adjust the group node location according to the value of {@link yfiles.input.NavigationInputMode#autoGroupNodeAlignmentPolicy}. - * @param collapse true iff the node has just been collapsed. - * @param groupNode The node that has changed its state. - * @protected - */ - adjustGroupNodeLocation(collapse:boolean,groupNode:yfiles.graph.INode):void; - /** - * - */ - cancel():void; - /** - * Clears the selection in the {@link yfiles.input.NavigationInputMode#graphComponent}. - */ - clearSelection():void; - /** - * {@link yfiles.graph.IFoldingView#collapse Collapses} the given group node to hide the contents of the group node from this {@link yfiles.graph.IFoldingView}. - * @param groupNode The group node to collapse. - * @see yfiles.graph.FoldingManager - * @see yfiles.input.NavigationInputMode#allowCollapseGroup - */ - collapseGroup(groupNode:yfiles.graph.INode):void; - /** - * Performs CollapseGroup for all {@link yfiles.view.IGraphSelection#selectedNodes}. - */ - collapseSelection():void; - /** - * This method allows for entering a group node so that the currently displayed {@link yfiles.graph.IFoldingView}'s {@link yfiles.graph.IFoldingView#localRoot} will be reset - * to the provided node. - *

- * It is possible to both use a local group node that is part of the currently displayed {@link yfiles.input.NavigationInputMode#graph} as the node argument, as well as - * an item that belongs to the {@link yfiles.graph.FoldingManager#masterGraph} to allow for switching to group nodes which are currently not being displayed in this - * view. - *

- * @param node The node that needs to be either part of the current graph, or part of the {@link #masterGraph}. - * @see yfiles.input.NavigationInputMode#shouldEnterGroup - * @see yfiles.input.NavigationInputMode#allowEnterGroup - * @see yfiles.graph.FoldingManager - */ - enterGroup(node:yfiles.graph.INode):void; - /** - * Performs {@link yfiles.input.NavigationInputMode#enterGroup} for the first valid {@link yfiles.view.IGraphSelection#selectedNodes}. - */ - enterSelectedGroup():void; - /** - * Exits the current {@link yfiles.graph.IFoldingView#localRoot} of the currently displayed {@link yfiles.graph.IFoldingView view} and shows the contents of the parent container. - *

- * This method will also {@link yfiles.input.GraphInputMode#clearSelection clear the selection} and {@link yfiles.input.GraphInputMode#setSelected select} the exited group node. - *

- * @see yfiles.graph.FoldingManager - * @see yfiles.input.NavigationInputMode#allowExitGroup - * @see yfiles.input.NavigationInputMode#shouldExitGroup - */ - exitGroup():void; - /** - * {@link yfiles.graph.IFoldingView#expand Expands} the given group node to show the contents of the collapsed group node in this {@link yfiles.graph.IFoldingView}. - * @param groupNode The group node to expand - * @see yfiles.graph.FoldingManager - * @see yfiles.input.NavigationInputMode#allowExpandGroup - */ - expandGroup(groupNode:yfiles.graph.INode):void; - /** - * Performs {@link yfiles.input.NavigationInputMode#expandGroup} for all {@link yfiles.view.IGraphSelection#selectedNodes}. - */ - expandSelection():void; - /** - * Moves the focus into the given direction, extending the selection to the new element. - * @param direction The direction to move the focus and extend the selection. - */ - extendSelectionTo(direction:yfiles.input.MoveFocusDirection):void; - /** - * Installs this mode into the given context that is provided by the canvas. - *

- * In general a mode can only be installed into a single canvas at all times. - *

- *

- * This method is called to initialize this instance. Subclasses should override this method to register the corresponding - * event handler delegates for the various input events they need to register with. - *

- *

- * Overriding implementations should call the base implementation, first. - *

- * @param context The context that this instance shall be installed into. The same instance will be passed to this instance during - * {@link #uninstall}. A reference to the context may be kept and queried during the time the mode is - * installed. - * @param controller The {@link #controller} for this mode. - * @see yfiles.input.IInputMode#uninstall - */ - install(context:yfiles.input.IInputModeContext,controller:yfiles.input.ConcurrencyController):void; - /** - * Moves the focus into the given direction, not changing the current selection. - * @param direction The direction to move the focus. - */ - moveFocusTo(direction:yfiles.input.MoveFocusDirection):void; - /** - * Moves the focus into the given direction, setting the selection to the new element. - * @param direction The direction to move the focus and selection. - */ - moveTo(direction:yfiles.input.MoveFocusDirection):void; - /** - * Called after {@link yfiles.input.NavigationInputMode#cancel} has been called. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been canceled. - *

- *

- * This implementation does nothing. - *

- * @protected - */ - onCanceled():void; - /** - * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to true. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been activated. - *

- *

- * Overriding implementations should call the base implementation. - *

- * @protected - */ - onConcurrencyControllerActivated():void; - /** - * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to false. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been deactivated. - *

- *

- * Overriding implementations should call the base implementation. - *

- * @protected - */ - onConcurrencyControllerDeactivated():void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupCollapsedListener GroupCollapsed} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupCollapsed(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupCollapsingListener GroupCollapsing} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupCollapsing(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupEnteredListener GroupEntered} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupEntered(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupEnteringListener GroupEntering} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupEntering(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupExitedListener GroupExited} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupExited(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupExitingListener GroupExiting} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupExiting(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupExpandedListener GroupExpanded} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupExpanded(evt:yfiles.collections.ItemEventArgs):void; - /** - * Raises the {@link yfiles.input.NavigationInputMode#addGroupExpandingListener GroupExpanding} event. - * @param evt The {@link } instance containing the event data. - * @protected - */ - onGroupExpanding(evt:yfiles.collections.ItemEventArgs):void; - /** - * Callback that actually sets the current item property. - * @param graphComponent The {@link #graphComponent} to set the current item of. - * @param item The item to set. - * @returns Whether the operation was actually performed. - * @protected - */ - onSetCurrentItem(graphComponent:yfiles.view.GraphComponent,item:yfiles.graph.IModelItem):boolean; - /** - * Called after {@link yfiles.input.NavigationInputMode#tryStop} has been called. - *

- * Can be overridden in subclasses to perform additional actions after the mode has been stopped. - *

- *

- * This implementation does nothing. - *

- * @protected - */ - onStopped():void; - /** - * Selects the {@link yfiles.view.GraphComponent#currentItem} current item. - *

- * This method delegates to {@link yfiles.input.NavigationInputMode#selectItem}. - *

- */ - selectCurrentItem():void; - /** - * Callback that selects the given item. - * @param graphComponent The {@link #graphComponent}. - * @param item The item to select. - * @param extendSelection if set to true the current selection is extended otherwise it is cleared beforehand. - * @see yfiles.input.NavigationInputMode#clearSelection - * @protected - */ - selectItem(graphComponent:yfiles.view.GraphComponent,item:yfiles.graph.IModelItem,extendSelection:boolean):void; - /** - * Sets the "current" item to the given one. - * @param item The item to set as the current item. - * @see yfiles.input.NavigationInputMode#onSetCurrentItem - */ - setCurrentItem(item:yfiles.graph.IModelItem):void; - /** - * Sets the {@link yfiles.input.NavigationInputMode#graphComponent} to use for the various actions. - *

- * This will register or unregister the commands for the control. This method is called in response to {@link yfiles.input.NavigationInputMode#install} - * and {@link yfiles.input.NavigationInputMode#uninstall}. - *

- * @param graphComponent The control to use or null. - * @protected - */ - setGraphComponent(graphComponent:yfiles.view.GraphComponent):void; - /** - * Predicate method that decides whether it is allowed to collapse the given group node. - *

- * This implementation returns the value of {@link yfiles.input.NavigationInputMode#allowCollapseGroup}. - *

- * @param groupNode - * @returns Whether to collapse the given group or not. - * @protected - */ - shouldCollapseGroup(groupNode:yfiles.graph.INode):boolean; - /** - * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#enterGroup enter} the specific group node. - *

- * This implementation yields the value of {@link yfiles.input.NavigationInputMode#allowEnterGroup}. - *

- * @param node The group node to enter. - * @returns Whether to enter the group or not. - * @protected - */ - shouldEnterGroup(node:yfiles.graph.INode):boolean; - /** - * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#exitGroup exit} the current group node. - *

- * This implementation yields the value of {@link yfiles.input.NavigationInputMode#allowExitGroup}. - *

- * @returns Whether to exit the current group or not. - * @protected - */ - shouldExitGroup():boolean; - /** - * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#expandGroup expand} the given group node. - *

- * This implementation yields the value of {@link yfiles.input.NavigationInputMode#allowExpandGroup}. - *

- * @param node - * @returns Whether to expand the given group or not. - * @protected - */ - shouldExpandGroup(node:yfiles.graph.INode):boolean; - /** - * Callback predicate method that determines whether a given model item should be navigated to. - *

- * This implementation uses the {@link yfiles.input.NavigationInputMode#navigableItems} property to determine whether the item can be navigated to. - *

- * @param item The model item. - * @returns Whether the item should be considered for navigational commands. - * @protected - */ - shouldNavigateTo(item:yfiles.graph.IModelItem):boolean; - /** - * Determines whether the input mode should try to request the mutex when a command is executed. - *

- * This resets the state of any other input mode, unless it currently possesses the mutex. - *

- *

- * The value of this method is queried for {@link yfiles.input.ICommand#COLLAPSE_GROUP}, {@link yfiles.input.ICommand#EXPAND_GROUP}, - * {@link yfiles.input.ICommand#TOGGLE_EXPANSION_STATE}, {@link yfiles.input.ICommand#ENTER_GROUP} and {@link yfiles.input.ICommand#EXIT_GROUP}. - *

- * @returns whether the input mode should request the mutex. - * @protected - */ - shouldRequestMutex():boolean; - /** - * Callback predicate method that determines whether a given model item should be selected. - *

- * This implementation uses the {@link yfiles.input.NavigationInputMode#selectableItems} property to determine whether the item should be selected. - *

- * @param item The model item. - * @returns Whether the item should be selected by the navigational commands. - * @protected - */ - shouldSelect(item:yfiles.graph.IModelItem):boolean; - /** - * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#toggleExpansionState toggle} the collapsed state of the given group node. - *

- * This implementation uses {@link yfiles.input.NavigationInputMode#shouldExpandGroup} and {@link yfiles.input.NavigationInputMode#shouldCollapseGroup} - * respectively. - *

- * @param node - * @returns Whether to expand the given group or not. - * @protected - */ - shouldToggleExpansionState(node:yfiles.graph.INode):boolean; - /** - * Toggles the {@link yfiles.graph.IFoldingView#isExpanded expanded/collapsed} state for the given group node in the {@link yfiles.graph.IFoldingView}. - * @param groupNode The group node to toggle the state for. - * @see yfiles.graph.FoldingManager - */ - toggleExpansionState(groupNode:yfiles.graph.INode):void; - /** - * Overridden to only return true if this instance does not currently {@link yfiles.input.ConcurrencyController#hasMutex have the input mutex}. - * @returns true iff this instance does not {@link #hasMutex own the mutex}. - */ - tryStop():boolean; - /** - * Uninstalls this mode from the given context. - *

- * This code should clean up all changes made to the canvas in the {@link yfiles.input.IInputMode#install} method. After a mode has - * been uninstalled it can be installed again into the same or another canvas. - *

- *

- * Overriding implementations should call the base implementation after their own code. - *

- * @param context The context to deregister from. This is the same instance that had been passed to {@link #install} during - * installation. - */ - uninstall(context:yfiles.input.IInputModeContext):void; - /** - * - * @type {number} - */ - priority:number; - /** - * Gets or sets a value indicating whether this mode will be the only one running when it has the mutex. - *

- * The value of this property will be delegated to the {@link yfiles.input.ConcurrencyController#exclusive} property of the {@link yfiles.input.NavigationInputMode#controller}. - *

- *

- * If this mode is marked as exclusive and has the mutex, all other modes {@link yfiles.input.MultiplexingInputMode#add added} to the same {@link yfiles.input.MultiplexingInputMode} - * will be deactivated. Otherwise it will always run concurrently with all other modes. - *

- * @type {boolean} - */ - exclusive:boolean; - /** - * Gets or sets the enabled state of this input mode. - *

- * Clients can use this property to disable or reenable this instance. This will set the {@link yfiles.input.ConcurrencyController#enabled Enabled} property of the installed - * {@link yfiles.input.NavigationInputMode#controller} so a disabled instance should never try to acquire the input mutex. - *

- * @type {boolean} - */ - enabled:boolean; - /** - * - * @type {yfiles.input.IInputModeContext} - */ - inputModeContext:yfiles.input.IInputModeContext; - /** - * Returns the installed {@link yfiles.input.NavigationInputMode#controller}. - * @protected - * @type {yfiles.input.ConcurrencyController} - */ - controller:yfiles.input.ConcurrencyController; - /** - * Gets or sets the item types that can be navigated to by this mode. - * @see yfiles.input.NavigationInputMode#shouldNavigateTo - * @type {yfiles.graph.GraphItemTypes} - */ - navigableItems:yfiles.graph.GraphItemTypes; - /** - * Gets the types of the items that should be selectable by this instance. - *

- * The selectable items. The default value is {@link yfiles.graph.GraphItemTypes#NODE}. - *

- * @default yfiles.graph.GraphItemTypes.NODE - * @type {yfiles.graph.GraphItemTypes} - */ - selectableItems:yfiles.graph.GraphItemTypes; - /** - * Gets or sets the the location that should be kept fixed if toggling a group node state. - *

- * Default value is {@link yfiles.input.NodeAlignmentPolicy#NONE} - *

- * @see yfiles.input.NavigationInputMode#expandGroup - * @default yfiles.input.NodeAlignmentPolicy.NONE - * @type {yfiles.input.NodeAlignmentPolicy} - */ - autoGroupNodeAlignmentPolicy:yfiles.input.NodeAlignmentPolicy; - /** - * Gets or sets the {@link yfiles.input.NavigationInputMode#graphComponent} this mode acts on. - * @type {yfiles.view.GraphComponent} - */ - graphComponent:yfiles.view.GraphComponent; - /** - * Gets the list of commands that are available in this instance. - *

- * By default, all supported commands are available - *

- *

- * Removing commands from this collection also removes the command bindings registered by this instance. - *

- *

- * Add supported commands to make them available in this instance. - *

- *

- * Supported commands are - *

- *
    - *
  • {@link yfiles.input.ICommand#MOVE_LEFT}
  • - *
  • {@link yfiles.input.ICommand#MOVE_RIGHT}
  • - *
  • {@link yfiles.input.ICommand#MOVE_UP}
  • - *
  • {@link yfiles.input.ICommand#MOVE_DOWN}
  • - *
  • {@link yfiles.input.ICommand#MOVE_TO_PAGE_UP}
  • - *
  • {@link yfiles.input.ICommand#MOVE_TO_PAGE_DOWN}
  • - *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_BACK}
  • - *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_FORWARD}
  • - *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_UP}
  • - *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_DOWN}
  • - *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_PAGE_UP}
  • - *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_PAGE_DOWN}
  • - *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_LEFT}
  • - *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_RIGHT}
  • - *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_UP}
  • - *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_DOWN}
  • - *
  • {@link yfiles.input.ICommand#SELECT_TO_PAGE_UP}
  • - *
  • {@link yfiles.input.ICommand#SELECT_TO_PAGE_DOWN}
  • - *
- * @type {yfiles.collections.ICollection.} - */ - availableCommands:yfiles.collections.ICollection; - /** - * Gets or sets a value indicating whether to use the {@link yfiles.view.GraphComponent#currentItem} as a fallback for the commands if no item is provided in the - * parameter and the current selection is empty. - *

- * This applies to the following commands: - *

- *
    - *
  • {@link yfiles.input.ICommand#ENTER_GROUP}
  • - *
  • {@link yfiles.input.ICommand#EXPAND_GROUP}
  • - *
  • {@link yfiles.input.ICommand#COLLAPSE_GROUP}
  • - *
  • {@link yfiles.input.ICommand#TOGGLE_EXPANSION_STATE}
  • - *
- * @default false - * @type {boolean} - */ - useCurrentItemForCommands:boolean; - /** - * Gets or sets the {@link yfiles.view.IGraphSelection} this mode operates on. - * @type {yfiles.view.IGraphSelection} - */ - graphSelection:yfiles.view.IGraphSelection; - /** - * Gets or sets the graph this mode operates on. - * @type {yfiles.graph.IGraph} - */ - graph:yfiles.graph.IGraph; - /** - * Gets or sets a value that determines whether it is allowed to {@link yfiles.input.NavigationInputMode#enterGroup enter group nodes} via the - * {@link yfiles.input.ICommand#ENTER_GROUP}. - *

- * The default value is true. - *

- * @see yfiles.input.NavigationInputMode#shouldEnterGroup - * @see yfiles.graph.FoldingManager - * @type {boolean} - */ - allowEnterGroup:boolean; - /** - * Gets or sets a value that determines whether it is allowed to collapse group nodes via the - * {@link yfiles.input.ICommand#COLLAPSE_GROUP}. - *

- * The default value is true. - *

- * @see yfiles.input.NavigationInputMode#collapseGroup - * @see yfiles.input.NavigationInputMode#shouldCollapseGroup - * @see yfiles.graph.FoldingManager - * @type {boolean} - */ - allowCollapseGroup:boolean; - /** - * Gets or sets a value that determines whether it is allowed to {@link yfiles.input.NavigationInputMode#expandGroup expand group nodes} via the - * {@link yfiles.input.ICommand#EXPAND_GROUP}. - *

- * The default value is true. - *

- * @see yfiles.input.NavigationInputMode#shouldExpandGroup - * @see yfiles.graph.FoldingManager - * @type {boolean} - */ - allowExpandGroup:boolean; - /** - * Gets or sets a value that determines whether it is allowed to {@link yfiles.input.NavigationInputMode#exitGroup exit the current group node} via the - * {@link yfiles.input.ICommand#EXIT_GROUP}. - *

- * The default value is true. - *

- * @see yfiles.input.NavigationInputMode#shouldExitGroup - * @see yfiles.graph.FoldingManager - * @default true - * @type {boolean} - */ - allowExitGroup:boolean; - /** - * Gets or sets a value that determines whether {@link yfiles.view.CanvasComponent#fitContent} or the {@link yfiles.input.ICommand#FIT_CONTENT} - * should be triggered after a group navigation action. - *

- * The default value is true. - *

- * @default true - * @type {boolean} - */ - fitContentAfterGroupActions:boolean; - /** - * Adds the given listener for the GroupCollapsing event that occurs before a group will be Collapsed. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupCollapsingListener - */ - addGroupCollapsingListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupCollapsing event that occurs before a group will be Collapsed. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupCollapsingListener - */ - removeGroupCollapsingListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupCollapsed event that occurs whenever a group has been Collapsed. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupCollapsedListener - */ - addGroupCollapsedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupCollapsed event that occurs whenever a group has been Collapsed. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupCollapsedListener - */ - removeGroupCollapsedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupExpanding event that occurs before a group will be {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupExpandingListener - */ - addGroupExpandingListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupExpanding event that occurs before a group will be {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupExpandingListener - */ - removeGroupExpandingListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupExpanded event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupExpandedListener - */ - addGroupExpandedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupExpanded event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupExpandedListener - */ - removeGroupExpandedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupEntering event that occurs before a group will be {@link yfiles.input.NavigationInputMode#enterGroup Entered}. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupEnteringListener - */ - addGroupEnteringListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupEntering event that occurs before a group will be {@link yfiles.input.NavigationInputMode#enterGroup Entered}. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupEnteringListener - */ - removeGroupEnteringListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupEntered event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#enterGroup Entered}. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupEnteredListener - */ - addGroupEnteredListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupEntered event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#enterGroup Entered}. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupEnteredListener - */ - removeGroupEnteredListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupExiting event that occurs before a group will be {@link yfiles.input.NavigationInputMode#exitGroup Exited}. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupExitingListener - */ - addGroupExitingListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupExiting event that occurs before a group will be {@link yfiles.input.NavigationInputMode#exitGroup Exited}. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupExitingListener - */ - removeGroupExitingListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Adds the given listener for the GroupExited event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#exitGroup Exited}. - * @param listener The listener to add. - * @see yfiles.input.NavigationInputMode#removeGroupExitedListener - */ - addGroupExitedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the GroupExited event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#exitGroup Exited}. - * @param listener The listener to remove. - * @see yfiles.input.NavigationInputMode#addGroupExitedListener - */ - removeGroupExitedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - static $class:yfiles.lang.Class; - } - export enum MoveFocusDirection{ - /** - * No direction. - */ - NONE, - /** - * In the direction of the negative x Axis. - */ - LEFT, - /** - * In the direction of the positive x Axis. - */ - RIGHT, - /** - * In the direction of the negative y Axis. - */ - UP, - /** - * In the direction of the positive y Axis. - */ - DOWN, - /** - * In the direction of the {@link yfiles.graph.IGraph#setParent parent} in the grouped graph. - */ - PARENT, - /** - * In the direction of the {@link yfiles.graph.IGraph#getChildren children} in the grouped graph. - */ - CHILD - } - export enum NodeAlignmentPolicy{ - /** - * Don't fix any specific point, only use the layout from the target state. - */ - NONE, - /** - * Fix the center point. - */ - CENTER, - /** - * Fix the upper left corner. - */ - TOP_LEFT, - /** - * Fix the lower left corner. - */ - BOTTOM_LEFT, - /** - * Fix the upper right corner. - */ - TOP_RIGHT, - /** - * Fix the lower right corner. - */ - BOTTOM_RIGHT, - /** - * Fix the uppermost center. - */ - TOP_CENTER, - /** - * Fix the lowermost center. - */ - BOTTOM_CENTER, - /** - * Fix the left center. - */ - CENTER_LEFT, - /** - * Fix the right center. - */ - CENTER_RIGHT - } - export enum OrthogonalEdgeEditingPolicy{ - /** - * Enables orthogonal edge creation or editing for a specific sub-aspect automatically if an {@link yfiles.input.OrthogonalEdgeEditingContext#enabled} {@link yfiles.input.OrthogonalEdgeEditingContext} - * instance is set in the {@link yfiles.input.GraphEditorInputMode#orthogonalEdgeEditingContext parent input mode}. - */ - AUTO, - /** - * Enables orthogonal edge creation or editing for a specific sub-aspect of edge creation. - */ - ALWAYS, - /** - * Disables orthogonal edge creation or editing for a specific sub-aspect of edge creation. - */ - NEVER - } - export enum SegmentOrientation{ - /** - * The segment has a horizontal orientation, which means that the end points should be moved vertically in synch so that - * the orientation is not destroyed. - */ - HORIZONTAL, - /** - * The segment has a vertical orientation, which means that the end points should be moved horizontally in synch so that - * the orientation is not destroyed. - */ - VERTICAL, - /** - * The segment does not need to be treated especially, both endpoints can be moved independently from each other. - */ - NON_ORTHOGONAL + static isInstance(o:any):o is yfiles.input.GraphInputMode; } /** * Concrete {@link yfiles.input.SnapContext} implementation which handles snapping movement for {@link yfiles.graph.IGraph} items. @@ -32478,7 +30943,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphSnapContext#removeCollectSnapLinesListener */ - addCollectSnapLinesListener(listener:(sender:Object,evt:yfiles.input.CollectGraphSnapLinesEventArgs)=>void):void; + addCollectSnapLinesListener(listener:(sender:any,evt:yfiles.input.CollectGraphSnapLinesEventArgs)=>void):void; /** * Removes the given listener for the CollectSnapLines event that occurs every time this instance has been {@link yfiles.input.SnapContext#dragInitialized initialized} to * collect {@link yfiles.input.OrthogonalSnapLine}s. @@ -32489,9 +30954,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphSnapContext#addCollectSnapLinesListener */ - removeCollectSnapLinesListener(listener:(sender:Object,evt:yfiles.input.CollectGraphSnapLinesEventArgs)=>void):void; + removeCollectSnapLinesListener(listener:(sender:any,evt:yfiles.input.CollectGraphSnapLinesEventArgs)=>void):void; /** - * Determines whether this instance should collect {@link yfiles.input.GraphSnapContext#fixedSegmentSnapLines fixed snap lines} for edge segments. + * Gets or sets whether this instance should collect {@link yfiles.input.GraphSnapContext#fixedSegmentSnapLines fixed snap lines} for edge segments. *

* The default is true. *

@@ -32502,7 +30967,7 @@ declare namespace yfiles{ */ collectEdgeSnapLines:boolean; /** - * Determines whether this instance should collect the sizes of fixed nodes. + * Gets or sets whether this instance should collect the sizes of fixed nodes. *

* The default is true. *

@@ -32512,7 +30977,7 @@ declare namespace yfiles{ */ collectNodeSizes:boolean; /** - * Determines whether this instance should collect {@link yfiles.input.GraphSnapContext#fixedNodeSnapLines fixed snap lines} for nodes. + * Gets or sets whether this instance should collect {@link yfiles.input.GraphSnapContext#fixedNodeSnapLines fixed snap lines} for nodes. *

* The default is true. *

@@ -32523,7 +30988,7 @@ declare namespace yfiles{ */ collectNodeSnapLines:boolean; /** - * Determines whether this instance should collect {@link yfiles.input.GraphSnapContext#fixedPortSnapLines fixed snap lines} for ports. + * Gets or sets whether this instance should collect {@link yfiles.input.GraphSnapContext#fixedPortSnapLines fixed snap lines} for ports. *

* The default is true. *

@@ -32534,8 +30999,8 @@ declare namespace yfiles{ */ collectPortSnapLines:boolean; /** - * Whether this context will automatically snap the movements of bends so that the two adjacent segments become - * horizontally or vertically oriented. + * Gets or sets whether this context will automatically snap the movements of bends so that the two adjacent segments + * become horizontally or vertically oriented. *

* The default is true. *

@@ -32544,8 +31009,8 @@ declare namespace yfiles{ */ snapBendAdjacentSegments:boolean; /** - * Whether this context will automatically snap the movements of nodes so that the first and last segments of edges become - * orthogonal. + * Gets or sets whether this context will automatically snap the movements of nodes so that the first and last segments of + * edges become orthogonal. *

* The default is true. *

@@ -32554,7 +31019,7 @@ declare namespace yfiles{ */ snapPortAdjacentSegments:boolean; /** - * Determines whether this context will automatically snap orthogonal edge segments to snap lines. + * Gets or sets whether this context will automatically snap orthogonal edge segments to snap lines. *

* The default is true. *

@@ -32563,7 +31028,7 @@ declare namespace yfiles{ */ snapSegmentsToSnapLines:boolean; /** - * Whether this context will automatically snap the bends to snap lines. + * Gets or sets whether this context will automatically snap the bends to snap lines. *

* The default is false. *

@@ -32572,7 +31037,7 @@ declare namespace yfiles{ */ snapBendsToSnapLines:boolean; /** - * Whether {@link yfiles.input.INodeSnapResultProvider} implementations should snap nodes to snap lines. + * Gets or sets whether {@link yfiles.input.INodeSnapResultProvider} implementations should snap nodes to snap lines. *

* The default is true. *

@@ -32581,7 +31046,7 @@ declare namespace yfiles{ */ snapNodesToSnapLines:boolean; /** - * The preferred distance between node borders. + * Gets or sets the preferred distance between node borders. *

* This will influence the creation of the node snap lines. For each fixed node there will be snap lines on the borders of * the node itself and around the node at the specified distance. @@ -32594,7 +31059,7 @@ declare namespace yfiles{ */ nodeToNodeDistance:number; /** - * The preferred distance between node borders and edge segments. + * Gets or sets the preferred distance between node borders and edge segments. *

* This will influence the creation of the node snap lines. For each fixed node there will be snap lines on the borders of * the node itself and around the node at the specified distance to which orthogonal edge segments can snap. @@ -32607,7 +31072,7 @@ declare namespace yfiles{ */ nodeToEdgeDistance:number; /** - * Gets the preferred distance between edges. + * Gets or sets the preferred distance between edges. *

* This will influence the creation of the segment snap lines. For each orthogonally oriented fixed segment there will be * snap lines on the segment itself and to both sides of the segment at the specified distance. @@ -32620,7 +31085,7 @@ declare namespace yfiles{ */ edgeToEdgeDistance:number; /** - * Determines whether this context will automatically snap the movement in such a way that the overall move gesture is + * Gets or sets whether this context will automatically snap the movement in such a way that the overall move gesture is * constrained to the horizontal or vertical axis. *

* The default is false. @@ -32630,7 +31095,7 @@ declare namespace yfiles{ */ snapOrthogonalMovement:boolean; /** - * Determines whether this instance will try to align the centers of adjacent nodes so that their centers are equally far + * Gets or sets whether this instance will try to align the centers of adjacent nodes so that their centers are equally far * away from each other. *

* Note that this will only make a difference for differently sized nodes. @@ -32713,7 +31178,7 @@ declare namespace yfiles{ */ cropSnapLines:boolean; /** - * The collection of {@link yfiles.input.OrthogonalSnapLine}s for fixed nodes. + * Gets the collection of {@link yfiles.input.OrthogonalSnapLine}s for fixed nodes. *

* This collection is only available if {@link yfiles.input.SnapContext#isInitialized} is true. *

@@ -32722,7 +31187,7 @@ declare namespace yfiles{ */ fixedNodeSnapLines:yfiles.collections.IEnumerable; /** - * The collection of {@link yfiles.input.OrthogonalSnapLine}s for fixed segments. + * Gets the collection of {@link yfiles.input.OrthogonalSnapLine}s for fixed segments. *

* This collection is only available if {@link yfiles.input.SnapContext#isInitialized} is true. *

@@ -32731,7 +31196,7 @@ declare namespace yfiles{ */ fixedSegmentSnapLines:yfiles.collections.IEnumerable; /** - * The collection of {@link yfiles.input.OrthogonalSnapLine}s to which ports should be snapping. + * Gets the collection of {@link yfiles.input.OrthogonalSnapLine}s to which ports should be snapping. *

* This collection is only available if {@link yfiles.input.SnapContext#isInitialized} is true. *

@@ -32740,7 +31205,7 @@ declare namespace yfiles{ */ fixedPortSnapLines:yfiles.collections.IEnumerable; /** - * The collection of additional {@link yfiles.input.OrthogonalSnapLine}s. + * Gets the collection of additional {@link yfiles.input.OrthogonalSnapLine}s. *

* This collection is only available if {@link yfiles.input.SnapContext#isInitialized} is true. *

@@ -32749,6 +31214,7 @@ declare namespace yfiles{ */ additionalSnapLines:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.GraphSnapContext; } export enum MoveTypes{ /** @@ -32811,7 +31277,7 @@ declare namespace yfiles{ * the edit process. * @class */ - export interface MovementInfo extends Object{} + export interface MovementInfo extends yfiles.lang.Object{} export class MovementInfo { /** * Initializes a new instance of the {@link yfiles.input.MovementInfo} class. @@ -32888,7 +31354,7 @@ declare namespace yfiles{ */ currentLocation:yfiles.geometry.IPoint; /** - * Indicates the type of the movement for this instance. + * Gets or sets the type of the movement for this instance. * @type {yfiles.input.MoveTypes} */ moveType:yfiles.input.MoveTypes; @@ -32903,6 +31369,1803 @@ declare namespace yfiles{ */ isHorizontallyFixed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MovementInfo; + } + /** + * An {@link yfiles.input.IInputMode} implementation for use in a {@link yfiles.view.GraphComponent} to assign to the {@link yfiles.view.CanvasComponent#inputMode} property. + *

+ * This mode can be used in a viewer-centric application where there is no need to modify the {@link yfiles.graph.IGraph} but + * browsing of the graph should be convenient. This mode allows for {@link yfiles.input.GraphInputMode#addItemClickedListener clicking on items using the mouse}, + * {@link yfiles.input.GraphInputMode#addQueryItemToolTipListener displaying tool tips for items}, {@link yfiles.input.GraphInputMode#addPopulateItemContextMenuListener showing a context menu}, {@link yfiles.input.NavigationInputMode allowing for easy navigation and traversal}, + * {@link yfiles.input.MoveViewportInputMode moving the view port}, and {@link yfiles.input.GraphInputMode#marqueeSelectableItems optionally doing marquee selection}. Also {@link yfiles.input.ItemHoverInputMode} can be used to get + * notified of the elements that the mouse is hovering over. + *

+ *

+ * Due to the viewer-centric nature of this input mode, collapsing and expanding groups is disabled per default. To enable + * this feature, set {@link yfiles.input.NavigationInputMode#allowCollapseGroup} and {@link yfiles.input.NavigationInputMode#allowExpandGroup} to true. + *

+ *

+ * This input mode manages a set of specialized input modes, each handling a specific part of the interaction with the + * graph. The following list details those along with their default + * {@link yfiles.input.IInputMode#priority priorities}. Lower priorities come earlier when handing events. + *

+ *
    + *
  • {@link yfiles.input.WaitInputMode} (−1) – Disables this input mode when layouts or animations run.
  • + *
  • {@link yfiles.input.KeyboardInputMode} (0) – Handles commands and arbitrary keyboard shortcuts.
  • + *
  • {@link yfiles.input.ClickInputMode} (10) – Handles mouse clicks and double-clicks.
  • + *
  • {@link yfiles.input.TapInputMode} (20) – Handles taps and double-tap.
  • + *
  • {@link yfiles.input.MarqueeSelectionInputMode} (30) – Allows dragging a rectangle to select items within it.
  • + *
  • {@link yfiles.input.MoveViewportInputMode} (39) – Allows panning the viewport.
  • + *
  • {@link yfiles.input.ItemHoverInputMode} (55) – Provides events to indicate that the mouse pointer hovers over an item.
  • + *
  • {@link yfiles.input.NavigationInputMode} (55) – Provides general navigation facilities, such as navigating from one item to another with the arrow keys.
  • + *
  • {@link yfiles.input.ContextMenuInputMode} (60) – Handles querying the context menu contents based on a location as well as preparing the menu for display.
  • + *
  • {@link yfiles.input.MouseHoverInputMode} (100) – Handles tool tips.
  • + *
+ * @class + * @extends {yfiles.input.GraphInputMode} + */ + export interface GraphViewerInputMode extends yfiles.input.GraphInputMode{} + export class GraphViewerInputMode { + /** + * Initializes a new instance of the {@link yfiles.input.GraphViewerInputMode} class. + */ + constructor(); + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.GraphViewerInputMode; + } + /** + * A simple interface that can be used to react to clicks on regions of {@link yfiles.styles.INodeStyle}s etc. + *

+ * {@link yfiles.input.GraphEditorInputMode} will query the {@link yfiles.graph.IModelItem}'s Lookup method for this interface if it has + * detected {@link yfiles.input.GraphInputMode#click}s. If the item yields an instance of this interface and the click was inside + * the {@link yfiles.input.IClickListener#getHitTestable}, then {@link yfiles.input.IClickListener#onClicked} is invoked. + *

+ * @see yfiles.input.GraphEditorInputMode + * @see yfiles.styles.CollapsibleNodeStyleDecorator + * @interface + */ + export interface IClickListener extends yfiles.lang.Object{ + /** + * Gets an {@link yfiles.input.IHitTestable} that can be used to check if {@link yfiles.input.IClickListener#onClicked} should be invoked. + * @returns A hit testable that can determine whether {@link #onClicked} should be invoked by a given click. + * @abstract + */ + getHitTestable():yfiles.input.IHitTestable; + /** + * Called by the framework to indicate that the {@link yfiles.graph.IModelItem} has been clicked by the user at the specified + * location. + *

+ * This method is called by {@link yfiles.input.GraphInputMode#click} for the + * {@link yfiles.graph.IModelItem}s that yielded an instance of this interface. + *

+ * @param context The context to use for the click operation. + * @param location The location of the click + * @abstract + */ + onClicked(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point):void; + } + var IClickListener:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.IClickListener; + }; + /** + * An interface for classes that can yield {@link yfiles.input.IHandle} implementations for the {@link yfiles.graph.IEdge#sourcePort source} and {@link yfiles.graph.IEdge#targetPort target} ends of an + * {@link yfiles.graph.IEdge}. + *

+ * This interface will be queried by the default implementation of the {@link yfiles.input.IHandleProvider} that is in the lookup + * of an {@link yfiles.graph.IEdge}. It is recommended to use this interface instead of the more generic {@link yfiles.input.IHandleProvider} + * interface, because other generic code can then use this interface to gain access to a specific {@link yfiles.input.IHandle} more + * easily. + *

+ * @interface + */ + export interface IEdgePortHandleProvider extends yfiles.lang.Object{ + /** + * Gets an {@link yfiles.input.IHandle} implementation for one end of the provided edge. + * @param context The context in which the handle will be used. + * @param edge The edge for which an handle is needed. + * @param sourceHandle if set to true the handle for the source side/port should be returned. + * @returns The handle to use for the provided side or null. + * @abstract + */ + getHandle(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,sourceHandle:boolean):yfiles.input.IHandle; + } + var IEdgePortHandleProvider:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.IEdgePortHandleProvider; + }; + /** + * Helper interface to customize interactive label editing. + *

+ * Implementations of this interface can be put into the {@link yfiles.graph.ILookup} of {@link yfiles.graph.ILabelOwner}s and + * {@link yfiles.graph.ILabel}s so that it is possible to tweak the behavior on a case by case basis. + *

+ *

+ * Conceptually, in most cases, implementations of this interface behaves like an additional event handler for {@link yfiles.input.GraphEditorInputMode#addLabelAddingListener LabelAdding} + * and {@link yfiles.input.GraphEditorInputMode#addLabelEditingListener LabelEditing}. If no event handler + * handled those events, an {@link yfiles.input.IEditLabelHelper} will be queried from the {@link yfiles.graph.ILookup} and the unhandled + * event arguments passed to the respective methods. + *

+ * @see yfiles.input.EditLabelHelper + * @see yfiles.input.GraphEditorInputMode#createLabel + * @see yfiles.input.GraphEditorInputMode#editLabel + * @see yfiles.input.GraphEditorInputMode#addLabel + * @see yfiles.input.GraphEditorInputMode#addLabelAddingListener + * @see yfiles.input.GraphEditorInputMode#addLabelEditingListener + * @interface + */ + export interface IEditLabelHelper extends yfiles.lang.Object{ + /** + * Helper method that will be called when trying to add a label to an {@link yfiles.graph.ILabelOwner}. + *

+ * Implementations of this method can set the {@link yfiles.graph.ILabel#style}, {@link yfiles.graph.ILabel#layoutParameter}, {@link yfiles.graph.ILabel#preferredSize}, and {@link yfiles.graph.ITagOwner#tag} for newly-added labels by setting the appropriate properties on + * evt. + *

+ *

+ * Setting the {@link yfiles.input.LabelEditingEventArgs#cancel} property on evt to true will disallow label creation. + *

+ * @param evt The original event arguments. + * @see yfiles.input.IEditLabelHelper#onLabelEditing + * @abstract + */ + onLabelAdding(evt:yfiles.input.LabelEditingEventArgs):void; + /** + * Helper method that will be called when trying to edit a label. + *

+ * This method can be called for editing labels for an {@link yfiles.graph.ILabelOwner}, in which case the {@link yfiles.input.LabelEditingEventArgs#label} property on evt will be + * null, but the {@link yfiles.input.LabelEditingEventArgs#owner} property will be non-null. It can also be called for editing a specific label, in which case the {@link yfiles.input.LabelEditingEventArgs#label} + * property on evt will be non-null, and the {@link yfiles.input.LabelEditingEventArgs#owner} property will be set to the label's owner. + *

+ *

+ * Implementations of this method can set a specific label to be edited, by setting the {@link yfiles.input.LabelEditingEventArgs#label} property of the evt to an existing + * label instance. This label does not need to belong to the same owner that is queried for. Setting the {@link yfiles.input.LabelEditingEventArgs#label} property to null + * will not edit an existing label, but instead add a new one on the {@link yfiles.graph.ILabelOwner} set in the {@link yfiles.input.LabelEditingEventArgs#owner} property. + *

+ *

+ * When a new label is added, the properties {@link yfiles.input.LabelEditingEventArgs#style}, {@link yfiles.input.LabelEditingEventArgs#layoutParameter}, {@link yfiles.input.LabelEditingEventArgs#preferredSize}, and {@link yfiles.input.LabelEditingEventArgs#tag} are used for the newly-created label, just as in + * {@link yfiles.input.IEditLabelHelper#onLabelAdding}. + *

+ *

+ * Setting the {@link yfiles.input.LabelEditingEventArgs#cancel} property on evt to true will disallow label editing and creation. + *

+ * @param evt The original event arguments. + * @see yfiles.input.IEditLabelHelper#onLabelAdding + * @abstract + */ + onLabelEditing(evt:yfiles.input.LabelEditingEventArgs):void; + } + var IEditLabelHelper:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.IEditLabelHelper; + }; + /** + * Provides the snap lines and the snap results to the {@link yfiles.input.LabelSnapContext} during dragging of labels. + * @see yfiles.input.LabelSnapContext + * @see yfiles.graph.LabelDecorator#labelSnapContextHelperDecorator + * @interface + */ + export interface ILabelSnapContextHelper extends yfiles.lang.Object{ + /** + * Called during {@link yfiles.input.IDragHandler#initializeDrag initialization} of a label dragging to add {@link yfiles.input.SnapLine snap lines} to which the label can potentially snap to the + * snapContext. + * @param snapContext The snap context which manages the snap lines and the settings. Note that implementations should not change the state of + * the context explicitly. + * @param inputModeContext The context of the input mode that handles the dragging. + * @param label The label that is dragged. + * @abstract + */ + addSnapLines(snapContext:yfiles.input.LabelSnapContext,inputModeContext:yfiles.input.IInputModeContext,label:yfiles.graph.ILabel):void; + /** + * Called while the given label is {@link yfiles.input.IDragHandler#handleMove dragged} to add {@link yfiles.input.SnapResult snap results} for the {@link yfiles.input.SnapLine snap lines} provided by the context. + * @param context The snap context which manages the snap lines and the settings. + * @param evt The event argument to obtain the necessary information from and {@link #addSnapResult add results to}. + * @param suggestedLayout The {@link #layout layout} of the label that would be used without snapping. + * @param label The label that is dragged. + * @abstract + */ + collectSnapResults(context:yfiles.input.LabelSnapContext,evt:yfiles.input.CollectSnapResultsEventArgs,suggestedLayout:yfiles.geometry.IOrientedRectangle,label:yfiles.graph.ILabel):void; + } + var ILabelSnapContextHelper:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.ILabelSnapContextHelper; + }; + /** + * An interface used by implementations that provide various size constraints for {@link yfiles.graph.INode}s. + *

Related demos:

+ *
    + *
  • Demo: SizeConstraintProvider, demo.yfiles.input.sizeconstraintprovider
  • + *
+ * @see yfiles.input.NodeSizeConstraintProvider + * @interface + */ + export interface INodeSizeConstraintProvider extends yfiles.lang.Object{ + /** + * Returns the maximum size allowed for the given node. + * @param node The node to return the maximum size for. + * @returns The maximum size or {@link #INFINITE} if there is no constraint on the size. + * @abstract + */ + getMaximumSize(node:yfiles.graph.INode):yfiles.geometry.Size; + /** + * Returns the minimum area that needs to be enclosed by the given node. + * @param node The node to return the area for. + * @returns The area to enclose or {@link #EMPTY} if there is no constraint on the size due to an enclosed area. + * @abstract + */ + getMinimumEnclosedArea(node:yfiles.graph.INode):yfiles.geometry.Rect; + /** + * Returns the minimum size allowed for the given node. + * @param node The node to return the minimum size for. + * @returns The minimum size or {@link #EMPTY} if there is no constraint on the size. + * @abstract + */ + getMinimumSize(node:yfiles.graph.INode):yfiles.geometry.Size; + } + var INodeSizeConstraintProvider:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.INodeSizeConstraintProvider; + }; + /** + * A simple default implementation of {@link yfiles.input.INodeSizeConstraintProvider} + * @class + * @implements {yfiles.input.INodeSizeConstraintProvider} + */ + export interface NodeSizeConstraintProvider extends yfiles.lang.Object,yfiles.input.INodeSizeConstraintProvider{} + export class NodeSizeConstraintProvider { + /** + * Creates a new instance using the provided size instances as the initial values. + *

+ * Not specifing the minimumEnclosedArea will set it to {@link yfiles.geometry.Rect#EMPTY}. + *

+ * @param minimumSize The {@link #minimumSize}. + * @param maximumSize The {@link #maximumSize}. + * @param [minimumEnclosedArea=null] The {@link #minimumEnclosedArea}. + */ + constructor(minimumSize:yfiles.geometry.ISize,maximumSize:yfiles.geometry.ISize,minimumEnclosedArea?:yfiles.geometry.IRectangle); + /** + * + * @param node + * @returns + */ + getMaximumSize(node:yfiles.graph.INode):yfiles.geometry.Size; + /** + * + * @param node + * @returns + */ + getMinimumEnclosedArea(node:yfiles.graph.INode):yfiles.geometry.Rect; + /** + * + * @param node + * @returns + */ + getMinimumSize(node:yfiles.graph.INode):yfiles.geometry.Size; + /** + * Gets or sets the instance to return by {@link yfiles.input.NodeSizeConstraintProvider#getMaximumSize}. + * @type {yfiles.geometry.ISize} + */ + maximumSize:yfiles.geometry.ISize; + /** + * Gets or sets the instance to return by {@link yfiles.input.NodeSizeConstraintProvider#getMinimumEnclosedArea}. + * @type {yfiles.geometry.IRectangle} + */ + minimumEnclosedArea:yfiles.geometry.IRectangle; + /** + * Gets or sets the instance to return by {@link yfiles.input.NodeSizeConstraintProvider#getMinimumSize}. + * @type {yfiles.geometry.ISize} + */ + minimumSize:yfiles.geometry.ISize; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodeSizeConstraintProvider; + } + /** + * Interface used by {@link yfiles.input.OrthogonalEdgeEditingContext} and the like that can be decorated to the {@link yfiles.graph.ILookup} + * of {@link yfiles.graph.IEdge}s. + *

+ * This interface is for editing edges in such a way that their path stays orthogonal, i.e. all of the segments are + * oriented either horizontally or vertically. + *

+ * @see yfiles.input.OrthogonalEdgeEditingContext#getOrthogonalEdgeHelper + * @interface + */ + export interface IOrthogonalEdgeHelper extends yfiles.lang.Object{ + /** + * Callback method that is invoked after the provided edge has been edited orthogonally. + *

+ * This callback can be used to remove unused bends and finalize the orthogonal edge editing gesture. + *

+ * @param context The input mode context which edited the edge. + * @param graph The graph to use for modifying the edge instance. + * @param edge The edge to clean up the path. + * @abstract + */ + cleanUpEdge(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge):void; + /** + * Gets the declared orientation of the given segment at the provided edge. + *

+ * The orientation cannot always be inferred from the current geometry: If a segment has a zero length it is unclear what + * orientation it should have, also a segment could be accidentally orthogonally oriented, while in fact it is considered + * {@link yfiles.input.SegmentOrientation#NON_ORTHOGONAL}. + *

+ * @param context The input mode context in which the orientation is needed. + * @param edge The edge to inspect. + * @param segmentIndex The index of the segment. + * @returns The declared orientation of the segment. + * @abstract + */ + getSegmentOrientation(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,segmentIndex:number):yfiles.input.SegmentOrientation; + /** + * Determines whether the provided edge should be edited orthogonally in the specified input mode context. + *

+ * If this method returns false, the other methods will not be queried at all. + *

+ * @param context The input mode context in which the edge is about to be edited. + * @param edge The edge to inspect. + * @returns true if the edge should be orthogonally edited in the specified input mode context; false otherwise. + * @abstract + */ + shouldEditOrthogonally(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge):boolean; + /** + * Determines whether this end of the provided edge can be moved in the input mode context. + *

+ * This information is required to determine whether an edge's first or last segment needs to be split or the adjacent edge + * end can be moved along with the other end of the segment. + *

+ * @param context The input mode context in which the segment is edited. + * @param edge The edge to inspect. + * @param sourceEnd if set to true the source end of the edge is queried, otherwise the target end. + * @returns true if the end of the edge can be moved for the specified input mode context; false otherwise, in which case the + * corresponding segment needs to be split to keep the segment orientation orthogonal. + * @abstract + */ + shouldMoveEndImplicitly(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,sourceEnd:boolean):boolean; + } + var IOrthogonalEdgeHelper:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.IOrthogonalEdgeHelper; + }; + /** + * Interface used for implementations that recognize, approve and disapprove node reparenting gestures, as well as actually + * performs the reparenting. + *

+ * Implementations of this interface are queried from the {@link yfiles.input.IInputModeContext} by code that wants to reparent a + * node. Specifically this is used by default to reparent nodes during the {@link yfiles.input.MoveInputMode dragging of nodes}. + *

+ *

Related demos:

+ *
    + *
  • Demo: ReparentHandler, demo.yfiles.input.reparenthandler
  • + *
+ * @interface + */ + export interface IReparentNodeHandler extends yfiles.lang.Object{ + /** + * Determines whether the current gesture that can be determined through the context is a reparent gesture. + * @param context The context that provides information about the user input. + * @param node The node that will possibly be reparented. + * @returns Whether this is a reparenting gesture. + * @abstract + */ + isReparentGesture(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode):boolean; + /** + * Determines whether the provided node may be reparented to a newParent. + * @param context The context that provides information about the user input. + * @param node The node that will be reparented. + * @param newParent The potential new parent or null. Can be a group or a non-group node. + * @returns Whether newParent is a valid new parent for node. + * @abstract + */ + isValidParent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode,newParent:yfiles.graph.INode):boolean; + /** + * Performs the actual reparenting after the reparent gesture has been finalized. + *

+ * Implementations should {@link yfiles.graph.IGraph#setParent set the parent} of node to newParent. + *

+ * @param context The context that provides information about the user input. + * @param node The node that will be reparented. + * @param newParent The potential new parent or null. Can be a group or a non-group node. + * @abstract + */ + reparent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode,newParent:yfiles.graph.INode):void; + /** + * Determines whether the user may detach the given node from its current parent in order to reparent it. + * @param context The context that provides information about the user input. + * @param node The node that is about to be detached from its current parent. + * @returns Whether the node may be detached and reparented. + * @abstract + */ + shouldReparent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode):boolean; + } + var IReparentNodeHandler:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.IReparentNodeHandler; + }; + /** + * Queried by the {@link yfiles.input.GraphSnapContext} to add {@link yfiles.input.OrthogonalSnapLine}s to its collections during the + * {@link yfiles.input.SnapContext#isInitializing initialization phase}. + *

+ * Implementations of this interface are queried by {@link yfiles.input.GraphSnapContext} for each item that is not modified during + * the edit using the {@link yfiles.graph.ILookup#lookup} of the respective item. + *

+ * @see yfiles.graph.NodeDecorator#snapLineProviderDecorator + * @interface + */ + export interface ISnapLineProvider extends yfiles.lang.Object{ + /** + * Called by the {@link yfiles.input.GraphSnapContext} when a {@link yfiles.input.GraphSnapContext#initializeDrag drag} is about to start. + * @param context The context which holds the settings for the snap lines. Note that implementations should not change the state of the + * context explicitly. + * @param evt The argument to use for adding snap lines. + * @param item The item to add snap lines for. + * @abstract + */ + addSnapLines(context:yfiles.input.GraphSnapContext,evt:yfiles.input.CollectGraphSnapLinesEventArgs,item:yfiles.graph.IModelItem):void; + } + var ISnapLineProvider:{ + $class:yfiles.lang.Class; + isInstance(o:any):o is yfiles.input.ISnapLineProvider; + }; + /** + * Provides data for the {@link yfiles.input.GraphInputMode#addItemClickedListener ItemClicked}, + * {@link yfiles.input.GraphInputMode#addItemDoubleClickedListener ItemDoubleClicked}, + * {@link yfiles.input.GraphInputMode#addItemLeftClickedListener ItemLeftClicked}, + * {@link yfiles.input.GraphInputMode#addItemLeftDoubleClickedListener ItemLeftDoubleClicked}, {@link yfiles.input.GraphInputMode#addItemRightClickedListener ItemRightClicked} + * and {@link yfiles.input.GraphInputMode#addItemRightDoubleClickedListener ItemRightDoubleClicked} events. + * Type parameter T: The type of the item this event carries. + * @class + * @extends {yfiles.collections.ItemEventArgs.} + * @template T + */ + export interface ItemClickedEventArgs extends yfiles.collections.ItemEventArgs{} + export class ItemClickedEventArgs { + /** + * Initializes a new instance of the {@link yfiles.input.ItemClickedEventArgs.} class. + * @param item The item which is the subject of the event. + * @param location The location of the click. + */ + constructor(item:T,location:yfiles.geometry.Point); + /** + * Gets or sets a value indicating whether this {@link yfiles.input.ItemClickedEventArgs.} is handled. + *

+ * Setting the event to handled indicates whether the event should be further propagated or whether there has not been any + * code that actively handled the event to the event source. How this flag is actually being treated depends on the source + * of the event. + *

+ * @type {boolean} + */ + handled:boolean; + /** + * Gets the location of the click. + * @type {yfiles.geometry.Point} + */ + location:yfiles.geometry.Point; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ItemClickedEventArgs; + } + /** + * An input mode for use in a {@link yfiles.view.GraphComponent} that fires events when the mouse enters or leaves the + * visualization of a {@link yfiles.graph.IModelItem graph item}. + *

+ * This mode can be used to determine when the mouse is being moved from one item to the next. + *

+ *

+ * This mode is {@link yfiles.input.ItemHoverInputMode#exclusive} by default. + *

+ * @class + * @implements {yfiles.input.IInputMode} + */ + export interface ItemHoverInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} + export class ItemHoverInputMode { + /** + * Initializes a new instance of the {@link yfiles.input.ItemHoverInputMode} class. + */ + constructor(); + /** + * + */ + cancel():void; + /** + * Gets the items that have been hit at the given location. + * @param location The location in world coordinates to query. + * @returns An enumerable over all items that have been hit at the given location. + * @protected + */ + getHitItemsAt(location:yfiles.geometry.Point):yfiles.collections.IEnumerable; + /** + * Installs this mode into the given context that is provided by the canvas. + *

+ * In general a mode can only be installed into a single canvas at all times. + *

+ *

+ * This method is called to initialize this instance. Subclasses should override this method to register the corresponding + * event handler delegates for the various input events they need to register with. + *

+ *

+ * Overriding implementations should call the base implementation, first. + *

+ * @param context The context that this instance shall be installed into. The same instance will be passed to this instance during + * {@link #uninstall}. A reference to the context may be kept and queried during the time the mode is + * installed. + * @param controller The {@link #controller} for this mode. + * @see yfiles.input.IInputMode#uninstall + */ + install(context:yfiles.input.IInputModeContext,controller:yfiles.input.ConcurrencyController):void; + /** + * Determines whether the given item is a valid item to be considered for hovering. + *

+ * This implementation checks whether the item is covered by the {@link yfiles.input.ItemHoverInputMode#hoverItems} set, only. + *

+ * @param item The item to check. + * @returns true if it is valid to report a hover over the specified item; false otherwise. + * @see yfiles.input.ItemHoverInputMode#discardInvalidItems + * @protected + */ + isValidHoverItem(item:yfiles.graph.IModelItem):boolean; + /** + * Called after {@link yfiles.input.ItemHoverInputMode#cancel} has been called. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been canceled. + *

+ *

+ * This implementation does nothing. + *

+ * @protected + */ + onCanceled():void; + /** + * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to true. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been activated. + *

+ *

+ * Overriding implementations should call the base implementation. + *

+ * @protected + */ + onConcurrencyControllerActivated():void; + /** + * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to false. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been deactivated. + *

+ *

+ * Overriding implementations should call the base implementation. + *

+ * @protected + */ + onConcurrencyControllerDeactivated():void; + /** + * Raises the {@link yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener HoveredItemChanged} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onHoveredItemChanged(evt:yfiles.input.HoveredItemChangedEventArgs):void; + /** + * Called after {@link yfiles.input.ItemHoverInputMode#tryStop} has been called. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been stopped. + *

+ *

+ * This implementation does nothing. + *

+ * @protected + */ + onStopped():void; + /** + * Overridden to only return true if this instance does not currently {@link yfiles.input.ConcurrencyController#hasMutex have the input mutex}. + * @returns true iff this instance does not {@link #hasMutex own the mutex}. + */ + tryStop():boolean; + /** + * Uninstalls this mode from the given context. + *

+ * This code should clean up all changes made to the canvas in the {@link yfiles.input.IInputMode#install} method. After a mode has + * been uninstalled it can be installed again into the same or another canvas. + *

+ *

+ * Overriding implementations should call the base implementation after their own code. + *

+ * @param context The context to deregister from. This is the same instance that had been passed to {@link #install} during + * installation. + */ + uninstall(context:yfiles.input.IInputModeContext):void; + /** + * Forces a reevaluation of the item that the mouse is currently hovering over or at a specific location. + *

+ * This method may be called by code that is aware of the fact that the visualization has changed, but the mouse may not + * have been moved. By default this implementation will only re-query the items at the mouse location when the mouse has + * moved. This method can be called to force a reevaluation in other cases. + *

+ * @param [location=null] The query location. + */ + updateHover(location?:yfiles.geometry.Point):void; + /** + * + * @type {number} + */ + priority:number; + /** + * Gets or sets a value indicating whether this mode will be the only one running when it has the mutex. + *

+ * The value of this property will be delegated to the {@link yfiles.input.ConcurrencyController#exclusive} property of the {@link yfiles.input.ItemHoverInputMode#controller}. + *

+ *

+ * If this mode is marked as exclusive and has the mutex, all other modes {@link yfiles.input.MultiplexingInputMode#add added} to the same {@link yfiles.input.MultiplexingInputMode} + * will be deactivated. Otherwise it will always run concurrently with all other modes. + *

+ * @type {boolean} + */ + exclusive:boolean; + /** + * Gets or sets the enabled state of this input mode. + *

+ * Clients can use this property to disable or reenable this instance. This will set the {@link yfiles.input.ConcurrencyController#enabled Enabled} property of the installed + * {@link yfiles.input.ItemHoverInputMode#controller} so a disabled instance should never try to acquire the input mutex. + *

+ * @type {boolean} + */ + enabled:boolean; + /** + * + * @type {yfiles.input.IInputModeContext} + */ + inputModeContext:yfiles.input.IInputModeContext; + /** + * Gets the installed {@link yfiles.input.ItemHoverInputMode#controller}. + * @protected + * @type {yfiles.input.ConcurrencyController} + */ + controller:yfiles.input.ConcurrencyController; + /** + * Adds the given listener for the HoveredItemChanged event that occurs when the item that is being hovered over with the + * mouse changes. + *

+ * This event is also fired when the mouse pointer leaves an item. + *

+ * @param listener The listener to add. + * @see yfiles.input.ItemHoverInputMode#removeHoveredItemChangedListener + */ + addHoveredItemChangedListener(listener:(sender:any,evt:yfiles.input.HoveredItemChangedEventArgs)=>void):void; + /** + * Removes the given listener for the HoveredItemChanged event that occurs when the item that is being hovered over with + * the mouse changes. + *

+ * This event is also fired when the mouse pointer leaves an item. + *

+ * @param listener The listener to remove. + * @see yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener + */ + removeHoveredItemChangedListener(listener:(sender:any,evt:yfiles.input.HoveredItemChangedEventArgs)=>void):void; + /** + * Gets the current item the mouse is hovering over. + * @type {yfiles.graph.IModelItem} + */ + currentHoverItem:yfiles.graph.IModelItem; + /** + * Gets or sets which graph items are considered by this input mode. + *

+ * The default is {@link yfiles.graph.GraphItemTypes#ALL}. + *

+ * @type {yfiles.graph.GraphItemTypes} + */ + hoverItems:yfiles.graph.GraphItemTypes; + /** + * Gets or sets the cursor to use when the mouse is hovering over a {@link yfiles.input.ItemHoverInputMode#isValidHoverItem} valid + * hover item. + * @type {yfiles.view.Cursor} + */ + hoverCursor:yfiles.view.Cursor; + /** + * Gets or sets whether items that have been hit at the current location that are not {@link yfiles.input.ItemHoverInputMode#isValidHoverItem valid items} should be ignored or + * reported as null. + * @see yfiles.input.ItemHoverInputMode#isValidHoverItem + * @type {boolean} + */ + discardInvalidItems:boolean; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ItemHoverInputMode; + } + /** + * Event argument class containing information about which {@link yfiles.graph.IModelItem} the mouse is currently hovering over. + *

+ * This event is used by the {@link yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener HoveredItemChanged} + * event. The {@link yfiles.collections.ItemEventArgs.#item} property yields the item that is currently being hovered over or null if the mouse just left an item without + * hovering over an other one. The {@link yfiles.input.HoveredItemChangedEventArgs#oldItem} property provides the previously hovered item. + *

+ * @class + * @extends {yfiles.collections.ItemEventArgs.} + */ + export interface HoveredItemChangedEventArgs extends yfiles.collections.ItemEventArgs{} + export class HoveredItemChangedEventArgs { + /** + * Initializes a new instance of the {@link yfiles.input.HoveredItemChangedEventArgs} class. + * @param item The model item, possibly null. + * @param oldItem The old item, possibly null. + */ + constructor(item:yfiles.graph.IModelItem,oldItem:yfiles.graph.IModelItem); + /** + * Gets or sets the item that was previously hovered, possibly null. + * @see yfiles.collections.ItemEventArgs.#item + * @type {yfiles.graph.IModelItem} + */ + oldItem:yfiles.graph.IModelItem; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.HoveredItemChangedEventArgs; + } + /** + * Event arguments for the {@link yfiles.input.GraphEditorInputMode#addLabelAddingListener LabelAdding} and {@link yfiles.input.GraphEditorInputMode#addLabelEditingListener LabelEditing} + * events, as well as the {@link yfiles.input.IEditLabelHelper} interface. + * @class + * @extends {yfiles.input.InputModeEventArgs} + * @final + */ + export interface LabelEditingEventArgs extends yfiles.input.InputModeEventArgs{} + export class LabelEditingEventArgs { + /** + * Initializes a new instance of the {@link yfiles.input.LabelEditingEventArgs} class with the given context, owner, and label. + * @param context The input mode context to use. + * @param owner The {@link } whose label should be edited. + * @param label The {@link } that should be edited. + */ + constructor(context:yfiles.input.IInputModeContext,owner:yfiles.graph.ILabelOwner,label:yfiles.graph.ILabel); + /** + * Gets or sets the label to edit. + *

+ * This can be set to an exiting label to edit a specific one, or set to null to add a new label instead (e.g. for + * {@link yfiles.graph.ILabelOwner}s that have no label yet). + *

+ *

+ * If this property is set to null, the properties {@link yfiles.input.LabelEditingEventArgs#style}, {@link yfiles.input.LabelEditingEventArgs#preferredSize}, {@link yfiles.input.LabelEditingEventArgs#layoutParameter}, and {@link yfiles.input.LabelEditingEventArgs#tag} are used for the newly-added label, just like with + * {@link yfiles.input.LabelEditingEventArgs}. + *

+ *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {yfiles.graph.ILabel} + */ + label:yfiles.graph.ILabel; + /** + * Gets or sets a value indicating whether the action (adding or editing a label) should be canceled. + *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {boolean} + */ + cancel:boolean; + /** + * Gets or sets a value indicating whether this event has been handled. + *

+ * A handled instance of {@link yfiles.input.LabelEditingEventArgs} will not be passed to further event handlers or an {@link yfiles.input.IEditLabelHelper} + * instance. + *

+ *

+ * Setting any of the other properties implicitly also sets this to true. + *

+ * @type {boolean} + */ + handled:boolean; + /** + * Gets or sets the owner of the label. + *

+ * This property can be null if there is no owner known, e.g. if the event is raised for + * non-{@link yfiles.graph.ILabelOwner}s. Otherwise it is initially set to the item for which the event is raised. + *

+ *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {yfiles.graph.ILabelOwner} + */ + owner:yfiles.graph.ILabelOwner; + /** + * Gets or sets the {@link yfiles.graph.ILabel#style} of the label to add. + *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {yfiles.styles.ILabelStyle} + */ + style:yfiles.styles.ILabelStyle; + /** + * Gets or sets the {@link yfiles.graph.ILabel#preferredSize} of the label to add. + *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {yfiles.geometry.Size} + */ + preferredSize:yfiles.geometry.Size; + /** + * Gets or sets the {@link yfiles.graph.ILabel#layoutParameter} of the label to add. + *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {yfiles.graph.ILabelModelParameter} + */ + layoutParameter:yfiles.graph.ILabelModelParameter; + /** + * Gets or sets the {@link yfiles.graph.ITagOwner#tag} of the label to add. + *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {any} + */ + tag:any; + /** + * Gets or sets the configurator for the {@link yfiles.input.TextEditorInputMode} for editing the provided label instance. + *

+ * Setting this property implicitly also sets {@link yfiles.input.LabelEditingEventArgs#handled} to true. + *

+ * @type {function(yfiles.input.IInputModeContext, yfiles.input.TextEditorInputMode, yfiles.graph.ILabel): void} + */ + textEditorInputModeConfigurator:(context:yfiles.input.IInputModeContext,mode:yfiles.input.TextEditorInputMode,label:yfiles.graph.ILabel)=>void; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.LabelEditingEventArgs; + } + /** + * Manages interactive snapping of {@link yfiles.graph.ILabel}s to their owner during drag operations like movements. + *

+ * This class provides a set of properties to customize the snapping behavior. {@link yfiles.input.IPositionHandler} + * implementations and similar classes can use the following idiom to get an instance of this class: + *

+ *

Related demos:

+ *
    + *
  • Tutorial: 01 Getting Started, step 15 Snapping
  • + *
+ * @see yfiles.input.MoveLabelInputMode + * @see yfiles.input.GraphEditorInputMode#snapContext + * @class + * @extends {yfiles.input.SnapContext} + */ + export interface LabelSnapContext extends yfiles.input.SnapContext{} + export class LabelSnapContext { + /** + * Initializes a new instance of the {@link yfiles.input.LabelSnapContext} class. + */ + constructor(); + /** + * Adds the given snapLine to the {@link yfiles.input.LabelSnapContext#snapLines snap line} collection of this context. + * @param snapLine The snap line to add. + * @see yfiles.input.GraphSnapContext#additionalSnapLines + */ + addSnapLine(snapLine:yfiles.input.SnapLine):void; + /** + * Raises the {@link yfiles.input.LabelSnapContext#addCollectSnapLinesListener CollectSnapLines} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onCollectSnapLines(evt:yfiles.input.CollectLabelSnapLineEventArgs):void; + /** + * Gets or sets whether this instance should collect snap lines for the initial position of a label. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectInitialLocationSnapLines:boolean; + /** + * Gets or sets whether this instance should collect six snap lines, two through the center and four through the border + * sides of the label owner. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectNodeShapeSnapLines:boolean; + /** + * Gets or sets whether this instance should collect four snap lines in parallel to the owner's borders at the initial + * label distance. + *

+ * Note that the label snaps to these snap lines with the side that is closer to the node's border. That way, snapping to + * such a snap line preserves the perceived distance from the node border for both labels inside and outside the node + * bounds. + *

+ *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectOwnNodeDistanceSnapLines:boolean; + /** + * Gets or sets whether this instance should collect snap lines in parallel to the border of the label owner at the + * distance of other node labels of that owner. + *

+ * Note that the label snaps to these snap lines with the side that is closer to the node's border. That way, snapping to + * such a snap line preserves the perceived distance from the node border for both labels inside and outside the node + * bounds. + *

+ *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectSameOwnerNodeDistanceSnapLines:boolean; + /** + * Gets or sets whether this instance should collect snap lines in parallel to the border of the label owner at the + * distance of other node labels in the graph. + *

+ * Note that the label snaps to these snap lines with the side that is closer to the node's border. That way, snapping to + * such a snap line preserves the perceived distance from the node border for both labels inside and outside the node + * bounds. + *

+ *

+ * The default is false. + *

+ * @default false + * @type {boolean} + */ + collectAllNodeDistanceSnapLines:boolean; + /** + * Gets or sets whether this instance should collect snap lines on the edge path. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectEdgePathSnapLines:boolean; + /** + * Gets or sets whether this instance should collect two snap lines in parallel to the edge path of the label owner at the + * initial distance of the edge label. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectOwnEdgeDistanceSnapLines:boolean; + /** + * Gets or sets whether this instance should collect snap lines in parallel to the edge path of the label owner at the + * distances of all edge labels of that owner. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + collectSameOwnerEdgeDistanceSnapLines:boolean; + /** + * Gets or sets whether this instance should collect snap lines in parallel to the edge path of the label owner at the + * distance of other edge labels in the graph. + *

+ * The default is false. + *

+ * @default false + * @type {boolean} + */ + collectAllEdgeDistanceSnapLines:boolean; + /** + * Gets or sets whether this context will automatically snap the node labels to snap lines. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + snapNodeLabels:boolean; + /** + * Gets or sets whether this context will automatically snap the edge labels to snap lines. + *

+ * The default is true. + *

+ * @default true + * @type {boolean} + */ + snapEdgeLabels:boolean; + /** + * Gets or sets the amount by which snap lines that are induced by existing edge segments are being extended. + *

+ * The default is 40.0d, this value will be used to prolongate the ends of the snap lines. + *

+ * @default 40.0 + * @type {number} + */ + snapLineExtension:number; + /** + * Gets the collection of the {@link yfiles.input.SnapLine snap lines} that have been {@link yfiles.input.LabelSnapContext#addSnapLine added} to this context. + *

+ * This collection is only available if {@link yfiles.input.SnapContext#isInitialized} is true. + *

+ * @see yfiles.input.LabelSnapContext#addSnapLine + * @type {yfiles.collections.IEnumerable.} + */ + snapLines:yfiles.collections.IEnumerable; + /** + * Adds the given listener for the CollectSnapLines event that occurs every time this instance has been {@link yfiles.input.SnapContext#dragInitialized initialized} to + * collect {@link yfiles.input.SnapLine}s. + *

+ * Event handlers should add snap lines to the caller using the methods provided by + * {@link yfiles.input.CollectLabelSnapLineEventArgs}. + *

+ * @param listener The listener to add. + * @see yfiles.input.LabelSnapContext#removeCollectSnapLinesListener + */ + addCollectSnapLinesListener(listener:(sender:any,evt:yfiles.input.CollectLabelSnapLineEventArgs)=>void):void; + /** + * Removes the given listener for the CollectSnapLines event that occurs every time this instance has been {@link yfiles.input.SnapContext#dragInitialized initialized} to + * collect {@link yfiles.input.SnapLine}s. + *

+ * Event handlers should add snap lines to the caller using the methods provided by + * {@link yfiles.input.CollectLabelSnapLineEventArgs}. + *

+ * @param listener The listener to remove. + * @see yfiles.input.LabelSnapContext#addCollectSnapLinesListener + */ + removeCollectSnapLinesListener(listener:(sender:any,evt:yfiles.input.CollectLabelSnapLineEventArgs)=>void):void; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.LabelSnapContext; + } + /** + * The event arguments used by {@link yfiles.input.LabelSnapContext} to collect custom snap lines for each drag. + * @see yfiles.input.LabelSnapContext#addCollectSnapLinesListener + * @class + * @extends {yfiles.input.InputModeEventArgs} + */ + export interface CollectLabelSnapLineEventArgs extends yfiles.input.InputModeEventArgs{} + export class CollectLabelSnapLineEventArgs { + /** + * Creates a new instance of this class. + * @param context The context this event is being used in. + * @param snapLines The snap lines collection to add to. + */ + constructor(context:yfiles.input.IInputModeContext,snapLines:yfiles.collections.ICollection); + /** + * Adds the given snap line to the snap line collection of this class. + * @param snapLine the snap line to add. + */ + addSnapLine(snapLine:yfiles.input.OrthogonalSnapLine):void; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.CollectLabelSnapLineEventArgs; + } + /** + * An {@link yfiles.input.IInputMode} that can {@link yfiles.input.NavigationInputMode#moveTo navigate} an {@link yfiles.graph.IGraph} displayed in a {@link yfiles.input.NavigationInputMode#graphComponent}. + *

+ * This mode is {@link yfiles.input.NavigationInputMode#exclusive} by default. + *

+ * @class + * @implements {yfiles.input.IInputMode} + */ + export interface NavigationInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} + export class NavigationInputMode { + /** + * Initializes a new instance of the {@link yfiles.input.NavigationInputMode} class. + */ + constructor(); + /** + * Callback that adjusts the {@link yfiles.view.CanvasComponent#contentRect} to encompass all elements. + *

+ * This implementation will try to delegate to {@link yfiles.input.GraphEditorInputMode#adjustContentRect} if it can find the {@link yfiles.input.GraphEditorInputMode} + * in the {@link yfiles.input.NavigationInputMode#inputModeContext}, otherwise the {@link yfiles.input.ICommand#FIT_GRAPH_BOUNDS} is executed. + *

+ * @protected + */ + adjustContentRect():void; + /** + * Adjust the group node location according to the value of {@link yfiles.input.NavigationInputMode#autoGroupNodeAlignmentPolicy}. + * @param collapse true iff the node has just been collapsed. + * @param groupNode The node that has changed its state. + * @protected + */ + adjustGroupNodeLocation(collapse:boolean,groupNode:yfiles.graph.INode):void; + /** + * + */ + cancel():void; + /** + * Clears the selection in the {@link yfiles.input.NavigationInputMode#graphComponent}. + */ + clearSelection():void; + /** + * {@link yfiles.graph.IFoldingView#collapse Collapses} the given group node to hide the contents of the group node from this {@link yfiles.graph.IFoldingView}. + * @param groupNode The group node to collapse. + * @see yfiles.graph.FoldingManager + * @see yfiles.input.NavigationInputMode#allowCollapseGroup + */ + collapseGroup(groupNode:yfiles.graph.INode):void; + /** + * Performs {@link yfiles.input.NavigationInputMode#collapseGroup} for all {@link yfiles.view.IGraphSelection#selectedNodes}. + */ + collapseSelection():void; + /** + * This method allows for entering a group node so that the currently displayed {@link yfiles.graph.IFoldingView}'s {@link yfiles.graph.IFoldingView#localRoot} will be reset + * to the provided node. + *

+ * It is possible to both use a local group node that is part of the currently displayed {@link yfiles.input.NavigationInputMode#graph} as the node argument, as well as + * an item that belongs to the {@link yfiles.graph.FoldingManager#masterGraph} to allow for switching to group nodes which are currently not being displayed in this + * view. + *

+ * @param node The node that needs to be either part of the current graph, or part of the {@link #masterGraph}. + * @see yfiles.input.NavigationInputMode#shouldEnterGroup + * @see yfiles.input.NavigationInputMode#allowEnterGroup + * @see yfiles.graph.FoldingManager + */ + enterGroup(node:yfiles.graph.INode):void; + /** + * Performs {@link yfiles.input.NavigationInputMode#enterGroup} for the first valid {@link yfiles.view.IGraphSelection#selectedNodes}. + */ + enterSelectedGroup():void; + /** + * Exits the current {@link yfiles.graph.IFoldingView#localRoot} of the currently displayed {@link yfiles.graph.IFoldingView view} and shows the contents of the parent container. + *

+ * This method will also {@link yfiles.input.GraphInputMode#clearSelection clear the selection} and {@link yfiles.input.GraphInputMode#setSelected select} the exited group node. + *

+ * @see yfiles.graph.FoldingManager + * @see yfiles.input.NavigationInputMode#allowExitGroup + * @see yfiles.input.NavigationInputMode#shouldExitGroup + */ + exitGroup():void; + /** + * {@link yfiles.graph.IFoldingView#expand Expands} the given group node to show the contents of the collapsed group node in this {@link yfiles.graph.IFoldingView}. + * @param groupNode The group node to expand + * @see yfiles.graph.FoldingManager + * @see yfiles.input.NavigationInputMode#allowExpandGroup + */ + expandGroup(groupNode:yfiles.graph.INode):void; + /** + * Performs {@link yfiles.input.NavigationInputMode#expandGroup} for all {@link yfiles.view.IGraphSelection#selectedNodes}. + */ + expandSelection():void; + /** + * Moves the focus into the given direction, extending the selection to the new element. + * @param direction The direction to move the focus and extend the selection. + */ + extendSelectionTo(direction:yfiles.input.MoveFocusDirection):void; + /** + * Installs this mode into the given context that is provided by the canvas. + *

+ * In general a mode can only be installed into a single canvas at all times. + *

+ *

+ * This method is called to initialize this instance. Subclasses should override this method to register the corresponding + * event handler delegates for the various input events they need to register with. + *

+ *

+ * Overriding implementations should call the base implementation, first. + *

+ * @param context The context that this instance shall be installed into. The same instance will be passed to this instance during + * {@link #uninstall}. A reference to the context may be kept and queried during the time the mode is + * installed. + * @param controller The {@link #controller} for this mode. + * @see yfiles.input.IInputMode#uninstall + */ + install(context:yfiles.input.IInputModeContext,controller:yfiles.input.ConcurrencyController):void; + /** + * Moves the focus into the given direction, not changing the current selection. + * @param direction The direction to move the focus. + */ + moveFocusTo(direction:yfiles.input.MoveFocusDirection):void; + /** + * Moves the focus into the given direction, setting the selection to the new element. + * @param direction The direction to move the focus and selection. + */ + moveTo(direction:yfiles.input.MoveFocusDirection):void; + /** + * Called after {@link yfiles.input.NavigationInputMode#cancel} has been called. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been canceled. + *

+ *

+ * This implementation does nothing. + *

+ * @protected + */ + onCanceled():void; + /** + * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to true. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been activated. + *

+ *

+ * Overriding implementations should call the base implementation. + *

+ * @protected + */ + onConcurrencyControllerActivated():void; + /** + * Called after the {@link yfiles.input.ConcurrencyController#active} property of the installed {@link yfiles.input.ConcurrencyController} has been set to false. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been deactivated. + *

+ *

+ * Overriding implementations should call the base implementation. + *

+ * @protected + */ + onConcurrencyControllerDeactivated():void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupCollapsedListener GroupCollapsed} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupCollapsed(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupCollapsingListener GroupCollapsing} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupCollapsing(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupEnteredListener GroupEntered} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupEntered(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupEnteringListener GroupEntering} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupEntering(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupExitedListener GroupExited} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupExited(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupExitingListener GroupExiting} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupExiting(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupExpandedListener GroupExpanded} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupExpanded(evt:yfiles.collections.ItemEventArgs):void; + /** + * Raises the {@link yfiles.input.NavigationInputMode#addGroupExpandingListener GroupExpanding} event. + * @param evt The {@link } instance containing the event data. + * @protected + */ + onGroupExpanding(evt:yfiles.collections.ItemEventArgs):void; + /** + * Callback that actually sets the current item property. + * @param graphComponent The {@link #graphComponent} to set the current item of. + * @param item The item to set. + * @returns Whether the operation was actually performed. + * @protected + */ + onSetCurrentItem(graphComponent:yfiles.view.GraphComponent,item:yfiles.graph.IModelItem):boolean; + /** + * Called after {@link yfiles.input.NavigationInputMode#tryStop} has been called. + *

+ * Can be overridden in subclasses to perform additional actions after the mode has been stopped. + *

+ *

+ * This implementation does nothing. + *

+ * @protected + */ + onStopped():void; + /** + * Selects the {@link yfiles.view.GraphComponent#currentItem} current item. + *

+ * This method delegates to {@link yfiles.input.NavigationInputMode#selectItem}. + *

+ */ + selectCurrentItem():void; + /** + * Callback that selects the given item. + * @param graphComponent The {@link #graphComponent}. + * @param item The item to select. + * @param extendSelection if set to true the current selection is extended otherwise it is cleared beforehand. + * @see yfiles.input.NavigationInputMode#clearSelection + * @protected + */ + selectItem(graphComponent:yfiles.view.GraphComponent,item:yfiles.graph.IModelItem,extendSelection:boolean):void; + /** + * Sets the "current" item to the given one. + * @param item The item to set as the current item. + * @see yfiles.input.NavigationInputMode#onSetCurrentItem + */ + setCurrentItem(item:yfiles.graph.IModelItem):void; + /** + * Sets the {@link yfiles.input.NavigationInputMode#graphComponent} to use for the various actions. + *

+ * This will register or unregister the commands for the control. This method is called in response to {@link yfiles.input.NavigationInputMode#install} + * and {@link yfiles.input.NavigationInputMode#uninstall}. + *

+ * @param graphComponent The control to use or null. + * @protected + */ + setGraphComponent(graphComponent:yfiles.view.GraphComponent):void; + /** + * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#collapseGroup collapse} the given group node. + *

+ * This implementation returns the value of {@link yfiles.input.NavigationInputMode#allowCollapseGroup}. + *

+ * @param groupNode + * @returns Whether to collapse the given group or not. + * @protected + */ + shouldCollapseGroup(groupNode:yfiles.graph.INode):boolean; + /** + * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#enterGroup enter} the specific group node. + *

+ * This implementation yields the value of {@link yfiles.input.NavigationInputMode#allowEnterGroup}. + *

+ * @param node The group node to enter. + * @returns Whether to enter the group or not. + * @protected + */ + shouldEnterGroup(node:yfiles.graph.INode):boolean; + /** + * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#exitGroup exit} the current group node. + *

+ * This implementation yields the value of {@link yfiles.input.NavigationInputMode#allowExitGroup}. + *

+ * @returns Whether to exit the current group or not. + * @protected + */ + shouldExitGroup():boolean; + /** + * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#expandGroup expand} the given group node. + *

+ * This implementation yields the value of {@link yfiles.input.NavigationInputMode#allowExpandGroup}. + *

+ * @param node + * @returns Whether to expand the given group or not. + * @protected + */ + shouldExpandGroup(node:yfiles.graph.INode):boolean; + /** + * Callback predicate method that determines whether a given model item should be navigated to. + *

+ * This implementation uses the {@link yfiles.input.NavigationInputMode#navigableItems} property to determine whether the item can be navigated to. + *

+ * @param item The model item. + * @returns Whether the item should be considered for navigational commands. + * @protected + */ + shouldNavigateTo(item:yfiles.graph.IModelItem):boolean; + /** + * Determines whether the input mode should try to request the mutex when a command is executed. + *

+ * This resets the state of any other input mode, unless it currently possesses the mutex. + *

+ *

+ * The value of this method is queried for {@link yfiles.input.ICommand#COLLAPSE_GROUP}, {@link yfiles.input.ICommand#EXPAND_GROUP}, + * {@link yfiles.input.ICommand#TOGGLE_EXPANSION_STATE}, {@link yfiles.input.ICommand#ENTER_GROUP} and {@link yfiles.input.ICommand#EXIT_GROUP}. + *

+ * @returns whether the input mode should request the mutex. + * @protected + */ + shouldRequestMutex():boolean; + /** + * Callback predicate method that determines whether a given model item should be selected. + *

+ * This implementation uses the {@link yfiles.input.NavigationInputMode#selectableItems} property to determine whether the item should be selected. + *

+ * @param item The model item. + * @returns Whether the item should be selected by the navigational commands. + * @protected + */ + shouldSelect(item:yfiles.graph.IModelItem):boolean; + /** + * Predicate method that decides whether it is allowed to {@link yfiles.input.NavigationInputMode#toggleExpansionState toggle} the collapsed state of the given group node. + *

+ * This implementation uses {@link yfiles.input.NavigationInputMode#shouldExpandGroup} and {@link yfiles.input.NavigationInputMode#shouldCollapseGroup} + * respectively. + *

+ * @param node + * @returns Whether to expand the given group or not. + * @protected + */ + shouldToggleExpansionState(node:yfiles.graph.INode):boolean; + /** + * Toggles the {@link yfiles.graph.IFoldingView#isExpanded expanded/collapsed} state for the given group node in the {@link yfiles.graph.IFoldingView}. + * @param groupNode The group node to toggle the state for. + * @see yfiles.graph.FoldingManager + */ + toggleExpansionState(groupNode:yfiles.graph.INode):void; + /** + * Overridden to only return true if this instance does not currently {@link yfiles.input.ConcurrencyController#hasMutex have the input mutex}. + * @returns true iff this instance does not {@link #hasMutex own the mutex}. + */ + tryStop():boolean; + /** + * Uninstalls this mode from the given context. + *

+ * This code should clean up all changes made to the canvas in the {@link yfiles.input.IInputMode#install} method. After a mode has + * been uninstalled it can be installed again into the same or another canvas. + *

+ *

+ * Overriding implementations should call the base implementation after their own code. + *

+ * @param context The context to deregister from. This is the same instance that had been passed to {@link #install} during + * installation. + */ + uninstall(context:yfiles.input.IInputModeContext):void; + /** + * + * @type {number} + */ + priority:number; + /** + * Gets or sets a value indicating whether this mode will be the only one running when it has the mutex. + *

+ * The value of this property will be delegated to the {@link yfiles.input.ConcurrencyController#exclusive} property of the {@link yfiles.input.NavigationInputMode#controller}. + *

+ *

+ * If this mode is marked as exclusive and has the mutex, all other modes {@link yfiles.input.MultiplexingInputMode#add added} to the same {@link yfiles.input.MultiplexingInputMode} + * will be deactivated. Otherwise it will always run concurrently with all other modes. + *

+ * @type {boolean} + */ + exclusive:boolean; + /** + * Gets or sets the enabled state of this input mode. + *

+ * Clients can use this property to disable or reenable this instance. This will set the {@link yfiles.input.ConcurrencyController#enabled Enabled} property of the installed + * {@link yfiles.input.NavigationInputMode#controller} so a disabled instance should never try to acquire the input mutex. + *

+ * @type {boolean} + */ + enabled:boolean; + /** + * + * @type {yfiles.input.IInputModeContext} + */ + inputModeContext:yfiles.input.IInputModeContext; + /** + * Gets the installed {@link yfiles.input.NavigationInputMode#controller}. + * @protected + * @type {yfiles.input.ConcurrencyController} + */ + controller:yfiles.input.ConcurrencyController; + /** + * Gets or sets the item types that can be navigated to by this mode. + * @see yfiles.input.NavigationInputMode#shouldNavigateTo + * @type {yfiles.graph.GraphItemTypes} + */ + navigableItems:yfiles.graph.GraphItemTypes; + /** + * Gets the types of the items that should be selectable by this instance. + *

+ * The selectable items. The default value is {@link yfiles.graph.GraphItemTypes#NODE}. + *

+ * @default yfiles.graph.GraphItemTypes.NODE + * @type {yfiles.graph.GraphItemTypes} + */ + selectableItems:yfiles.graph.GraphItemTypes; + /** + * Gets or sets the the location that should be kept fixed if toggling a group node state. + *

+ * Default value is {@link yfiles.input.NodeAlignmentPolicy#NONE} + *

+ * @see yfiles.input.NavigationInputMode#expandGroup + * @see yfiles.input.NavigationInputMode#collapseGroup + * @default yfiles.input.NodeAlignmentPolicy.NONE + * @type {yfiles.input.NodeAlignmentPolicy} + */ + autoGroupNodeAlignmentPolicy:yfiles.input.NodeAlignmentPolicy; + /** + * Gets or sets the {@link yfiles.input.NavigationInputMode#graphComponent} this mode acts on. + * @type {yfiles.view.GraphComponent} + */ + graphComponent:yfiles.view.GraphComponent; + /** + * Gets the list of commands that are available in this instance. + *

+ * By default, all supported commands are available + *

+ *

+ * Removing commands from this collection also removes the command bindings registered by this instance. + *

+ *

+ * Add supported commands to make them available in this instance. + *

+ *

+ * Supported commands are + *

+ *
    + *
  • {@link yfiles.input.ICommand#MOVE_LEFT}
  • + *
  • {@link yfiles.input.ICommand#MOVE_RIGHT}
  • + *
  • {@link yfiles.input.ICommand#MOVE_UP}
  • + *
  • {@link yfiles.input.ICommand#MOVE_DOWN}
  • + *
  • {@link yfiles.input.ICommand#MOVE_TO_PAGE_UP}
  • + *
  • {@link yfiles.input.ICommand#MOVE_TO_PAGE_DOWN}
  • + *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_BACK}
  • + *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_FORWARD}
  • + *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_UP}
  • + *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_DOWN}
  • + *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_PAGE_UP}
  • + *
  • {@link yfiles.input.ICommand#MOVE_FOCUS_PAGE_DOWN}
  • + *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_LEFT}
  • + *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_RIGHT}
  • + *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_UP}
  • + *
  • {@link yfiles.input.ICommand#EXTEND_SELECTION_DOWN}
  • + *
  • {@link yfiles.input.ICommand#SELECT_TO_PAGE_UP}
  • + *
  • {@link yfiles.input.ICommand#SELECT_TO_PAGE_DOWN}
  • + *
+ * @type {yfiles.collections.ICollection.} + */ + availableCommands:yfiles.collections.ICollection; + /** + * Gets or sets a value indicating whether to use the {@link yfiles.view.GraphComponent#currentItem} as a fallback for the commands if no item is provided in the + * parameter and the current selection is empty. + *

+ * This applies to the following commands: + *

+ *
    + *
  • {@link yfiles.input.ICommand#ENTER_GROUP}
  • + *
  • {@link yfiles.input.ICommand#EXPAND_GROUP}
  • + *
  • {@link yfiles.input.ICommand#COLLAPSE_GROUP}
  • + *
  • {@link yfiles.input.ICommand#TOGGLE_EXPANSION_STATE}
  • + *
+ * @default false + * @type {boolean} + */ + useCurrentItemForCommands:boolean; + /** + * Gets or sets the {@link yfiles.view.IGraphSelection} this mode operates on. + * @type {yfiles.view.IGraphSelection} + */ + graphSelection:yfiles.view.IGraphSelection; + /** + * Gets or sets the graph this mode operates on. + * @type {yfiles.graph.IGraph} + */ + graph:yfiles.graph.IGraph; + /** + * Gets or sets a value that determines whether it is allowed to {@link yfiles.input.NavigationInputMode#enterGroup enter group nodes} via the + * {@link yfiles.input.ICommand#ENTER_GROUP}. + *

+ * The default value is true. + *

+ * @see yfiles.input.NavigationInputMode#shouldEnterGroup + * @see yfiles.graph.FoldingManager + * @type {boolean} + */ + allowEnterGroup:boolean; + /** + * Gets or sets a value that determines whether it is allowed to collapse group nodes via the + * {@link yfiles.input.ICommand#COLLAPSE_GROUP}. + *

+ * The default value is true. + *

+ * @see yfiles.input.NavigationInputMode#collapseGroup + * @see yfiles.input.NavigationInputMode#shouldCollapseGroup + * @see yfiles.graph.FoldingManager + * @type {boolean} + */ + allowCollapseGroup:boolean; + /** + * Gets or sets a value that determines whether it is allowed to {@link yfiles.input.NavigationInputMode#expandGroup expand group nodes} via the + * {@link yfiles.input.ICommand#EXPAND_GROUP}. + *

+ * The default value is true. + *

+ * @see yfiles.input.NavigationInputMode#shouldExpandGroup + * @see yfiles.graph.FoldingManager + * @type {boolean} + */ + allowExpandGroup:boolean; + /** + * Gets or sets a value that determines whether it is allowed to {@link yfiles.input.NavigationInputMode#exitGroup exit the current group node} via the + * {@link yfiles.input.ICommand#EXIT_GROUP}. + *

+ * The default value is true. + *

+ * @see yfiles.input.NavigationInputMode#shouldExitGroup + * @see yfiles.graph.FoldingManager + * @default true + * @type {boolean} + */ + allowExitGroup:boolean; + /** + * Gets or sets a value that determines whether {@link yfiles.view.CanvasComponent#fitContent} or the {@link yfiles.input.ICommand#FIT_CONTENT} + * should be triggered after a group navigation action. + *

+ * The default value is true. + *

+ * @default true + * @type {boolean} + */ + fitContentAfterGroupActions:boolean; + /** + * Adds the given listener for the GroupCollapsing event that occurs before a group will be {@link yfiles.input.NavigationInputMode#collapseGroup Collapsed}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupCollapsingListener + */ + addGroupCollapsingListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupCollapsing event that occurs before a group will be {@link yfiles.input.NavigationInputMode#collapseGroup Collapsed}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupCollapsingListener + */ + removeGroupCollapsingListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupCollapsed event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#collapseGroup Collapsed}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupCollapsedListener + */ + addGroupCollapsedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupCollapsed event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#collapseGroup Collapsed}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupCollapsedListener + */ + removeGroupCollapsedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupExpanding event that occurs before a group will be {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupExpandingListener + */ + addGroupExpandingListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupExpanding event that occurs before a group will be {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupExpandingListener + */ + removeGroupExpandingListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupExpanded event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupExpandedListener + */ + addGroupExpandedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupExpanded event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#expandGroup Expanded}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupExpandedListener + */ + removeGroupExpandedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupEntering event that occurs before a group will be {@link yfiles.input.NavigationInputMode#enterGroup Entered}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupEnteringListener + */ + addGroupEnteringListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupEntering event that occurs before a group will be {@link yfiles.input.NavigationInputMode#enterGroup Entered}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupEnteringListener + */ + removeGroupEnteringListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupEntered event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#enterGroup Entered}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupEnteredListener + */ + addGroupEnteredListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupEntered event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#enterGroup Entered}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupEnteredListener + */ + removeGroupEnteredListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupExiting event that occurs before a group will be {@link yfiles.input.NavigationInputMode#exitGroup Exited}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupExitingListener + */ + addGroupExitingListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupExiting event that occurs before a group will be {@link yfiles.input.NavigationInputMode#exitGroup Exited}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupExitingListener + */ + removeGroupExitingListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Adds the given listener for the GroupExited event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#exitGroup Exited}. + * @param listener The listener to add. + * @see yfiles.input.NavigationInputMode#removeGroupExitedListener + */ + addGroupExitedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the GroupExited event that occurs whenever a group has been {@link yfiles.input.NavigationInputMode#exitGroup Exited}. + * @param listener The listener to remove. + * @see yfiles.input.NavigationInputMode#addGroupExitedListener + */ + removeGroupExitedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NavigationInputMode; + } + export enum MoveFocusDirection{ + /** + * No direction. + */ + NONE, + /** + * In the direction of the negative x Axis. + */ + LEFT, + /** + * In the direction of the positive x Axis. + */ + RIGHT, + /** + * In the direction of the negative y Axis. + */ + UP, + /** + * In the direction of the positive y Axis. + */ + DOWN, + /** + * In the direction of the {@link yfiles.graph.IGraph#setParent parent} in the grouped graph. + */ + PARENT, + /** + * In the direction of the {@link yfiles.graph.IGraph#getChildren children} in the grouped graph. + */ + CHILD + } + export enum NodeAlignmentPolicy{ + /** + * Don't fix any specific point, only use the layout from the target state. + */ + NONE, + /** + * Fix the center point. + */ + CENTER, + /** + * Fix the upper left corner. + */ + TOP_LEFT, + /** + * Fix the lower left corner. + */ + BOTTOM_LEFT, + /** + * Fix the upper right corner. + */ + TOP_RIGHT, + /** + * Fix the lower right corner. + */ + BOTTOM_RIGHT, + /** + * Fix the uppermost center. + */ + TOP_CENTER, + /** + * Fix the lowermost center. + */ + BOTTOM_CENTER, + /** + * Fix the left center. + */ + CENTER_LEFT, + /** + * Fix the right center. + */ + CENTER_RIGHT + } + export enum OrthogonalEdgeEditingPolicy{ + /** + * Enables orthogonal edge creation or editing for a specific sub-aspect automatically if an {@link yfiles.input.OrthogonalEdgeEditingContext#enabled} {@link yfiles.input.OrthogonalEdgeEditingContext} + * instance is set in the {@link yfiles.input.GraphEditorInputMode#orthogonalEdgeEditingContext parent input mode}. + */ + AUTO, + /** + * Enables orthogonal edge creation or editing for a specific sub-aspect of edge creation. + */ + ALWAYS, + /** + * Disables orthogonal edge creation or editing for a specific sub-aspect of edge creation. + */ + NEVER + } + export enum SegmentOrientation{ + /** + * The segment has a horizontal orientation, which means that the end points should be moved vertically in synch so that + * the orientation is not destroyed. + */ + HORIZONTAL, + /** + * The segment has a vertical orientation, which means that the end points should be moved horizontally in synch so that + * the orientation is not destroyed. + */ + VERTICAL, + /** + * The segment does not need to be treated especially, both endpoints can be moved independently from each other. + */ + NON_ORTHOGONAL } /** * A snap line is a line segment in the world coordinate system to which other items (lines or points) snap during @@ -32913,7 +33176,7 @@ declare namespace yfiles{ *

* @class */ - export interface SnapLine extends Object{} + export interface SnapLine extends yfiles.lang.Object{} export class SnapLine { /** * Creates a new snap line using the provided attributes. @@ -32928,7 +33191,7 @@ declare namespace yfiles{ * @param weight The weight (importance) of this snap line. If more than one snap line is snapped to, the one with the greater weight * will be used. */ - constructor(snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:yfiles.geometry.Point,to:yfiles.geometry.Point,tag:Object,weight:number); + constructor(snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:yfiles.geometry.Point,to:yfiles.geometry.Point,tag:any,weight:number); /** * Resource key which determines a snap line having a fixed visualization independent of the {@link yfiles.input.SnapResult}. * @const @@ -33037,7 +33300,7 @@ declare namespace yfiles{ */ static SNAP_LINE_STROKE_KEY:string; /** - * The type of the line that describes how other items will snap to this line. + * Gets the type of the line that describes how other items will snap to this line. *

* his is one of {@link yfiles.input.SnapLineSnapTypes#TOP}, {@link yfiles.input.SnapLineSnapTypes#BOTTOM}, * {@link yfiles.input.SnapLineSnapTypes#LEFT}, {@link yfiles.input.SnapLineSnapTypes#RIGHT}, or {@link yfiles.input.SnapLineSnapTypes#CENTER}. @@ -33046,20 +33309,20 @@ declare namespace yfiles{ */ snapType:yfiles.input.SnapLineSnapTypes; /** - * The coordinates of the center point of the snap line. + * Gets the coordinates of the center point of the snap line. * @type {yfiles.geometry.Point} */ coordinates:yfiles.geometry.Point; /** - * The tag that is associated with this snap line. + * Gets the tag that is associated with this snap line. *

* The tag is most commonly used for the {@link yfiles.input.SnapResult#tag snap result tag}. *

- * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** - * The weight/importance of this snap line. + * Gets the weight/importance of this snap line. *

* Greater values indicate greater importance. *

@@ -33067,21 +33330,22 @@ declare namespace yfiles{ */ weight:number; /** - * The first location that delimits this snap line. + * Gets or sets the first location that delimits this snap line. * @type {yfiles.geometry.Point} */ from:yfiles.geometry.Point; /** - * The second location that delimits this snap line. + * Gets or sets the second location that delimits this snap line. * @type {yfiles.geometry.Point} */ to:yfiles.geometry.Point; /** - * The resource key which determines the visual appearance of the snap line. + * Gets the resource key which determines the visual appearance of the snap line. * @type {string} */ resourceKey:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.SnapLine; } /** * An orthogonal snap line, in other words, one that is parallel to the x or y axis. @@ -33103,7 +33367,7 @@ declare namespace yfiles{ * @param weight The weight (importance) of this snap line. If more than one snap line is snapped to, the one with the greater weight * will be used. */ - constructor(orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:Object,weight:number); + constructor(orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:any,weight:number); /** * Creates a new snap line using the provided attributes. * @param orientation The orientation of the snap line. This is one of {@link #HORIZONTAL} or @@ -33119,9 +33383,9 @@ declare namespace yfiles{ * @param weight The weight (importance) of this snap line. If more than one snap line is snapped to, the one with the greater weight * will be used. */ - constructor(orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:Object,weight:number); + constructor(orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:any,weight:number); /** - * The orientation of the snap line. + * Gets the orientation of the snap line. *

* This is one of {@link yfiles.input.SnapLineOrientation#HORIZONTAL} or {@link yfiles.input.SnapLineOrientation#VERTICAL}. *

@@ -33129,6 +33393,7 @@ declare namespace yfiles{ */ orientation:yfiles.input.SnapLineOrientation; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.OrthogonalSnapLine; } /** * A specialized {@link yfiles.input.OrthogonalSnapLine} that stores a {@link yfiles.input.NodeBasedSnapLine#node} as additional information that can be used for the @@ -33154,7 +33419,7 @@ declare namespace yfiles{ * @param from The smaller value of the coordinate that delimits this snap line. * @param to The greater value of the coordinate that delimits this snap line. */ - constructor(node:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:Object,weight:number); + constructor(node:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:any,weight:number); /** * Initializes a new instance of the {@link yfiles.input.NodeBasedSnapLine} class. * @param node The node to assign to {@link #node}. @@ -33169,7 +33434,7 @@ declare namespace yfiles{ * @param weight The weight (importance) of this snap line. If more than one snap line is snapped to, the one with the greater weight * will be used. */ - constructor(node:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:Object,weight:number); + constructor(node:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:any,weight:number); /** * Gets the node that is associated with this snap line. *

@@ -33179,6 +33444,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodeBasedSnapLine; } /** * A specialized {@link yfiles.input.OrthogonalSnapLine} that stores two {@link yfiles.graph.INode nodes} as additional information that can be used for the @@ -33207,7 +33473,7 @@ declare namespace yfiles{ * @param from The smaller value of the coordinate that delimits this snap line. * @param to The greater value of the coordinate that delimits this snap line. */ - constructor(firstNode:yfiles.graph.INode,secondNode:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:Object,weight:number); + constructor(firstNode:yfiles.graph.INode,secondNode:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:any,weight:number); /** * Initializes a new instance of the {@link yfiles.input.NodePairBasedSnapLine} class. * @param firstNode The first node to assign to {@link #firstNode}. @@ -33223,7 +33489,7 @@ declare namespace yfiles{ * @param weight The weight (importance) of this snap line. If more than one snap line is snapped to, the one with the greater weight * will be used. */ - constructor(firstNode:yfiles.graph.INode,secondNode:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:Object,weight:number); + constructor(firstNode:yfiles.graph.INode,secondNode:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:any,weight:number); /** * Gets the first node that is associated with this snap line. *

@@ -33241,6 +33507,7 @@ declare namespace yfiles{ */ secondNode:yfiles.graph.INode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodePairBasedSnapLine; } /** * A specialized {@link yfiles.input.OrthogonalSnapLine} that stores a {@link yfiles.input.PointBasedSnapLine#point} instance as additional information that can be used for the @@ -33266,7 +33533,7 @@ declare namespace yfiles{ * @param from The smaller value of the coordinate that delimits this snap line. * @param to The greater value of the coordinate that delimits this snap line. */ - constructor(point:yfiles.geometry.IPoint,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:Object,weight:number); + constructor(point:yfiles.geometry.IPoint,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,from:number,to:number,tag:any,weight:number); /** * Initializes a new instance of the {@link yfiles.input.PointBasedSnapLine} class. * @param point The point to assign to {@link #point}. @@ -33281,7 +33548,7 @@ declare namespace yfiles{ * @param weight The weight (importance) of this snap line. If more than one snap line is snapped to, the one with the greater weight * will be used. */ - constructor(point:yfiles.geometry.IPoint,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:Object,weight:number); + constructor(point:yfiles.geometry.IPoint,orientation:yfiles.input.SnapLineOrientation,snapType:yfiles.input.SnapLineSnapTypes,resourceKey:string,coordinates:yfiles.geometry.Point,tag:any,weight:number); /** * Gets the point that is associated with this snap line. *

@@ -33291,6 +33558,7 @@ declare namespace yfiles{ */ point:yfiles.geometry.IPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PointBasedSnapLine; } /** * A specialized {@link yfiles.input.SnapLine} that is parallel to an edge segment and stores that edge. @@ -33316,7 +33584,7 @@ declare namespace yfiles{ * @param tag A tag that is associated with this snap line. * @param weight The weight (importance) of this snap line. */ - constructor(edge:yfiles.graph.IEdge,from:yfiles.geometry.Point,to:yfiles.geometry.Point,segmentSource:yfiles.geometry.Point,segmentTarget:yfiles.geometry.Point,distance:number,segmentIndex:number,tag:Object,weight:number); + constructor(edge:yfiles.graph.IEdge,from:yfiles.geometry.Point,to:yfiles.geometry.Point,segmentSource:yfiles.geometry.Point,segmentTarget:yfiles.geometry.Point,distance:number,segmentIndex:number,tag:any,weight:number); /** * Initializes a new instance of the {@link yfiles.input.PointBasedSnapLine} class. * @param edge The edge to assign to {@link #edge}. @@ -33359,7 +33627,7 @@ declare namespace yfiles{ */ segmentTarget:yfiles.geometry.Point; /** - * Gets and sets the location of the source marker of this snap line. + * Gets or sets the location of the source marker of this snap line. *

* If this is null, the location of the {@link yfiles.input.EdgeSegmentSnapLine#segmentSource} is marked instead. *

@@ -33367,7 +33635,7 @@ declare namespace yfiles{ */ sourceMarker:yfiles.geometry.Point; /** - * Gets and sets the location of the target marker of this snap line. + * Gets or sets the location of the target marker of this snap line. *

* If this is null, the location of the {@link yfiles.input.EdgeSegmentSnapLine#segmentTarget} is marked instead. *

@@ -33375,6 +33643,7 @@ declare namespace yfiles{ */ targetMarker:yfiles.geometry.Point; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.EdgeSegmentSnapLine; } export enum SnapLineOrientation{ /** @@ -33432,7 +33701,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IPortCandidate} */ - export interface DefaultPortCandidate extends Object,yfiles.input.IPortCandidate{} + export interface DefaultPortCandidate extends yfiles.lang.Object,yfiles.input.IPortCandidate{} export class DefaultPortCandidate { /** * Creates a candidate for the given owner that uses the graph's defaults for the port's style and a default parameter for @@ -33488,7 +33757,7 @@ declare namespace yfiles{ * @returns The newly created port. * @protected */ - createInstance(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,locationParameter:yfiles.graph.IPortLocationModelParameter,style:yfiles.styles.IPortStyle,tag:Object):yfiles.graph.IPort; + createInstance(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,locationParameter:yfiles.graph.IPortLocationModelParameter,style:yfiles.styles.IPortStyle,tag:any):yfiles.graph.IPort; /** * This implementation will throw a {@link yfiles.lang.Exception} if the validity is {@link yfiles.input.PortCandidateValidity#DYNAMIC}. *

@@ -33516,7 +33785,7 @@ declare namespace yfiles{ */ setInstance(port:yfiles.graph.IPort):void; /** - * Determines whether this candidate is a valid one depending on the context it has been obtained from. + * Gets or sets whether this candidate is a valid one depending on the context it has been obtained from. * @default yfiles.input.PortCandidateValidity.VALID * @type {yfiles.input.PortCandidateValidity} */ @@ -33528,15 +33797,15 @@ declare namespace yfiles{ * behavior. *

* @default null - * @type {Object} + * @type {any} */ - candidateTag:Object; + candidateTag:any; /** * Gets or sets the port tag to create the port with. * @default null - * @type {Object} + * @type {any} */ - portTag:Object; + portTag:any; /** * Gets or sets the model parameter that will be used for the {@link yfiles.graph.IPort#locationParameter} if this candidate is chosen. *

@@ -33546,7 +33815,7 @@ declare namespace yfiles{ */ locationParameter:yfiles.graph.IPortLocationModelParameter; /** - * The model that will be used by this instance to determine the new {@link yfiles.input.DefaultPortCandidate#locationParameter} if the {@link yfiles.input.DefaultPortCandidate#getPortCandidateAt} + * Gets or sets the model that will be used by this instance to determine the new {@link yfiles.input.DefaultPortCandidate#locationParameter} if the {@link yfiles.input.DefaultPortCandidate#getPortCandidateAt} * is called and the {@link yfiles.input.DefaultPortCandidate#validity} is set to {@link yfiles.input.PortCandidateValidity#DYNAMIC}. * @default null * @type {yfiles.graph.IPortLocationModel} @@ -33564,12 +33833,13 @@ declare namespace yfiles{ */ owner:yfiles.graph.IPortOwner; /** - * Returns the instance provided to the constructor or to the {@link yfiles.input.DefaultPortCandidate#setInstance setter}. + * Gets the instance provided to the constructor or to the {@link yfiles.input.DefaultPortCandidate#setInstance setter}. * @see yfiles.input.DefaultPortCandidate#createPort * @type {yfiles.graph.IPort} */ port:yfiles.graph.IPort; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.DefaultPortCandidate; } /** * The {@link yfiles.input.IPositionHandler} implementation used in the context of {@link yfiles.graph.IGraph}s where there is a @@ -33588,7 +33858,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IPositionHandler} */ - export interface GroupingNodePositionHandler extends Object,yfiles.input.IPositionHandler{} + export interface GroupingNodePositionHandler extends yfiles.lang.Object,yfiles.input.IPositionHandler{} export class GroupingNodePositionHandler { /** * Initializes a new instance of the {@link yfiles.input.GroupingNodePositionHandler} class. @@ -33636,11 +33906,15 @@ declare namespace yfiles{ */ setCurrentParent(inputModeContext:yfiles.input.IInputModeContext,node:yfiles.graph.INode,parent:yfiles.graph.INode):void; /** + * Gets a view of the location of the item. + *

* Delegates to the wrapped {@link yfiles.input.IPositionHandler}'s {@link yfiles.input.IDragHandler#location location}. + *

* @type {yfiles.geometry.IPoint} */ location:yfiles.geometry.IPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.GroupingNodePositionHandler; } /** * Callback interface for instances that can create bends for a given edge and graph. @@ -33652,7 +33926,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#onCreateBendInputModeBendCreated * @interface */ - export interface IBendCreator extends Object{ + export interface IBendCreator extends yfiles.lang.Object{ /** * Creates a bend at the given graph for the given edge at the position supplied. * @param context The context for which the bend should be created. @@ -33673,7 +33947,7 @@ declare namespace yfiles{ */ NO_BENDS?:yfiles.input.IBendCreator; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IBendCreator; }; /** * Interface that can be used to find bends at specific locations in the canvas. @@ -33682,7 +33956,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IBendSelectionTester extends Object{ + export interface IBendSelectionTester extends yfiles.lang.Object{ /** * Returns the bends within the given rectangle. * @param context The input mode context to use for querying the position. @@ -33702,7 +33976,7 @@ declare namespace yfiles{ } var IBendSelectionTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IBendSelectionTester; }; /** * An interface that checks for containment of an {@link yfiles.graph.IBend} in 2D coordinate space. @@ -33713,7 +33987,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IContainsBendTester extends Object{ + export interface IContainsBendTester extends yfiles.lang.Object{ /** * Determines whether the provided bend is deemed to lie within the shape this test is implemented for. *

@@ -33731,7 +34005,7 @@ declare namespace yfiles{ } var IContainsBendTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IContainsBendTester; }; /** * Interface that is used by the {@link yfiles.input.GraphSnapContext} for {@link yfiles.graph.INode nodes} to collect a number of @@ -33744,7 +34018,7 @@ declare namespace yfiles{ * @see yfiles.graph.NodeDecorator#nodeSnapResultProviderDecorator * @interface */ - export interface INodeSnapResultProvider extends Object{ + export interface INodeSnapResultProvider extends yfiles.lang.Object{ /** * Called when a node is {@link yfiles.input.IDragHandler#handleMove dragged} to add {@link yfiles.input.SnapResult}s for * {@link yfiles.input.OrthogonalSnapLine}s to which this node can potentially snap. @@ -33758,7 +34032,7 @@ declare namespace yfiles{ } var INodeSnapResultProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.INodeSnapResultProvider; }; /** * Interface for classes that help during snapping of parts of edges. @@ -33769,7 +34043,7 @@ declare namespace yfiles{ * @see yfiles.graph.EdgeDecorator#edgeSnapResultProviderDecorator * @interface */ - export interface IEdgeSnapResultProvider extends Object{ + export interface IEdgeSnapResultProvider extends yfiles.lang.Object{ /** * Called to during the snapping operation whenever {@link yfiles.input.SnapContext#addCollectSnapResultsListener snap results are collected}. *

@@ -33785,7 +34059,7 @@ declare namespace yfiles{ } var IEdgeSnapResultProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IEdgeSnapResultProvider; }; /** * Interface that is used by the {@link yfiles.input.GraphSnapContext} for {@link yfiles.graph.IBend bends} to collect a number of @@ -33798,7 +34072,7 @@ declare namespace yfiles{ * @see yfiles.graph.BendDecorator#bendSnapResultProviderDecorator * @interface */ - export interface IBendSnapResultProvider extends Object{ + export interface IBendSnapResultProvider extends yfiles.lang.Object{ /** * Called when a node is {@link yfiles.input.IDragHandler#handleMove dragged} to add {@link yfiles.input.SnapResult}s for * {@link yfiles.input.OrthogonalSnapLine}s to which this bend can potentially snap. @@ -33812,7 +34086,7 @@ declare namespace yfiles{ } var IBendSnapResultProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IBendSnapResultProvider; }; /** * Interface that is used by the {@link yfiles.input.GraphSnapContext} for {@link yfiles.graph.IPort port} to collect a number of @@ -33825,7 +34099,7 @@ declare namespace yfiles{ * @see yfiles.graph.PortDecorator#portSnapResultProviderDecorator * @interface */ - export interface IPortSnapResultProvider extends Object{ + export interface IPortSnapResultProvider extends yfiles.lang.Object{ /** * Called when a node is {@link yfiles.input.IDragHandler#handleMove dragged} to add {@link yfiles.input.SnapResult}s for * {@link yfiles.input.OrthogonalSnapLine}s to which this bend can potentially snap. @@ -33839,14 +34113,14 @@ declare namespace yfiles{ } var IPortSnapResultProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IPortSnapResultProvider; }; /** * Interface for an implementation which evaluates a list of given {@link yfiles.input.SnapLine}s for a node which is resized and * adds a set of {@link yfiles.input.SnapResult}s for sizes to which this node can potentially snap. * @interface */ - export interface INodeReshapeSnapResultProvider extends Object{ + export interface INodeReshapeSnapResultProvider extends yfiles.lang.Object{ /** * Called when a node's handle is {@link yfiles.input.IDragHandler#handleMove dragged} to add {@link yfiles.input.SnapResult}s for * {@link yfiles.input.OrthogonalSnapLine}s or sizes to which this node can potentially snap during resizing. @@ -33860,7 +34134,7 @@ declare namespace yfiles{ } var INodeReshapeSnapResultProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.INodeReshapeSnapResultProvider; }; /** * Helper class that carries information about a reshape operation. @@ -33870,7 +34144,7 @@ declare namespace yfiles{ * @class * @final */ - export interface ReshapeRectangleContext extends Object{} + export interface ReshapeRectangleContext extends yfiles.lang.Object{} export class ReshapeRectangleContext { /** * Initializes a new instance of the {@link yfiles.input.ReshapeRectangleContext} class. @@ -33925,6 +34199,7 @@ declare namespace yfiles{ */ sizeChangeFactor:yfiles.geometry.Size; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReshapeRectangleContext; } /** * An interface for possible {@link yfiles.graph.IPort} candidates used by {@link yfiles.input.IPortCandidateProvider} and the like. @@ -33937,7 +34212,7 @@ declare namespace yfiles{ * @see yfiles.input.DefaultPortCandidate * @interface */ - export interface IPortCandidate extends Object{ + export interface IPortCandidate extends yfiles.lang.Object{ /** * If the client decides to use this port candidate, this method will serve as a factory to create the instance. *

@@ -33968,17 +34243,17 @@ declare namespace yfiles{ */ getPortCandidateAt(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point):yfiles.input.IPortCandidate; /** - * Possibly yields a user defined tag for this candidate. + * Gets a user defined tag for this candidate. *

* The interpretation of this value is implementation dependent and may be used for visual feedback or interactive * behavior. *

* @abstract - * @type {Object} + * @type {any} */ - candidateTag:Object; + candidateTag:any; /** - * Determines whether this instance is a valid port candidate. + * Gets whether this instance is a valid port candidate. *

* Implementations of {@link yfiles.input.IPortCandidateProvider} may return sets of port candidates where some of them are marked * as invalid e.g. in order to provide visual feedback. If the value is {@link yfiles.input.PortCandidateValidity#DYNAMIC}, method @@ -33990,7 +34265,7 @@ declare namespace yfiles{ */ validity:yfiles.input.PortCandidateValidity; /** - * Returns the model parameter that will be used for the {@link yfiles.graph.IPort#locationParameter} if this candidate is chosen. + * Gets the model parameter that will be used for the {@link yfiles.graph.IPort#locationParameter} if this candidate is chosen. *

* Note that the value of this property is undefined if this instance's {@link yfiles.input.IPortCandidate#validity} is {@link yfiles.input.PortCandidateValidity#DYNAMIC}. In * this case, the parameter needs to be obtained via the {@link yfiles.input.IPortCandidate#getPortCandidateAt} instance. @@ -34000,7 +34275,7 @@ declare namespace yfiles{ */ locationParameter:yfiles.graph.IPortLocationModelParameter; /** - * Returns the possible owner of the port to be created for this candidate. + * Gets the possible owner of the port to be created for this candidate. * @abstract * @type {yfiles.graph.IPortOwner} */ @@ -34015,7 +34290,7 @@ declare namespace yfiles{ } var IPortCandidate:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IPortCandidate; }; export enum PortCandidateValidity{ /** @@ -34059,7 +34334,7 @@ declare namespace yfiles{ * @see yfiles.graph.NodeDecorator#portCandidateProviderDecorator * @interface */ - export interface IPortCandidateProvider extends Object{ + export interface IPortCandidateProvider extends yfiles.lang.Object{ /** * Returns all port candidates that apply for the provided opposite port candidate. *

@@ -34194,7 +34469,7 @@ declare namespace yfiles{ */ NO_CANDIDATES?:yfiles.input.IPortCandidateProvider; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IPortCandidateProvider; }; /** * This interface can be used to query {@link yfiles.input.IPortCandidate}s for a specific existing {@link yfiles.graph.IEdge} @@ -34222,7 +34497,7 @@ declare namespace yfiles{ * * @interface */ - export interface IEdgeReconnectionPortCandidateProvider extends Object{ + export interface IEdgeReconnectionPortCandidateProvider extends yfiles.lang.Object{ /** * Returns all source port candidates that may be used for the edge. *

@@ -34282,7 +34557,7 @@ declare namespace yfiles{ */ ALL_NODE_AND_EDGE_CANDIDATES?:yfiles.input.IEdgeReconnectionPortCandidateProvider; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IEdgeReconnectionPortCandidateProvider; }; /** * Interface that can be used to find ports at specific locations in the canvas. @@ -34292,7 +34567,7 @@ declare namespace yfiles{ *

* @interface */ - export interface IPortSelectionTester extends Object{ + export interface IPortSelectionTester extends yfiles.lang.Object{ /** * Returns the port at the given world coordinate position or null if there is no such port. * @param context The input mode context to use for querying the position. @@ -34312,7 +34587,7 @@ declare namespace yfiles{ } var IPortSelectionTester:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IPortSelectionTester; }; /** * Interface for implementations that yield insets for a given {@link yfiles.graph.INode}. @@ -34322,7 +34597,7 @@ declare namespace yfiles{ *

* @interface */ - export interface INodeInsetsProvider extends Object{ + export interface INodeInsetsProvider extends yfiles.lang.Object{ /** * Returns the insets for the given node. * @param node The node to yield insets for. @@ -34333,7 +34608,7 @@ declare namespace yfiles{ } var INodeInsetsProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.INodeInsetsProvider; }; /** * Base interface for a command that can be executed. @@ -34344,7 +34619,7 @@ declare namespace yfiles{ * @see yfiles.input.ICommand#createCommand * @interface */ - export interface ICommand extends Object{ + export interface ICommand extends yfiles.lang.Object{ /** * Determines whether this command be executed with respect to the given parameter and target. * @param [parameter=null] The parameter or null @@ -34352,7 +34627,7 @@ declare namespace yfiles{ * @returns Whether {@link #execute} can be called with the given parameter and target. * @abstract */ - canExecute(parameter?:Object,target?:Object):boolean; + canExecute(parameter?:any,target?:any):boolean; /** * Determines whether this command be executed with respect to the given parameter and target. * @param {Object} options The parameters to pass. @@ -34368,7 +34643,7 @@ declare namespace yfiles{ * @param [target=null] The target to execute the command on or null * @abstract */ - execute(parameter?:Object,target?:Object):void; + execute(parameter?:any,target?:any):void; /** * Executes this command with respect to the given parameter and target. * @param {Object} options The parameters to pass. @@ -34384,7 +34659,7 @@ declare namespace yfiles{ * @see yfiles.input.ICommand#removeCanExecuteChangedListener * @abstract */ - addCanExecuteChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addCanExecuteChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the CanExecuteChanged event that occurs when the result of a call to {@link yfiles.input.ICommand#canExecute} * may yield a different result. @@ -34392,7 +34667,7 @@ declare namespace yfiles{ * @see yfiles.input.ICommand#addCanExecuteChangedListener * @abstract */ - removeCanExecuteChangedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeCanExecuteChangedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; } var ICommand:{ /** @@ -34416,7 +34691,7 @@ declare namespace yfiles{ */ invalidateRequerySuggested?():void; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to select the item that is + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to select the item that is * specified by the parameter. * @const * @static @@ -34424,15 +34699,15 @@ declare namespace yfiles{ */ SELECT_ITEM?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to toggle the selection state of - * the item that is specified by the parameter. + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to toggle the selection state + * of the item that is specified by the parameter. * @const * @static * @type {yfiles.input.ICommand} */ TOGGLE_ITEM_SELECTION?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to deselect the item that is + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to deselect the item that is * specified by the parameter. * @const * @static @@ -34440,7 +34715,7 @@ declare namespace yfiles{ */ DESELECT_ITEM?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.GraphEditorInputMode#editLabel edit the label} that is + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.GraphEditorInputMode#editLabel edit the label} that is * specified by the parameter. *

* If no parameter is set, this will trigger the {@link yfiles.input.GraphEditorInputMode#onEditLabel} if {@link yfiles.input.GraphEditorInputMode} @@ -34452,7 +34727,7 @@ declare namespace yfiles{ */ EDIT_LABEL?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.GraphEditorInputMode#addLabel add another label} to the {@link yfiles.graph.ILabelOwner} + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.GraphEditorInputMode#addLabel add another label} to the {@link yfiles.graph.ILabelOwner} * that is specified by the parameter. *

* If no parameter is set, this will trigger the {@link yfiles.input.GraphEditorInputMode#onAddLabel} if {@link yfiles.input.GraphEditorInputMode} @@ -34464,7 +34739,7 @@ declare namespace yfiles{ */ ADD_LABEL?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to * {@link yfiles.input.GraphEditorInputMode#groupSelection group the currently selected items}. * @const * @static @@ -34472,7 +34747,7 @@ declare namespace yfiles{ */ GROUP_SELECTION?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to * {@link yfiles.input.GraphEditorInputMode#adjustGroupNodeSize adjust the size of the selected group nodes}. *

* The default keyboard binding for this command is ctrl-shift-G. @@ -34483,7 +34758,7 @@ declare namespace yfiles{ */ ADJUST_GROUP_NODE_SIZE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to * {@link yfiles.input.GraphEditorInputMode#ungroupSelection ungroup the currently selected items}. * @const * @static @@ -34491,14 +34766,14 @@ declare namespace yfiles{ */ UNGROUP_SELECTION?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.view.ISelectionModel.#clear clear the selection}. + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.view.ISelectionModel.#clear clear the selection}. * @const * @static * @type {yfiles.input.ICommand} */ DESELECT_ALL?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.NavigationInputMode#expandGroup expand} group nodes. + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.NavigationInputMode#expandGroup expand} group nodes. *

* If the parameter to this command is null, the currently selected group nodes are expanded. If the parameter is an {@link yfiles.graph.INode} * instance, that node will be expanded. If the parameter is an {@link yfiles.collections.IEnumerable.} instance, then all group nodes in that enumeration are @@ -34510,7 +34785,7 @@ declare namespace yfiles{ */ EXPAND_GROUP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to collapse group nodes. + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.NavigationInputMode#collapseGroup collapse} group nodes. *

* If the parameter to this command is null, the currently selected group nodes are collapsed. If the parameter is an {@link yfiles.graph.INode} * instance, that group node will be collapsed. If the parameter is an {@link yfiles.collections.IEnumerable.} instance, then all group nodes in that enumeration @@ -34522,8 +34797,8 @@ declare namespace yfiles{ */ COLLAPSE_GROUP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.NavigationInputMode#toggleExpansionState toggle} the collapsed/expanded - * state of currently selected group nodes. + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.input.NavigationInputMode#toggleExpansionState toggle} the + * collapsed/expanded state of currently selected group nodes. *

* If the parameter to this command is null, the currently selected group nodes are toggled. If the parameter is an {@link yfiles.graph.INode} * instance, that group node will be toggled. If the parameter is an {@link yfiles.collections.IEnumerable.} instance, then all group nodes in that enumeration @@ -34535,7 +34810,7 @@ declare namespace yfiles{ */ TOGGLE_EXPANSION_STATE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.graph.IFoldingView#localRoot switch the local root} of the + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.graph.IFoldingView#localRoot switch the local root} of the * current {@link yfiles.graph.IFoldingView} view to the given group node. * @const * @static @@ -34543,7 +34818,7 @@ declare namespace yfiles{ */ ENTER_GROUP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.graph.IFoldingView#localRoot exit the current local root} + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.graph.IFoldingView#localRoot exit the current local root} * of the current {@link yfiles.graph.IFoldingView} view to the given parent view. * @const * @static @@ -34564,7 +34839,7 @@ declare namespace yfiles{ */ BEGIN_EDGE_CREATION?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.graph.GraphClipboard#duplicate duplicate items} of the + * An {@link yfiles.input.ICommand} that can be {@link yfiles.input.ICommand#execute executed} from within the {@link yfiles.view.GraphComponent} to {@link yfiles.graph.GraphClipboard#duplicate duplicate items} of the * current {@link yfiles.graph.IGraph}. * @const * @static @@ -34572,7 +34847,7 @@ declare namespace yfiles{ */ DUPLICATE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that reverses the direction of edges. + * An {@link yfiles.input.ICommand} that reverses the direction of edges. *

* {@link yfiles.input.GraphEditorInputMode} can execute this command if it is installed in a {@link yfiles.view.GraphComponent}. The parameter * specifies the edges to be reversed and can be an {@link yfiles.graph.IEdge}, an {@link yfiles.collections.IEnumerable. IEnumerable<IEdge>} or null. If the parameter is @@ -34585,7 +34860,7 @@ declare namespace yfiles{ */ REVERSE_EDGE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to print. + * An {@link yfiles.input.ICommand} to print. *

* This command is not necessarily handled by yFiles. Application writers can handle the command in a manner that makes * sense in the context of the application, e.g. printing the currently visible portion of the graph. @@ -34600,7 +34875,7 @@ declare namespace yfiles{ */ PRINT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to close a document. + * An {@link yfiles.input.ICommand} to close a document. *

* This command is not necessarily handled by yFiles. Application writers can handle the command in a manner that makes * sense in the context of the application, e.g. closing the current window. @@ -34614,7 +34889,7 @@ declare namespace yfiles{ */ CLOSE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to open help. + * An {@link yfiles.input.ICommand} to open help. *

* This command is not necessarily handled by yFiles. Application writers can handle the command in a manner that makes * sense in the context of the application, e.g. showing the online help. @@ -34628,7 +34903,7 @@ declare namespace yfiles{ */ HELP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to show properties of an item. + * An {@link yfiles.input.ICommand} to show properties of an item. *

* This command is not necessarily handled by yFiles. Application writers can handle the command in a manner that makes * sense in the context of the application. @@ -34642,7 +34917,7 @@ declare namespace yfiles{ */ PROPERTIES?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to create a new document. + * An {@link yfiles.input.ICommand} to create a new document. *

* This command is not necessarily handled by yFiles. Application writers can handle the command in a manner that makes * sense in the context of the application, e.g. creating a new graph. @@ -34656,7 +34931,7 @@ declare namespace yfiles{ */ NEW?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to open a document. + * An {@link yfiles.input.ICommand} to open a document. *

* {@link yfiles.view.GraphComponent} handles this command to open a dialog prompting to open a GraphML file. *

@@ -34670,7 +34945,7 @@ declare namespace yfiles{ */ OPEN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to select all items. + * An {@link yfiles.input.ICommand} to select all items. *

* {@link yfiles.input.GraphEditorInputMode} and {@link yfiles.input.GraphViewerInputMode} handle this command to select all items in the * graph. @@ -34684,7 +34959,7 @@ declare namespace yfiles{ */ SELECT_ALL?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to delete an item. + * An {@link yfiles.input.ICommand} to delete an item. *

* {@link yfiles.input.GraphEditorInputMode} handles this command to delete the currently selected items. *

@@ -34697,7 +34972,7 @@ declare namespace yfiles{ */ DELETE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to save an item. + * An {@link yfiles.input.ICommand} to save an item. *

* {@link yfiles.view.GraphComponent} handles this command to open a dialog prompting to save the graph as a GraphML file, if the * graph was never saved before, and simply saving to the previous file name if it was. @@ -34712,7 +34987,7 @@ declare namespace yfiles{ */ SAVE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to cut an item and place it in the clipboard. + * An {@link yfiles.input.ICommand} to cut an item and place it in the clipboard. *

* {@link yfiles.input.GraphEditorInputMode} handles this command in conjunction with {@link yfiles.graph.GraphClipboard}. *

@@ -34727,7 +35002,7 @@ declare namespace yfiles{ */ CUT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to copy to the clipboard. + * An {@link yfiles.input.ICommand} to copy to the clipboard. *

* {@link yfiles.input.GraphViewerInputMode} and {@link yfiles.input.GraphEditorInputMode} handle this command in conjunction with * {@link yfiles.graph.GraphClipboard}. @@ -34743,7 +35018,7 @@ declare namespace yfiles{ */ COPY?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to paste from the clipboard. + * An {@link yfiles.input.ICommand} to paste from the clipboard. *

* {@link yfiles.input.GraphEditorInputMode} handles this command in conjunction with {@link yfiles.graph.GraphClipboard}. The command * parameter can be an {@link yfiles.geometry.IPoint} to specify a location for pasting. @@ -34759,7 +35034,7 @@ declare namespace yfiles{ */ PASTE?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to undo the previous operation. + * An {@link yfiles.input.ICommand} to undo the previous operation. *

* {@link yfiles.input.GraphEditorInputMode} handles this command in conjunction with {@link yfiles.graph.UndoEngine}. *

@@ -34773,7 +35048,7 @@ declare namespace yfiles{ */ UNDO?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to redo a previously undone operation. + * An {@link yfiles.input.ICommand} to redo a previously undone operation. *

* {@link yfiles.input.GraphEditorInputMode} handles this command in conjunction with {@link yfiles.graph.UndoEngine}. *

@@ -34787,7 +35062,7 @@ declare namespace yfiles{ */ REDO?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that indicates the intention to print and show a preview of what to print beforehand. + * An {@link yfiles.input.ICommand} that indicates the intention to print and show a preview of what to print beforehand. *

* This command is not necessarily handled by yFiles. Application writers can handle the command in a manner that makes * sense in the context of the application. @@ -34802,7 +35077,7 @@ declare namespace yfiles{ */ PRINT_PREVIEW?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to scroll up. + * An {@link yfiles.input.ICommand} to scroll up. *

* {@link yfiles.view.CanvasComponent} handles this command to move the viewport upwards. By default this is done by a full * viewport height. The parameter can be a factor that is applied to the viewport height to move the viewport by a @@ -34820,7 +35095,7 @@ declare namespace yfiles{ */ SCROLL_PAGE_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to scroll down. + * An {@link yfiles.input.ICommand} to scroll down. *

* {@link yfiles.view.CanvasComponent} handles this command to move the viewport downwards. By default this is done by a full * viewport height. The parameter can be a factor that is applied to the viewport height to move the viewport by a @@ -34838,7 +35113,7 @@ declare namespace yfiles{ */ SCROLL_PAGE_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to scroll left. + * An {@link yfiles.input.ICommand} to scroll left. *

* {@link yfiles.view.CanvasComponent} handles this command to move the viewport to the left. By default this is done by a full * viewport width. The parameter can be a factor that is applied to the viewport width to move the viewport by a different @@ -34856,7 +35131,7 @@ declare namespace yfiles{ */ SCROLL_PAGE_LEFT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to scroll right. + * An {@link yfiles.input.ICommand} to scroll right. *

* {@link yfiles.view.CanvasComponent} handles this command to move the viewport to the right. By default this is done by a full * viewport width. The parameter can be a factor that is applied to the viewport width to move the viewport by a different @@ -34874,7 +35149,7 @@ declare namespace yfiles{ */ SCROLL_PAGE_RIGHT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the selection left. + * An {@link yfiles.input.ICommand} to move the selection left. *

* {@link yfiles.input.NavigationInputMode} handles this command to select the next item to the left. *

@@ -34892,7 +35167,7 @@ declare namespace yfiles{ */ MOVE_LEFT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the selection right. + * An {@link yfiles.input.ICommand} to move the selection right. *

* {@link yfiles.input.NavigationInputMode} handles this command to select the next item to the right. *

@@ -34910,7 +35185,7 @@ declare namespace yfiles{ */ MOVE_RIGHT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the selection up. + * An {@link yfiles.input.ICommand} to move the selection up. *

* {@link yfiles.input.NavigationInputMode} handles this command to select the next item above. *

@@ -34928,7 +35203,7 @@ declare namespace yfiles{ */ MOVE_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the selection down. + * An {@link yfiles.input.ICommand} to move the selection down. *

* {@link yfiles.input.NavigationInputMode} handles this command to select the next item below. *

@@ -34946,7 +35221,7 @@ declare namespace yfiles{ */ MOVE_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the selection up a page. + * An {@link yfiles.input.ICommand} to move the selection up a page. *

* {@link yfiles.input.NavigationInputMode} handles this command to select the parent node, if possible. *

@@ -34964,7 +35239,7 @@ declare namespace yfiles{ */ MOVE_TO_PAGE_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the selection down a page. + * An {@link yfiles.input.ICommand} to move the selection down a page. *

* {@link yfiles.input.NavigationInputMode} handles this command to select the first child node, if possible. *

@@ -34982,7 +35257,7 @@ declare namespace yfiles{ */ MOVE_TO_PAGE_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the focus backwards. + * An {@link yfiles.input.ICommand} to move the focus backwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to focus the next item to the left. *

@@ -35000,7 +35275,7 @@ declare namespace yfiles{ */ MOVE_FOCUS_BACK?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the focus forwards. + * An {@link yfiles.input.ICommand} to move the focus forwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to focus the next item to the right. *

@@ -35018,7 +35293,7 @@ declare namespace yfiles{ */ MOVE_FOCUS_FORWARD?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the focus upwards. + * An {@link yfiles.input.ICommand} to move the focus upwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to focus the next item above. *

@@ -35036,7 +35311,7 @@ declare namespace yfiles{ */ MOVE_FOCUS_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the focus downwards. + * An {@link yfiles.input.ICommand} to move the focus downwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to focus the next item below. *

@@ -35054,7 +35329,7 @@ declare namespace yfiles{ */ MOVE_FOCUS_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the focus up a page. + * An {@link yfiles.input.ICommand} to move the focus up a page. *

* {@link yfiles.input.NavigationInputMode} handles this command to focus the parent node, if possible. *

@@ -35072,7 +35347,7 @@ declare namespace yfiles{ */ MOVE_FOCUS_PAGE_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to move the focus up a page. + * An {@link yfiles.input.ICommand} to move the focus up a page. *

* {@link yfiles.input.NavigationInputMode} handles this command to focus the first child node, if possible. *

@@ -35090,7 +35365,7 @@ declare namespace yfiles{ */ MOVE_FOCUS_PAGE_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to extend the selection to the left. + * An {@link yfiles.input.ICommand} to extend the selection to the left. *

* {@link yfiles.input.NavigationInputMode} handles this command to extend the selection with the next item to the left. *

@@ -35108,7 +35383,7 @@ declare namespace yfiles{ */ EXTEND_SELECTION_LEFT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to extend the selection to the right. + * An {@link yfiles.input.ICommand} to extend the selection to the right. *

* {@link yfiles.input.NavigationInputMode} handles this command to extend the selection with the next item to the right. *

@@ -35126,7 +35401,7 @@ declare namespace yfiles{ */ EXTEND_SELECTION_RIGHT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to extend the selection upwards. + * An {@link yfiles.input.ICommand} to extend the selection upwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to extend the selection with the next item above. *

@@ -35144,7 +35419,7 @@ declare namespace yfiles{ */ EXTEND_SELECTION_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to extend the selection downwards. + * An {@link yfiles.input.ICommand} to extend the selection downwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to extend the selection with the next item below. *

@@ -35162,7 +35437,7 @@ declare namespace yfiles{ */ EXTEND_SELECTION_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to extend the selection a page upwards. + * An {@link yfiles.input.ICommand} to extend the selection a page upwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to extend the selection with the parent node, if possible. *

@@ -35180,7 +35455,7 @@ declare namespace yfiles{ */ SELECT_TO_PAGE_UP?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to extend the selection a page downwards. + * An {@link yfiles.input.ICommand} to extend the selection a page downwards. *

* {@link yfiles.input.NavigationInputMode} handles this command to extend the selection with the first child node, if possible. *

@@ -35198,7 +35473,7 @@ declare namespace yfiles{ */ SELECT_TO_PAGE_DOWN?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to increase the zoom level. + * An {@link yfiles.input.ICommand} to increase the zoom level. *

* {@link yfiles.view.CanvasComponent} handles this command to increase the zoom level by 20%. A different factor from the default * 1.2 may be given as the command parameter. @@ -35214,7 +35489,7 @@ declare namespace yfiles{ */ INCREASE_ZOOM?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to decrease the zoom level. + * An {@link yfiles.input.ICommand} to decrease the zoom level. *

* {@link yfiles.view.CanvasComponent} handles this command to decrease the zoom level by 20%. A different factor from the default * 1.2 may be given as the command parameter. @@ -35230,7 +35505,7 @@ declare namespace yfiles{ */ DECREASE_ZOOM?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} to set the zoom level. + * An {@link yfiles.input.ICommand} to set the zoom level. *

* {@link yfiles.view.CanvasComponent} handles this command to change the viewport. If the parameter is a {@link yfiles.geometry.Point}, * the viewport will be centered as that point while not changing the zoom level. If the parameter is a @@ -35251,7 +35526,7 @@ declare namespace yfiles{ */ ZOOM?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that invokes CurrentItem if executed. + * An {@link yfiles.input.ICommand} that invokes {@link yfiles.view.GraphComponent#currentItem} if executed. * @const * @static * @type {yfiles.input.ICommand} @@ -35269,35 +35544,35 @@ declare namespace yfiles{ */ FIT_GRAPH_BOUNDS?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that changes the {@link yfiles.view.CanvasComponent#zoom} and the {@link yfiles.view.CanvasComponent#viewPoint} in an animated fashion such that the {@link yfiles.view.GraphComponent#currentItem} becomes fully visible. + * An {@link yfiles.input.ICommand} that changes the {@link yfiles.view.CanvasComponent#zoom} and the {@link yfiles.view.CanvasComponent#viewPoint} in an animated fashion such that the {@link yfiles.view.GraphComponent#currentItem} becomes fully visible. * @const * @static * @type {yfiles.input.ICommand} */ ZOOM_TO_CURRENT_ITEM?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that invokes {@link yfiles.input.ICommand#FIT_CONTENT} if executed. + * An {@link yfiles.input.ICommand} that invokes {@link yfiles.view.CanvasComponent#fitContent} if executed. * @const * @static * @type {yfiles.input.ICommand} */ FIT_CONTENT?:yfiles.input.ICommand; /** - * A {@link yfiles.input.ICommand} that invokes {@link yfiles.view.CanvasComponent#updateContentRect} if executed. + * An {@link yfiles.input.ICommand} that invokes {@link yfiles.view.CanvasComponent#updateContentRect} if executed. * @const * @static * @type {yfiles.input.ICommand} */ UPDATE_CONTENT_RECT?:yfiles.input.ICommand; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.ICommand; }; /** * Utility class that holds implementation singletons and utility methods for simple event recognizers. * @class * @static */ - export interface EventRecognizers extends Object{} + export interface EventRecognizers extends yfiles.lang.Object{} export class EventRecognizers { /** * Creates an instance that is the logical 'and' combination of the provided recognizers. @@ -35305,43 +35580,44 @@ declare namespace yfiles{ * @returns An instance that is the result of the logical 'and' operation of the provided instances. * @static */ - static createAndRecognizer(...recognizers:((eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean)[]):(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static createAndRecognizer(...recognizers:((eventSource:any,evt:yfiles.lang.EventArgs)=>boolean)[]):(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates an instance that is the logical 'or' combination of the provided recognizers. * @param recognizers The recognizers to perform the logical operation on. * @returns An instance that is the result of the logical 'or' operation of the provided instances. * @static */ - static createOrRecognizer(...recognizers:((eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean)[]):(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static createOrRecognizer(...recognizers:((eventSource:any,evt:yfiles.lang.EventArgs)=>boolean)[]):(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates an event recognizer instance that yields the boolean inverse of the given event recognizer. * @param recognizer The recognizer to invert. * @returns An implementation that performs the logical negation for the argument. * @static */ - static inverse(recognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean):(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static inverse(recognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean):(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * A callback that will always return true; * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static ALWAYS:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static ALWAYS:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * A callback that will always return false; * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static NEVER:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static NEVER:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.EventRecognizers; } /** * Utility class with simple event recognizers that work on {@link yfiles.view.KeyEventArgs}. * @class * @static */ - export interface KeyEventRecognizers extends Object{} + export interface KeyEventRecognizers extends yfiles.lang.Object{} export class KeyEventRecognizers { /** * Creates an event recognizer for a given key and type using a given set of modifiers. @@ -35351,7 +35627,7 @@ declare namespace yfiles{ * @returns * @static */ - static create(type:yfiles.view.KeyEventType,value:yfiles.view.Key,modifiers?:yfiles.view.ModifierKeys):(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static create(type:yfiles.view.KeyEventType,value:yfiles.view.Key,modifiers?:yfiles.view.ModifierKeys):(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Creates an event recognizer that matches key presses. * @param key The key to create the recognizer for. @@ -35359,77 +35635,77 @@ declare namespace yfiles{ * @returns An event recognizer that uses the gesture. * @static */ - static createKeyPress(key:yfiles.view.Key,modifiers?:yfiles.view.ModifierKeys):(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static createKeyPress(key:yfiles.view.Key,modifiers?:yfiles.view.ModifierKeys):(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when escape has been typed. + * An event recognizer that recognizes when Escape has been typed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static ESCAPE_TYPED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static ESCAPE_TYPED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that recognizes when any key has been pressed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static KEY_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static KEY_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that recognizes when any key has been typed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static KEY_TYPED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static KEY_TYPED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that recognizes when any key has been released. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static KEY_RELEASED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static KEY_RELEASED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when escape has been pressed. + * An event recognizer that recognizes when Escape has been pressed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static ESCAPE_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static ESCAPE_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when delete has been pressed. + * An event recognizer that recognizes when Delete has been pressed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static DELETE_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static DELETE_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when escape has been released. + * An event recognizer that recognizes when Escape has been released. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static ESCAPE_RELEASED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static ESCAPE_RELEASED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when the shift modifier is active. + * An event recognizer that recognizes when the Shift modifier is active. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static SHIFT_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static SHIFT_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when the alt modifier is active. + * An event recognizer that recognizes when the Alt modifier is active. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static ALT_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static ALT_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when the ctrl modifier is active. + * An event recognizer that recognizes when the Ctrl modifier is active. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static CONTROL_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static CONTROL_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that recognizes when the Meta modifier is active. *

@@ -35437,45 +35713,46 @@ declare namespace yfiles{ *

* @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static META_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static META_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when the shift modifier is being pressed. + * An event recognizer that recognizes when the Shift modifier is being pressed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static SHIFT_DOWN:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static SHIFT_DOWN:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when the shift modifier is being released. + * An event recognizer that recognizes when the Shift modifier is being released. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static SHIFT_UP:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static SHIFT_UP:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * An event recognizer that recognizes when the ctrl modifier is being pressed. + * An event recognizer that recognizes when the Ctrl modifier is being pressed. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static CTRL_DOWN:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static CTRL_DOWN:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that recognizes when the Ctrl modifier is being released. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static CTRL_UP:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static CTRL_UP:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.KeyEventRecognizers; } /** * A utility class that offers event recognizers that deal with {@link yfiles.view.MouseEventArgs}. * @class * @static */ - export interface MouseEventRecognizers extends Object{} + export interface MouseEventRecognizers extends yfiles.lang.Object{} export class MouseEventRecognizers { /** * An event recognizer that identifies mouse movements that are not drags. @@ -35483,30 +35760,30 @@ declare namespace yfiles{ * @see yfiles.input.MouseEventRecognizers#MOVED_OR_DRAGGED * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static MOVED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static MOVED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouse movements. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static MOVED_OR_DRAGGED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static MOVED_OR_DRAGGED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mousedown events. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouseup events. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static RELEASED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static RELEASED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouse input capture lost events. *

@@ -35515,9 +35792,9 @@ declare namespace yfiles{ *

* @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LOST_CAPTURE:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LOST_CAPTURE:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouse input capture lost events while at least one mouse button was pressed. *

@@ -35526,292 +35803,294 @@ declare namespace yfiles{ *

* @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LOST_CAPTURE_DURING_DRAG:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LOST_CAPTURE_DURING_DRAG:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies left mouse button clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LEFT_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LEFT_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies button clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies button multi-clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static MULTI_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static MULTI_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies right mouse button clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static RIGHT_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static RIGHT_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies middle mouse button clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static MIDDLE_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static MIDDLE_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies left mouse button double clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LEFT_DOUBLE_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LEFT_DOUBLE_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies right mouse button double clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static RIGHT_DOUBLE_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static RIGHT_DOUBLE_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies middle mouse button double clicks. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static MIDDLE_DOUBLE_CLICKED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static MIDDLE_DOUBLE_CLICKED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mousedown events of left mouse button. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LEFT_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LEFT_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouseup events of left mouse button. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LEFT_RELEASED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LEFT_RELEASED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mousedown events of right mouse button. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static RIGHT_PRESSED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static RIGHT_PRESSED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouseup events of right mouse button. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static RIGHT_RELEASED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static RIGHT_RELEASED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies mouse drag events. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static DRAGGED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static DRAGGED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies left mouse button drags. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LEFT_DRAGGED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LEFT_DRAGGED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies when the has left the control. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static EXITED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static EXITED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies when the mouse has entered the control. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static ENTERED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static ENTERED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies right mouse button drags. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static RIGHT_DRAGGED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static RIGHT_DRAGGED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies middle mouse button drags. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static MIDDLE_DRAGGED:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static MIDDLE_DRAGGED:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MouseEventRecognizers; } /** * A utility class that offers event recognizers that deal with {@link yfiles.view.TouchEventArgs}. * @class * @static */ - export interface TouchEventRecognizers extends Object{} + export interface TouchEventRecognizers extends yfiles.lang.Object{} export class TouchEventRecognizers { /** * An event recognizer that identifies touch movements of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_MOVED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_MOVED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies the loss of touch capture for the any device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LOST_CAPTURE:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LOST_CAPTURE:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies the loss of touch capture for the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LOST_CAPTURE_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LOST_CAPTURE_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies the loss of touch capture for the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static LOST_CAPTURE_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static LOST_CAPTURE_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch movements of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_DOWN_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_DOWN_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch movements of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_UP_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_UP_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch taps of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_TAPPED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_TAPPED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch double-taps of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_DOUBLE_TAPPED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_DOUBLE_TAPPED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch multi-taps of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_MULTI_TAPPED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_MULTI_TAPPED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies when the primary device has left the control. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_EXITED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_EXITED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies when the primary device has entered the control. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_ENTERED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_ENTERED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies long presses of the primary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_LONG_PRESSED_PRIMARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_LONG_PRESSED_PRIMARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch movements of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_MOVED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_MOVED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch movements of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_DOWN_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_DOWN_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch movements of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_UP_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_UP_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch taps of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_TAPPED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_TAPPED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch double-taps of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_DOUBLE_TAPPED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_DOUBLE_TAPPED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies touch multi-taps of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_MULTI_TAPPED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_MULTI_TAPPED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies when the secondary device has left the control. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_EXITED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_EXITED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies when the secondary device has entered the control. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_ENTERED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_ENTERED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * An event recognizer that identifies long presses of the secondary device. * @const * @static - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - static TOUCH_LONG_PRESSED_SECONDARY:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + static TOUCH_LONG_PRESSED_SECONDARY:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TouchEventRecognizers; } /** * An {@link yfiles.input.IInputMode} used for recognizing the gesture of creating {@link yfiles.graph.IBend}s in an {@link yfiles.graph.IGraph}. @@ -35826,7 +36105,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface CreateBendInputMode extends Object,yfiles.input.IInputMode{} + export interface CreateBendInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class CreateBendInputMode { /** * Creates a new instance that will use the {@link yfiles.graph.IGraph} from the {@link yfiles.input.CreateBendInputMode#inputModeContext} to create bends in. @@ -35922,7 +36201,7 @@ declare namespace yfiles{ * @returns * @protected */ - isValidBegin(source:Object,evt:yfiles.lang.EventArgs):boolean; + isValidBegin(source:any,evt:yfiles.lang.EventArgs):boolean; /** * Triggers the {@link yfiles.input.CreateBendInputMode#addBendCreatedListener BendCreated} event. * @param evt @@ -36047,7 +36326,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.CreateBendInputMode#controller}. + * Gets the installed {@link yfiles.input.CreateBendInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -36057,13 +36336,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.CreateBendInputMode#removeBendCreatedListener */ - addBendCreatedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + addBendCreatedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * Removes the given listener for the BendCreated event that occurs once a bend creation gesture has been recognized. * @param listener The listener to remove. * @see yfiles.input.CreateBendInputMode#addBendCreatedListener */ - removeBendCreatedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + removeBendCreatedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * Gets or sets the cursor to use when this mode is in "armed" state. * @type {yfiles.view.Cursor} @@ -36074,52 +36353,52 @@ declare namespace yfiles{ *

* This recognizer instance will be used to determine when the user begins to move the selection. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer. *

* This recognizer instance determines when the user is moving the selection *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer. *

* This instance determines when the user has finished the move. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" state recognizer specifically for touch input. *

* This recognizer instance will be used to determine when the user begins to move the selection. The default value is * {@link yfiles.input.TouchEventRecognizers#TOUCH_LONG_PRESSED_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - prepareRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + prepareRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "moved" state recognizer specifically for touch input. *

* This recognizer instance will be used to determine when the user begins actually moves the selection. The default value * is {@link yfiles.input.TouchEventRecognizers#TOUCH_MOVED_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - movedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + movedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" state recognizer specifically for touch input. *

* This recognizer instance will be used to determine when the finalized the gesture. The default value is * {@link yfiles.input.TouchEventRecognizers#TOUCH_UP_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the {@link yfiles.input.IHitTestable} that determines where bends may be created. * @type {yfiles.input.IHitTestable} @@ -36140,43 +36419,43 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.CreateBendInputMode#removeDraggingListener */ - addDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to remove. * @see yfiles.input.CreateBendInputMode#addDraggingListener */ - removeDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to add. * @see yfiles.input.CreateBendInputMode#removeDraggedListener */ - addDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to remove. * @see yfiles.input.CreateBendInputMode#addDraggedListener */ - removeDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to add. * @see yfiles.input.CreateBendInputMode#removeDragCanceledListener */ - addDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to remove. * @see yfiles.input.CreateBendInputMode#addDragCanceledListener */ - removeDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Gets or sets the event recognizer that determines whether the bend creation should be treated as a split segment * operation. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - splitOrthogonalSegmentRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + splitOrthogonalSegmentRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets a value indicating whether an orthogonal segment should be split by the last bend creation. *

@@ -36199,6 +36478,7 @@ declare namespace yfiles{ */ useExistingBend:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.CreateBendInputMode; } /** * Simple default implementation of the {@link yfiles.input.IEditLabelHelper} interface. @@ -36210,7 +36490,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IEditLabelHelper} */ - export interface EditLabelHelper extends Object,yfiles.input.IEditLabelHelper{} + export interface EditLabelHelper extends yfiles.lang.Object,yfiles.input.IEditLabelHelper{} export class EditLabelHelper { /** * Determines the label model parameter to use for the label, depending on the owner. @@ -36250,7 +36530,7 @@ declare namespace yfiles{ * Helper method that will be called for {@link yfiles.graph.ILabelOwner}s. *

* This method delegates to {@link yfiles.input.EditLabelHelper#getLabelParameter}, {@link yfiles.input.EditLabelHelper#getLabelStyle}, and - * {@link yfiles.input.EditLabelHelper#getPreferredSize} to set the appropriate properties on args and sets the {@link yfiles.input.LabelEditingEventArgs#handled} property to + * {@link yfiles.input.EditLabelHelper#getPreferredSize} to set the appropriate properties on evt and sets the {@link yfiles.input.LabelEditingEventArgs#handled} property to * true. Label creation thus is always possible. *

* @param evt The original event arguments. @@ -36261,7 +36541,7 @@ declare namespace yfiles{ *

* This method returns the first of the {@link yfiles.graph.ILabelOwner#labels} that belong to the {@link yfiles.input.LabelEditingEventArgs#owner}, if set. Otherwise, it delegates to * {@link yfiles.input.EditLabelHelper#getLabelParameter}, {@link yfiles.input.EditLabelHelper#getLabelStyle}, and {@link yfiles.input.EditLabelHelper#getPreferredSize} - * to set the appropriate properties on args. + * to set the appropriate properties on evt. *

*

* The arguments are always set as {@link yfiles.input.LabelEditingEventArgs#handled}, so label editing is always possible. @@ -36279,6 +36559,7 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.EditLabelHelper; } /** * An {@link yfiles.input.IInputMode} for interacticely creating edges between nodes and edges in an {@link yfiles.graph.IGraph} displayed @@ -36296,7 +36577,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface CreateEdgeInputMode extends Object,yfiles.input.IInputMode{} + export interface CreateEdgeInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class CreateEdgeInputMode { /** * Creates a new instance that will use the {@link yfiles.graph.IGraph} from the {@link yfiles.input.CreateEdgeInputMode#inputModeContext} to create edges in. @@ -36803,156 +37084,158 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.CreateEdgeInputMode#controller}. + * Gets the installed {@link yfiles.input.CreateEdgeInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ controller:yfiles.input.ConcurrencyController; /** - * Sets the cursor that indicates a valid place to begin an edge creation. + * Gets or sets the cursor that indicates a valid place to begin an edge creation. * @type {yfiles.view.Cursor} */ validBeginCursor:yfiles.view.Cursor; /** - * Sets the cursor that indicates a valid place to create a bend. + * Gets or sets the cursor that indicates a valid place to create a bend. * @type {yfiles.view.Cursor} */ validBendCursor:yfiles.view.Cursor; /** - * Sets the cursor that indicates a valid place to finish creation. + * Gets or sets the cursor that indicates a valid place to finish creation. * @type {yfiles.view.Cursor} */ validEndCursor:yfiles.view.Cursor; /** * Gets or sets event recognizer that temporarily disables snapping. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - disableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + disableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets event recognizer that reenables temporarily disabled snapping. * @see yfiles.input.CreateEdgeInputMode#disableSnappingRecognizer - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - enableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + enableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that toggles the orientation of the first orthogonally created segment. * @see yfiles.input.CreateEdgeInputMode#orthogonalEdgeCreation - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - toggleSegmentOrientationRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + toggleSegmentOrientationRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the finishing gesture that is used to end the edge creation on the target node. + * Gets or sets the event recognizer that recognizes the finishing gesture that is used to end the edge creation on the + * target node. *

* The default is a combination of {@link yfiles.input.MouseEventRecognizers#LEFT_PRESSED} and * {@link yfiles.input.MouseEventRecognizers#LEFT_RELEASED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - finishRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + finishRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the starting gesture that is used to prepare the edge creation on the source node. + * Gets or sets the event recognizer that recognizes the starting gesture that is used to prepare the edge creation on the + * source node. *

* The default is {@link yfiles.input.MouseEventRecognizers#LEFT_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - prepareRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + prepareRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the initial dragging gesture that is used to initiate the creation after the - * preparation. + * Gets or sets the event recognizer that recognizes the initial dragging gesture that is used to initiate the creation + * after the preparation. *

* The default is {@link yfiles.input.MouseEventRecognizers#DRAGGED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the movement of the end point of the edge. + * Gets or sets the event recognizer that recognizes the movement of the end point of the edge. *

* The default is {@link yfiles.input.MouseEventRecognizers#MOVED_OR_DRAGGED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - endPointMovedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + endPointMovedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the creation of a bend. + * Gets or sets the event recognizer that recognizes the creation of a bend. *

* The default is {@link yfiles.input.MouseEventRecognizers#LEFT_RELEASED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - createBendRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createBendRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Gets or sets the property that determines cancel events. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * Gets or sets the event recognizer that determines cancel events. + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Gets or sets the property that determines bend removal events. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * Gets or sets the event recognizer that determines bend removal events. + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - removeBendRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + removeBendRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the event recognizer that determines whether dynamic port candidates should be resolved. *

* By default this is {@link yfiles.input.KeyEventRecognizers#SHIFT_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - portCandidateResolutionRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + portCandidateResolutionRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the finishing gesture that is used to end the edge creation on the target node by a - * touch gesture. + * Gets or sets the event recognizer that recognizes the finishing gesture that is used to end the edge creation on the + * target node by a touch gesture. *

* The default is {@link yfiles.input.TouchEventRecognizers#TOUCH_UP_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - finishRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + finishRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the starting gesture that is used to prepare the edge creation on the source node - * via touch. + * Gets or sets the event recognizer that recognizes the starting gesture that is used to prepare the edge creation on the + * source node via touch. *

* The default is {@link yfiles.input.TouchEventRecognizers#TOUCH_LONG_PRESSED_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - prepareRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + prepareRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the initial dragging gesture that is used to initiate the creation after the - * preparation via touch. + * Gets or sets the event recognizer that recognizes the initial dragging gesture that is used to initiate the creation + * after the preparation via touch. *

* The default is {@link yfiles.input.TouchEventRecognizers#TOUCH_MOVED_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * The event recognizer that recognizes the creation of a bend via touch. + * Gets or sets the event recognizer that recognizes the creation of a bend via touch. *

* The default is {@link yfiles.input.TouchEventRecognizers#TOUCH_UP_PRIMARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - createBendRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + createBendRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Gets or sets the property that determines cancel events via touch. + * Gets or sets the event recognizer that determines cancel events via touch. *

* The default is {@link yfiles.input.TouchEventRecognizers#TOUCH_MULTI_TAPPED_SECONDARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Gets or sets the property that determines bend removal events via touch. + * Gets or sets the event recognizer that determines bend removal events via touch. *

* The default is {@link yfiles.input.TouchEventRecognizers#TOUCH_LONG_PRESSED_SECONDARY}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - removeBendRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + removeBendRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Determines whether or not to display possible port candidates during the creation of the edge. + * Gets or sets whether or not to display possible port candidates during the creation of the edge. *

* The default is true. *

@@ -36961,7 +37244,7 @@ declare namespace yfiles{ */ showPortCandidates:boolean; /** - * Determines whether or not edges are allowed to connect to other edges. + * Gets or sets whether or not edges are allowed to connect to other edges. *

* The default is false. *

@@ -36980,7 +37263,7 @@ declare namespace yfiles{ */ snapDistance:number; /** - * The {@link yfiles.input.CreateEdgeInputMode#snapContext} which manages snapping model items to certain coordinates (for instance, other items). + * Gets or sets the {@link yfiles.input.CreateEdgeInputMode#snapContext} which manages snapping model items to certain coordinates (for instance, other items). *

* If set to null (the default) this input mode tries to obtain the {@link yfiles.input.CreateEdgeInputMode#snapContext} from the {@link yfiles.input.IInputModeContext}. To explicitly * disable snapping, a {@link yfiles.input.CreateEdgeInputMode#snapContext} implementation that does nothing has to be set to this instance. @@ -37056,7 +37339,7 @@ declare namespace yfiles{ */ orthogonalEdgeCreation:yfiles.input.OrthogonalEdgeEditingPolicy; /** - * Defines the preferred minimal distance of orthogonal edges. + * Gets or sets the preferred minimal distance of orthogonal edges. *

* This information is needed when deciding which way to route the first segment of an orthogonal edge. *

@@ -37091,8 +37374,8 @@ declare namespace yfiles{ */ resolveTargetPortCandidates:boolean; /** - * Defines the width of a node's border which is taken into account when deciding which way to route the first segment of - * an orthogonal edge. + * Gets or sets the width of a node's border which is taken into account when deciding which way to route the first segment + * of an orthogonal edge. *

* An edge starting inside a given margin is always pointing away from it. *

@@ -37111,7 +37394,7 @@ declare namespace yfiles{ */ edgeCreator:(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,sourcePortCandidate:yfiles.input.IPortCandidate,targetPortCandidate:yfiles.input.IPortCandidate,templateEdge:yfiles.graph.IEdge)=>yfiles.graph.IEdge; /** - * Determines whether or not to allow the creation of self loops. + * Gets or sets whether or not to allow the creation of self loops. *

* The default is true, which enables that an edge is connected to a {@link yfiles.graph.IEdge#sourcePort} and {@link yfiles.graph.IEdge#targetPort} that have the same {@link yfiles.graph.IPort#owner}. *

@@ -37120,8 +37403,8 @@ declare namespace yfiles{ */ allowSelfloops:boolean; /** - * Determines whether an edge creation gesture will be canceled when the gesture is ended on an invalid target and no bend - * may be created there. + * Gets or sets whether an edge creation gesture will be canceled when the gesture is ended on an invalid target and no + * bend may be created there. *

* If bend creation is allowed at the target location (i.e. {@link yfiles.input.CreateEdgeInputMode#validBendHitTestable} returns true), the gesture will always continue by creating a * bend. Otherwise, if this property is true, the gesture will be canceled automatically. @@ -37135,7 +37418,7 @@ declare namespace yfiles{ */ cancelGestureOnInvalidTarget:boolean; /** - * Determines whether or not to allow the creation of bends. + * Gets or sets whether or not to allow the creation of bends. *

* The default is true. *

@@ -37179,7 +37462,7 @@ declare namespace yfiles{ */ dummyEdgeGraph:yfiles.graph.IGraph; /** - * Convenience property for customizing the appearance of newly created edges. + * Gets or sets the appearance of newly created edges. *

* This property directly delegates to the {@link yfiles.graph.IGraph#edgeDefaults} of the {@link yfiles.input.CreateEdgeInputMode#dummyEdgeGraph}. *

@@ -37204,27 +37487,27 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeSourcePortCandidateChangedListener */ - addSourcePortCandidateChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addSourcePortCandidateChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the SourcePortCandidateChanged event that occurs when the value of the {@link yfiles.input.CreateEdgeInputMode#sourcePortCandidate} property * changes. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addSourcePortCandidateChangedListener */ - removeSourcePortCandidateChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeSourcePortCandidateChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the TargetPortCandidateChanged event that occurs when the value of the {@link yfiles.input.CreateEdgeInputMode#targetPortCandidate} property changes. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeTargetPortCandidateChangedListener */ - addTargetPortCandidateChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addTargetPortCandidateChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the TargetPortCandidateChanged event that occurs when the value of the {@link yfiles.input.CreateEdgeInputMode#targetPortCandidate} property * changes. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addTargetPortCandidateChangedListener */ - removeTargetPortCandidateChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeTargetPortCandidateChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Gets or sets whether after calls to {@link yfiles.input.CreateEdgeInputMode#createEdge} the current undo edit should be canceled * if the method returns null. @@ -37243,30 +37526,30 @@ declare namespace yfiles{ * @see yfiles.input.CreateEdgeInputMode#onEdgeCreated * @see yfiles.input.CreateEdgeInputMode#removeEdgeCreatedListener */ - addEdgeCreatedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgeCreatedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Removes the given listener for the EdgeCreated event that occurs after an edge has been created by this mode. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#onEdgeCreated * @see yfiles.input.CreateEdgeInputMode#addEdgeCreatedListener */ - removeEdgeCreatedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgeCreatedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Adds the given listener for the PortAdded event that occurs when this instance {@link yfiles.graph.IGraph#addPort adds a port} to the source or target node * during completion of the edge creation gesture. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removePortAddedListener */ - addPortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addPortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the PortAdded event that occurs when this instance {@link yfiles.graph.IGraph#addPort adds a port} to the source or target * node during completion of the edge creation gesture. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addPortAddedListener */ - removePortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removePortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** - * Determines whether or not the edge's end point should snap to the current target port candidate during the creation of + * Gets or sets whether or not the edge's end point should snap to the current target port candidate during the creation of * the edge. *

* This will make the edge's end point point to the position of the target port candidate. This will result in the preview @@ -37313,7 +37596,7 @@ declare namespace yfiles{ */ dragPoint:yfiles.geometry.IPoint; /** - * Determines whether currently an edge creation is in progress. + * Gets whether currently an edge creation is in progress. *

* This property yields true after the edge creation has been started and before it has been {@link yfiles.input.CreateEdgeInputMode#cancel cancelled} or finalized. *

@@ -37325,129 +37608,130 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeGestureFinishingListener */ - addGestureFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addGestureFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the GestureFinishing event that occurs before the gesture will be finished. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addGestureFinishingListener */ - removeGestureFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeGestureFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the GestureFinished event that occurs once the gesture has been finished. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeGestureFinishedListener */ - addGestureFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addGestureFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the GestureFinished event that occurs once the gesture has been finished. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addGestureFinishedListener */ - removeGestureFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeGestureFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the GestureStarting event that occurs once the gesture is starting. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeGestureStartingListener */ - addGestureStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addGestureStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the GestureStarting event that occurs once the gesture is starting. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addGestureStartingListener */ - removeGestureStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeGestureStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the GestureStarted event that occurs once the gesture is initialized and has started. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeGestureStartedListener */ - addGestureStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addGestureStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the GestureStarted event that occurs once the gesture is initialized and has started. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addGestureStartedListener */ - removeGestureStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeGestureStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Moving event that occurs at the start of every drag or move. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeMovingListener */ - addMovingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addMovingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Moving event that occurs at the start of every drag or move. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addMovingListener */ - removeMovingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeMovingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Moved event that occurs at the end of every drag or move. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeMovedListener */ - addMovedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addMovedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Moved event that occurs at the end of every drag or move. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addMovedListener */ - removeMovedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeMovedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the GestureCanceled event that occurs when the gesture has been canceled. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeGestureCanceledListener */ - addGestureCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addGestureCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the GestureCanceled event that occurs when the gesture has been canceled. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addGestureCanceledListener */ - removeGestureCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeGestureCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the GestureCanceling event that occurs before the gesture will be canceled. * @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeGestureCancelingListener */ - addGestureCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addGestureCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the GestureCanceling event that occurs before the gesture will be canceled. * @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addGestureCancelingListener */ - removeGestureCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeGestureCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the EdgeCreationStarted event that occurs when the edge creation has started. *

- * The edge that is stored in the {@link yfiles.collections.ItemEventArgs.#item} property is the {@link yfiles.input.CreateEdgeInputMode#dummyEdge} that is used during creation. + * The edge that is stored in the Item property is the {@link yfiles.input.CreateEdgeInputMode#dummyEdge} that is used during creation. *

* @param listener The listener to add. * @see yfiles.input.CreateEdgeInputMode#removeEdgeCreationStartedListener */ - addEdgeCreationStartedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgeCreationStartedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Removes the given listener for the EdgeCreationStarted event that occurs when the edge creation has started. *

- * The edge that is stored in the {@link yfiles.collections.ItemEventArgs.#item} property is the {@link yfiles.input.CreateEdgeInputMode#dummyEdge} that is used during creation. + * The edge that is stored in the Item property is the {@link yfiles.input.CreateEdgeInputMode#dummyEdge} that is used during creation. *

* @param listener The listener to remove. * @see yfiles.input.CreateEdgeInputMode#addEdgeCreationStartedListener */ - removeEdgeCreationStartedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgeCreationStartedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Gets or sets the event recognizer that will be queried to decide if bend creation is enforced. *

* The default is {@link yfiles.input.KeyEventRecognizers#CONTROL_PRESSED} or {@link yfiles.input.KeyEventRecognizers#META_PRESSED}. *

- * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - enforceBendCreationRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + enforceBendCreationRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Gets or sets the Graph this mode is acting upon. + * Gets the Graph this mode is acting upon. * @type {yfiles.graph.IGraph} */ graph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.CreateEdgeInputMode; } export enum EdgeSegmentDirection{ /** @@ -37522,7 +37806,7 @@ declare namespace yfiles{ *
  • {@link yfiles.input.GraphEditorInputMode#allowCreateBend} – Determines whether the {@link yfiles.input.GraphEditorInputMode#createBendInputMode} should be {@link yfiles.input.CreateBendInputMode#enabled} to allow for creating new bends.
  • *
  • {@link yfiles.input.NavigationInputMode#allowEnterGroup} – Determines whether the mode allows for {@link yfiles.input.NavigationInputMode#enterGroup entering} group nodes in {@link yfiles.graph.IFoldingView}s.
  • *
  • {@link yfiles.input.NavigationInputMode#allowExitGroup} – Determines whether the mode allows for {@link yfiles.input.NavigationInputMode#exitGroup exiting} the current group node in {@link yfiles.graph.IFoldingView}s.
  • - *
  • {@link yfiles.input.NavigationInputMode#allowCollapseGroup} – Determines whether the mode allows for collapsing group nodes in {@link yfiles.graph.IFoldingView}s.
  • + *
  • {@link yfiles.input.NavigationInputMode#allowCollapseGroup} – Determines whether the mode allows for {@link yfiles.input.NavigationInputMode#collapseGroup collapsing} group nodes in {@link yfiles.graph.IFoldingView}s.
  • *
  • {@link yfiles.input.NavigationInputMode#allowExpandGroup} – Determines whether the mode allows for {@link yfiles.input.NavigationInputMode#expandGroup expanding} group nodes in {@link yfiles.graph.IFoldingView}s.
  • *
  • * {@link yfiles.input.ItemHoverInputMode#hoverItems} – Determines which items should be reported as being hovered through the {@link yfiles.input.ItemHoverInputMode#addHoveredItemChangedListener corresponding event} in this instance's @@ -37644,7 +37928,7 @@ declare namespace yfiles{ * Adds a new label to the given item interactively. *

    * This will activate the {@link yfiles.input.GraphEditorInputMode#textEditorInputMode} to let the user interactively enter the label's text and unless the user cancels label creation - * the returned {@link yfiles.graphml.Future.} will contain the label. + * the returned {@link Promise.} will contain the label. *

    *

    * The text that the user enters may be {@link yfiles.input.GraphEditorInputMode#addValidateLabelTextListener validated} before the label is actually added. @@ -37657,8 +37941,8 @@ declare namespace yfiles{ * will edit that label instead of adding a new one. *

    * @param owner The item to add a label to. - * @returns A Promise that fulfills with the edited label instance. It will fulfill with null if {@link #addEditingCanceledListener editing was canceled} or the text - * did not {@link #addValidateLabelTextListener validate}. + * @returns A promise that fulfills with either the newly created label or null if the {@link #addEditingCanceledListener editing was canceled} or the text did not + * {@link #addValidateLabelTextListener validate}. */ addLabel(owner:yfiles.graph.ILabelOwner):Promise; /** @@ -37791,7 +38075,7 @@ declare namespace yfiles{ * @returns A {@link #moveInputMode} instance that uses the {@link } instances of the items that are hit at the position of the * cursor, regardless of their selection state. */ - createMoveUnselectedInputMode(recognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean):yfiles.input.MoveInputMode; + createMoveUnselectedInputMode(recognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean):yfiles.input.MoveInputMode; /** * Creates a node given a certain click point. *

    @@ -37926,7 +38210,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onCreateBendInputModeBendCreated(sender:Object,evt:yfiles.collections.ItemEventArgs):void; + onCreateBendInputModeBendCreated(sender:any,evt:yfiles.collections.ItemEventArgs):void; /** * Called when the {@link yfiles.input.GraphEditorInputMode#createBendInputMode} property value changes and after initialization of the field. * @param oldMode the old value, which may be null the first time @@ -38012,7 +38296,7 @@ declare namespace yfiles{ /** * Raises the {@link yfiles.input.GraphEditorInputMode#addLabelAddingListener LabelAdding} event. *

    - * Invoking the event handlers stops once one event marks the args as handled. + * Invoking the event handlers stops once one event marks the evt as handled. *

    * @param evt The event arguments. * @protected @@ -38021,7 +38305,7 @@ declare namespace yfiles{ /** * Raises the {@link yfiles.input.GraphEditorInputMode#addLabelEditingListener LabelEditing} event. *

    - * Invoking the event handlers stops once one event marks the args as handled. + * Invoking the event handlers stops once one event marks the evt as handled. *

    * @param evt The event arguments. * @protected @@ -38077,14 +38361,14 @@ declare namespace yfiles{ * @param evt * @protected */ - onMoveInputModeDragCanceled(sender:Object,evt:yfiles.lang.EventArgs):void; + onMoveInputModeDragCanceled(sender:any,evt:yfiles.lang.EventArgs):void; /** * Called when {@link yfiles.input.MoveInputMode#addDragFinishedListener DragFinished} is triggered. * @param sender * @param evt * @protected */ - onMoveInputModeDragFinished(sender:Object,evt:yfiles.lang.EventArgs):void; + onMoveInputModeDragFinished(sender:any,evt:yfiles.lang.EventArgs):void; /** * Called when the {@link yfiles.input.GraphEditorInputMode#moveLabelInputMode} property value changes and after initialization of the field. * @param oldMode the old value, which may be null the first time @@ -38118,7 +38402,7 @@ declare namespace yfiles{ * @param evt The event argument instance containing the event data. * @protected */ - onNodeDropInputModeNodeCreated(sender:Object,evt:yfiles.collections.ItemEventArgs):void; + onNodeDropInputModeNodeCreated(sender:any,evt:yfiles.collections.ItemEventArgs):void; /** * Raises the {@link yfiles.input.GraphEditorInputMode#addNodeReparentedListener NodeReparented} event. * @param evt The {@link } instance containing the event data. @@ -38418,7 +38702,7 @@ declare namespace yfiles{ */ hitTester:yfiles.input.IHitTester; /** - * Determines which types of items should be selected after {@link yfiles.input.GraphEditorInputMode#paste} or + * Gets or sets which types of items should be selected after {@link yfiles.input.GraphEditorInputMode#paste} or * {@link yfiles.input.GraphEditorInputMode#duplicateSelection}. *

    * The default is {@link yfiles.graph.GraphItemTypes#ALL}. @@ -38431,7 +38715,7 @@ declare namespace yfiles{ */ pasteSelectableItems:yfiles.graph.GraphItemTypes; /** - * Determines whether nodes, edges, labels, and ports should only be selected after {@link yfiles.input.GraphEditorInputMode#paste} + * Gets or sets whether nodes, edges, labels, and ports should only be selected after {@link yfiles.input.GraphEditorInputMode#paste} * or {@link yfiles.input.GraphEditorInputMode#duplicateSelection} if they were selected when they were initially copied into the * clipboard. *

    @@ -38445,7 +38729,7 @@ declare namespace yfiles{ */ smartPasteSelection:boolean; /** - * Determines which types of items should be movable using the {@link yfiles.input.GraphEditorInputMode#moveInputMode} or {@link yfiles.input.GraphEditorInputMode#moveLabelInputMode} respectively in case of labels. + * Gets or sets which types of items should be movable using the {@link yfiles.input.GraphEditorInputMode#moveInputMode} or {@link yfiles.input.GraphEditorInputMode#moveLabelInputMode} respectively in case of labels. *

    * The default is {@link yfiles.graph.GraphItemTypes#ALL}. *

    @@ -38454,7 +38738,7 @@ declare namespace yfiles{ */ movableItems:yfiles.graph.GraphItemTypes; /** - * Determines which types of items may be deleted using the {@link yfiles.input.GraphEditorInputMode#deleteSelection} action. + * Gets or sets which types of items may be deleted using the {@link yfiles.input.GraphEditorInputMode#deleteSelection} action. *

    * The default is {@link yfiles.graph.GraphItemTypes#ALL}. *

    @@ -38472,7 +38756,7 @@ declare namespace yfiles{ */ deletablePredicate:(obj:yfiles.graph.IModelItem)=>boolean; /** - * Determines which types of items may have their {@link yfiles.input.GraphEditorInputMode#onEditLabel labels edited}. + * Gets or sets which types of items may have their {@link yfiles.input.GraphEditorInputMode#onEditLabel labels edited}. *

    * The default is {@link yfiles.graph.GraphItemTypes#LABEL_OWNER}|{@link yfiles.graph.GraphItemTypes#LABEL}, which allows for editing the * labels of {@link yfiles.graph.ILabelOwner}s, and existing {@link yfiles.graph.ILabel}s. @@ -38496,7 +38780,7 @@ declare namespace yfiles{ */ handleInputMode:yfiles.input.HandleInputMode; /** - * Determines which types of items should have their {@link yfiles.input.IHandle}s shown. + * Gets or sets which types of items should have their {@link yfiles.input.IHandle}s shown. *

    * The default is {@link yfiles.graph.GraphItemTypes#ALL}. *

    @@ -38520,7 +38804,7 @@ declare namespace yfiles{ */ useCurrentItemForCommands:boolean; /** - * The offset for paste operation if clipboard operations are enabled. + * Gets or sets the offset for paste operation if clipboard operations are enabled. *

    * Default is (15, 15). *

    @@ -38568,14 +38852,14 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphEditorInputMode#removeLabelAddedListener */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelAdded event that occurs when this mode has triggered the addition of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.GraphEditorInputMode#createLabel}. * @param listener The listener to remove. * @see yfiles.input.GraphEditorInputMode#addLabelAddedListener */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the LabelTextEditingStarted event that occurs when the actual label editing process is about * to start. @@ -38586,7 +38870,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#addValidateLabelTextListener * @see yfiles.input.GraphEditorInputMode#removeLabelTextEditingStartedListener */ - addLabelTextEditingStartedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelTextEditingStartedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelTextEditingStarted event that occurs when the actual label editing process is * about to start. @@ -38597,7 +38881,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#addValidateLabelTextListener * @see yfiles.input.GraphEditorInputMode#addLabelTextEditingStartedListener */ - removeLabelTextEditingStartedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelTextEditingStartedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the LabelTextEditingCanceled event that occurs when the actual label editing process is * canceled. @@ -38608,7 +38892,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#addValidateLabelTextListener * @see yfiles.input.GraphEditorInputMode#removeLabelTextEditingCanceledListener */ - addLabelTextEditingCanceledListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelTextEditingCanceledListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelTextEditingCanceled event that occurs when the actual label editing process is * canceled. @@ -38619,7 +38903,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#addValidateLabelTextListener * @see yfiles.input.GraphEditorInputMode#addLabelTextEditingCanceledListener */ - removeLabelTextEditingCanceledListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelTextEditingCanceledListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the ValidateLabelText event that occurs when a label that is about to be {@link yfiles.input.GraphEditorInputMode#addLabel added} or {@link yfiles.input.GraphEditorInputMode#editLabel edited}. *

    @@ -38633,7 +38917,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#onValidateLabelText * @see yfiles.input.GraphEditorInputMode#removeValidateLabelTextListener */ - addValidateLabelTextListener(listener:(sender:Object,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; + addValidateLabelTextListener(listener:(sender:any,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; /** * Removes the given listener for the ValidateLabelText event that occurs when a label that is about to be {@link yfiles.input.GraphEditorInputMode#addLabel added} or * {@link yfiles.input.GraphEditorInputMode#editLabel edited}. @@ -38648,21 +38932,21 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#onValidateLabelText * @see yfiles.input.GraphEditorInputMode#addValidateLabelTextListener */ - removeValidateLabelTextListener(listener:(sender:Object,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; + removeValidateLabelTextListener(listener:(sender:any,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; /** * Adds the given listener for the LabelTextChanged event that occurs when this mode has triggered the edit of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.GraphEditorInputMode#editLabel}. * @param listener The listener to add. * @see yfiles.input.GraphEditorInputMode#removeLabelTextChangedListener */ - addLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelTextChanged event that occurs when this mode has triggered the edit of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.GraphEditorInputMode#editLabel}. * @param listener The listener to remove. * @see yfiles.input.GraphEditorInputMode#addLabelTextChangedListener */ - removeLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the DeletingSelection event that occurs just before the {@link yfiles.input.GraphEditorInputMode#deleteSelection} * method starts its work and will be followed by any number of {@link yfiles.input.GraphEditorInputMode#addDeletedItemListener DeletedItem} @@ -38672,7 +38956,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#deleteSelection * @see yfiles.input.GraphEditorInputMode#removeDeletingSelectionListener */ - addDeletingSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + addDeletingSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Removes the given listener for the DeletingSelection event that occurs just before the {@link yfiles.input.GraphEditorInputMode#deleteSelection} * method starts its work and will be followed by any number of {@link yfiles.input.GraphEditorInputMode#addDeletedItemListener DeletedItem} @@ -38682,7 +38966,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#deleteSelection * @see yfiles.input.GraphEditorInputMode#addDeletingSelectionListener */ - removeDeletingSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + removeDeletingSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Adds the given listener for the DeletedItem event that occurs when an item has been deleted interactively by this mode. *

    @@ -38693,7 +38977,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphEditorInputMode#removeDeletedItemListener */ - addDeletedItemListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addDeletedItemListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the DeletedItem event that occurs when an item has been deleted interactively by this * mode. @@ -38705,7 +38989,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphEditorInputMode#addDeletedItemListener */ - removeDeletedItemListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeDeletedItemListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the DeletedSelection event that occurs just before the {@link yfiles.input.GraphEditorInputMode#deleteSelection} * method has deleted the selection after all selected items have been removed. @@ -38713,7 +38997,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#deleteSelection * @see yfiles.input.GraphEditorInputMode#removeDeletedSelectionListener */ - addDeletedSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + addDeletedSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Removes the given listener for the DeletedSelection event that occurs just before the {@link yfiles.input.GraphEditorInputMode#deleteSelection} * method has deleted the selection after all selected items have been removed. @@ -38721,7 +39005,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#deleteSelection * @see yfiles.input.GraphEditorInputMode#addDeletedSelectionListener */ - removeDeletedSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + removeDeletedSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.input.GraphEditorInputMode#moveInputMode} property. *

    @@ -38762,8 +39046,8 @@ declare namespace yfiles{ */ graphComponent:yfiles.view.GraphComponent; /** - * The {@link yfiles.input.SnapContext} instance that handles interactive snapping of elements during drag operations like - * movements. + * Gets or sets the {@link yfiles.input.SnapContext} instance that handles interactive snapping of elements during drag operations + * like movements. *

    * Setting this property to a {@link yfiles.input.SnapContext} which is {@link yfiles.input.SnapContext#enabled disabled} will disable snapping, whereas setting it to null * will make the child modes use the context from their {@link yfiles.input.IInputModeContext}s, if available. Upon change the {@link yfiles.input.GraphEditorInputMode#onSnapContextChanged} @@ -38775,7 +39059,7 @@ declare namespace yfiles{ */ snapContext:yfiles.input.SnapContext; /** - * The {@link yfiles.input.LabelSnapContext} instance that handles interactive snapping of + * Gets or sets the {@link yfiles.input.LabelSnapContext} instance that handles interactive snapping of * {@link yfiles.graph.ILabel}s to their owner during drag operations like movements. *

    * Setting this property to null will disable snapping, whereas setting it to null will make the child modes use the @@ -38957,7 +39241,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#reparentNodeHandler * @see yfiles.input.GraphEditorInputMode#removeNodeReparentedListener */ - addNodeReparentedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addNodeReparentedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * Removes the given listener for the NodeReparented event that occurs when a node has been reparented interactively. *

    @@ -38968,7 +39252,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#reparentNodeHandler * @see yfiles.input.GraphEditorInputMode#addNodeReparentedListener */ - removeNodeReparentedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeNodeReparentedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * Adds the given listener for the NodeCreated event that occurs when this mode has created a node in response to user * interaction. @@ -38981,7 +39265,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#createNode * @see yfiles.input.GraphEditorInputMode#removeNodeCreatedListener */ - addNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the NodeCreated event that occurs when this mode has created a node in response to user * interaction. @@ -38994,7 +39278,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#createNode * @see yfiles.input.GraphEditorInputMode#addNodeCreatedListener */ - removeNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Gets or sets a value determining whether {@link yfiles.input.GraphEditorInputMode#createNode node creation} by clicking on an empty canvas location is enabled. *

    @@ -39053,7 +39337,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#reverseEdge * @see yfiles.input.GraphEditorInputMode#removeEdgePortsChangedListener */ - addEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Removes the given listener for the EdgePortsChanged event that occurs after an edge's source and/or target ports have * been changed as the result of an input gesture. @@ -39064,7 +39348,7 @@ declare namespace yfiles{ * @see yfiles.input.GraphEditorInputMode#reverseEdge * @see yfiles.input.GraphEditorInputMode#addEdgePortsChangedListener */ - removeEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Gets or sets the callback that is responsible for creating a new node, for instance, in response to a mouse click. *

    @@ -39169,7 +39453,10 @@ declare namespace yfiles{ */ nodeDropInputMode:yfiles.input.NodeDropInputMode; /** - * Uses the {@link yfiles.input.WaitInputMode} to delegate wait requests to. + * Gets or sets whether the {@link yfiles.input.WaitInputMode} should be waiting. + *

    + * This property just delegates to {@link yfiles.input.WaitInputMode#waiting}. + *

    * @type {boolean} */ waiting:boolean; @@ -39183,7 +39470,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphEditorInputMode#removeLabelAddingListener */ - addLabelAddingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + addLabelAddingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Removes the given listener for the LabelAdding event that occurs when a label is about to be added. *

    @@ -39194,7 +39481,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphEditorInputMode#addLabelAddingListener */ - removeLabelAddingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + removeLabelAddingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Adds the given listener for the LabelEditing event that occurs when a label is about to be edited. *

    @@ -39205,7 +39492,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.GraphEditorInputMode#removeLabelEditingListener */ - addLabelEditingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + addLabelEditingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Removes the given listener for the LabelEditing event that occurs when a label is about to be edited. *

    @@ -39216,8 +39503,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.GraphEditorInputMode#addLabelEditingListener */ - removeLabelEditingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + removeLabelEditingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.GraphEditorInputMode; } /** * A {@link yfiles.input.DropInputMode} providing a preview of the dragged item. @@ -39276,7 +39564,7 @@ declare namespace yfiles{ * @param evt The arguments describing the movement {@link }s shall be collected for. * @protected */ - collectSnapResults(source:Object,evt:yfiles.input.CollectSnapResultsEventArgs):void; + collectSnapResults(source:any,evt:yfiles.input.CollectSnapResultsEventArgs):void; /** * Returns the drop target at the specified location. *

    @@ -39342,35 +39630,35 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ItemDropInputMode.#removeItemCreatedListener */ - addItemCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addItemCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the ItemCreated event that occurs when a new item gets created by this input mode. * @param listener The listener to remove. * @see yfiles.input.ItemDropInputMode.#addItemCreatedListener */ - removeItemCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeItemCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** - * Determines whether a preview of the dragged element is displayed during the drag + * Gets or sets whether a preview of the dragged element is displayed during the drag * @type {boolean} */ showPreview:boolean; /** - * Switches snapping on and off. + * Gets or sets whether dragged items are snapped. * @type {boolean} */ snappingEnabled:boolean; /** * Gets or sets event recognizer that temporarily disables snapping. - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - disableSnappingRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + disableSnappingRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** - * Switches highlighting the drop target on and off. + * Gets or sets whether the drop target is highlighted. * @type {boolean} */ highlightDropTarget:boolean; /** - * The {@link yfiles.input.ItemDropInputMode.#snapContext} which is used to snap the dragged element during the drag. + * Gets or sets the {@link yfiles.input.ItemDropInputMode.#snapContext} which is used to snap the dragged element during the drag. *

    * If set to null (the default) this input mode tries to obtain the {@link yfiles.input.ItemDropInputMode.#snapContext} from the {@link yfiles.input.IInputModeContext}. To explicitly * disable snapping, a {@link yfiles.input.ItemDropInputMode.#snapContext} implementation that does nothing has to be set to this instance. @@ -39412,12 +39700,13 @@ declare namespace yfiles{ */ itemCreator:(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,draggedItem:T,dropTarget:yfiles.graph.IModelItem,dropLocation:yfiles.geometry.Point)=>T; /** - * Returns the graph displayed as item preview. + * Gets the graph displayed as item preview. * @protected * @type {yfiles.graph.IGraph} */ previewGraph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ItemDropInputMode; } /** * An implementation of {@link yfiles.input.IPositionHandler} that shows the various label position candidates and lets the user @@ -39425,7 +39714,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IPositionHandler} */ - export interface LabelPositionHandler extends Object,yfiles.input.IPositionHandler{} + export interface LabelPositionHandler extends yfiles.lang.Object,yfiles.input.IPositionHandler{} export class LabelPositionHandler { /** * Initializes a new instance of the {@link yfiles.input.LabelPositionHandler} class. @@ -39555,6 +39844,7 @@ declare namespace yfiles{ */ useFinder:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.LabelPositionHandler; } /** * The default label snap context helper that provides the snap lines and the snap results to the {@link yfiles.input.LabelSnapContext} @@ -39564,7 +39854,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.ILabelSnapContextHelper} */ - export interface LabelSnapContextHelper extends Object,yfiles.input.ILabelSnapContextHelper{} + export interface LabelSnapContextHelper extends yfiles.lang.Object,yfiles.input.ILabelSnapContextHelper{} export class LabelSnapContextHelper { /** * Adds snap lines to the snapContext that are parallel to the path segments of the owner edge at the given distance. @@ -39647,6 +39937,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.input.LabelSnapContextHelper; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.LabelSnapContextHelper; } /** * Event arguments for the {@link yfiles.input.GraphEditorInputMode#addValidateLabelTextListener ValidateLabelText} @@ -39688,6 +39979,7 @@ declare namespace yfiles{ */ cancel:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.LabelTextValidatingEventArgs; } /** * An {@link yfiles.input.IInputMode} that can be used to drag a {@link yfiles.graph.ILabel} in a {@link yfiles.view.GraphComponent}. @@ -39799,6 +40091,7 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.MoveLabelInputMode; } /** * An {@link yfiles.input.ItemDropInputMode.} specialized to drag'n'drop {@link yfiles.graph.INode}s. @@ -39958,6 +40251,7 @@ declare namespace yfiles{ */ draggedItem:yfiles.graph.INode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodeDropInputMode; } /** * A helper class that can be used to interactively reshape orthogonal edge paths. @@ -39981,7 +40275,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#movePorts * @class */ - export interface OrthogonalEdgeEditingContext extends Object{} + export interface OrthogonalEdgeEditingContext extends yfiles.lang.Object{} export class OrthogonalEdgeEditingContext { /** * Initializes a new instance of the {@link yfiles.input.OrthogonalEdgeEditingContext} class that is initially {@link yfiles.input.OrthogonalEdgeEditingContext#enabled}. @@ -40267,7 +40561,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#onCleanedUp * @see yfiles.input.OrthogonalEdgeEditingContext#removeCleanedUpListener */ - addCleanedUpListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addCleanedUpListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the CleanedUp event that occurs when the recent edit operation has been cleaned up. * @param listener The listener to remove. @@ -40275,7 +40569,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#onCleanedUp * @see yfiles.input.OrthogonalEdgeEditingContext#addCleanedUpListener */ - removeCleanedUpListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeCleanedUpListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Initializing event that occurs when the edit is about to be initialized. * @param listener The listener to add. @@ -40283,7 +40577,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#onInitializing * @see yfiles.input.OrthogonalEdgeEditingContext#removeInitializingListener */ - addInitializingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addInitializingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Initializing event that occurs when the edit is about to be initialized. * @param listener The listener to remove. @@ -40291,7 +40585,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#onInitializing * @see yfiles.input.OrthogonalEdgeEditingContext#addInitializingListener */ - removeInitializingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeInitializingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Initialized event that occurs when the edit has been initialized. * @param listener The listener to add. @@ -40299,7 +40593,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#onInitialized * @see yfiles.input.OrthogonalEdgeEditingContext#removeInitializedListener */ - addInitializedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addInitializedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Initialized event that occurs when the edit has been initialized. * @param listener The listener to remove. @@ -40307,7 +40601,7 @@ declare namespace yfiles{ * @see yfiles.input.OrthogonalEdgeEditingContext#onInitialized * @see yfiles.input.OrthogonalEdgeEditingContext#addInitializedListener */ - removeInitializedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeInitializedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Gets or sets a value indicating whether this instance is currently initializing. * @type {boolean} @@ -40342,7 +40636,7 @@ declare namespace yfiles{ */ currentInputModeContext:yfiles.input.IInputModeContext; /** - * Whether the context is initialized. + * Gets or sets whether the context is initialized. *

    * The context is initialized between the calls to {@link yfiles.input.OrthogonalEdgeEditingContext#initializeDrag} and {@link yfiles.input.OrthogonalEdgeEditingContext#dragFinished} * or {@link yfiles.input.OrthogonalEdgeEditingContext#cancelDrag}. @@ -40357,7 +40651,7 @@ declare namespace yfiles{ */ addedBends:yfiles.collections.IEnumerable; /** - * Provides access to the enumeration of {@link yfiles.graph.IPortOwner} instances that are being transformed during the edit. + * Gets the enumeration of {@link yfiles.graph.IPortOwner} instances that are being transformed during the edit. *

    * For elements in the enumerable the attached {@link yfiles.graph.IPortOwner#ports} are considered to be moved in an irregular way during the edit. *

    @@ -40367,8 +40661,7 @@ declare namespace yfiles{ */ transformedPortOwners:yfiles.collections.IEnumerable; /** - * Provides access to the enumeration of {@link yfiles.graph.IEdge} instances whose ports have been locked at source and target - * end. + * Gets the enumeration of {@link yfiles.graph.IEdge} instances whose ports have been locked at source and target end. *

    * For elements in the enumerable the end points should not be moved and thus {@link yfiles.input.OrthogonalEdgeEditingContext#shouldMoveEndImplicitly} * returns false for these edges. Note that this collection is reset for each edit. @@ -40378,6 +40671,7 @@ declare namespace yfiles{ */ lockedPortEdges:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.OrthogonalEdgeEditingContext; } /** * Default implementation of the {@link yfiles.input.IOrthogonalEdgeHelper} @@ -40388,7 +40682,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IOrthogonalEdgeHelper} */ - export interface OrthogonalEdgeHelper extends Object,yfiles.input.IOrthogonalEdgeHelper{} + export interface OrthogonalEdgeHelper extends yfiles.lang.Object,yfiles.input.IOrthogonalEdgeHelper{} export class OrthogonalEdgeHelper { /** * Returns whether the given bend can be removed. @@ -40453,6 +40747,7 @@ declare namespace yfiles{ */ shouldMoveEndImplicitly(context:yfiles.input.IInputModeContext,edge:yfiles.graph.IEdge,sourceEnd:boolean):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.OrthogonalEdgeHelper; } /** * An implementation of the {@link yfiles.input.IHandle} that can be used to move an {@link yfiles.graph.IPort} interactively by assigning @@ -40464,7 +40759,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IHandle} */ - export interface PortLocationModelParameterHandle extends Object,yfiles.input.IHandle{} + export interface PortLocationModelParameterHandle extends yfiles.lang.Object,yfiles.input.IHandle{} export class PortLocationModelParameterHandle { /** * Initializes a new instance of the {@link yfiles.input.PortLocationModelParameterHandle} class to change the {@link yfiles.graph.IPortLocationModelParameter} @@ -40488,7 +40783,7 @@ declare namespace yfiles{ * @param evt The {@link } instance containing the event data. * @protected */ - collectSnapResults(source:Object,evt:yfiles.input.CollectSnapResultsEventArgs):void; + collectSnapResults(source:any,evt:yfiles.input.CollectSnapResultsEventArgs):void; /** * * @param context @@ -40567,6 +40862,7 @@ declare namespace yfiles{ */ cursor:yfiles.view.Cursor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PortLocationModelParameterHandle; } /** * Simple default implementation of {@link yfiles.input.IReparentNodeHandler} that treats shift key presses as reparent gestures @@ -40574,7 +40870,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IReparentNodeHandler} */ - export interface ReparentNodeHandler extends Object,yfiles.input.IReparentNodeHandler{} + export interface ReparentNodeHandler extends yfiles.lang.Object,yfiles.input.IReparentNodeHandler{} export class ReparentNodeHandler { constructor(); /** @@ -40612,10 +40908,11 @@ declare namespace yfiles{ * The default is {@link yfiles.input.KeyEventRecognizers#SHIFT_PRESSED} *

    * @see yfiles.input.ReparentNodeHandler#isReparentGesture - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - reparentRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + reparentRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReparentNodeHandler; } /** * An implementation of the {@link yfiles.input.ISnapLineProvider} interface that provides {@link yfiles.input.OrthogonalSnapLine}s for @@ -40627,7 +40924,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.ISnapLineProvider} */ - export interface NodeSnapLineProvider extends Object,yfiles.input.ISnapLineProvider{} + export interface NodeSnapLineProvider extends yfiles.lang.Object,yfiles.input.ISnapLineProvider{} export class NodeSnapLineProvider { /** * Callback method that is called by {@link yfiles.input.NodeSnapLineProvider#addSnapLines} the collect snap lines for the centers @@ -40725,6 +41022,7 @@ declare namespace yfiles{ */ createCenterSnapLine(context:yfiles.input.GraphSnapContext,node:yfiles.graph.INode,orientation:yfiles.input.SnapLineOrientation,location:yfiles.geometry.Point):yfiles.input.OrthogonalSnapLine; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodeSnapLineProvider; } /** * Simple implementation of the {@link yfiles.input.ISnapLineProvider} interface that can be used to add snap lines for @@ -40736,7 +41034,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.ISnapLineProvider} */ - export interface EdgeSnapLineProvider extends Object,yfiles.input.ISnapLineProvider{} + export interface EdgeSnapLineProvider extends yfiles.lang.Object,yfiles.input.ISnapLineProvider{} export class EdgeSnapLineProvider { /** * Adds horizontal snap lines for a horizontally oriented fixed segment snap lines. @@ -40751,7 +41049,7 @@ declare namespace yfiles{ */ addHorizontalSegmentSnapLines(context:yfiles.input.GraphSnapContext,evt:yfiles.input.CollectGraphSnapLinesEventArgs,edge:yfiles.graph.IEdge,segmentStart:yfiles.geometry.Point,segmentEnd:yfiles.geometry.Point):void; /** - * Adds the snap lines for the given model item to the args. + * Adds the snap lines for the given model item to the evt. *

    * This implementation queries the {@link yfiles.input.GraphSnapContext#getMovementInfos movement information} for the provided edge to determine which edge segments stay fixed. * For each fixed segment, it will call {@link yfiles.input.EdgeSnapLineProvider#addVerticalSegmentSnapLines} or {@link yfiles.input.EdgeSnapLineProvider#addHorizontalSegmentSnapLines} @@ -40776,13 +41074,14 @@ declare namespace yfiles{ */ addVerticalSegmentSnapLines(context:yfiles.input.GraphSnapContext,evt:yfiles.input.CollectGraphSnapLinesEventArgs,edge:yfiles.graph.IEdge,segmentStart:yfiles.geometry.Point,segmentEnd:yfiles.geometry.Point):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.EdgeSnapLineProvider; } /** * The default implementation of the {@link yfiles.input.INodeSnapResultProvider} interface. * @class * @implements {yfiles.input.INodeSnapResultProvider} */ - export interface NodeSnapResultProvider extends Object,yfiles.input.INodeSnapResultProvider{} + export interface NodeSnapResultProvider extends yfiles.lang.Object,yfiles.input.INodeSnapResultProvider{} export class NodeSnapResultProvider { /** * Calculates a {@link yfiles.input.SnapResult} and {@link yfiles.input.CollectSnapResultsEventArgs#addSnapResult adds it} to the argument. @@ -40868,13 +41167,14 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.input.INodeSnapResultProvider; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodeSnapResultProvider; } /** * The default implementation of the {@link yfiles.input.INodeReshapeSnapResultProvider} interface. * @class * @implements {yfiles.input.INodeReshapeSnapResultProvider} */ - export interface NodeReshapeSnapResultProvider extends Object,yfiles.input.INodeReshapeSnapResultProvider{} + export interface NodeReshapeSnapResultProvider extends yfiles.lang.Object,yfiles.input.INodeReshapeSnapResultProvider{} export class NodeReshapeSnapResultProvider { /** * Adds a snap result for a location that snaps to a grid line. @@ -41017,6 +41317,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.input.INodeReshapeSnapResultProvider; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.NodeReshapeSnapResultProvider; } /** * Simple default implementations of the {@link yfiles.input.IBendCreator} interface used during the creation of bends in the UI. @@ -41026,7 +41327,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IBendCreator} */ - export interface DefaultBendCreator extends Object,yfiles.input.IBendCreator{} + export interface DefaultBendCreator extends yfiles.lang.Object,yfiles.input.IBendCreator{} export class DefaultBendCreator { /** * @@ -41038,13 +41339,14 @@ declare namespace yfiles{ */ createBend(context:yfiles.input.IInputModeContext,graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge,location:yfiles.geometry.Point):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.DefaultBendCreator; } /** * An abstract convenience implementation of the {@link yfiles.input.IPortCandidateProvider} interface. * @class * @implements {yfiles.input.IPortCandidateProvider} */ - export interface PortCandidateProviderBase extends Object,yfiles.input.IPortCandidateProvider{} + export interface PortCandidateProviderBase extends yfiles.lang.Object,yfiles.input.IPortCandidateProvider{} export class PortCandidateProviderBase { /** * Convenience method for subclasses that adds all existing {@link yfiles.graph.IPortOwner#ports} of the owner to the provided list. @@ -41136,11 +41438,12 @@ declare namespace yfiles{ */ style:yfiles.styles.IPortStyle; /** - * The tag to assign to the port in {@link yfiles.input.PortCandidateProviderBase#createInstance} - * @type {Object} + * Gets or sets the tag to assign to the port in {@link yfiles.input.PortCandidateProviderBase#createInstance} + * @type {any} */ - tag:Object; + tag:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PortCandidateProviderBase; } /** * A sophisticated implementation of the {@link yfiles.input.IHandle} interface that lets the user change an edge's {@link yfiles.graph.IEdge#sourcePort source} and @@ -41156,7 +41459,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IHandle} */ - export interface PortRelocationHandle extends Object,yfiles.input.IHandle{} + export interface PortRelocationHandle extends yfiles.lang.Object,yfiles.input.IHandle{} export class PortRelocationHandle { /** * Creates a new instance of the {@link yfiles.input.PortRelocationHandle} class. @@ -41365,7 +41668,7 @@ declare namespace yfiles{ */ maximumSnapDistance:number; /** - * Determines whether or not edges are allowed to connect to other edges. + * Gets or sets whether or not edges are allowed to connect to other edges. *

    * The default is true. *

    @@ -41374,7 +41677,7 @@ declare namespace yfiles{ */ allowEdgeToEdgeConnections:boolean; /** - * Determines whether or not cyclic port dependencies are allowed. + * Gets or sets whether or not cyclic port dependencies are allowed. *

    * If {@link yfiles.input.PortRelocationHandle#allowEdgeToEdgeConnections edge to edge connections} are allowed by this instance, this property determines whether * {@link yfiles.input.PortRelocationHandle#getClosestCandidate}s are will yield candidates that would result in the edge being @@ -41424,9 +41727,9 @@ declare namespace yfiles{ *

    * By default this is set to {@link yfiles.input.KeyEventRecognizers#SHIFT_PRESSED}. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - portCandidateResolutionRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + portCandidateResolutionRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets a value indicating whether the source end of the edge is handled by this instance. * @protected @@ -41462,7 +41765,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns a view of the location of the item. + * Gets a view of the location of the item. *

    * This implementation returns this. *

    @@ -41470,6 +41773,7 @@ declare namespace yfiles{ */ location:yfiles.geometry.IPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PortRelocationHandle; } /** * Simple implementation of a {@link yfiles.input.IHandleProvider} that can be used for {@link yfiles.graph.IEdge}s. @@ -41488,7 +41792,7 @@ declare namespace yfiles{ * @implements {yfiles.input.IHandleProvider} * @implements {yfiles.input.IEdgePortHandleProvider} */ - export interface PortRelocationHandleProvider extends Object,yfiles.input.IHandleProvider,yfiles.input.IEdgePortHandleProvider{} + export interface PortRelocationHandleProvider extends yfiles.lang.Object,yfiles.input.IHandleProvider,yfiles.input.IEdgePortHandleProvider{} export class PortRelocationHandleProvider { /** * Initializes a new instance of the {@link yfiles.input.PortRelocationHandleProvider} class using the given graph and edge. @@ -41527,6 +41831,7 @@ declare namespace yfiles{ */ edge:yfiles.graph.IEdge; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PortRelocationHandleProvider; } /** * A simple implementation of an {@link yfiles.input.IHandleProvider} that returns all handles in the lookup of the ports owned by @@ -41541,7 +41846,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IHandleProvider} */ - export interface PortsHandleProvider extends Object,yfiles.input.IHandleProvider{} + export interface PortsHandleProvider extends yfiles.lang.Object,yfiles.input.IHandleProvider{} export class PortsHandleProvider { /** * Creates an instance using the given owner as the provider for the ports. @@ -41570,6 +41875,7 @@ declare namespace yfiles{ */ portOwner:yfiles.graph.IPortOwner; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.PortsHandleProvider; } /** * Specialized input mode that is used to resize a stripe by dragging one of its borders. @@ -41584,7 +41890,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IInputMode} */ - export interface ResizeStripeInputMode extends Object,yfiles.input.IInputMode{} + export interface ResizeStripeInputMode extends yfiles.lang.Object,yfiles.input.IInputMode{} export class ResizeStripeInputMode { /** * Creates a new instance of this input mode. @@ -41628,7 +41934,7 @@ declare namespace yfiles{ * @returns true iff a stripe border has been hit at the latest {@link } * @protected */ - isValidBegin(source:Object,evt:yfiles.lang.EventArgs):boolean; + isValidBegin(source:any,evt:yfiles.lang.EventArgs):boolean; /** * Called after {@link yfiles.input.ResizeStripeInputMode#cancel} has been called. *

    @@ -41787,7 +42093,7 @@ declare namespace yfiles{ */ inputModeContext:yfiles.input.IInputModeContext; /** - * Returns the installed {@link yfiles.input.ResizeStripeInputMode#controller}. + * Gets the installed {@link yfiles.input.ResizeStripeInputMode#controller}. * @protected * @type {yfiles.input.ConcurrencyController} */ @@ -41797,172 +42103,173 @@ declare namespace yfiles{ *

    * This recognizer instance will be used to determine when the user begins to move a handle. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer for touch input. *

    * This recognizer instance determines when the user is moving a handle. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer for touch input. *

    * This instance determines when the user has finished moving the handle. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizerTouch:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizerTouch:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "pressed" state recognizer. *

    * This recognizer instance will be used to determine when the user begins to resize the stripe. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - pressedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + pressedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "dragged" recognizer. *

    * This recognizer instance determines when the user is dragging the mouse to resize the stripe. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - draggedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + draggedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "cancel" recognizer. *

    * This recognizer recognizes a cancel action during the resize operation. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - cancelRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + cancelRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the "released" recognizer. *

    * This instance determines when the user has finished the resize operation. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - releasedRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + releasedRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the recognizer that changes the behavior to resize adjacent stripes instead of moving them. *

    * If this recognizer recognizes its gesture, the behavior will be to resize adjacent stripes instead of moving them (which * is the default). *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - resizeNeighborsRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + resizeNeighborsRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets the recognizer that changes the behavior to ignore the content of all stripes instead of moving them or * considering for minimum sizes. *

    * If this recognizer recognizes its gesture, the behavior will be to completely ignore all stripe contents. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - ignoreContentRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + ignoreContentRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Adds the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDragFinishingListener */ - addDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinishing event that occurs before the drag will be finished. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDragFinishingListener */ - removeDragFinishingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDragFinishedListener */ - addDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragFinished event that occurs once the drag has been finished. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDragFinishedListener */ - removeDragFinishedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragFinishedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDragStartingListener */ - addDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarting event that occurs once the drag is starting. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDragStartingListener */ - removeDragStartingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDragStartedListener */ - addDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragStarted event that occurs once the drag is initialized and has started. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDragStartedListener */ - removeDragStartedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragStartedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDraggingListener */ - addDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragging event that occurs at the start of every drag. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDraggingListener */ - removeDraggingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDraggedListener */ - addDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the Dragged event that occurs at the end of every drag. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDraggedListener */ - removeDraggedListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDraggedListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDragCanceledListener */ - addDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceled event that occurs when the drag has been canceled. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDragCanceledListener */ - removeDragCanceledListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCanceledListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Adds the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to add. * @see yfiles.input.ResizeStripeInputMode#removeDragCancelingListener */ - addDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + addDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; /** * Removes the given listener for the DragCanceling event that occurs before the drag will be canceled. * @param listener The listener to remove. * @see yfiles.input.ResizeStripeInputMode#addDragCancelingListener */ - removeDragCancelingListener(listener:(sender:Object,evt:yfiles.input.InputModeEventArgs)=>void):void; + removeDragCancelingListener(listener:(sender:any,evt:yfiles.input.InputModeEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ResizeStripeInputMode; } /** * Interface used for implementations that recognize, approve and disapprove stripe reparenting gestures, as well as @@ -41970,7 +42277,7 @@ declare namespace yfiles{ * @see yfiles.input.ReparentStripePositionHandler * @interface */ - export interface IReparentStripeHandler extends Object{ + export interface IReparentStripeHandler extends yfiles.lang.Object{ /** * Determines whether the provided node may be reparented to a newParent. *

    @@ -42012,7 +42319,7 @@ declare namespace yfiles{ } var IReparentStripeHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IReparentStripeHandler; }; /** * Default implementation of the {@link yfiles.input.IReparentStripeHandler} interface. @@ -42022,7 +42329,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IReparentStripeHandler} */ - export interface ReparentStripeHandler extends Object,yfiles.input.IReparentStripeHandler{} + export interface ReparentStripeHandler extends yfiles.lang.Object,yfiles.input.IReparentStripeHandler{} export class ReparentStripeHandler { constructor(); /** @@ -42073,7 +42380,7 @@ declare namespace yfiles{ */ shouldReparent(context:yfiles.input.IInputModeContext,stripe:yfiles.graph.IStripe):boolean; /** - * The maximum nesting level the row hierarchy may acquire during a reparent gesture. + * Gets or sets the maximum nesting level the row hierarchy may acquire during a reparent gesture. *

    * Note that it is always possible to decrease the nesting depth, even if the resulting depth would still be too high. This * allows to interactively reduce an invalid nesting depth in multiple steps. The default value is @@ -42083,7 +42390,7 @@ declare namespace yfiles{ */ maxRowLevel:number; /** - * The maximum nesting level the column hierarchy may acquire during a reparent gesture. + * Gets or sets the maximum nesting level the column hierarchy may acquire during a reparent gesture. *

    * Note that it is always possible to decrease the nesting depth, even if the resulting depth would still be too high. This * allows to interactively reduce an invalid nesting depth in multiple steps. The default value is @@ -42093,6 +42400,7 @@ declare namespace yfiles{ */ maxColumnLevel:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReparentStripeHandler; } /** * Specialized input mode that is used to reparent a stripe inside an {@link yfiles.graph.ITable} structure. @@ -42106,143 +42414,7 @@ declare namespace yfiles{ export class ReparentStripeInputMode { constructor(); static $class:yfiles.lang.Class; - } - /** - * An {@link yfiles.input.ItemDropInputMode.} specialized to drag 'n' drop {@link yfiles.graph.IStripe}s. - *

    - * A dragged {@link yfiles.graph.IStripe} is optionally visualized during the drag operation. - *

    - * @see yfiles.input.StripeDropInputMode#startDrag - * @class - * @extends {yfiles.input.ItemDropInputMode.} - */ - export interface StripeDropInputMode extends yfiles.input.ItemDropInputMode{} - export class StripeDropInputMode { - /** - * Initializes a new instance of the {@link yfiles.input.StripeDropInputMode} class for the expected data format. - *

    - * You might want to adjust the {@link yfiles.input.StripeDropInputMode#draggedItem} getter, too. - *

    - * @param expectedFormat This is a format that is used in {@link #startDrag}. - * @protected - */ - constructor(expectedFormat:string); - /** - * Initializes a new instance of the {@link yfiles.input.NodeDropInputMode} class for {@link yfiles.graph.INode}s. - *

    - * This instance fires events only if the format of the data of the drag operation is the full name of the {@link yfiles.graph.IStripe} - * type. Such a drag operation can be started for example with {@link yfiles.input.StripeDropInputMode#startDrag}. - *

    - */ - constructor(); - /** - * Create a preview version of the table that is temporarily used to show the dragged stripe. - * @returns - * @protected - */ - createPreviewTable():yfiles.graph.ITable; - /** - * Create a new stripe as the result of a drag and drop gesture. - *

    - * This method is called by the {@link yfiles.input.ItemDropInputMode.#itemCreator} that is set as default on this class. - *

    - * @param newParent The parent for which to create the stripe. - * @param context The context for which the stripe should be created. - * @returns a newly created stripe. - * @protected - */ - createStripe(context:yfiles.input.IInputModeContext,newParent:yfiles.graph.IStripe):yfiles.graph.IStripe; - /** - * Calculates the layout of the new table. - *

    - * In this implementation the mouse location is used as center of the table. Can be overridden in child class to implement - * a different layout. - *

    - * @param location Current mouse position - * @param size Size of the table - * @returns a {@link } with the given size and the mouse location as center. - * @protected - */ - getPreviewTableLayout(location:yfiles.geometry.Point,size:yfiles.geometry.Size):yfiles.geometry.Rect; - /** - * Called whenever a new stripe is created - * @param evt - * @protected - */ - onStripeCreated(evt:yfiles.collections.ItemEventArgs):void; - /** - * Starts a drag and drop operation for an {@link yfiles.graph.IStripe}. - *

    - * This convenience implementation delegates to {@link yfiles.view.DragSource#startDrag} passing the stripe to the {@link yfiles.view.DragDropItem} - * using the corresponding type. - *

    - *

    - * If useCssCursors is enabled, the following CSS classes are assigned to elements hovered during a drag operation, - * depending on the allowed drag-drop operations for these elements: - *

    - *
      - *
    • yfiles-cursor-dragdrop-move
    • - *
    • yfiles-cursor-dragdrop-link
    • - *
    • yfiles-cursor-dragdrop-all
    • - *
    • yfiles-cursor-dragdrop-no-drop
    • - *
    - * @param dragSource The source of the drag operation. - * @param stripe The stripe to drag. - * @param [dragDropEffects=yfiles.view.DragDropEffects.ALL] The allowed drag drop effects. - * @param [useCssCursors=true] Whether to adjust the classes of elements being hovered over during the drag. The default is true. - * @see yfiles.view.DragSource#startDrag - * @see yfiles.view.DragDropItem - * @static - */ - static startDrag(dragSource:HTMLElement,stripe:yfiles.graph.IStripe,dragDropEffects?:yfiles.view.DragDropEffects,useCssCursors?:boolean):void; - /** - * Starts a drag and drop operation for an {@link yfiles.graph.IStripe}. - *

    - * This convenience implementation delegates to {@link yfiles.view.DragSource#startDrag} passing the stripe to the {@link yfiles.view.DragDropItem} - * using the corresponding type. - *

    - *

    - * If useCssCursors is enabled, the following CSS classes are assigned to elements hovered during a drag operation, - * depending on the allowed drag-drop operations for these elements: - *

    - *
      - *
    • yfiles-cursor-dragdrop-move
    • - *
    • yfiles-cursor-dragdrop-link
    • - *
    • yfiles-cursor-dragdrop-all
    • - *
    • yfiles-cursor-dragdrop-no-drop
    • - *
    - * @param {Object} options The parameters to pass. - * @param options.dragSource The source of the drag operation. - * @param options.stripe The stripe to drag. - * @param [options.dragDropEffects=yfiles.view.DragDropEffects.ALL] The allowed drag drop effects. - * @param [options.useCssCursors=true] Whether to adjust the classes of elements being hovered over during the drag. The default is true. - * @see yfiles.view.DragSource#startDrag - * @see yfiles.view.DragDropItem - * @static - */ - static startDrag(options:{dragSource:HTMLElement,stripe:yfiles.graph.IStripe,dragDropEffects?:yfiles.view.DragDropEffects,useCssCursors?:boolean}):void; - /** - * Gets the currently dragged {@link yfiles.graph.IModelItem} instance. - *

    - * This implementation simply tries to cast the {@link yfiles.input.DropInputMode#dropData} to {@link yfiles.graph.INode}. - *

    - * @protected - * @type {yfiles.graph.IStripe} - */ - draggedItem:yfiles.graph.IStripe; - /** - * Adds the given listener for the StripeCreated event that occurs when a new stripe gets created by this input mode. - * @param listener The listener to add. - * @see yfiles.input.StripeDropInputMode#removeStripeCreatedListener - */ - addStripeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - /** - * Removes the given listener for the StripeCreated event that occurs when a new stripe gets created by this input mode. - * @param listener The listener to remove. - * @see yfiles.input.StripeDropInputMode#addStripeCreatedListener - */ - removeStripeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; - static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReparentStripeInputMode; } /** * Customized {@link yfiles.input.IPositionHandler} implementation that moves a stripe in the table hierarchy when the stripe is @@ -42254,7 +42426,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IPositionHandler} */ - export interface ReparentStripePositionHandler extends Object,yfiles.input.IPositionHandler{} + export interface ReparentStripePositionHandler extends yfiles.lang.Object,yfiles.input.IPositionHandler{} export class ReparentStripePositionHandler { /** * Creates a new instance of this position handler which moves movedStripe @@ -42387,12 +42559,12 @@ declare namespace yfiles{ */ location:yfiles.geometry.IPoint; /** - * Allows to query the moved stripe. + * Gets the moved stripe. * @type {yfiles.graph.IStripe} */ movedStripe:yfiles.graph.IStripe; /** - * The current {@link yfiles.input.IInputModeContext} + * Gets the current {@link yfiles.input.IInputModeContext} * @protected * @type {yfiles.input.IInputModeContext} */ @@ -42402,14 +42574,153 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.ReparentStripePositionHandler#removeStripeChangedListener */ - addStripeChangedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + addStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * Removes the given listener for the StripeChanged event that occurs when a stripe state is changed by this input mode. * @param listener The listener to remove. * @see yfiles.input.ReparentStripePositionHandler#addStripeChangedListener */ - removeStripeChangedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + removeStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.ReparentStripePositionHandler; + } + /** + * An {@link yfiles.input.ItemDropInputMode.} specialized to drag 'n' drop {@link yfiles.graph.IStripe}s. + *

    + * A dragged {@link yfiles.graph.IStripe} is optionally visualized during the drag operation. + *

    + * @see yfiles.input.StripeDropInputMode#startDrag + * @class + * @extends {yfiles.input.ItemDropInputMode.} + */ + export interface StripeDropInputMode extends yfiles.input.ItemDropInputMode{} + export class StripeDropInputMode { + /** + * Initializes a new instance of the {@link yfiles.input.StripeDropInputMode} class for the expected data format. + *

    + * You might want to adjust the {@link yfiles.input.StripeDropInputMode#draggedItem} getter, too. + *

    + * @param expectedFormat This is a format that is used in {@link #startDrag}. + * @protected + */ + constructor(expectedFormat:string); + /** + * Initializes a new instance of the {@link yfiles.input.NodeDropInputMode} class for {@link yfiles.graph.INode}s. + *

    + * This instance fires events only if the format of the data of the drag operation is the full name of the {@link yfiles.graph.IStripe} + * type. Such a drag operation can be started for example with {@link yfiles.input.StripeDropInputMode#startDrag}. + *

    + */ + constructor(); + /** + * Create a preview version of the table that is temporarily used to show the dragged stripe. + * @returns + * @protected + */ + createPreviewTable():yfiles.graph.ITable; + /** + * Create a new stripe as the result of a drag and drop gesture. + *

    + * This method is called by the {@link yfiles.input.ItemDropInputMode.#itemCreator} that is set as default on this class. + *

    + * @param newParent The parent for which to create the stripe. + * @param context The context for which the stripe should be created. + * @returns a newly created stripe. + * @protected + */ + createStripe(context:yfiles.input.IInputModeContext,newParent:yfiles.graph.IStripe):yfiles.graph.IStripe; + /** + * Calculates the layout of the new table. + *

    + * In this implementation the mouse location is used as center of the table. Can be overridden in child class to implement + * a different layout. + *

    + * @param location Current mouse position + * @param size Size of the table + * @returns a {@link } with the given size and the mouse location as center. + * @protected + */ + getPreviewTableLayout(location:yfiles.geometry.Point,size:yfiles.geometry.Size):yfiles.geometry.Rect; + /** + * Called whenever a new stripe is created + * @param evt + * @protected + */ + onStripeCreated(evt:yfiles.collections.ItemEventArgs):void; + /** + * Starts a drag and drop operation for an {@link yfiles.graph.IStripe}. + *

    + * This convenience implementation delegates to {@link yfiles.view.DragSource#startDrag} passing the stripe to the {@link yfiles.view.DragDropItem} + * using the corresponding type. + *

    + *

    + * If useCssCursors is enabled, the following CSS classes are assigned to elements hovered during a drag operation, + * depending on the allowed drag-drop operations for these elements: + *

    + *
      + *
    • yfiles-cursor-dragdrop-move
    • + *
    • yfiles-cursor-dragdrop-link
    • + *
    • yfiles-cursor-dragdrop-all
    • + *
    • yfiles-cursor-dragdrop-no-drop
    • + *
    + * @param dragSource The source of the drag operation. + * @param stripe The stripe to drag. + * @param [dragDropEffects=yfiles.view.DragDropEffects.ALL] The allowed drag drop effects. + * @param [useCssCursors=true] Whether to adjust the classes of elements being hovered over during the drag. The default is true. + * @see yfiles.view.DragSource#startDrag + * @see yfiles.view.DragDropItem + * @static + */ + static startDrag(dragSource:HTMLElement,stripe:yfiles.graph.IStripe,dragDropEffects?:yfiles.view.DragDropEffects,useCssCursors?:boolean):void; + /** + * Starts a drag and drop operation for an {@link yfiles.graph.IStripe}. + *

    + * This convenience implementation delegates to {@link yfiles.view.DragSource#startDrag} passing the stripe to the {@link yfiles.view.DragDropItem} + * using the corresponding type. + *

    + *

    + * If useCssCursors is enabled, the following CSS classes are assigned to elements hovered during a drag operation, + * depending on the allowed drag-drop operations for these elements: + *

    + *
      + *
    • yfiles-cursor-dragdrop-move
    • + *
    • yfiles-cursor-dragdrop-link
    • + *
    • yfiles-cursor-dragdrop-all
    • + *
    • yfiles-cursor-dragdrop-no-drop
    • + *
    + * @param {Object} options The parameters to pass. + * @param options.dragSource The source of the drag operation. + * @param options.stripe The stripe to drag. + * @param [options.dragDropEffects=yfiles.view.DragDropEffects.ALL] The allowed drag drop effects. + * @param [options.useCssCursors=true] Whether to adjust the classes of elements being hovered over during the drag. The default is true. + * @see yfiles.view.DragSource#startDrag + * @see yfiles.view.DragDropItem + * @static + */ + static startDrag(options:{dragSource:HTMLElement,stripe:yfiles.graph.IStripe,dragDropEffects?:yfiles.view.DragDropEffects,useCssCursors?:boolean}):void; + /** + * Gets the currently dragged {@link yfiles.graph.IModelItem} instance. + *

    + * This implementation simply tries to cast the {@link yfiles.input.DropInputMode#dropData} to {@link yfiles.graph.INode}. + *

    + * @protected + * @type {yfiles.graph.IStripe} + */ + draggedItem:yfiles.graph.IStripe; + /** + * Adds the given listener for the StripeCreated event that occurs when a new stripe gets created by this input mode. + * @param listener The listener to add. + * @see yfiles.input.StripeDropInputMode#removeStripeCreatedListener + */ + addStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + /** + * Removes the given listener for the StripeCreated event that occurs when a new stripe gets created by this input mode. + * @param listener The listener to remove. + * @see yfiles.input.StripeDropInputMode#addStripeCreatedListener + */ + removeStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.StripeDropInputMode; } /** * Input mode that can be used to interactively edit a table. @@ -42438,7 +42749,7 @@ declare namespace yfiles{ * Adds a new label to the given stripe interactively. *

    * This will activate the {@link yfiles.input.TableEditorInputMode#textEditorInputMode} to let the user interactively enter the label's text and unless the user cancels label creation - * the returned {@link yfiles.graphml.Future.} will contain the label. + * the returned {@link Promise.} will contain the label. *

    *

    * The text that the user enters may be {@link yfiles.input.TableEditorInputMode#addValidateLabelTextListener validated} before the label is actually added. @@ -42449,7 +42760,8 @@ declare namespace yfiles{ * creating a new one. In this case, this method will edit that label instead of adding a new one. *

    * @param owner The item. - * @returns A future of the label that will be notified of the newly created label or a null if the creation was canceled. + * @returns A promise that fulfills with either the newly created label or null if the {@link #addEditingCanceledListener editing was canceled} or the text did not + * {@link #addValidateLabelTextListener validate}. */ addLabel(owner:yfiles.graph.ILabelOwner):Promise; /** @@ -42623,7 +42935,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onClickInputModeClicked(sender:Object,evt:yfiles.input.ClickEventArgs):void; + onClickInputModeClicked(sender:any,evt:yfiles.input.ClickEventArgs):void; /** * Callback that gets triggered once {@link yfiles.input.TableEditorInputMode#clickInputMode} triggers the {@link yfiles.input.ClickInputMode#addDoubleClickedListener DoubleClicked} * event. @@ -42631,7 +42943,7 @@ declare namespace yfiles{ * @param evt * @protected */ - onClickInputModeDoubleClicked(sender:Object,evt:yfiles.input.ClickEventArgs):void; + onClickInputModeDoubleClicked(sender:any,evt:yfiles.input.ClickEventArgs):void; /** * Raises the {@link yfiles.input.TableEditorInputMode#addDeletedItemListener DeletedItem} event. * @param evt The instance containing the event data. @@ -42676,7 +42988,7 @@ declare namespace yfiles{ /** * Raises the {@link yfiles.input.TableEditorInputMode#addLabelAddingListener LabelAdding} event. *

    - * Invoking the event handlers stops once one event marks the args as handled. + * Invoking the event handlers stops once one event marks the evt as handled. *

    * @param evt The event arguments. * @protected @@ -42685,7 +42997,7 @@ declare namespace yfiles{ /** * Raises the {@link yfiles.input.TableEditorInputMode#addLabelEditingListener LabelEditing} event. *

    - * Invoking the event handlers stops once one event marks the args as handled. + * Invoking the event handlers stops once one event marks the evt as handled. *

    * @param evt The event arguments. * @protected @@ -42921,7 +43233,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.TableEditorInputMode#removeLabelAddingListener */ - addLabelAddingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + addLabelAddingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Removes the given listener for the LabelAdding event that occurs when a label is about to be added. *

    @@ -42932,7 +43244,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.TableEditorInputMode#addLabelAddingListener */ - removeLabelAddingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + removeLabelAddingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Adds the given listener for the LabelEditing event that occurs when a label is about to be edited. *

    @@ -42943,7 +43255,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.input.TableEditorInputMode#removeLabelEditingListener */ - addLabelEditingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + addLabelEditingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Removes the given listener for the LabelEditing event that occurs when a label is about to be edited. *

    @@ -42954,35 +43266,35 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.input.TableEditorInputMode#addLabelEditingListener */ - removeLabelEditingListener(listener:(sender:Object,evt:yfiles.input.LabelEditingEventArgs)=>void):void; + removeLabelEditingListener(listener:(sender:any,evt:yfiles.input.LabelEditingEventArgs)=>void):void; /** * Adds the given listener for the LabelAdded event that occurs when this mode has triggered the addition of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.TableEditorInputMode#createLabel}. * @param listener The listener to add. * @see yfiles.input.TableEditorInputMode#removeLabelAddedListener */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelAdded event that occurs when this mode has triggered the addition of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.TableEditorInputMode#createLabel}. * @param listener The listener to remove. * @see yfiles.input.TableEditorInputMode#addLabelAddedListener */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the LabelTextChanged event that occurs when this mode has triggered the edit of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.TableEditorInputMode#editLabel}. * @param listener The listener to add. * @see yfiles.input.TableEditorInputMode#removeLabelTextChangedListener */ - addLabelTextChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelTextChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the LabelTextChanged event that occurs when this mode has triggered the edit of an * {@link yfiles.graph.ILabel}, for instance, in response to {@link yfiles.input.TableEditorInputMode#editLabel}. * @param listener The listener to remove. * @see yfiles.input.TableEditorInputMode#addLabelTextChangedListener */ - removeLabelTextChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelTextChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the LabelTextEditingStarted event that occurs when the actual label editing process is about * to start. @@ -42993,7 +43305,7 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#onValidateLabelText * @see yfiles.input.TableEditorInputMode#removeLabelTextEditingStartedListener */ - addLabelTextEditingStartedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelTextEditingStartedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the LabelTextEditingStarted event that occurs when the actual label editing process is * about to start. @@ -43004,29 +43316,29 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#onValidateLabelText * @see yfiles.input.TableEditorInputMode#addLabelTextEditingStartedListener */ - removeLabelTextEditingStartedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelTextEditingStartedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the LabelTextEditingCanceled event that occurs when the actual label editing process is * canceled. *

    - * This allows to unconfigure temporary customizations for the actual label editing process. + * This allows to revert temporary customizations for the actual label editing process. *

    * @param listener The listener to add. * @see yfiles.input.TableEditorInputMode#onValidateLabelText * @see yfiles.input.TableEditorInputMode#removeLabelTextEditingCanceledListener */ - addLabelTextEditingCanceledListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelTextEditingCanceledListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the LabelTextEditingCanceled event that occurs when the actual label editing process is * canceled. *

    - * This allows to unconfigure temporary customizations for the actual label editing process. + * This allows to revert temporary customizations for the actual label editing process. *

    * @param listener The listener to remove. * @see yfiles.input.TableEditorInputMode#onValidateLabelText * @see yfiles.input.TableEditorInputMode#addLabelTextEditingCanceledListener */ - removeLabelTextEditingCanceledListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelTextEditingCanceledListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the ValidateLabelText event that occurs after label editing to validate the label text for a * label that is about to be added or edited. @@ -43037,7 +43349,7 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#onValidateLabelText * @see yfiles.input.TableEditorInputMode#removeValidateLabelTextListener */ - addValidateLabelTextListener(listener:(sender:Object,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; + addValidateLabelTextListener(listener:(sender:any,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; /** * Removes the given listener for the ValidateLabelText event that occurs after label editing to validate the label text * for a label that is about to be added or edited. @@ -43048,7 +43360,7 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#onValidateLabelText * @see yfiles.input.TableEditorInputMode#addValidateLabelTextListener */ - removeValidateLabelTextListener(listener:(sender:Object,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; + removeValidateLabelTextListener(listener:(sender:any,evt:yfiles.input.LabelTextValidatingEventArgs)=>void):void; /** * Gets or sets a value indicating whether this mode should automatically {@link yfiles.graph.ITable#remove remove labels} from the table when a label text * has been edited and the label text is empty. @@ -43087,7 +43399,7 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#deleteSelection * @see yfiles.input.TableEditorInputMode#removeDeletingSelectionListener */ - addDeletingSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + addDeletingSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Removes the given listener for the DeletingSelection event that occurs just before the {@link yfiles.input.TableEditorInputMode#deleteSelection} * method starts its work and will be followed by any number of {@link yfiles.input.TableEditorInputMode#addDeletedItemListener DeletedItem} @@ -43097,20 +43409,20 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#deleteSelection * @see yfiles.input.TableEditorInputMode#addDeletingSelectionListener */ - removeDeletingSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + removeDeletingSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Adds the given listener for the DeletedItem event that occurs when an item has been deleted interactively by this mode. * @param listener The listener to add. * @see yfiles.input.TableEditorInputMode#removeDeletedItemListener */ - addDeletedItemListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addDeletedItemListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the DeletedItem event that occurs when an item has been deleted interactively by this * mode. * @param listener The listener to remove. * @see yfiles.input.TableEditorInputMode#addDeletedItemListener */ - removeDeletedItemListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeDeletedItemListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the DeletedSelection event that occurs just before the {@link yfiles.input.TableEditorInputMode#deleteSelection} * method has deleted the selection after all selected items have been removed. @@ -43118,7 +43430,7 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#deleteSelection * @see yfiles.input.TableEditorInputMode#removeDeletedSelectionListener */ - addDeletedSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + addDeletedSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Removes the given listener for the DeletedSelection event that occurs just before the {@link yfiles.input.TableEditorInputMode#deleteSelection} * method has deleted the selection after all selected items have been removed. @@ -43126,7 +43438,7 @@ declare namespace yfiles{ * @see yfiles.input.TableEditorInputMode#deleteSelection * @see yfiles.input.TableEditorInputMode#addDeletedSelectionListener */ - removeDeletedSelectionListener(listener:(sender:Object,evt:yfiles.input.SelectionEventArgs)=>void):void; + removeDeletedSelectionListener(listener:(sender:any,evt:yfiles.input.SelectionEventArgs)=>void):void; /** * Gets or set a property that determines which types of items may be deleted using the {@link yfiles.input.TableEditorInputMode#deleteSelection} * action. @@ -43186,9 +43498,9 @@ declare namespace yfiles{ * {@link yfiles.input.KeyEventRecognizers#META_PRESSED}. If the {@link yfiles.input.TableEditorInputMode} instance is installed as child * mode of a {@link yfiles.input.GraphEditorInputMode} instance, the value of {@link yfiles.input.GraphInputMode#multiSelectionRecognizer} is used instead. *

    - * @type {function(Object, yfiles.lang.EventArgs): boolean} + * @type {function(any, yfiles.lang.EventArgs): boolean} */ - multiSelectionRecognizer:(eventSource:Object,evt:yfiles.lang.EventArgs)=>boolean; + multiSelectionRecognizer:(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean; /** * Gets or sets clicks on which {@link yfiles.input.StripeSubregionTypes}(s) should toggle a stripe selection state. *

    @@ -43212,7 +43524,7 @@ declare namespace yfiles{ */ synchronizeWithGraphSelection:boolean; /** - * Whether to allow mixed selections of graph elements and table elements + * Gets or sets whether to allow mixed selections of graph elements and table elements *

    * Default is true. Changing this property only has an effetc if {@link yfiles.input.TableEditorInputMode#synchronizeWithGraphSelection} is enabled. *

    @@ -43220,11 +43532,12 @@ declare namespace yfiles{ */ allowMixedSelection:boolean; /** - * Returns the {@link yfiles.view.IStripeSelection selected stripes} + * Gets the {@link yfiles.view.IStripeSelection selected stripes} * @type {yfiles.view.IStripeSelection} */ stripeSelection:yfiles.view.IStripeSelection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TableEditorInputMode; } /** * {@link yfiles.input.IReshapeHandler} implementation that constrains node resizes so that minimum size constraints of an @@ -43237,7 +43550,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IReshapeHandler} */ - export interface TableReshapeHandler extends Object,yfiles.input.IReshapeHandler{} + export interface TableReshapeHandler extends yfiles.lang.Object,yfiles.input.IReshapeHandler{} export class TableReshapeHandler { /** * Creates a new instance of this Handler which wraps an existing instance of coreHandler and uses table for additional @@ -43279,17 +43592,17 @@ declare namespace yfiles{ */ reshapeFinished(context:yfiles.input.IInputModeContext,originalBounds:yfiles.geometry.Rect,newBounds:yfiles.geometry.Rect):void; /** - * The core reshape handler wrapped by this instance. + * Gets the core reshape handler wrapped by this instance. * @type {yfiles.input.IReshapeHandler} */ coreHandler:yfiles.input.IReshapeHandler; /** - * The node this handler is used for. + * Gets the node this handler is used for. * @type {yfiles.graph.INode} */ tableNode:yfiles.graph.INode; /** - * The table used for additional constraints. + * Gets the table used for additional constraints. * @type {yfiles.graph.ITable} */ table:yfiles.graph.ITable; @@ -43299,6 +43612,7 @@ declare namespace yfiles{ */ bounds:yfiles.geometry.IRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.TableReshapeHandler; } export enum StripeReparentPolicy{ /** @@ -43327,7 +43641,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IStripeHitTestHelper extends Object{ + export interface IStripeHitTestHelper extends yfiles.lang.Object{ /** * Return a {@link yfiles.input.IHitTestable} that should report hits on the far border region of the stripe. *

    @@ -43391,7 +43705,7 @@ declare namespace yfiles{ } var IStripeHitTestHelper:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IStripeHitTestHelper; }; export enum StripeSubregionTypes{ /** @@ -43465,7 +43779,7 @@ declare namespace yfiles{ * @class * @final */ - export interface StripeSubregion extends Object{} + export interface StripeSubregion extends yfiles.lang.Object{} export class StripeSubregion { /** * Create a new instance that describes the specific subregion. @@ -43485,10 +43799,16 @@ declare namespace yfiles{ stripe:yfiles.graph.IStripe; /** * Gets or sets the node the region is associated to. + *

    + * This property is not null only is this instance was returned by + * {@link yfiles.input.ReparentStripePositionHandler#getTargetSubregion}. Otherwise, especially if this instance was returned by + * {@link yfiles.graph.ITable#findStripe}, it is null. In this case, you can get the table from the {@link yfiles.input.StripeSubregion#stripe} of this instance. + *

    * @type {yfiles.graph.INode} */ targetTableNode:yfiles.graph.INode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.StripeSubregion; } /** * Default implementation of {@link yfiles.input.IStripeInputVisualizationHelper} that uses @@ -43501,7 +43821,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.input.IStripeInputVisualizationHelper} */ - export interface DefaultStripeInputVisualizationHelper extends Object,yfiles.input.IStripeInputVisualizationHelper{} + export interface DefaultStripeInputVisualizationHelper extends yfiles.lang.Object,yfiles.input.IStripeInputVisualizationHelper{} export class DefaultStripeInputVisualizationHelper { /** * Default constructor @@ -43541,7 +43861,7 @@ declare namespace yfiles{ */ static RESIZE_STRIPE_TEMPLATE_KEY:string; /** - * {@link yfiles.view.IVisualTemplate} that is used to visualize the current stripe resize operation. + * Gets or sets the {@link yfiles.view.IVisualTemplate} that is used to visualize the current stripe resize operation. *

    * This template is used for {@link yfiles.input.StripeVisualizationType#RESIZE} *

    @@ -43562,7 +43882,7 @@ declare namespace yfiles{ */ static SELECTED_STRIPE_TEMPLATE_KEY:string; /** - * {@link yfiles.view.IVisualTemplate} that is used to visualize the current stripe resize operation. + * Gets or sets the {@link yfiles.view.IVisualTemplate} that is used to visualize the current stripe selection operation. *

    * This template is used for {@link yfiles.input.StripeVisualizationType#SELECTION} *

    @@ -43583,7 +43903,8 @@ declare namespace yfiles{ */ static DRAG_SOURCE_STRIPE_TEMPLATE_KEY:string; /** - * {@link yfiles.view.IVisualTemplate} that is used to visualize the current source of a stripe reparent operation. + * Gets or sets the {@link yfiles.view.IVisualTemplate} that is used to visualize the current source of a stripe reparent + * operation. *

    * This template is used for {@link yfiles.input.StripeVisualizationType#DRAG_SOURCE} *

    @@ -43604,7 +43925,8 @@ declare namespace yfiles{ */ static DROP_TARGET_STRIPE_TEMPLATE_KEY:string; /** - * {@link yfiles.view.IVisualTemplate} that is used to visualize the current target of a stripe reparent operation. + * Gets or sets the {@link yfiles.view.IVisualTemplate} that is used to visualize the current target of a stripe reparent + * operation. *

    * This template is used for {@link yfiles.input.StripeVisualizationType#DROP_TARGET} *

    @@ -43613,6 +43935,7 @@ declare namespace yfiles{ */ dropTargetStripeTemplate:yfiles.view.IVisualTemplate; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.DefaultStripeInputVisualizationHelper; } export enum StripeVisualizationType{ /** @@ -43643,7 +43966,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IStripeInputVisualizationHelper extends Object{ + export interface IStripeInputVisualizationHelper extends yfiles.lang.Object{ /** * Return an {@link yfiles.view.IVisualCreator} that is used to visualize the input operation specified by type. * @param context The input mode context which provides further information. @@ -43656,13 +43979,13 @@ declare namespace yfiles{ } var IStripeInputVisualizationHelper:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.input.IStripeInputVisualizationHelper; }; /** * Support class that allows to iterate over hits on table elements or subregions of table elements. * @class */ - export interface StripeHitTester extends Object{} + export interface StripeHitTester extends yfiles.lang.Object{} export class StripeHitTester { /** * Create a new instance for a specific table instance that use the order specified by tableRenderingOrder to determine the @@ -43694,11 +44017,12 @@ declare namespace yfiles{ */ enumerateHits(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point,node:yfiles.graph.INode):yfiles.collections.IEnumerable; /** - * Return the hit test order that is currently used by this instance + * Gets the hit test order that is currently used by this instance * @type {yfiles.styles.TableRenderingOrder} */ tableRenderingOrder:yfiles.styles.TableRenderingOrder; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.input.StripeHitTester; } }export namespace graph{ /** @@ -43718,11 +44042,11 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.graph.ITagOwner} */ - export interface IModelItem extends Object,yfiles.graph.ILookup,yfiles.graph.ITagOwner{ + export interface IModelItem extends yfiles.lang.Object,yfiles.graph.ILookup,yfiles.graph.ITagOwner{ } var IModelItem:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IModelItem; }; /** * An implementation of the {@link yfiles.graph.IPortLocationModel} that can create {@link yfiles.graph.IPortLocationModelParameter}s that @@ -43731,7 +44055,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.IPortLocationModel} * @final */ - export interface BendAnchoredPortLocationModel extends Object,yfiles.graph.IPortLocationModel{} + export interface BendAnchoredPortLocationModel extends yfiles.lang.Object,yfiles.graph.IPortLocationModel{} export class BendAnchoredPortLocationModel { /** * Creates a parameter that indicates the location of the bend with index bendIndex starting from the source side. @@ -43771,7 +44095,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A static immutable global instance of this class. * @const @@ -43796,6 +44120,7 @@ declare namespace yfiles{ */ static LAST_BEND:yfiles.graph.IPortLocationModelParameter; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.BendAnchoredPortLocationModel; } /** * An implementation of {@link yfiles.graph.ILabelModel} that can be used to create custom label models out of existing {@link yfiles.graph.ILabelModel} @@ -43809,7 +44134,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModelParameterProvider} * @implements {yfiles.graph.ILabelModelParameterFinder} */ - export interface CompositeLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelModelParameterFinder{} + export interface CompositeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelModelParameterFinder{} export class CompositeLabelModel { /** * Creates a new instance of this label model with an empty {@link yfiles.graph.CompositeLabelModel#labelModels} collection. @@ -43865,13 +44190,14 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets a list of {@link yfiles.graph.ILabelModel} implementations that are wrapped by this instance. * @type {yfiles.collections.IList.} */ labelModels:yfiles.collections.IList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.CompositeLabelModel; } /** * A simple mutable implementation of the {@link yfiles.graph.IBend} interface that can be used stand-alone. @@ -43886,7 +44212,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IBend} */ - export interface SimpleBend extends Object,yfiles.graph.IBend{} + export interface SimpleBend extends yfiles.lang.Object,yfiles.graph.IBend{} export class SimpleBend { /** * Initializes a new instance of the {@link yfiles.graph.SimpleBend} class using the given owner and location. @@ -43899,7 +44225,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the edge this bend instance belongs to. *

    @@ -43933,15 +44259,16 @@ declare namespace yfiles{ y:number; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** * Gets or sets the {@link yfiles.graph.ILookup} implementation used for calls to {@link yfiles.graph.SimpleBend#lookup} on this instance. * @type {yfiles.graph.ILookup} */ lookupImplementation:yfiles.graph.ILookup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SimpleBend; } /** * A simple mutable implementation of the {@link yfiles.graph.IEdge} interface that can be used stand-alone. @@ -43956,7 +44283,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IEdge} */ - export interface SimpleEdge extends Object,yfiles.graph.IEdge{} + export interface SimpleEdge extends yfiles.lang.Object,yfiles.graph.IEdge{} export class SimpleEdge { /** * Creates an edge with a {@link yfiles.graph.DefaultGraph#DEFAULT_EDGE_LOOKUP default lookup}, and the given source and target ports. @@ -43973,7 +44300,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the style that is responsible for the visual representation of this edge in a {@link yfiles.view.CanvasComponent}. *

    @@ -44019,15 +44346,16 @@ declare namespace yfiles{ labels:yfiles.collections.IListEnumerable; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** * Gets or sets the {@link yfiles.graph.ILookup} implementation used for calls to {@link yfiles.graph.SimpleEdge#lookup} on this instance. * @type {yfiles.graph.ILookup} */ lookupImplementation:yfiles.graph.ILookup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SimpleEdge; } /** * Central implementation of the {@link yfiles.graph.IGraph} interface. @@ -44059,7 +44387,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IGraph} */ - export interface DefaultGraph extends Object,yfiles.graph.IGraph{} + export interface DefaultGraph extends yfiles.lang.Object,yfiles.graph.IGraph{} export class DefaultGraph { /** * Creates a new instance of a graph that provides an {@link yfiles.graph.ILookupDecorator} for all of its entities. @@ -44096,7 +44424,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - addLabel(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:Object):yfiles.graph.ILabel; + addLabel(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:any):yfiles.graph.ILabel; /** * * @param {Object} options The parameters to pass. @@ -44125,7 +44453,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} If owner is not in this graph. * @see yfiles.graph.DefaultGraph#addPortAddedListener */ - addPort(owner:yfiles.graph.IPortOwner,locationParameter?:yfiles.graph.IPortLocationModelParameter,style?:yfiles.styles.IPortStyle,tag?:Object):yfiles.graph.IPort; + addPort(owner:yfiles.graph.IPortOwner,locationParameter?:yfiles.graph.IPortLocationModelParameter,style?:yfiles.styles.IPortStyle,tag?:any):yfiles.graph.IPort; /** * Add a port to the given port owner using the coordinates as the new initial position of the port anchor. * @param {Object} options The parameters to pass. @@ -44153,7 +44481,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createEdge(sourcePort:yfiles.graph.IPort,targetPort:yfiles.graph.IPort,style?:yfiles.styles.IEdgeStyle,tag?:Object):yfiles.graph.IEdge; + createEdge(sourcePort:yfiles.graph.IPort,targetPort:yfiles.graph.IPort,style?:yfiles.styles.IEdgeStyle,tag?:any):yfiles.graph.IEdge; /** * * @param {Object} options The parameters to pass. @@ -44185,7 +44513,7 @@ declare namespace yfiles{ * @see yfiles.graph.DefaultGraph#getNewTargetPort * @see yfiles.graph.DefaultGraph#createEdge */ - createEdge(source:yfiles.graph.INode,target:yfiles.graph.INode,style?:yfiles.styles.IEdgeStyle,tag?:Object):yfiles.graph.IEdge; + createEdge(source:yfiles.graph.INode,target:yfiles.graph.INode,style?:yfiles.styles.IEdgeStyle,tag?:any):yfiles.graph.IEdge; /** * Convenience method that creates and returns an edge that connects to the given node instances using the given style * instance. @@ -44217,7 +44545,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createGroupNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createGroupNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * * @param {Object} options The parameters to pass. @@ -44235,7 +44563,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createNode(layout:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNode(layout:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * * @param {Object} options The parameters to pass. @@ -44253,7 +44581,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * * @param {Object} options The parameters to pass. @@ -44432,7 +44760,7 @@ declare namespace yfiles{ * @returns * @protected */ - innerLookup(type:yfiles.lang.Class):Object; + innerLookup(type:yfiles.lang.Class):any; /** * Triggers the {@link yfiles.graph.DefaultGraph#addDisplaysInvalidatedListener DisplaysInvalidated} event. *

    @@ -44461,7 +44789,7 @@ declare namespace yfiles{ * @param type the type for which an instance shall be returned * @returns An instance that is assignable to type or null */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Callback that is invoked before a bend is added to this graph's structure. * @param edge The edge the bend will be added to. @@ -44530,7 +44858,7 @@ declare namespace yfiles{ * @param oldTag The bend tag before the change * @protected */ - onBendTagChanged(bend:yfiles.graph.IBend,oldTag:Object):void; + onBendTagChanged(bend:yfiles.graph.IBend,oldTag:any):void; /** * Callback that is invoked before the ports of an edge are being changed. * @param edge An edge whose the ports are to be changed. @@ -44551,7 +44879,7 @@ declare namespace yfiles{ * @param newTag The new port tag * @protected */ - onChangingGraphTag(newTag:Object):void; + onChangingGraphTag(newTag:any):void; /** * Callback that is invoked before the {@link yfiles.graph.ILabel#layoutParameter} of a label is being changed. * @param label A label whose {@link #layoutParameter} is to be changed. @@ -44681,13 +45009,13 @@ declare namespace yfiles{ * @param oldTag The edge tag before the change. * @protected */ - onEdgeTagChanged(edge:yfiles.graph.IEdge,oldTag:Object):void; + onEdgeTagChanged(edge:yfiles.graph.IEdge,oldTag:any):void; /** * Callback that triggers the {@link yfiles.graph.DefaultGraph#addGraphTagChangedListener GraphTagChanged} event. * @param oldTag The graph tag before the change. * @protected */ - onGraphTagChanged(oldTag:Object):void; + onGraphTagChanged(oldTag:any):void; /** * Triggers the {@link yfiles.graph.DefaultGraph#addDisplaysInvalidatedListener DisplaysInvalidated} event. * @param evt The event arguments. @@ -44731,7 +45059,7 @@ declare namespace yfiles{ * @param label The label whose tag has changed. * @param oldTag The label tag before the change */ - onLabelTagChanged(label:yfiles.graph.ILabel,oldTag:Object):void; + onLabelTagChanged(label:yfiles.graph.ILabel,oldTag:any):void; /** * Callback that is invoked after a label text has changed. *

    @@ -44806,7 +45134,7 @@ declare namespace yfiles{ * @param oldTag The node tag before the change * @protected */ - onNodeTagChanged(node:yfiles.graph.INode,oldTag:Object):void; + onNodeTagChanged(node:yfiles.graph.INode,oldTag:any):void; /** * Called when a port has been added to a node. *

    @@ -44855,7 +45183,7 @@ declare namespace yfiles{ * @param oldTag The port tag before the change * @protected */ - onPortTagChanged(port:yfiles.graph.IPort,oldTag:Object):void; + onPortTagChanged(port:yfiles.graph.IPort,oldTag:any):void; /** * Callback method that is invoked just before a bend is removed. * @param bend The bend that will be removed. @@ -45138,282 +45466,282 @@ declare namespace yfiles{ * * @param listener */ - addGraphTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addGraphTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeGraphTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeGraphTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addNodeRemovedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addNodeRemovedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - removeNodeRemovedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeNodeRemovedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - addNodeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addNodeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeNodeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeNodeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addNodeLayoutChangedListener(listener:(source:Object,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; + addNodeLayoutChangedListener(listener:(source:any,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; /** * * @param listener */ - removeNodeLayoutChangedListener(listener:(source:Object,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; + removeNodeLayoutChangedListener(listener:(source:any,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; /** * * @param listener */ - addNodeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addNodeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeNodeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeNodeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addEdgeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addEdgeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeEdgeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeEdgeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addEdgeRemovedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgeRemovedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - removeEdgeRemovedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgeRemovedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - addEdgeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addEdgeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeEdgeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeEdgeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - removeEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - addEdgeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addEdgeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeEdgeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeEdgeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addBendAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addBendAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeBendAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeBendAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addBendRemovedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + addBendRemovedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * * @param listener */ - removeBendRemovedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + removeBendRemovedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * * @param listener */ - addBendLocationChangedListener(listener:(source:Object,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; + addBendLocationChangedListener(listener:(source:any,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; /** * * @param listener */ - removeBendLocationChangedListener(listener:(source:Object,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; + removeBendLocationChangedListener(listener:(source:any,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; /** * * @param listener */ - addBendTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addBendTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeBendTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeBendTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * * @param listener */ - removeLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * * @param listener */ - addLabelStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelPreferredSizeChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelPreferredSizeChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelPreferredSizeChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelPreferredSizeChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelLayoutParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelLayoutParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelLayoutParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelLayoutParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addPortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addPortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removePortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removePortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addPortRemovedListener(listener:(sender:Object,evt:yfiles.graph.PortEventArgs)=>void):void; + addPortRemovedListener(listener:(sender:any,evt:yfiles.graph.PortEventArgs)=>void):void; /** * * @param listener */ - removePortRemovedListener(listener:(sender:Object,evt:yfiles.graph.PortEventArgs)=>void):void; + removePortRemovedListener(listener:(sender:any,evt:yfiles.graph.PortEventArgs)=>void):void; /** * * @param listener */ - addPortStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removePortStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addPortLocationParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortLocationParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removePortLocationParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortLocationParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addPortTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removePortTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addDisplaysInvalidatedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addDisplaysInvalidatedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * * @param listener */ - removeDisplaysInvalidatedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeDisplaysInvalidatedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * * @type {yfiles.graph.INodeDefaults} @@ -45423,28 +45751,29 @@ declare namespace yfiles{ * * @param listener */ - addParentChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addParentChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - removeParentChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeParentChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - addIsGroupNodeChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addIsGroupNodeChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - removeIsGroupNodeChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeIsGroupNodeChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.DefaultGraph; } /** * A simple mutable implementation of the {@link yfiles.graph.ILabel} interface that can be used stand-alone. @@ -45459,7 +45788,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.ILabel} */ - export interface SimpleLabel extends Object,yfiles.graph.ILabel{} + export interface SimpleLabel extends yfiles.lang.Object,yfiles.graph.ILabel{} export class SimpleLabel { /** * Creates an instance of the {@link yfiles.graph.SimpleLabel} class with default {@link yfiles.graph.DefaultGraph#DEFAULT_LABEL_LOOKUP lookup}, an instance of {@link yfiles.styles.VoidLabelStyle} @@ -45478,7 +45807,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the label model's parameter that determines the positioning of this label. *

    @@ -45528,9 +45857,9 @@ declare namespace yfiles{ preferredSize:yfiles.geometry.Size; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** * Gets or sets the {@link yfiles.graph.ILookup} implementation used for calls to {@link yfiles.graph.SimpleLabel#lookup} on this * instance. @@ -45538,6 +45867,7 @@ declare namespace yfiles{ */ lookupImplementation:yfiles.graph.ILookup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SimpleLabel; } /** * A simple mutable implementation of the {@link yfiles.graph.INode} interface that can be used stand-alone. @@ -45554,7 +45884,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.INode} */ - export interface SimpleNode extends Object,yfiles.graph.INode{} + export interface SimpleNode extends yfiles.lang.Object,yfiles.graph.INode{} export class SimpleNode { /** * Creates a default node with default {@link yfiles.graph.DefaultGraph#DEFAULT_NODE_LOOKUP lookup}, an instance of {@link yfiles.styles.VoidNodeStyle}, empty {@link yfiles.graph.SimpleNode#layout} and no labels or ports. @@ -45569,7 +45899,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the layout of the node. *

    @@ -45601,15 +45931,16 @@ declare namespace yfiles{ labels:yfiles.collections.IListEnumerable; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** * Gets or sets the {@link yfiles.graph.ILookup} implementation used for calls to {@link yfiles.graph.SimpleNode#lookup} on this instance. * @type {yfiles.graph.ILookup} */ lookupImplementation:yfiles.graph.ILookup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SimpleNode; } /** * A simple mutable implementation of the {@link yfiles.graph.IPort} interface that can be used stand-alone. @@ -45624,7 +45955,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IPort} */ - export interface SimplePort extends Object,yfiles.graph.IPort{} + export interface SimplePort extends yfiles.lang.Object,yfiles.graph.IPort{} export class SimplePort { /** * Creates a port with a {@link yfiles.graph.DefaultGraph#DEFAULT_PORT_LOOKUP default lookup} using the given location and owner. @@ -45641,7 +45972,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Sets the location of this port. * @param location @@ -45679,15 +46010,16 @@ declare namespace yfiles{ owner:yfiles.graph.IPortOwner; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; /** * Gets or sets the {@link yfiles.graph.ILookup} implementation used for calls to {@link yfiles.graph.SimplePort#lookup} on this instance. * @type {yfiles.graph.ILookup} */ lookupImplementation:yfiles.graph.ILookup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SimplePort; } /** * A label model that wraps an existing label model and decorates it with a {@link yfiles.graph.ILabelCandidateDescriptor descriptor}. @@ -45696,7 +46028,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelCandidateDescriptorProvider} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface DescriptorWrapperLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelCandidateDescriptorProvider,yfiles.graph.ILabelModelParameterProvider{} + export interface DescriptorWrapperLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelCandidateDescriptorProvider,yfiles.graph.ILabelModelParameterProvider{} export class DescriptorWrapperLabelModel { /** * Initializes a new instance of the {@link yfiles.graph.DescriptorWrapperLabelModel} class. @@ -45764,7 +46096,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the descriptor. * @type {yfiles.graph.ILabelCandidateDescriptor} @@ -45776,6 +46108,7 @@ declare namespace yfiles{ */ innerModel:yfiles.graph.ILabelModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.DescriptorWrapperLabelModel; } /** * A data holder that can be used to describe a {@link yfiles.graph.IFoldingView#isInFoldingState folding} edge that connects to nodes inside a collapsed group or to other @@ -45795,7 +46128,7 @@ declare namespace yfiles{ * @see yfiles.graph.IFoldingView#isInFoldingState * @class */ - export interface FoldingEdgeStateId extends Object{} + export interface FoldingEdgeStateId extends yfiles.lang.Object{} export class FoldingEdgeStateId { /** * Initializes an id for a folding edge in a {@link yfiles.graph.IFoldingView view} that represent a master edge and connects a specific pair of nodes. @@ -45818,12 +46151,12 @@ declare namespace yfiles{ */ constructor(foldingView:yfiles.graph.IFoldingView,foldingEdge:yfiles.graph.IEdge); /** - * The edge instance in the {@link yfiles.graph.FoldingManager#masterGraph} that is represented by the folding edge in a view. + * Gets the edge instance in the {@link yfiles.graph.FoldingManager#masterGraph} that is represented by the folding edge in a view. * @type {yfiles.graph.IEdge} */ masterEdge:yfiles.graph.IEdge; /** - * The source node of the edge or an ancestor (both in the {@link yfiles.graph.FoldingManager#masterGraph}). + * Gets the source node of the edge or an ancestor (both in the {@link yfiles.graph.FoldingManager#masterGraph}). *

    * This may be an ancestor of the true source node if this ancestor is {@link yfiles.graph.IFoldingView#collapse collapsed}. More specific it is the source node of * the {@link yfiles.graph.FoldingEdgeStateId#masterEdge} if the source node is represented in the view and otherwise the first ancestor of the source node which is @@ -45833,7 +46166,7 @@ declare namespace yfiles{ */ currentMasterSource:yfiles.graph.INode; /** - * The target node of the edge or an ancestor (both in the {@link yfiles.graph.FoldingManager#masterGraph}). + * Gets the target node of the edge or an ancestor (both in the {@link yfiles.graph.FoldingManager#masterGraph}). *

    * This may be an ancestor of the true target node if this ancestor is {@link yfiles.graph.IFoldingView#collapse collapsed}. More precisely it is the target node of * the {@link yfiles.graph.FoldingEdgeStateId#masterEdge} if the target node is represented in the view and otherwise the first ancestor of the target node which is @@ -45843,7 +46176,7 @@ declare namespace yfiles{ */ currentMasterTarget:yfiles.graph.INode; /** - * Specifies whether the {@link yfiles.graph.FoldingEdgeStateId#currentMasterSource} node {@link yfiles.graph.IFoldingView#isInFoldingState is in folder state}. + * Gets whether the {@link yfiles.graph.FoldingEdgeStateId#currentMasterSource} node {@link yfiles.graph.IFoldingView#isInFoldingState is in folder state}. *

    * Since an edge will be converted to a folding edge if the adjacent node itself will be {@link yfiles.graph.IFoldingView#collapse collapsed} to a folder node, this * property determines which state the source node is in for this folding edge. @@ -45852,7 +46185,7 @@ declare namespace yfiles{ */ sourceIsCollapsed:boolean; /** - * Specifies whether the {@link yfiles.graph.FoldingEdgeStateId#currentMasterTarget} node {@link yfiles.graph.IFoldingView#isInFoldingState is in folder state}. + * Gets whether the {@link yfiles.graph.FoldingEdgeStateId#currentMasterTarget} node {@link yfiles.graph.IFoldingView#isInFoldingState is in folder state}. *

    * Since an edge will be converted to a folding edge if the adjacent node itself will be {@link yfiles.graph.IFoldingView#collapse collapsed} to a folder node, this * property determines which state the source node is in for this folding edge. @@ -45861,6 +46194,7 @@ declare namespace yfiles{ */ targetIsCollapsed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingEdgeStateId; } /** * An edge label model that allows placement of labels along the edge path at a set of continuous positions at specified @@ -45884,7 +46218,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModelParameterProvider} * @implements {yfiles.graph.ILabelModelParameterFinder} */ - export interface EdgePathLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelModelParameterFinder{} + export interface EdgePathLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelModelParameterFinder{} export class EdgePathLabelModel { /** * Initializes a new instance of the {@link yfiles.graph.EdgePathLabelModel} class. @@ -45910,7 +46244,7 @@ declare namespace yfiles{ *

    * This option sets the {@link yfiles.graph.EdgePathLabelModel#distance} property on the created object. *

    - * @param {number} options.offset Pr sets the offset of the label box and the edge path relative to the default placement. + * @param {number} options.offset The offset of the label box and the edge path relative to the default placement. *

    * This option sets the {@link yfiles.graph.EdgePathLabelModel#offset} property on the created object. *

    @@ -45948,7 +46282,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the side placement specifiers for edge labels. *

    @@ -45977,7 +46311,7 @@ declare namespace yfiles{ */ distance:number; /** - * Gets pr sets the offset of the label box and the edge path relative to the default placement. + * Gets or sets the offset of the label box and the edge path relative to the default placement. *

    * For {@link yfiles.graph.EdgeSides#ON_EDGE} this is the offset between the center of the label box and the edge path. For all * other {@link yfiles.graph.EdgeSides} values this offset is added to the {@link yfiles.graph.EdgePathLabelModel#distance} property which results in the total distance between @@ -46006,6 +46340,7 @@ declare namespace yfiles{ */ angle:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.EdgePathLabelModel; } /** * An edge label model that allows placement of labels relative to an edge segment at a set of continuous positions at @@ -46029,7 +46364,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModelParameterProvider} * @implements {yfiles.graph.ILabelModelParameterFinder} */ - export interface EdgeSegmentLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelModelParameterFinder{} + export interface EdgeSegmentLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelModelParameterFinder{} export class EdgeSegmentLabelModel { /** * Initializes a new instance of the {@link yfiles.graph.EdgeSegmentLabelModel} class. @@ -46114,7 +46449,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets the side placement specifiers for edge labels. *

    @@ -46172,6 +46507,7 @@ declare namespace yfiles{ */ angle:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.EdgeSegmentLabelModel; } export enum EdgeSides{ /** @@ -46254,7 +46590,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface ExteriorLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface ExteriorLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class ExteriorLabelModel { /** * Creates a new instance of this model @@ -46302,7 +46638,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -46394,6 +46730,7 @@ declare namespace yfiles{ */ insets:yfiles.geometry.Insets; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.ExteriorLabelModel; } /** * An {@link yfiles.graph.IGraph} that contains a live subgraph of another {@link yfiles.graph.IGraph}. @@ -46483,6 +46820,7 @@ declare namespace yfiles{ */ ports:yfiles.collections.IListEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FilteredGraphWrapper; } /** * An edge label model that can be used to describe any position and orientation of a label. @@ -46493,7 +46831,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModelParameterFinder} * @implements {yfiles.graph.ILabelModel} */ - export interface FreeEdgeLabelModel extends Object,yfiles.graph.ILabelModelParameterFinder,yfiles.graph.ILabelModel{} + export interface FreeEdgeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModelParameterFinder,yfiles.graph.ILabelModel{} export class FreeEdgeLabelModel { /** * @@ -46540,7 +46878,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets a property that indicates whether the angle used by the {@link yfiles.graph.FreeEdgeLabelModel#createEdgeAnchored parameter} should be interpreted relative to the * edge's orientation or as an absolute angle in the coordinate system. @@ -46559,6 +46897,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graph.FreeEdgeLabelModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FreeEdgeLabelModel; } /** * A label model that can be used to describe any position and orientation of a label. @@ -46570,7 +46909,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModelParameterFinder} * @implements {yfiles.graph.ILabelModel} */ - export interface FreeLabelModel extends Object,yfiles.graph.ILabelModelParameterFinder,yfiles.graph.ILabelModel{} + export interface FreeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModelParameterFinder,yfiles.graph.ILabelModel{} export class FreeLabelModel { /** * Creates a new label model parameter that places the label at the given absolute position using the provided angle. @@ -46616,7 +46955,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A shared public instance that can be used to obtain parameters. * @const @@ -46625,6 +46964,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graph.FreeLabelModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FreeLabelModel; } /** * This node label model can be used to specify any position and orientation of a label. @@ -46635,7 +46975,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterFinder} */ - export interface FreeNodeLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterFinder{} + export interface FreeNodeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterFinder{} export class FreeNodeLabelModel { /** * Creates a parameter instance that anchors the label to the node at the canonical position with respect to the given @@ -46668,10 +47008,12 @@ declare namespace yfiles{ * The parameter will use the ratio and offset values to determine a point on both the label and the node. It will place * the label in such a way that both points coincide. *

    - * @param layoutRatio The ratio that describes the point on the node's layout relative to its size. - * @param layoutOffset The offset to apply to the point on the node after the ratio has been determined. - * @param labelRatio The ratio that describes the point on the label's layout relative to its size. - * @param labelOffset The offset to apply to the point on the label after the ratio has been determined. + * @param layoutRatio The ratio that describes the point on the node's layout relative to its upper-left corner. A value of (0,0) describes + * the upper-left corner, while (1,1) is the lower-right corner. + * @param layoutOffset The absolute offset to apply to the point on the node after the ratio has been determined. + * @param labelRatio The ratio that describes the point on the label's layout relative to its upper-left corner. A value of (0,0) describes + * the upper-left corner, while (1,1) is the lower-right corner. + * @param labelOffset The absolute offset to apply to the point on the label after the ratio has been determined. * @param angle The angle by which the label should be rotated around the point described using the ratio and offset, measured in * radians. * @returns A parameter that exactly fits the described location. @@ -46707,7 +47049,7 @@ declare namespace yfiles{ * @param type The type for which an instance is requested. * @returns An instance that is assignable to the given type or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A shared public instance that can be used to obtain parameters. * @const @@ -46716,6 +47058,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graph.FreeNodeLabelModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FreeNodeLabelModel; } /** * A straightforward implementation of an {@link yfiles.graph.IPortLocationModel} for {@link yfiles.graph.IPort}s at {@link yfiles.graph.INode}s @@ -46728,7 +47071,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.IPortLocationModel} * @final */ - export interface FreeNodePortLocationModel extends Object,yfiles.graph.IPortLocationModel{} + export interface FreeNodePortLocationModel extends yfiles.lang.Object,yfiles.graph.IPortLocationModel{} export class FreeNodePortLocationModel { /** * @@ -46767,7 +47110,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A read only immutable instance of the {@link yfiles.graph.FreeNodePortLocationModel}. * @const @@ -46874,6 +47217,7 @@ declare namespace yfiles{ */ static NODE_BOTTOM_LEFT_ANCHORED:yfiles.graph.IPortLocationModelParameter; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FreeNodePortLocationModel; } /** * An implementation of {@link yfiles.graph.ILabelModel} that can be used to create custom label models out of existing {@link yfiles.graph.ILabelModelParameter} @@ -46888,7 +47232,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelCandidateDescriptorProvider} * @implements {yfiles.graphml.IMarkupExtensionConverter} */ - export interface GenericLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelCandidateDescriptorProvider,yfiles.graphml.IMarkupExtensionConverter{} + export interface GenericLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider,yfiles.graph.ILabelCandidateDescriptorProvider,yfiles.graphml.IMarkupExtensionConverter{} export class GenericLabelModel { /** * Create a new generic label model using the provided parameter as the {@link yfiles.graph.GenericLabelModel#createDefaultParameter default parameter.} @@ -46939,8 +47283,9 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GenericLabelModel; } /** * An implementation of {@link yfiles.graph.IPortLocationModel} that can be used to create custom port location models out of @@ -46961,7 +47306,7 @@ declare namespace yfiles{ * @implements {yfiles.graphml.IMarkupExtensionConverter} * @final */ - export interface GenericPortLocationModel extends Object,yfiles.graph.IPortLocationModel,yfiles.collections.IEnumerable,yfiles.graphml.IMarkupExtensionConverter{} + export interface GenericPortLocationModel extends yfiles.lang.Object,yfiles.graph.IPortLocationModel,yfiles.collections.IEnumerable,yfiles.graphml.IMarkupExtensionConverter{} export class GenericPortLocationModel { /** * Initializes a new instance of the {@link yfiles.graph.GenericPortLocationModel} class. @@ -47020,7 +47365,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets all parameters that are associated with this instance. *

    @@ -47031,6 +47376,7 @@ declare namespace yfiles{ */ locationParameters:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GenericPortLocationModel; } /** * This interface can be used to customize the clipboard behavior for individual {@link yfiles.graph.IModelItem}s. @@ -47048,7 +47394,7 @@ declare namespace yfiles{ * * @interface */ - export interface IClipboardHelper extends Object{ + export interface IClipboardHelper extends yfiles.lang.Object{ /** * This method is called during the copy operation of the given item to retrieve additional state that can be later used * during a {@link yfiles.graph.IClipboardHelper#paste} operation. @@ -47060,7 +47406,7 @@ declare namespace yfiles{ * @returns A custom user object that will later be provided to {@link #paste}. * @abstract */ - copy(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem):Object; + copy(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem):any; /** * This method is called during the cut operation of the given item to retrieve additional state that can be later used * during a {@link yfiles.graph.IClipboardHelper#paste} operation. @@ -47072,7 +47418,7 @@ declare namespace yfiles{ * @returns A custom user object that will later be provided to {@link #paste}. * @abstract */ - cut(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem):Object; + cut(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem):any; /** * This method is called after the item has been pasted from the clipboard. *

    @@ -47084,7 +47430,7 @@ declare namespace yfiles{ * respectively. * @abstract */ - paste(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem,userData:Object):void; + paste(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem,userData:any):void; /** * Determines whether the given item can or should be copied to the clipboard. *

    @@ -47122,11 +47468,11 @@ declare namespace yfiles{ * @returns Whether this item should be pasted. * @abstract */ - shouldPaste(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem,userData:Object):boolean; + shouldPaste(context:yfiles.graph.IGraphClipboardContext,item:yfiles.graph.IModelItem,userData:any):boolean; } var IClipboardHelper:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IClipboardHelper; }; /** * The interface for the context that is passed by the {@link yfiles.graph.GraphClipboard} implementation to the {@link yfiles.graph.IClipboardHelper} @@ -47134,7 +47480,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface IGraphClipboardContext extends Object,yfiles.graph.ILookup{ + export interface IGraphClipboardContext extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Gets the clipboard that created this context and is used during the current operation. * @abstract @@ -47156,7 +47502,7 @@ declare namespace yfiles{ } var IGraphClipboardContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IGraphClipboardContext; }; /** * Used by the {@link yfiles.graph.GraphClipboard} to assign IDs for elements in the clipboard. @@ -47170,7 +47516,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IClipboardIdProvider extends Object{ + export interface IClipboardIdProvider extends yfiles.lang.Object{ /** * Gets the ID for the given originalItem. * @param context The clipboard context @@ -47178,7 +47524,7 @@ declare namespace yfiles{ * @returns An ID for the given item. The object should be suitable for use in a {@link }. * @abstract */ - getId(context:yfiles.graph.IGraphClipboardContext,originalItem:yfiles.graph.IModelItem):Object; + getId(context:yfiles.graph.IGraphClipboardContext,originalItem:yfiles.graph.IModelItem):any; /** * Gets the item which is represented by the given id. * @param context The clipboard context. @@ -47187,11 +47533,11 @@ declare namespace yfiles{ * part of the target graph for paste operations. * @abstract */ - getItem(context:yfiles.graph.IGraphClipboardContext,id:Object):yfiles.graph.IModelItem; + getItem(context:yfiles.graph.IGraphClipboardContext,id:any):yfiles.graph.IModelItem; } var IClipboardIdProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IClipboardIdProvider; }; export enum ParentNodeDetectionModes{ /** @@ -47282,7 +47628,7 @@ declare namespace yfiles{ * @see yfiles.graph.GraphClipboard#clipboardGraph * @class */ - export interface GraphClipboard extends Object{} + export interface GraphClipboard extends yfiles.lang.Object{} export class GraphClipboard { /** * Creates a new initially empty clipboard. @@ -47560,7 +47906,7 @@ declare namespace yfiles{ * @param clipboardItem The item in the clipboard graph. * @returns The object returned by the {@link } methods or null. */ - getMemento(clipboardItem:yfiles.graph.IModelItem):Object; + getMemento(clipboardItem:yfiles.graph.IModelItem):any; /** * Gets a {@link yfiles.graph.IPortLocationModelParameter} for the given originalPort to be placed at the given newOwner. *

    @@ -47794,7 +48140,7 @@ declare namespace yfiles{ */ pasteDelta:yfiles.geometry.Point; /** - * Determines whether the clipboard graph is empty. + * Gets whether the clipboard graph is empty. * @type {boolean} */ empty:boolean; @@ -47920,8 +48266,8 @@ declare namespace yfiles{ */ copyItems:yfiles.graph.GraphItemTypes; /** - * Whether to paste edges whose source or target node was selected when copying to the clipboard while the other node was - * not. + * Gets or sets whether to paste edges whose source or target node was selected when copying to the clipboard while the + * other node was not. *

    * The default is false. *

    @@ -47934,43 +48280,44 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphClipboard#removeElementsCutListener */ - addElementsCutListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addElementsCutListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the ElementsCut event that occurs when the {@link yfiles.graph.GraphClipboard#cut} operation * finished successfully. * @param listener The listener to remove. * @see yfiles.graph.GraphClipboard#addElementsCutListener */ - removeElementsCutListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeElementsCutListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the ElementsCopied event that occurs when the {@link yfiles.graph.GraphClipboard#copy} operation * finished successfully. * @param listener The listener to add. * @see yfiles.graph.GraphClipboard#removeElementsCopiedListener */ - addElementsCopiedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addElementsCopiedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the ElementsCopied event that occurs when the {@link yfiles.graph.GraphClipboard#copy} operation * finished successfully. * @param listener The listener to remove. * @see yfiles.graph.GraphClipboard#addElementsCopiedListener */ - removeElementsCopiedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeElementsCopiedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the ElementsPasted event that occurs when the {@link yfiles.graph.GraphClipboard#paste} operation * finished successfully. * @param listener The listener to add. * @see yfiles.graph.GraphClipboard#removeElementsPastedListener */ - addElementsPastedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addElementsPastedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the ElementsPasted event that occurs when the {@link yfiles.graph.GraphClipboard#paste} operation * finished successfully. * @param listener The listener to remove. * @see yfiles.graph.GraphClipboard#addElementsPastedListener */ - removeElementsPastedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeElementsPastedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GraphClipboard; } export enum CloneTypes{ /** @@ -48013,7 +48360,7 @@ declare namespace yfiles{ *

    * @class */ - export interface GraphCopier extends Object{} + export interface GraphCopier extends yfiles.lang.Object{} export class GraphCopier { constructor(); /** @@ -48154,7 +48501,7 @@ declare namespace yfiles{ * @returns The copy of the tag. * @protected */ - copyEdgeTag(edge:yfiles.graph.IEdge,tag:Object):Object; + copyEdgeTag(edge:yfiles.graph.IEdge,tag:any):any; /** * Callback method that creates a copy of the sourceGroupNode in the targetGraph. *

    @@ -48201,7 +48548,7 @@ declare namespace yfiles{ * @param tag The tag to copy. * @returns The copy of the tag. */ - copyLabelTag(label:yfiles.graph.ILabel,tag:Object):Object; + copyLabelTag(label:yfiles.graph.ILabel,tag:any):any; /** * Callback method that creates a copy of the node in the targetGraph. *

    @@ -48252,7 +48599,7 @@ declare namespace yfiles{ * @returns The copy of the tag. * @protected */ - copyNodeTag(node:yfiles.graph.INode,tag:Object):Object; + copyNodeTag(node:yfiles.graph.INode,tag:any):any; /** * Copies a {@link yfiles.graph.IPortLocationModelParameter} for a given port. *

    @@ -48285,7 +48632,7 @@ declare namespace yfiles{ * @returns The copy of the tag. * @protected */ - copyPortTag(port:yfiles.graph.IPort,tag:Object):Object; + copyPortTag(port:yfiles.graph.IPort,tag:any):any; /** * Callback that will copy a {@link yfiles.graph.ITagOwner#tag} for the target graph. *

    @@ -48296,7 +48643,7 @@ declare namespace yfiles{ * @param tag The tag to copy. * @returns A copy of the tag. */ - copyTag(owner:yfiles.graph.IModelItem,tag:Object):Object; + copyTag(owner:yfiles.graph.IModelItem,tag:any):any; /** * Tries to obtain a previously {@link yfiles.graph.GraphCopier#cacheCopy cached} copy for the given original. *

    @@ -48381,7 +48728,7 @@ declare namespace yfiles{ * @param evt The argument to use. * @protected */ - onObjectCopied(evt:yfiles.graph.ItemCopiedEventArgs):void; + onObjectCopied(evt:yfiles.graph.ItemCopiedEventArgs):void; /** * Called after a port has been copied. *

    @@ -48415,9 +48762,9 @@ declare namespace yfiles{ * @protected * @const * @static - * @type {Object} + * @type {any} */ - static NO_COPY:Object; + static NO_COPY:any; /** * Gets or sets a property that determines whether grouping information should be copied to target graphs. *

    @@ -48458,7 +48805,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removeNodeCopiedListener */ - addNodeCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addNodeCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the NodeCopied event that occurs after a node has been copied. *

    @@ -48475,7 +48822,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addNodeCopiedListener */ - removeNodeCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removeNodeCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Adds the given listener for the BendCopied event that occurs after a bend has been copied. *

    @@ -48496,7 +48843,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removeBendCopiedListener */ - addBendCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addBendCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the BendCopied event that occurs after a bend has been copied. *

    @@ -48517,7 +48864,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addBendCopiedListener */ - removeBendCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removeBendCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Adds the given listener for the ObjectCopied event that occurs after a style has been copied. *

    @@ -48531,7 +48878,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removeObjectCopiedListener */ - addObjectCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addObjectCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the ObjectCopied event that occurs after a style has been copied. *

    @@ -48545,7 +48892,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addObjectCopiedListener */ - removeObjectCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removeObjectCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Adds the given listener for the EdgeCopied event that occurs after an edge has been copied. *

    @@ -48562,7 +48909,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removeEdgeCopiedListener */ - addEdgeCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addEdgeCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the EdgeCopied event that occurs after an edge has been copied. *

    @@ -48579,7 +48926,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addEdgeCopiedListener */ - removeEdgeCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removeEdgeCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Adds the given listener for the PortCopied event that occurs after a port has been copied. *

    @@ -48596,7 +48943,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removePortCopiedListener */ - addPortCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addPortCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the PortCopied event that occurs after a port has been copied. *

    @@ -48613,7 +48960,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addPortCopiedListener */ - removePortCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removePortCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Adds the given listener for the LabelCopied event that occurs after a label has been copied. *

    @@ -48634,7 +48981,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removeLabelCopiedListener */ - addLabelCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addLabelCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the LabelCopied event that occurs after a label has been copied. *

    @@ -48655,7 +49002,7 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addLabelCopiedListener */ - removeLabelCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removeLabelCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Adds the given listener for the GraphCopied event that occurs after the entire graph has been copied. *

    @@ -48672,7 +49019,7 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.GraphCopier#removeGraphCopiedListener */ - addGraphCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + addGraphCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; /** * Removes the given listener for the GraphCopied event that occurs after the entire graph has been copied. *

    @@ -48689,8 +49036,9 @@ declare namespace yfiles{ * @param listener The listener to remove. * @see yfiles.graph.GraphCopier#addGraphCopiedListener */ - removeGraphCopiedListener(listener:(sender:Object,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; + removeGraphCopiedListener(listener:(sender:any,evt:yfiles.graph.ItemCopiedEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GraphCopier; } /** * Event arguments for the events in {@link yfiles.graph.GraphCopier}. @@ -48716,16 +49064,17 @@ declare namespace yfiles{ */ constructor(original:T,copy:T); /** - * The original of the {@link yfiles.graph.ItemCopiedEventArgs.#copy copied item}. + * Gets the original of the {@link yfiles.graph.ItemCopiedEventArgs.#copy copied item}. * @type {T} */ original:T; /** - * The copied item. + * Gets the copied item. * @type {T} */ copy:T; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.ItemCopiedEventArgs; } /** * Helper class that can be used to aid in decorating {@link yfiles.graph.IModelItem}s from an {@link yfiles.graph.IGraph} instance. @@ -48747,7 +49096,7 @@ declare namespace yfiles{ * @class * @final */ - export interface GraphDecorator extends Object{} + export interface GraphDecorator extends yfiles.lang.Object{} export class GraphDecorator { /** * Initializes a new instance of the {@link yfiles.graph.GraphDecorator} class. @@ -48755,8 +49104,8 @@ declare namespace yfiles{ */ constructor(graph:yfiles.graph.IGraph); /** - * Returns a {@link yfiles.graph.GraphDecorator#nodeDecorator} instance that can be used to decorate the {@link yfiles.graph.INode} instances in the graph that this decorator has - * been created for. + * Gets a {@link yfiles.graph.GraphDecorator#nodeDecorator} instance that can be used to decorate the {@link yfiles.graph.INode} instances in the graph that this decorator has been + * created for. *

    * This will obtain the {@link yfiles.graph.ILookupDecorator} instance from the {@link yfiles.graph.IGraph}'s {@link yfiles.graph.ILookup#lookup} * method and use it to initialize the {@link yfiles.graph.NodeDecorator} @@ -48765,7 +49114,7 @@ declare namespace yfiles{ */ nodeDecorator:yfiles.graph.NodeDecorator; /** - * Returns an {@link yfiles.graph.GraphDecorator#edgeDecorator} instance that can be used to decorate the {@link yfiles.graph.IEdge} instances in the graph that this decorator has + * Gets an {@link yfiles.graph.GraphDecorator#edgeDecorator} instance that can be used to decorate the {@link yfiles.graph.IEdge} instances in the graph that this decorator has * been created for. *

    * This will obtain the {@link yfiles.graph.ILookupDecorator} instance from the {@link yfiles.graph.IGraph}'s {@link yfiles.graph.ILookup#lookup} @@ -48775,7 +49124,7 @@ declare namespace yfiles{ */ edgeDecorator:yfiles.graph.EdgeDecorator; /** - * Returns a {@link yfiles.graph.GraphDecorator#labelDecorator} instance that can be used to decorate the {@link yfiles.graph.ILabel} instances in the graph that this decorator has + * Gets a {@link yfiles.graph.GraphDecorator#labelDecorator} instance that can be used to decorate the {@link yfiles.graph.ILabel} instances in the graph that this decorator has * been created for. *

    * This will obtain the {@link yfiles.graph.ILookupDecorator} instance from the {@link yfiles.graph.IGraph}'s {@link yfiles.graph.ILookup#lookup} @@ -48785,8 +49134,8 @@ declare namespace yfiles{ */ labelDecorator:yfiles.graph.LabelDecorator; /** - * Returns a {@link yfiles.graph.GraphDecorator#portDecorator} instance that can be used to decorate the {@link yfiles.graph.IPort} instances in the graph that this decorator has - * been created for. + * Gets a {@link yfiles.graph.GraphDecorator#portDecorator} instance that can be used to decorate the {@link yfiles.graph.IPort} instances in the graph that this decorator has been + * created for. *

    * This will obtain the {@link yfiles.graph.ILookupDecorator} instance from the {@link yfiles.graph.IGraph}'s {@link yfiles.graph.ILookup#lookup} * method and use it to initialize the {@link yfiles.graph.PortDecorator} @@ -48795,8 +49144,8 @@ declare namespace yfiles{ */ portDecorator:yfiles.graph.PortDecorator; /** - * Returns a {@link yfiles.graph.GraphDecorator#bendDecorator} instance that can be used to decorate the {@link yfiles.graph.IBend} instances in the graph that this decorator has - * been created for. + * Gets a {@link yfiles.graph.GraphDecorator#bendDecorator} instance that can be used to decorate the {@link yfiles.graph.IBend} instances in the graph that this decorator has been + * created for. *

    * This will obtain the {@link yfiles.graph.ILookupDecorator} instance from the {@link yfiles.graph.IGraph}'s {@link yfiles.graph.ILookup#lookup} * method and use it to initialize the {@link yfiles.graph.BendDecorator} @@ -48805,6 +49154,7 @@ declare namespace yfiles{ */ bendDecorator:yfiles.graph.BendDecorator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GraphDecorator; } /** * A utility class that helps in {@link yfiles.graph.ILookupDecorator#addLookup decorating} the {@link yfiles.graph.ILookup#lookup} method of {@link yfiles.graph.ILabel} instances that @@ -48820,7 +49170,7 @@ declare namespace yfiles{ * @class * @final */ - export interface LabelDecorator extends Object{} + export interface LabelDecorator extends yfiles.lang.Object{} export class LabelDecorator { /** * Initializes a new instance of the {@link yfiles.graph.LabelDecorator} class. @@ -49002,6 +49352,7 @@ declare namespace yfiles{ */ labelSnapContextHelperDecorator:yfiles.graph.LookupDecorator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.LabelDecorator; } /** * A utility class that helps in {@link yfiles.graph.ILookupDecorator#addLookup decorating} the {@link yfiles.graph.ILookup#lookup} method of {@link yfiles.graph.IEdge} instances that are @@ -49017,7 +49368,7 @@ declare namespace yfiles{ * @class * @final */ - export interface EdgeDecorator extends Object{} + export interface EdgeDecorator extends yfiles.lang.Object{} export class EdgeDecorator { /** * Initializes a new instance of the {@link yfiles.graph.EdgeDecorator} class. @@ -49266,6 +49617,7 @@ declare namespace yfiles{ */ obstacleProviderDecorator:yfiles.graph.LookupDecorator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.EdgeDecorator; } /** * A utility class that helps in {@link yfiles.graph.ILookupDecorator#addLookup decorating} the {@link yfiles.graph.ILookup#lookup} method of {@link yfiles.graph.IBend} instances that are @@ -49281,7 +49633,7 @@ declare namespace yfiles{ * @class * @final */ - export interface BendDecorator extends Object{} + export interface BendDecorator extends yfiles.lang.Object{} export class BendDecorator { /** * Initializes a new instance of the {@link yfiles.graph.BendDecorator} class. @@ -49438,6 +49790,7 @@ declare namespace yfiles{ */ obstacleProviderDecorator:yfiles.graph.LookupDecorator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.BendDecorator; } /** * A utility class that helps in {@link yfiles.graph.ILookupDecorator#addLookup decorating} the {@link yfiles.graph.ILookup#lookup} method of {@link yfiles.graph.IPort} instances that are @@ -49453,7 +49806,7 @@ declare namespace yfiles{ * @class * @final */ - export interface PortDecorator extends Object{} + export interface PortDecorator extends yfiles.lang.Object{} export class PortDecorator { /** * Initializes a new instance of the {@link yfiles.graph.PortDecorator} class. @@ -49638,6 +49991,7 @@ declare namespace yfiles{ */ obstacleProviderDecorator:yfiles.graph.LookupDecorator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.PortDecorator; } /** * A utility class that helps in {@link yfiles.graph.ILookupDecorator#addLookup decorating} the {@link yfiles.graph.ILookup#lookup} method of {@link yfiles.graph.INode} instances that are @@ -49653,7 +50007,7 @@ declare namespace yfiles{ * @class * @final */ - export interface NodeDecorator extends Object{} + export interface NodeDecorator extends yfiles.lang.Object{} export class NodeDecorator { /** * Initializes a new instance of the {@link yfiles.graph.NodeDecorator} class. @@ -49921,6 +50275,7 @@ declare namespace yfiles{ */ obstacleProviderDecorator:yfiles.graph.LookupDecorator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.NodeDecorator; } /** * A convenience class that simplifies using an {@link yfiles.graph.ILookupDecorator}. @@ -49937,7 +50292,7 @@ declare namespace yfiles{ * @template TDecoratedType,TInterface * @final */ - export interface LookupDecorator extends Object{} + export interface LookupDecorator extends yfiles.lang.Object{} export class LookupDecorator { /** * Initializes a new instance of the {@link yfiles.graph.LookupDecorator.} class. @@ -50168,6 +50523,7 @@ declare namespace yfiles{ */ nullIsFallback:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.LookupDecorator; } /** * Provides less frequently used methods for analyzing and managing grouped graphs. @@ -50176,7 +50532,7 @@ declare namespace yfiles{ *

    * @class */ - export interface GroupingSupport extends Object{} + export interface GroupingSupport extends yfiles.lang.Object{} export class GroupingSupport { /** * Creates a new instance which operates on the given graph. @@ -50284,6 +50640,7 @@ declare namespace yfiles{ */ isDescendant(node:yfiles.graph.INode,ancestor:yfiles.graph.INode):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GroupingSupport; } /** * An abstract {@link yfiles.graph.IGraph} implementation that delegates all of its work to an existing implementation. @@ -50295,7 +50652,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IGraph} */ - export interface GraphWrapperBase extends Object,yfiles.graph.IGraph{} + export interface GraphWrapperBase extends yfiles.lang.Object,yfiles.graph.IGraph{} export class GraphWrapperBase { /** * Creates a new instance that wraps a given {@link yfiles.graph.IGraph}. @@ -50331,7 +50688,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - addLabel(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:Object):yfiles.graph.ILabel; + addLabel(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:any):yfiles.graph.ILabel; /** * * @param {Object} options The parameters to pass. @@ -50352,7 +50709,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - addPort(owner:yfiles.graph.IPortOwner,locationParameter?:yfiles.graph.IPortLocationModelParameter,style?:yfiles.styles.IPortStyle,tag?:Object):yfiles.graph.IPort; + addPort(owner:yfiles.graph.IPortOwner,locationParameter?:yfiles.graph.IPortLocationModelParameter,style?:yfiles.styles.IPortStyle,tag?:any):yfiles.graph.IPort; /** * * @param {Object} options The parameters to pass. @@ -50377,7 +50734,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createEdge(source:yfiles.graph.INode,target:yfiles.graph.INode,style?:yfiles.styles.IEdgeStyle,tag?:Object):yfiles.graph.IEdge; + createEdge(source:yfiles.graph.INode,target:yfiles.graph.INode,style?:yfiles.styles.IEdgeStyle,tag?:any):yfiles.graph.IEdge; /** * * @param {Object} options The parameters to pass. @@ -50396,7 +50753,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createEdge(sourcePort:yfiles.graph.IPort,targetPort:yfiles.graph.IPort,style?:yfiles.styles.IEdgeStyle,tag?:Object):yfiles.graph.IEdge; + createEdge(sourcePort:yfiles.graph.IPort,targetPort:yfiles.graph.IPort,style?:yfiles.styles.IEdgeStyle,tag?:any):yfiles.graph.IEdge; /** * * @param {Object} options The parameters to pass. @@ -50415,7 +50772,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createGroupNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createGroupNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * * @param {Object} options The parameters to pass. @@ -50433,7 +50790,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createNode(layout:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNode(layout:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * * @param {Object} options The parameters to pass. @@ -50451,7 +50808,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - createNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * * @param {Object} options The parameters to pass. @@ -50516,7 +50873,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Raises the {@link yfiles.graph.GraphWrapperBase#addBendAddedListener BendAdded} event * @param evt The parameters for the event @@ -50541,7 +50898,7 @@ declare namespace yfiles{ * @param evt The parameters for the event * @protected */ - onBendTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; + onBendTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; /** * Raises the {@link yfiles.graph.GraphWrapperBase#addEdgeCreatedListener EdgeCreated} event * @param evt The parameters for the event @@ -50571,7 +50928,7 @@ declare namespace yfiles{ * @param evt The parameters for the event * @protected */ - onEdgeTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; + onEdgeTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; /** * Called when the {@link yfiles.graph.GraphWrapperBase#wrappedGraph} property value changes and after initialization of the field. *

    @@ -50588,7 +50945,7 @@ declare namespace yfiles{ * @param evt The parameters for the event * @protected */ - onGraphTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; + onGraphTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; /** * Raises the {@link yfiles.graph.GraphWrapperBase#addDisplaysInvalidatedListener DisplaysInvalidated} event * @param evt The parameters for the event @@ -50636,7 +50993,7 @@ declare namespace yfiles{ * @param evt The parameters for the event * @protected */ - onLabelTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; + onLabelTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; /** * Raises the {@link yfiles.graph.GraphWrapperBase#addLabelTextChangedListener LabelTextChanged} event * @param evt The parameters for the event @@ -50673,7 +51030,7 @@ declare namespace yfiles{ * @param evt The parameters for the event * @protected */ - onNodeTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; + onNodeTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; /** * Dispatches the {@link yfiles.graph.GraphWrapperBase#addParentChangedListener ParentChanged} event. * @param evt The event args to dispatch. @@ -50709,7 +51066,7 @@ declare namespace yfiles{ * @param evt The parameters for the event * @protected */ - onPortTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; + onPortTagChanged(evt:yfiles.graph.ItemChangedEventArgs):void; /** * * @param item @@ -50844,282 +51201,282 @@ declare namespace yfiles{ * * @param listener */ - addGraphTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addGraphTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeGraphTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeGraphTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addNodeRemovedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addNodeRemovedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - removeNodeRemovedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeNodeRemovedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - addNodeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addNodeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeNodeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeNodeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addNodeLayoutChangedListener(listener:(source:Object,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; + addNodeLayoutChangedListener(listener:(source:any,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; /** * * @param listener */ - removeNodeLayoutChangedListener(listener:(source:Object,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; + removeNodeLayoutChangedListener(listener:(source:any,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; /** * * @param listener */ - addNodeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addNodeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeNodeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeNodeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addEdgeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addEdgeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeEdgeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeEdgeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addEdgeRemovedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgeRemovedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - removeEdgeRemovedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgeRemovedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - addEdgeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addEdgeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeEdgeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeEdgeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - removeEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * * @param listener */ - addEdgeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addEdgeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeEdgeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeEdgeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addBendAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addBendAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeBendAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeBendAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addBendRemovedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + addBendRemovedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * * @param listener */ - removeBendRemovedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + removeBendRemovedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * * @param listener */ - addBendLocationChangedListener(listener:(source:Object,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; + addBendLocationChangedListener(listener:(source:any,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; /** * * @param listener */ - removeBendLocationChangedListener(listener:(source:Object,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; + removeBendLocationChangedListener(listener:(source:any,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; /** * * @param listener */ - addBendTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addBendTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeBendTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeBendTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * * @param listener */ - removeLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * * @param listener */ - addLabelStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelPreferredSizeChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelPreferredSizeChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelPreferredSizeChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelPreferredSizeChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelLayoutParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelLayoutParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelLayoutParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelLayoutParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addLabelTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removeLabelTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addPortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addPortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removePortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removePortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addPortRemovedListener(listener:(sender:Object,evt:yfiles.graph.PortEventArgs)=>void):void; + addPortRemovedListener(listener:(sender:any,evt:yfiles.graph.PortEventArgs)=>void):void; /** * * @param listener */ - removePortRemovedListener(listener:(sender:Object,evt:yfiles.graph.PortEventArgs)=>void):void; + removePortRemovedListener(listener:(sender:any,evt:yfiles.graph.PortEventArgs)=>void):void; /** * * @param listener */ - addPortStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removePortStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addPortLocationParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortLocationParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removePortLocationParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortLocationParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addPortTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - removePortTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * * @param listener */ - addDisplaysInvalidatedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addDisplaysInvalidatedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * * @param listener */ - removeDisplaysInvalidatedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeDisplaysInvalidatedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * * @type {yfiles.graph.IMapperRegistry} @@ -51134,28 +51491,29 @@ declare namespace yfiles{ * * @param listener */ - addParentChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addParentChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - removeParentChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeParentChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - addIsGroupNodeChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addIsGroupNodeChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * * @param listener */ - removeIsGroupNodeChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeIsGroupNodeChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.GraphWrapperBase; } /** * The interface used in an {@link yfiles.graph.IGraph} implementation to control the layout of {@link yfiles.graph.IEdge edges}. @@ -51174,9 +51532,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IModelItem} */ - export interface IBend extends Object,yfiles.graph.IModelItem{ + export interface IBend extends yfiles.lang.Object,yfiles.graph.IModelItem{ /** - * Returns the edge this bend instance belongs to. + * Gets the edge this bend instance belongs to. *

    * This implies that Owner.Bends contains this instance. *

    @@ -51204,7 +51562,7 @@ declare namespace yfiles{ } var IBend:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IBend; }; /** * The interface used to model edges in an {@link yfiles.graph.IGraph} implementation. @@ -51227,7 +51585,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelOwner} * @implements {yfiles.graph.IModelItem} */ - export interface IEdge extends Object,yfiles.graph.IPortOwner,yfiles.graph.ILabelOwner,yfiles.graph.IModelItem{ + export interface IEdge extends yfiles.lang.Object,yfiles.graph.IPortOwner,yfiles.graph.ILabelOwner,yfiles.graph.IModelItem{ /** * Gets the opposite port of an {@link yfiles.graph.IEdge}. * @param port The port that the {@link } is connected to. @@ -51243,7 +51601,7 @@ declare namespace yfiles{ */ opposite?(owner:yfiles.graph.IPortOwner):yfiles.graph.IPortOwner; /** - * Provides access to a collection of {@link yfiles.graph.IBend bends} that describe the geometry of this edge. + * Gets a collection of {@link yfiles.graph.IBend bends} that describe the geometry of this edge. *

    * This gives access to a read-only live view of the bends, i.e. the collection can change over time, as well as the bends * contained in it. If a snapshot of the current state is needed, one needs to copy the collection. In order to modify the @@ -51274,7 +51632,7 @@ declare namespace yfiles{ */ targetPort:yfiles.graph.IPort; /** - * Returns the style that is responsible for the visual representation of this edge in a {@link yfiles.view.CanvasComponent}. + * Gets the style that is responsible for the visual representation of this edge in a {@link yfiles.view.CanvasComponent}. *

    * In order to set the style on an instance, use the {@link yfiles.graph.IGraph#setStyle} method. Note that the style instance * associated with an edge instance may be shared between multiple edge instances and that the modification of this style @@ -51302,7 +51660,7 @@ declare namespace yfiles{ } var IEdge:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IEdge; }; /** * Interface used by {@link yfiles.graph.IGraph} to declare and obtain the defaults for edges and their labels and ports. @@ -51313,7 +51671,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#edgeDefaults * @interface */ - export interface IEdgeDefaults extends Object{ + export interface IEdgeDefaults extends yfiles.lang.Object{ /** * Factory method that returns a style instance for use with newly created edges. *

    @@ -51363,7 +51721,7 @@ declare namespace yfiles{ } var IEdgeDefaults:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IEdgeDefaults; }; /** * Interface that is used for manipulating a {@link yfiles.graph.FoldingManager#createFoldingView managed view} of an {@link yfiles.graph.IGraph} that supports folding operations like {@link yfiles.graph.IFoldingView#expand expanding} @@ -51393,7 +51751,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.lang.IPropertyObservable} */ - export interface IFoldingView extends Object,yfiles.graph.ILookup,yfiles.lang.IPropertyObservable{ + export interface IFoldingView extends yfiles.lang.Object,yfiles.graph.ILookup,yfiles.lang.IPropertyObservable{ /** * This method will collapse the {@link yfiles.graph.IGraph#getChildren children} of a group node into the group node. *

    @@ -51429,7 +51787,7 @@ declare namespace yfiles{ * @returns A collapsed (folder) node that lives in {@link #graph} * @abstract */ - createFolderNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createFolderNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * Directly creates a collapsed node on this instance with the given parameters. *

    @@ -51580,7 +51938,7 @@ declare namespace yfiles{ * @see yfiles.graph.IFoldingView#removeGroupCollapsedListener * @abstract */ - addGroupCollapsedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addGroupCollapsedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the GroupCollapsed event that occurs whenever a group has been * {@link yfiles.graph.IFoldingView#collapse}d. @@ -51588,7 +51946,7 @@ declare namespace yfiles{ * @see yfiles.graph.IFoldingView#addGroupCollapsedListener * @abstract */ - removeGroupCollapsedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeGroupCollapsedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the GroupExpanded event that occurs whenever a group has been * {@link yfiles.graph.IFoldingView#expand}ed. @@ -51596,7 +51954,7 @@ declare namespace yfiles{ * @see yfiles.graph.IFoldingView#removeGroupExpandedListener * @abstract */ - addGroupExpandedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addGroupExpandedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the GroupExpanded event that occurs whenever a group has been * {@link yfiles.graph.IFoldingView#expand}ed. @@ -51604,9 +51962,9 @@ declare namespace yfiles{ * @see yfiles.graph.IFoldingView#addGroupExpandedListener * @abstract */ - removeGroupExpandedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeGroupExpandedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** - * Provides a reference to the {@link yfiles.graph.IGraph} implementation that provides the actual view data. + * Gets the {@link yfiles.graph.IGraph} implementation that provides the actual view data. *

    * The instance has an implementation of this interface in its {@link yfiles.graph.ILookup} that has been obtained from the * {@link yfiles.graph.FoldingManager}'s {@link yfiles.graph.FoldingManager#createFoldingView} set of methods. The instance holds the @@ -51618,7 +51976,7 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; /** - * Determines whether this instance should automatically switch the {@link yfiles.graph.IFoldingView#localRoot} to an ancestor of the current root, if this view + * Gets or sets whether this instance should automatically switch the {@link yfiles.graph.IFoldingView#localRoot} to an ancestor of the current root, if this view * becomes {@link yfiles.graph.IFoldingView#invalid}. *

    * By default this property is set to true which assures that this view will never become @@ -51630,7 +51988,7 @@ declare namespace yfiles{ */ autoSwitchToAncestor:boolean; /** - * Determines if this view is currently valid and can be edited. + * Gets whether this view is currently valid and can be edited. *

    * A view is invalid if the {@link yfiles.graph.IFoldingView#localRoot} is not currently part of the {@link yfiles.graph.FoldingManager#masterGraph} hierarchy. This can happen if the root node is removed from the * {@link yfiles.graph.FoldingManager#masterGraph}. Note that the view can become valid again if the removal is undone. @@ -51641,7 +51999,7 @@ declare namespace yfiles{ */ invalid:boolean; /** - * Determines whether changes to the {@link yfiles.graph.IFoldingView#localRoot} property and calls to {@link yfiles.graph.IFoldingView#collapse} and {@link yfiles.graph.IFoldingView#expand} + * Gets or sets whether changes to the {@link yfiles.graph.IFoldingView#localRoot} property and calls to {@link yfiles.graph.IFoldingView#collapse} and {@link yfiles.graph.IFoldingView#expand} * should be recorded in undo history. *

    * By default this property is set to false, however depending on the use case it may make sense to enqueue @@ -51671,7 +52029,7 @@ declare namespace yfiles{ } var IFoldingView:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IFoldingView; }; export enum AdjacencyTypes{ /** @@ -51815,7 +52173,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.graph.ITagOwner} */ - export interface IGraph extends Object,yfiles.graph.ILookup,yfiles.graph.ITagOwner{ + export interface IGraph extends yfiles.lang.Object,yfiles.graph.ILookup,yfiles.graph.ITagOwner{ /** * Adds a bend at the given index to the given edge using the coordinates provided. *

    @@ -51857,7 +52215,7 @@ declare namespace yfiles{ * @see yfiles.styles.VoidLabelStyle#INSTANCE * @abstract */ - addLabel(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:Object):yfiles.graph.ILabel; + addLabel(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:any):yfiles.graph.ILabel; /** * Add a label to the given node or edge using the text as the initial label text and label model parameter, style and * tag. @@ -51884,8 +52242,8 @@ declare namespace yfiles{ * The locationParameter determines the location of the port. *

    *

    - * Depending on the implementation this method may throw an {@link yfiles.lang.Exception} if the type of the owner instance does - * not support adding of ports. + * An implementation may throw an {@link yfiles.lang.Exception} if the type of the owner instance does not support adding of + * ports. *

    * @param owner the owner to add the port instance to. * @param [locationParameter=null] the parameter to use for the port to determine its location. @@ -51898,15 +52256,15 @@ declare namespace yfiles{ * @see yfiles.styles.VoidPortStyle#INSTANCE * @abstract */ - addPort(owner:yfiles.graph.IPortOwner,locationParameter?:yfiles.graph.IPortLocationModelParameter,style?:yfiles.styles.IPortStyle,tag?:Object):yfiles.graph.IPort; + addPort(owner:yfiles.graph.IPortOwner,locationParameter?:yfiles.graph.IPortLocationModelParameter,style?:yfiles.styles.IPortStyle,tag?:any):yfiles.graph.IPort; /** * Add a port to the given port owner using the location model parameter, style and tag. *

    * The locationParameter determines the location of the port. *

    *

    - * Depending on the implementation this method may throw an {@link yfiles.lang.Exception} if the type of the owner instance does - * not support adding of ports. + * An implementation may throw an {@link yfiles.lang.Exception} if the type of the owner instance does not support adding of + * ports. *

    * @param {Object} options The parameters to pass. * @param options.owner the owner to add the port instance to. @@ -51932,7 +52290,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.NotSupportedError} If this instance cannot add a port to owner. * @throws {Stubs.Exceptions.ArgumentError} owner is not in this graph. */ - addPortAt?(owner:yfiles.graph.IPortOwner,location:yfiles.geometry.Point,style?:yfiles.styles.IPortStyle,tag?:Object):yfiles.graph.IPort; + addPortAt?(owner:yfiles.graph.IPortOwner,location:yfiles.geometry.Point,style?:yfiles.styles.IPortStyle,tag?:any):yfiles.graph.IPort; /** * Add a port to the given port owner using the absolute coordinates as the new initial position of the port anchor. * @param {Object} options The parameters to pass. @@ -52079,7 +52437,7 @@ declare namespace yfiles{ * @param [tag=null] The tag for the label. * @returns The size as calculated by the {@link }. */ - calculateLabelPreferredSize?(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,tag?:Object):yfiles.geometry.Size; + calculateLabelPreferredSize?(owner:yfiles.graph.ILabelOwner,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,tag?:any):yfiles.geometry.Size; /** * Calculates the preferred size of a label with the given properties. * @param {Object} options The parameters to pass. @@ -52142,14 +52500,14 @@ declare namespace yfiles{ * Convenience method that creates and returns an edge that connects to the given node instances using the given style * instance. *

    - * The nodes must be part of this graph at the time of the invocation, and the implementation will choose the {@link yfiles.graph.IPort} + * The nodes must be part of this graph at the time of the invocation, and an implementation can choose the {@link yfiles.graph.IPort} * instances to which the edge will be connected. The edge will be a part of this graph after the method returns. This will * trigger the corresponding events. *

    * @param source The source node the created edge will connect to. It is up to the implementation to decide which port to use at the - * given node. The implementation may create a new port of the edge. + * given node. An implementation may create a new port of the edge. * @param target The target node the created edge will connect to. It is up to the implementation to decide which port to use at the - * given node. The implementation may create a new port of the edge. + * given node. An implementation may create a new port of the edge. * @param [style=null] The style instance that will be assigned to the newly created instance. This is done by reference. * @param [tag=null] The initial value of the {@link #tag} that will be assigned to the new edge. * @returns the newly created edge instance @@ -52157,20 +52515,20 @@ declare namespace yfiles{ * @see yfiles.styles.VoidEdgeStyle#INSTANCE * @abstract */ - createEdge(source:yfiles.graph.INode,target:yfiles.graph.INode,style?:yfiles.styles.IEdgeStyle,tag?:Object):yfiles.graph.IEdge; + createEdge(source:yfiles.graph.INode,target:yfiles.graph.INode,style?:yfiles.styles.IEdgeStyle,tag?:any):yfiles.graph.IEdge; /** * Convenience method that creates and returns an edge that connects to the given node instances using the given style * instance. *

    - * The nodes must be part of this graph at the time of the invocation, and the implementation will choose the {@link yfiles.graph.IPort} + * The nodes must be part of this graph at the time of the invocation, and an implementation can choose the {@link yfiles.graph.IPort} * instances to which the edge will be connected. The edge will be a part of this graph after the method returns. This will * trigger the corresponding events. *

    * @param {Object} options The parameters to pass. * @param options.source The source node the created edge will connect to. It is up to the implementation to decide which port to use at the - * given node. The implementation may create a new port of the edge. + * given node. An implementation may create a new port of the edge. * @param options.target The target node the created edge will connect to. It is up to the implementation to decide which port to use at the - * given node. The implementation may create a new port of the edge. + * given node. An implementation may create a new port of the edge. * @param [options.style=null] The style instance that will be assigned to the newly created instance. This is done by reference. * @param [options.tag=null] The initial value of the {@link #tag} that will be assigned to the new edge. * @param options.labels An array of labels to add to the newly created node. Each item will be passed to the {@link #addLabel} @@ -52198,7 +52556,7 @@ declare namespace yfiles{ * @see yfiles.styles.VoidEdgeStyle#INSTANCE * @abstract */ - createEdge(sourcePort:yfiles.graph.IPort,targetPort:yfiles.graph.IPort,style?:yfiles.styles.IEdgeStyle,tag?:Object):yfiles.graph.IEdge; + createEdge(sourcePort:yfiles.graph.IPort,targetPort:yfiles.graph.IPort,style?:yfiles.styles.IEdgeStyle,tag?:any):yfiles.graph.IEdge; /** * Creates and returns an edge that connects to the given port instances. *

    @@ -52236,7 +52594,7 @@ declare namespace yfiles{ * @returns The newly created group node. * @abstract */ - createGroupNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createGroupNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * Creates a new group node using the provided style and layout as a child of parent. *

    @@ -52273,7 +52631,7 @@ declare namespace yfiles{ * @see yfiles.styles.VoidNodeStyle#INSTANCE * @abstract */ - createNode(layout:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNode(layout:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * Creates and returns a node using the specified values for the initial geometry, style, and {@link yfiles.graph.ITagOwner#tag}. *

    @@ -52305,7 +52663,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#createGroupNode * @abstract */ - createNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNode(parent?:yfiles.graph.INode,layout?:yfiles.geometry.Rect,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * Creates a new ordinary node as a direct descendant of parent using the given layout and style. * @param {Object} options The parameters to pass. @@ -52335,7 +52693,7 @@ declare namespace yfiles{ * @returns A newly created node instance * @see yfiles.graph.IGraph#addNodeCreatedListener */ - createNodeAt?(location:yfiles.geometry.Point,style?:yfiles.styles.INodeStyle,tag?:Object):yfiles.graph.INode; + createNodeAt?(location:yfiles.geometry.Point,style?:yfiles.styles.INodeStyle,tag?:any):yfiles.graph.INode; /** * Creates and returns a node using the specified initial center location and style, as well as the tag. *

    @@ -52639,12 +52997,12 @@ declare namespace yfiles{ * The item must be a part of this graph. *

    *

    - * If the item is a {@link yfiles.graph.INode node} the {@link yfiles.graph.IGraph#addNodeRemovedListener NodeRemoved} event will be triggered. The - * implementation will remove all adjacent edges and their corresponding ports in proper order before the node will be - * removed. Also this will trigger the removal of all labels owned by this instance. + * If the item is a {@link yfiles.graph.INode node} the {@link yfiles.graph.IGraph#addNodeRemovedListener NodeRemoved} event will be triggered. This + * will remove all adjacent edges and their corresponding ports in proper order before the node will be removed. Also this + * will trigger the removal of all labels owned by this instance. *

    *

    - * If the item is an {@link yfiles.graph.IEdge edge} the {@link yfiles.graph.IGraph#addEdgeRemovedListener EdgeRemoved} event will be triggered. The + * If the item is an {@link yfiles.graph.IEdge edge} the {@link yfiles.graph.IGraph#addEdgeRemovedListener EdgeRemoved} event will be triggered. An * implementation may decide to remove the corresponding ports from the node if no other edge connects to them after the * given edge has been removed. Also this will trigger the removal of all labels and bends owned by this instance. *

    @@ -52687,6 +53045,10 @@ declare namespace yfiles{ * This will trigger an {@link yfiles.graph.IGraph#addEdgePortsChangedListener EdgePortsChanged} event if source or target ports * differ from the current ones. Both ports and the edge must belong to the current graph instance. *

    + *

    + * An implementation may decide to remove the corresponding ports if no other edge connects to them after the given edge + * has its source or target ports changed. + *

    * @param edge The edge to change the ports. * @param sourcePort The new source port instance. * @param targetPort The new target port instance. @@ -52866,7 +53228,7 @@ declare namespace yfiles{ */ successors?(node:yfiles.graph.INode):yfiles.collections.IEnumerable; /** - * A view of the nodes contained in this graph. + * Gets a view of the nodes contained in this graph. *

    * This is a live view of the nodes that always represents the current state of the graph. The same reference will be * returned for each invocation. @@ -52882,7 +53244,7 @@ declare namespace yfiles{ */ nodes:yfiles.collections.IListEnumerable; /** - * A view of the edges contained in this graph. + * Gets a view of the edges contained in this graph. *

    * This is a live view of the edges that always represents the current state of the graph. The same reference will be * returned for each invocation. @@ -52898,7 +53260,7 @@ declare namespace yfiles{ */ edges:yfiles.collections.IListEnumerable; /** - * A view of the node and edge labels contained in this graph. + * Gets a view of the node and edge labels contained in this graph. *

    * This is a live view of the labels that always represents the current state of the graph. The same reference will be * returned for each invocation. @@ -52914,7 +53276,7 @@ declare namespace yfiles{ */ labels:yfiles.collections.IListEnumerable; /** - * A view of the ports contained in this graph. + * Gets a view of the ports contained in this graph. *

    * This is a live view of the ports that always represents the current state of the graph. The same reference will be * returned for each invocation. @@ -52972,7 +53334,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeGraphTagChangedListener * @abstract */ - addGraphTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addGraphTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the GraphTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of the graph has been replaced. *

    @@ -52984,7 +53346,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addGraphTagChangedListener * @abstract */ - removeGraphTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeGraphTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the NodeCreated event that occurs when a node has been created. *

    @@ -53001,7 +53363,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeNodeCreatedListener * @abstract */ - addNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the NodeCreated event that occurs when a node has been created. *

    @@ -53018,7 +53380,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addNodeCreatedListener * @abstract */ - removeNodeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeNodeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the DisplaysInvalidated event that occurs when the graph has changed visually and the * display should be updated to reflect the changes. @@ -53029,7 +53391,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeDisplaysInvalidatedListener * @abstract */ - addDisplaysInvalidatedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addDisplaysInvalidatedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the DisplaysInvalidated event that occurs when the graph has changed visually and the * display should be updated to reflect the changes. @@ -53040,7 +53402,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addDisplaysInvalidatedListener * @abstract */ - removeDisplaysInvalidatedListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeDisplaysInvalidatedListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the NodeRemoved event that occurs when a node has been removed. *

    @@ -53055,7 +53417,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeNodeRemovedListener * @abstract */ - addNodeRemovedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addNodeRemovedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * Removes the given listener for the NodeRemoved event that occurs when a node has been removed. *

    @@ -53070,7 +53432,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addNodeRemovedListener * @abstract */ - removeNodeRemovedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeNodeRemovedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * Adds the given listener for the NodeStyleChanged event that occurs when a node style has been replaced. *

    @@ -53082,7 +53444,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeNodeStyleChangedListener * @abstract */ - addNodeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addNodeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the NodeStyleChanged event that occurs when a node style has been replaced. *

    @@ -53094,7 +53456,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addNodeStyleChangedListener * @abstract */ - removeNodeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeNodeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the NodeLayoutChanged event that occurs when a node layout has been changed. *

    @@ -53106,7 +53468,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeNodeLayoutChangedListener * @abstract */ - addNodeLayoutChangedListener(listener:(source:Object,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; + addNodeLayoutChangedListener(listener:(source:any,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; /** * Removes the given listener for the NodeLayoutChanged event that occurs when a node layout has been changed. *

    @@ -53118,7 +53480,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addNodeLayoutChangedListener * @abstract */ - removeNodeLayoutChangedListener(listener:(source:Object,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; + removeNodeLayoutChangedListener(listener:(source:any,node:yfiles.graph.INode,oldLayout:yfiles.geometry.Rect)=>void):void; /** * Adds the given listener for the NodeTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a node has been replaced. *

    @@ -53130,7 +53492,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeNodeTagChangedListener * @abstract */ - addNodeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addNodeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the NodeTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a node has been replaced. *

    @@ -53142,7 +53504,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addNodeTagChangedListener * @abstract */ - removeNodeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeNodeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the EdgeCreated event that occurs when an edge has been created. *

    @@ -53157,7 +53519,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeEdgeCreatedListener * @abstract */ - addEdgeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addEdgeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the EdgeCreated event that occurs when an edge has been created. *

    @@ -53172,7 +53534,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addEdgeCreatedListener * @abstract */ - removeEdgeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeEdgeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the EdgeRemoved event that occurs when an edge has been removed. *

    @@ -53190,7 +53552,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeEdgeRemovedListener * @abstract */ - addEdgeRemovedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgeRemovedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Removes the given listener for the EdgeRemoved event that occurs when an edge has been removed. *

    @@ -53208,7 +53570,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addEdgeRemovedListener * @abstract */ - removeEdgeRemovedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgeRemovedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Adds the given listener for the EdgeStyleChanged event that occurs when an edge style has been replaced. *

    @@ -53220,7 +53582,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeEdgeStyleChangedListener * @abstract */ - addEdgeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addEdgeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the EdgeStyleChanged event that occurs when an edge style has been replaced. *

    @@ -53232,7 +53594,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addEdgeStyleChangedListener * @abstract */ - removeEdgeStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeEdgeStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the EdgePortsChanged event that occurs when an edge had its {@link yfiles.graph.IEdge#sourcePort} or {@link yfiles.graph.IEdge#targetPort} {@link yfiles.graph.IGraph#setEdgePorts changed}. *

    @@ -53244,7 +53606,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeEdgePortsChangedListener * @abstract */ - addEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + addEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Removes the given listener for the EdgePortsChanged event that occurs when an edge had its {@link yfiles.graph.IEdge#sourcePort} or {@link yfiles.graph.IEdge#targetPort} {@link yfiles.graph.IGraph#setEdgePorts changed}. *

    @@ -53256,7 +53618,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addEdgePortsChangedListener * @abstract */ - removeEdgePortsChangedListener(listener:(sender:Object,evt:yfiles.graph.EdgeEventArgs)=>void):void; + removeEdgePortsChangedListener(listener:(sender:any,evt:yfiles.graph.EdgeEventArgs)=>void):void; /** * Adds the given listener for the EdgeTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of an edge has been replaced. *

    @@ -53268,7 +53630,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeEdgeTagChangedListener * @abstract */ - addEdgeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addEdgeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the EdgeTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of an edge has been replaced. *

    @@ -53280,7 +53642,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addEdgeTagChangedListener * @abstract */ - removeEdgeTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeEdgeTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the BendAdded event that occurs when a bend has been added to an edge in this graph. *

    @@ -53295,7 +53657,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeBendAddedListener * @abstract */ - addBendAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addBendAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the BendAdded event that occurs when a bend has been added to an edge in this graph. *

    @@ -53310,7 +53672,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addBendAddedListener * @abstract */ - removeBendAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeBendAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the BendRemoved event that occurs when a bend has been removed from an edge in this graph. *

    @@ -53329,7 +53691,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeBendRemovedListener * @abstract */ - addBendRemovedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + addBendRemovedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * Removes the given listener for the BendRemoved event that occurs when a bend has been removed from an edge in this * graph. @@ -53349,7 +53711,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addBendRemovedListener * @abstract */ - removeBendRemovedListener(listener:(sender:Object,evt:yfiles.graph.BendEventArgs)=>void):void; + removeBendRemovedListener(listener:(sender:any,evt:yfiles.graph.BendEventArgs)=>void):void; /** * Adds the given listener for the BendLocationChanged event that occurs when the location of a bend has been changed. *

    @@ -53361,7 +53723,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeBendLocationChangedListener * @abstract */ - addBendLocationChangedListener(listener:(source:Object,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; + addBendLocationChangedListener(listener:(source:any,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; /** * Removes the given listener for the BendLocationChanged event that occurs when the location of a bend has been changed. *

    @@ -53373,7 +53735,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addBendLocationChangedListener * @abstract */ - removeBendLocationChangedListener(listener:(source:Object,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; + removeBendLocationChangedListener(listener:(source:any,bend:yfiles.graph.IBend,oldLocation:yfiles.geometry.Point)=>void):void; /** * Adds the given listener for the BendTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a bend has been replaced. *

    @@ -53385,7 +53747,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeBendTagChangedListener * @abstract */ - addBendTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addBendTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the BendTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a bend has been replaced. *

    @@ -53397,7 +53759,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addBendTagChangedListener * @abstract */ - removeBendTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeBendTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the LabelAdded event that occurs when a label has been added to this graph instance. *

    @@ -53412,7 +53774,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelAddedListener * @abstract */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the LabelAdded event that occurs when a label has been added to this graph instance. *

    @@ -53427,7 +53789,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelAddedListener * @abstract */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the LabelRemoved event that occurs when a label has been removed from this graph instance. *

    @@ -53446,7 +53808,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelRemovedListener * @abstract */ - addLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelRemoved event that occurs when a label has been removed from this graph * instance. @@ -53466,7 +53828,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelRemovedListener * @abstract */ - removeLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the LabelStyleChanged event that occurs when a label style has been replaced. *

    @@ -53478,7 +53840,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelStyleChangedListener * @abstract */ - addLabelStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the LabelStyleChanged event that occurs when a label style has been replaced. *

    @@ -53490,7 +53852,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelStyleChangedListener * @abstract */ - removeLabelStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the LabelPreferredSizeChanged event that occurs when the preferred size of a label has been * changed. @@ -53503,7 +53865,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelPreferredSizeChangedListener * @abstract */ - addLabelPreferredSizeChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelPreferredSizeChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the LabelPreferredSizeChanged event that occurs when the preferred size of a label has * been changed. @@ -53516,7 +53878,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelPreferredSizeChangedListener * @abstract */ - removeLabelPreferredSizeChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelPreferredSizeChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the LabelTextChanged event that occurs when the text of a label has been changed. *

    @@ -53528,7 +53890,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelTextChangedListener * @abstract */ - addLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the LabelTextChanged event that occurs when the text of a label has been changed. *

    @@ -53540,7 +53902,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelTextChangedListener * @abstract */ - removeLabelTextChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelTextChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the LabelLayoutParameterChanged event that occurs when the model parameter of a label has * been changed. @@ -53553,7 +53915,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelLayoutParameterChangedListener * @abstract */ - addLabelLayoutParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelLayoutParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the LabelLayoutParameterChanged event that occurs when the model parameter of a label has * been changed. @@ -53566,7 +53928,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelLayoutParameterChangedListener * @abstract */ - removeLabelLayoutParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelLayoutParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the LabelTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a label has been replaced. *

    @@ -53578,7 +53940,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removeLabelTagChangedListener * @abstract */ - addLabelTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addLabelTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the LabelTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a label has been replaced. *

    @@ -53590,7 +53952,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addLabelTagChangedListener * @abstract */ - removeLabelTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removeLabelTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the PortAdded event that occurs when a port has been added to this graph instance. *

    @@ -53604,7 +53966,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removePortAddedListener * @abstract */ - addPortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addPortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the PortAdded event that occurs when a port has been added to this graph instance. *

    @@ -53618,7 +53980,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addPortAddedListener * @abstract */ - removePortAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removePortAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the PortRemoved event that occurs when a port has been removed from its {@link yfiles.graph.IPort#owner owner}. *

    @@ -53636,7 +53998,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removePortRemovedListener * @abstract */ - addPortRemovedListener(listener:(sender:Object,evt:yfiles.graph.PortEventArgs)=>void):void; + addPortRemovedListener(listener:(sender:any,evt:yfiles.graph.PortEventArgs)=>void):void; /** * Removes the given listener for the PortRemoved event that occurs when a port has been removed from its {@link yfiles.graph.IPort#owner owner}. *

    @@ -53654,7 +54016,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addPortRemovedListener * @abstract */ - removePortRemovedListener(listener:(sender:Object,evt:yfiles.graph.PortEventArgs)=>void):void; + removePortRemovedListener(listener:(sender:any,evt:yfiles.graph.PortEventArgs)=>void):void; /** * Adds the given listener for the PortStyleChanged event that occurs when a port style has been replaced. *

    @@ -53666,7 +54028,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removePortStyleChangedListener * @abstract */ - addPortStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the PortStyleChanged event that occurs when a port style has been replaced. *

    @@ -53678,7 +54040,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addPortStyleChangedListener * @abstract */ - removePortStyleChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortStyleChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the PortLocationParameterChanged event that occurs when the location model parameter of a * port has been changed. @@ -53691,7 +54053,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removePortLocationParameterChangedListener * @abstract */ - addPortLocationParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortLocationParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the PortLocationParameterChanged event that occurs when the location model parameter of a * port has been changed. @@ -53704,7 +54066,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addPortLocationParameterChangedListener * @abstract */ - removePortLocationParameterChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortLocationParameterChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Adds the given listener for the PortTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a port has been replaced. *

    @@ -53716,7 +54078,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#removePortTagChangedListener * @abstract */ - addPortTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + addPortTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Removes the given listener for the PortTagChanged event that occurs when the {@link yfiles.graph.ITagOwner#tag tag} of a port has been replaced. *

    @@ -53728,7 +54090,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#addPortTagChangedListener * @abstract */ - removePortTagChangedListener(listener:(sender:Object,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; + removePortTagChangedListener(listener:(sender:any,evt:yfiles.graph.ItemChangedEventArgs)=>void):void; /** * Gets or sets the defaults for group nodes. * @abstract @@ -53736,45 +54098,33 @@ declare namespace yfiles{ */ groupNodeDefaults:yfiles.graph.INodeDefaults; /** - * Adds the given listener for the ParentChanged - * event. - *
    - * Event that will be triggered if an node has been reparented in the model. + * Adds the given listener for the ParentChanged event that occurs if a node has been reparented in the model. * @param listener The listener to add. * @see yfiles.graph.IGraph#removeParentChangedListener * @abstract */ - addParentChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addParentChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** - * Removes the given listener for the ParentChanged - * event. - *
    - * Event that will be triggered if an node has been reparented in the model. + * Removes the given listener for the ParentChanged event that occurs if a node has been reparented in the model. * @param listener The listener to remove. * @see yfiles.graph.IGraph#addParentChangedListener * @abstract */ - removeParentChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeParentChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** - * Adds the given listener for the IsGroupNodeChanged - * event. - *
    - * Event that will be triggered if the group node status of a node has changed. + * Adds the given listener for the IsGroupNodeChanged event that occurs if the group node status of a node has changed. * @param listener The listener to add. * @see yfiles.graph.IGraph#removeIsGroupNodeChangedListener * @abstract */ - addIsGroupNodeChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + addIsGroupNodeChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** - * Removes the given listener for the IsGroupNodeChanged - * event. - *
    - * Event that will be triggered if the group node status of a node has changed. + * Removes the given listener for the IsGroupNodeChanged event that occurs if the group node status of a node has changed. * @param listener The listener to remove. * @see yfiles.graph.IGraph#addIsGroupNodeChangedListener * @abstract */ - removeIsGroupNodeChangedListener(listener:(sender:Object,evt:yfiles.graph.NodeEventArgs)=>void):void; + removeIsGroupNodeChangedListener(listener:(sender:any,evt:yfiles.graph.NodeEventArgs)=>void):void; /** * Gets a {@link yfiles.graph.GraphDecorator} instance for use with the given graph. * @type {yfiles.graph.GraphDecorator} @@ -53834,7 +54184,7 @@ declare namespace yfiles{ } var IGraph:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IGraph; }; /** * A specialized subclass of the {@link yfiles.collections.ItemEventArgs.} class that is bound to the {@link yfiles.graph.INode} type and carries additional information @@ -53859,16 +54209,17 @@ declare namespace yfiles{ */ constructor(item:yfiles.graph.INode,oldParent:yfiles.graph.INode,oldIsGroupNode:boolean); /** - * The parent of the {@link yfiles.collections.ItemEventArgs.#item node} before this event. + * Gets the parent of the {@link yfiles.collections.ItemEventArgs.#item node} before this event. * @type {yfiles.graph.INode} */ parent:yfiles.graph.INode; /** - * Whether the {@link yfiles.collections.ItemEventArgs.#item node} was a group node before this event. + * Gets whether the {@link yfiles.collections.ItemEventArgs.#item node} was a group node before this event. * @type {boolean} */ isGroupNode:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.NodeEventArgs; } /** * A specialized subclass of the {@link yfiles.collections.ItemEventArgs.} class that is bound to the {@link yfiles.graph.IEdge} type and carries additional source and @@ -53924,6 +54275,7 @@ declare namespace yfiles{ */ targetPortOwner:yfiles.graph.IPortOwner; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.EdgeEventArgs; } /** * A specialized subclass of the {@link yfiles.collections.ItemEventArgs.} class that is bound to the {@link yfiles.graph.IPort} type and carries additional {@link yfiles.graph.IPortOwner} @@ -53950,6 +54302,7 @@ declare namespace yfiles{ */ owner:yfiles.graph.IPortOwner; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.PortEventArgs; } /** * A specialized subclass of the {@link yfiles.collections.ItemEventArgs.} class that is bound to the {@link yfiles.graph.ILabel} type and carries additional {@link yfiles.graph.ILabelOwner owner} @@ -53976,6 +54329,7 @@ declare namespace yfiles{ */ owner:yfiles.graph.ILabelOwner; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.LabelEventArgs; } /** * A specialized subclass of the {@link yfiles.collections.ItemEventArgs.} class that is bound to the {@link yfiles.graph.IBend} type and carries additional {@link yfiles.graph.IEdge owner} and index @@ -54008,6 +54362,7 @@ declare namespace yfiles{ */ index:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.BendEventArgs; } /** * Event argument class used by {@link yfiles.graph.IGraph} if a model item's property has been changed. @@ -54031,6 +54386,7 @@ declare namespace yfiles{ */ oldValue:TValue; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.ItemChangedEventArgs; } /** * The interface used in an {@link yfiles.graph.IGraph} implementation for labels. @@ -54050,9 +54406,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IModelItem} */ - export interface ILabel extends Object,yfiles.graph.IModelItem{ + export interface ILabel extends yfiles.lang.Object,yfiles.graph.IModelItem{ /** - * Returns the style that is responsible for the visual representation of this node in a {@link yfiles.view.CanvasComponent}. + * Gets the style that is responsible for the visual representation of this node in a {@link yfiles.view.CanvasComponent}. *

    * In order to set the style on an instance, use the {@link yfiles.graph.IGraph#setStyle} method. Note that the style instance * associated with a label instance may be shared between multiple label instances and that the modification of this style @@ -54124,7 +54480,7 @@ declare namespace yfiles{ } var ILabel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabel; }; /** * Interface used by {@link yfiles.graph.IGraph} and the like to declare and obtain the defaults for labels. @@ -54139,7 +54495,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#groupNodeDefaults * @interface */ - export interface ILabelDefaults extends Object{ + export interface ILabelDefaults extends yfiles.lang.Object{ /** * Factory method that returns a label model parameter instance for use with newly created labels. *

    @@ -54218,7 +54574,7 @@ declare namespace yfiles{ } var ILabelDefaults:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelDefaults; }; /** * Defines the geometry of {@link yfiles.graph.ILabel} instances with respect to specific {@link yfiles.graph.ILabelModelParameter}s. @@ -54245,7 +54601,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface ILabelModel extends Object,yfiles.graph.ILookup{ + export interface ILabelModel extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Creates a default parameter that can be used for this model. * @returns a parameter for this model instance @@ -54275,7 +54631,7 @@ declare namespace yfiles{ } var ILabelModel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelModel; }; /** * Interface that provides more information about a potential label geometry (a candidate) to an automatic labeling @@ -54288,7 +54644,7 @@ declare namespace yfiles{ * @see yfiles.graph.ILabelCandidateDescriptorProvider * @interface */ - export interface ILabelCandidateDescriptor extends Object{ + export interface ILabelCandidateDescriptor extends yfiles.lang.Object{ /** * Gets a value indicating whether this candidate is deemed an external candidate. *

    @@ -54334,7 +54690,7 @@ declare namespace yfiles{ } var ILabelCandidateDescriptor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelCandidateDescriptor; }; /** * An interface that can be used to retrieve {@link yfiles.graph.ILabelCandidateDescriptor} instances for a given pair of a {@link yfiles.graph.ILabel} @@ -54346,7 +54702,7 @@ declare namespace yfiles{ * @see yfiles.graph.ILabelCandidateDescriptor * @interface */ - export interface ILabelCandidateDescriptorProvider extends Object{ + export interface ILabelCandidateDescriptorProvider extends yfiles.lang.Object{ /** * Gets the descriptor for a given pair of a label and a {@link yfiles.graph.ILabelModelParameter}. * @param label The label to possibly assign the layoutParameter. @@ -54358,7 +54714,7 @@ declare namespace yfiles{ } var ILabelCandidateDescriptorProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelCandidateDescriptorProvider; }; /** * An implementation of the {@link yfiles.graph.ILabelCandidateDescriptorProvider} interface that always yields a constant @@ -54367,7 +54723,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelCandidateDescriptorProvider} * @final */ - export interface ConstantLabelCandidateDescriptorProvider extends Object,yfiles.graph.ILabelCandidateDescriptorProvider{} + export interface ConstantLabelCandidateDescriptorProvider extends yfiles.lang.Object,yfiles.graph.ILabelCandidateDescriptorProvider{} export class ConstantLabelCandidateDescriptorProvider { /** * Initializes a new instance of the {@link yfiles.graph.ConstantLabelCandidateDescriptorProvider} class that always yields descriptor @@ -54399,6 +54755,7 @@ declare namespace yfiles{ */ static INTERNAL_DESCRIPTOR_PROVIDER:yfiles.graph.ILabelCandidateDescriptorProvider; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.ConstantLabelCandidateDescriptorProvider; } /** * A simple mutable default implementation of the {@link yfiles.graph.ILabelCandidateDescriptor} interface. @@ -54408,7 +54765,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.ILabelCandidateDescriptor} */ - export interface LabelCandidateDescriptor extends Object,yfiles.graph.ILabelCandidateDescriptor{} + export interface LabelCandidateDescriptor extends yfiles.lang.Object,yfiles.graph.ILabelCandidateDescriptor{} export class LabelCandidateDescriptor { /** * A sharable immutable implementation of the {@link yfiles.graph.ILabelCandidateDescriptor} interface that has penalties of 1.0d @@ -54450,6 +54807,7 @@ declare namespace yfiles{ */ profit:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.LabelCandidateDescriptor; } /** * Defines a state that can be used to {@link yfiles.graph.ILabelModel#getGeometry determine the geometry of a label} with a {@link yfiles.graph.ILabelModel}. @@ -54465,7 +54823,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface ILabelModelParameter extends Object,yfiles.lang.ICloneable{ + export interface ILabelModelParameter extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Determines whether this parameter can be used for a given label instance. *

    @@ -54486,7 +54844,7 @@ declare namespace yfiles{ } var ILabelModelParameter:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelModelParameter; }; /** * Utility interface used by {@link yfiles.graph.ILabelModel} implementations to find the best {@link yfiles.graph.ILabelModelParameter} to @@ -54498,7 +54856,7 @@ declare namespace yfiles{ * @see yfiles.graph.DefaultLabelModelParameterFinder * @interface */ - export interface ILabelModelParameterFinder extends Object{ + export interface ILabelModelParameterFinder extends yfiles.lang.Object{ /** * Tries to find a parameter that best matches the given layout for the provided label instance. *

    @@ -54515,7 +54873,7 @@ declare namespace yfiles{ } var ILabelModelParameterFinder:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelModelParameterFinder; }; /** * A simple default implementation of the {@link yfiles.graph.ILabelModelParameterFinder} interface that uses the @@ -54527,7 +54885,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.ILabelModelParameterFinder} */ - export interface DefaultLabelModelParameterFinder extends Object,yfiles.graph.ILabelModelParameterFinder{} + export interface DefaultLabelModelParameterFinder extends yfiles.lang.Object,yfiles.graph.ILabelModelParameterFinder{} export class DefaultLabelModelParameterFinder { /** * Calculates a metric for the given label/parameter pair and the target label layout. @@ -54596,6 +54954,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graph.DefaultLabelModelParameterFinder; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.DefaultLabelModelParameterFinder; } /** * Helper interface used by {@link yfiles.graph.ILabelModel} implementations to provide possible candidate @@ -54606,7 +54965,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ILabelModelParameterProvider extends Object{ + export interface ILabelModelParameterProvider extends yfiles.lang.Object{ /** * Returns an enumerator over a set of possible {@link yfiles.graph.ILabelModelParameter} instances that can be used for the given * label and model. @@ -54619,7 +54978,7 @@ declare namespace yfiles{ } var ILabelModelParameterProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelModelParameterProvider; }; /** * Common interface for items in an {@link yfiles.graph.IGraph} implementation that may own {@link yfiles.graph.ILabel labels}. @@ -54632,9 +54991,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IModelItem} */ - export interface ILabelOwner extends Object,yfiles.graph.IModelItem{ + export interface ILabelOwner extends yfiles.lang.Object,yfiles.graph.IModelItem{ /** - * Provides access to a collection of {@link yfiles.graph.ILabel labels} that are owned by this instance. + * Gets a collection of {@link yfiles.graph.ILabel labels} that are owned by this instance. *

    * This gives access to a read-only live view of the labels, i.e. the collection can change over time, as well as the * labels contained in it. If a snapshot of the current state is needed, one needs to copy the collection and its @@ -54647,7 +55006,7 @@ declare namespace yfiles{ } var ILabelOwner:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILabelOwner; }; /** * A registry that can be used to store {@link yfiles.collections.IMapper.} implementations by tag. @@ -54661,7 +55020,7 @@ declare namespace yfiles{ * @see yfiles.graph.MapperRegistry * @interface */ - export interface IMapperRegistry extends Object{ + export interface IMapperRegistry extends yfiles.lang.Object{ /** * Registers a mapper for the given tag. *

    @@ -54676,7 +55035,7 @@ declare namespace yfiles{ * @template K,V * @abstract */ - addMapper(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:Object,mapper:yfiles.collections.IMapper):void; + addMapper(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:any,mapper:yfiles.collections.IMapper):void; /** * Creates a simple read-only {@link yfiles.collections.IMapper.} implementation with key type {@link yfiles.graph.ILabel} and {@link yfiles.graph.IMapperRegistry#addMapper adds} it to the registry using the * provided tag. @@ -54735,7 +55094,7 @@ declare namespace yfiles{ * @see yfiles.collections.IMapper.#fromConstant * @template K,V */ - createConstantMapper?(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:Object,constant:V):yfiles.collections.IMapper; + createConstantMapper?(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:any,constant:V):yfiles.collections.IMapper; /** * Creates a delegate-based read-only {@link yfiles.collections.IMapper.} implementation with key type {@link yfiles.graph.ILabel} and {@link yfiles.graph.IMapperRegistry#addMapper adds} it to the registry using * the provided tag. @@ -54794,7 +55153,7 @@ declare namespace yfiles{ * @see yfiles.collections.IMapper.#fromDelegate * @template K,V */ - createDelegateMapper?(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:Object,getter:(key:K)=>V):yfiles.collections.IMapper; + createDelegateMapper?(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:any,getter:(key:K)=>V):yfiles.collections.IMapper; /** * Creates and {@link yfiles.graph.IMapperRegistry#addMapper adds} a new {@link yfiles.collections.Mapper.} with key type {@link yfiles.graph.IEdge} to the registry using the provided tag. *

    @@ -54846,7 +55205,7 @@ declare namespace yfiles{ * @see yfiles.collections.Mapper. * @template K,V */ - createMapper?(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:Object):yfiles.collections.Mapper; + createMapper?(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:any):yfiles.collections.Mapper; /** * Returns a mapper that has previously been registered with this instance for the given tag. * Type parameter K: The key type for the mapper. @@ -54856,20 +55215,20 @@ declare namespace yfiles{ * @template K,V * @abstract */ - getMapper(tag:Object):yfiles.collections.IMapper; + getMapper(tag:any):yfiles.collections.IMapper; /** * Gets the mapper {@link yfiles.graph.MapperMetadata meta data} for the mapper that is registered using the tag. * @param tag The tag. * @returns The meta data or null if there is no such mapper registered for the given tag. * @abstract */ - getMapperMetadata(tag:Object):yfiles.graph.MapperMetadata; + getMapperMetadata(tag:any):yfiles.graph.MapperMetadata; /** * Removes a previously registered mapper for the given tag. * @param tag The tag that has been used for registering the mapper. * @abstract */ - removeMapper(tag:Object):void; + removeMapper(tag:any):void; /** * Sets the mapper meta data for the mapper that has been {@link yfiles.graph.IMapperRegistry#addMapper registered} using the provided tag. * @param tag The tag. @@ -54877,17 +55236,17 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} If the {@link yfiles.graph.MapperMetadata#keyType} or {@link yfiles.graph.MapperMetadata#valueType} mismatch the mapper instance in the registry. * @abstract */ - setMapperMetadata(tag:Object,metadata:yfiles.graph.MapperMetadata):void; + setMapperMetadata(tag:any,metadata:yfiles.graph.MapperMetadata):void; /** * Gets an enumerable over all tags that have been used to register mapper implementations with this interface. * @abstract - * @type {yfiles.collections.IEnumerable.} + * @type {yfiles.collections.IEnumerable.} */ - registeredTags:yfiles.collections.IEnumerable; + registeredTags:yfiles.collections.IEnumerable; } var IMapperRegistry:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IMapperRegistry; }; /** * The interface for node entities in an {@link yfiles.graph.IGraph}. @@ -54913,9 +55272,9 @@ declare namespace yfiles{ * @implements {yfiles.graph.IPortOwner} * @implements {yfiles.graph.ILabelOwner} */ - export interface INode extends Object,yfiles.graph.IPortOwner,yfiles.graph.ILabelOwner{ + export interface INode extends yfiles.lang.Object,yfiles.graph.IPortOwner,yfiles.graph.ILabelOwner{ /** - * Returns a live view of the layout of the node. + * Gets a live view of the layout of the node. *

    * The layout of a node is a rectangle in the world coordinate system that describes the bounding box of the representation * of a node. Since this method will yield a live view, it is up to the client to copy the values of the instance if a @@ -54927,7 +55286,7 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; /** - * Returns the style that is responsible for the visual representation of this node in a {@link yfiles.view.CanvasComponent}. + * Gets the style that is responsible for the visual representation of this node in a {@link yfiles.view.CanvasComponent}. *

    * In order to set the style on an instance, use the {@link yfiles.graph.IGraph#setStyle} method. Note that the style instance * associated with a node instance may be shared between multiple node instances and that the modification of this style @@ -54940,7 +55299,7 @@ declare namespace yfiles{ } var INode:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.INode; }; /** * Interface used by {@link yfiles.graph.IGraph} and the like to declare and obtain the defaults for nodes and their labels or @@ -54953,7 +55312,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#groupNodeDefaults * @interface */ - export interface INodeDefaults extends Object{ + export interface INodeDefaults extends yfiles.lang.Object{ /** * Factory method that returns a style instance for use with newly created nodes. *

    @@ -55009,7 +55368,7 @@ declare namespace yfiles{ } var INodeDefaults:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.INodeDefaults; }; /** * The interface used in an {@link yfiles.graph.IGraph} implementation for {@link yfiles.graph.IEdge}s to connect to. @@ -55031,9 +55390,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IModelItem} */ - export interface IPort extends Object,yfiles.graph.IModelItem{ + export interface IPort extends yfiles.lang.Object,yfiles.graph.IModelItem{ /** - * Returns the owner of this port. + * Gets the owner of this port. *

    * In traditional {@link yfiles.graph.IGraph} implementations, this will be an {@link yfiles.graph.INode} and can safely be cast to one. In * order to get to the {@link yfiles.graph.IEdge}s that connect to this instance, use {@link yfiles.graph.IGraph}'s {@link yfiles.graph.IGraph#edgesAt} @@ -55044,7 +55403,7 @@ declare namespace yfiles{ */ owner:yfiles.graph.IPortOwner; /** - * Returns the style that is responsible for the visual representation of this port in a {@link yfiles.view.CanvasComponent}. + * Gets the style that is responsible for the visual representation of this port in a {@link yfiles.view.CanvasComponent}. *

    * In order to set the style on an instance, use the {@link yfiles.graph.IGraph#setStyle} method. Note that the style instance * associated with a port instance may be shared between multiple port instances and that the modification of this style @@ -55093,7 +55452,7 @@ declare namespace yfiles{ } var IPort:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IPort; }; /** * The common interface for items in an {@link yfiles.graph.IGraph} that may own {@link yfiles.graph.IPort ports}. @@ -55108,9 +55467,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IModelItem} */ - export interface IPortOwner extends Object,yfiles.graph.IModelItem{ + export interface IPortOwner extends yfiles.lang.Object,yfiles.graph.IModelItem{ /** - * Provides access to a collection of {@link yfiles.graph.IPort ports} that are owned by this instance. + * Gets a collection of {@link yfiles.graph.IPort ports} that are owned by this instance. *

    * This gives access to a read-only live view of the ports, i.e. the collection can change over time, as well as the ports * contained in it. If a snapshot of the current state is needed, one needs to copy the collection. @@ -55122,7 +55481,7 @@ declare namespace yfiles{ } var IPortOwner:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IPortOwner; }; /** * Interface used by {@link yfiles.graph.IGraph} to declare and obtain the defaults for ports at nodes and edges. @@ -55137,7 +55496,7 @@ declare namespace yfiles{ * @see yfiles.graph.IGraph#edgeDefaults * @interface */ - export interface IPortDefaults extends Object{ + export interface IPortDefaults extends yfiles.lang.Object{ /** * Factory method that returns a location model parameter instance for use with newly created ports. *

    @@ -55172,7 +55531,7 @@ declare namespace yfiles{ */ style:yfiles.styles.IPortStyle; /** - * Determines whether unused ports should automatically be removed from their owners as soon as no further edge is + * Gets or sets whether unused ports should automatically be removed from their owners as soon as no further edge is * connected to them. * @see yfiles.graph.IGraph#remove * @abstract @@ -55212,7 +55571,7 @@ declare namespace yfiles{ } var IPortDefaults:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IPortDefaults; }; /** * Defines the geometry of {@link yfiles.graph.IPort} instances with respect to specific @@ -55240,7 +55599,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface IPortLocationModel extends Object,yfiles.graph.ILookup{ + export interface IPortLocationModel extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Factory method that creates a parameter for the given port that tries to match the provided location in absolute world * coordinates. @@ -55271,7 +55630,7 @@ declare namespace yfiles{ } var IPortLocationModel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IPortLocationModel; }; /** * Defines a state that can be used to {@link yfiles.graph.IPortLocationModel#getLocation determine the location of a port} with a {@link yfiles.graph.IPortLocationModel}. @@ -55287,7 +55646,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface IPortLocationModelParameter extends Object,yfiles.lang.ICloneable{ + export interface IPortLocationModelParameter extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Determines whether this parameter can be used for ports at the given owner. *

    @@ -55308,7 +55667,7 @@ declare namespace yfiles{ } var IPortLocationModelParameter:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IPortLocationModelParameter; }; export enum InteriorStretchLabelModelPosition{ /** @@ -55341,7 +55700,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface InteriorStretchLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface InteriorStretchLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class InteriorStretchLabelModel { /** * Creates a new instance of this model with empty insets. @@ -55405,7 +55764,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -55463,6 +55822,7 @@ declare namespace yfiles{ */ insets:yfiles.geometry.Insets; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.InteriorStretchLabelModel; } export enum InteriorLabelModelPosition{ /** @@ -55511,7 +55871,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface InteriorLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface InteriorLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class InteriorLabelModel { /** * Creates a new instance of this model with empty insets. @@ -55575,7 +55935,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -55673,6 +56033,7 @@ declare namespace yfiles{ */ insets:yfiles.geometry.Insets; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.InteriorLabelModel; } /** * The meta data that is associated with {@link yfiles.collections.IMapper.}s in a {@link yfiles.graph.IMapperRegistry}. @@ -55680,7 +56041,7 @@ declare namespace yfiles{ * @see yfiles.graph.IMapperRegistry#setMapperMetadata * @class */ - export interface MapperMetadata extends Object{} + export interface MapperMetadata extends yfiles.lang.Object{} export class MapperMetadata { /** * Initializes a new instance of the {@link yfiles.graph.MapperMetadata} class. @@ -55717,6 +56078,7 @@ declare namespace yfiles{ */ valueType:yfiles.lang.Class; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.MapperMetadata; } /** * A simple {@link yfiles.collections.Map.}-based implementation of the {@link yfiles.graph.IMapperRegistry} interface. @@ -55724,7 +56086,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.IMapperRegistry} * @final */ - export interface MapperRegistry extends Object,yfiles.graph.IMapperRegistry{} + export interface MapperRegistry extends yfiles.lang.Object,yfiles.graph.IMapperRegistry{} export class MapperRegistry { constructor(); /** @@ -55737,7 +56099,7 @@ declare namespace yfiles{ * @param mapper * @template K,V */ - addMapper(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:Object,mapper:yfiles.collections.IMapper):void; + addMapper(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,tag:any,mapper:yfiles.collections.IMapper):void; /** * * Type parameter K. @@ -55746,30 +56108,31 @@ declare namespace yfiles{ * @returns * @template K,V */ - getMapper(tag:Object):yfiles.collections.IMapper; + getMapper(tag:any):yfiles.collections.IMapper; /** * * @param tag * @returns */ - getMapperMetadata(tag:Object):yfiles.graph.MapperMetadata; + getMapperMetadata(tag:any):yfiles.graph.MapperMetadata; /** * * @param tag */ - removeMapper(tag:Object):void; + removeMapper(tag:any):void; /** * * @param tag * @param metadata */ - setMapperMetadata(tag:Object,metadata:yfiles.graph.MapperMetadata):void; + setMapperMetadata(tag:any,metadata:yfiles.graph.MapperMetadata):void; /** * - * @type {yfiles.collections.IEnumerable.} + * @type {yfiles.collections.IEnumerable.} */ - registeredTags:yfiles.collections.IEnumerable; + registeredTags:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.MapperRegistry; } export enum NinePositionsEdgeLabelModelPosition{ /** @@ -55819,7 +56182,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface NinePositionsEdgeLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface NinePositionsEdgeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class NinePositionsEdgeLabelModel { /** * Initializes a new instance of the {@link yfiles.graph.NinePositionsEdgeLabelModel} class. @@ -55877,7 +56240,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -55984,6 +56347,7 @@ declare namespace yfiles{ */ distance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.NinePositionsEdgeLabelModel; } /** * A node label model that knows only two possible positions. @@ -55994,7 +56358,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface SandwichLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface SandwichLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class SandwichLabelModel { /** * Initializes a new instance of the {@link yfiles.graph.SandwichLabelModel} class with zero offset. @@ -56046,7 +56410,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -56074,6 +56438,7 @@ declare namespace yfiles{ */ yOffset:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SandwichLabelModel; } /** * A port location model that places the port on a certain edge segment at a specified ratio. @@ -56081,7 +56446,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.IPortLocationModel} * @final */ - export interface SegmentRatioPortLocationModel extends Object,yfiles.graph.IPortLocationModel{} + export interface SegmentRatioPortLocationModel extends yfiles.lang.Object,yfiles.graph.IPortLocationModel{} export class SegmentRatioPortLocationModel { /** * Creates the a new parameter for the specified segment index and ratio. @@ -56124,7 +56489,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A static immutable global instance of this class. * @const @@ -56133,6 +56498,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.graph.SegmentRatioPortLocationModel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SegmentRatioPortLocationModel; } /** * An edge label model that allows the placement at any position. @@ -56159,7 +56525,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterFinder} */ - export interface SmartEdgeLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterFinder{} + export interface SmartEdgeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterFinder{} export class SmartEdgeLabelModel { /** * Initializes a new instance of this class. @@ -56232,7 +56598,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Gets or sets whether or not edge labels are automatically rotated according to the angle of the corresponding reference * edge segment. @@ -56250,6 +56616,7 @@ declare namespace yfiles{ */ angle:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.SmartEdgeLabelModel; } export enum StripeTypes{ /** @@ -56282,7 +56649,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IPortDefaults} */ - export interface PortDefaults extends Object,yfiles.graph.IPortDefaults{} + export interface PortDefaults extends yfiles.lang.Object,yfiles.graph.IPortDefaults{} export class PortDefaults { /** * Initializes a new instance of the {@link yfiles.graph.PortDefaults} class using a trivial location model parameter. @@ -56344,13 +56711,14 @@ declare namespace yfiles{ */ shareStyleInstance:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.PortDefaults; } /** * A canonic implementation of the {@link yfiles.graph.INodeDefaults} interface. * @class * @implements {yfiles.graph.INodeDefaults} */ - export interface NodeDefaults extends Object,yfiles.graph.INodeDefaults{} + export interface NodeDefaults extends yfiles.lang.Object,yfiles.graph.INodeDefaults{} export class NodeDefaults { /** * Initializes a new instance of the {@link yfiles.graph.NodeDefaults} class using default properties. @@ -56394,13 +56762,14 @@ declare namespace yfiles{ */ shareStyleInstance:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.NodeDefaults; } /** * A canonic implementation of the {@link yfiles.graph.IEdgeDefaults} interface * @class * @implements {yfiles.graph.IEdgeDefaults} */ - export interface EdgeDefaults extends Object,yfiles.graph.IEdgeDefaults{} + export interface EdgeDefaults extends yfiles.lang.Object,yfiles.graph.IEdgeDefaults{} export class EdgeDefaults { /** * Initializes a new instance of the {@link yfiles.graph.EdgeDefaults} class with default edge style and label and port defaults. @@ -56438,13 +56807,14 @@ declare namespace yfiles{ */ shareStyleInstance:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.EdgeDefaults; } /** * A canonic implementation of the {@link yfiles.graph.ILabelDefaults} interface * @class * @implements {yfiles.graph.ILabelDefaults} */ - export interface LabelDefaults extends Object,yfiles.graph.ILabelDefaults{} + export interface LabelDefaults extends yfiles.lang.Object,yfiles.graph.ILabelDefaults{} export class LabelDefaults { /** * Initializes a new instance of the {@link yfiles.graph.LabelDefaults} class using a trivial parameter. @@ -56494,6 +56864,7 @@ declare namespace yfiles{ */ shareStyleInstance:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.LabelDefaults; } /** * Interface for implementations that can calculate the bounds of a group node in a grouped graph. @@ -56502,7 +56873,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IGroupBoundsCalculator extends Object{ + export interface IGroupBoundsCalculator extends yfiles.lang.Object{ /** * Calculates the bounds of the {@link yfiles.graph.INode#layout} for the given groupNode that is a group node in the graph. * @param graph The graph which holds the groupNode. @@ -56514,7 +56885,7 @@ declare namespace yfiles{ } var IGroupBoundsCalculator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IGroupBoundsCalculator; }; /** * A group of {@link yfiles.graph.IUndoUnit}s that are undone/redone as a single unit. @@ -56526,7 +56897,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IUndoUnit} */ - export interface CompositeUndoUnit extends Object,yfiles.graph.IUndoUnit{} + export interface CompositeUndoUnit extends yfiles.lang.Object,yfiles.graph.IUndoUnit{} export class CompositeUndoUnit { /** * Creates a new instance using the provided names. @@ -56590,22 +56961,22 @@ declare namespace yfiles{ */ undo():void; /** - * Yields the number of units that are contained in this compound unit. + * Gets the number of units that are contained in this compound unit. * @type {number} */ count:number; /** - * Returns the current redo name. + * Gets or sets the current redo name. * @type {string} */ redoName:string; /** - * Returns the current redo name. + * Gets or sets the current redo name. * @type {string} */ undoName:string; /** - * Determines whether this instance has been {@link yfiles.graph.CompositeUndoUnit#dispose disposed.} + * Gets whether this instance has been {@link yfiles.graph.CompositeUndoUnit#dispose disposed.} *

    * An instance that has been disposed cannot be {@link yfiles.graph.CompositeUndoUnit#undo undone} or {@link yfiles.graph.CompositeUndoUnit#redo redone}. *

    @@ -56613,6 +56984,7 @@ declare namespace yfiles{ */ disposed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.CompositeUndoUnit; } /** * This interface is a means to bracket several @@ -56635,7 +57007,7 @@ declare namespace yfiles{ * @see yfiles.graph.IUndoUnit * @interface */ - export interface ICompoundEdit extends Object{ + export interface ICompoundEdit extends yfiles.lang.Object{ /** * This method cancels the compound editing process. *

    @@ -56656,7 +57028,7 @@ declare namespace yfiles{ } var ICompoundEdit:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ICompoundEdit; }; /** * The basic lookup interface that allows for retrieving implementations for different aspects of the current instance. @@ -56666,7 +57038,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ILookup extends Object{ + export interface ILookup extends yfiles.lang.Object{ /** * Returns an instance that implements the given type or null. *

    @@ -56680,7 +57052,7 @@ declare namespace yfiles{ * @returns an instance that is assignable to type or null * @abstract */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; } var ILookup:{ /** @@ -56701,7 +57073,7 @@ declare namespace yfiles{ * @returns an instance that will either yield subject or null * @static */ - createDynamicLookup?(subject:Object):yfiles.graph.ILookup; + createDynamicLookup?(subject:any):yfiles.graph.ILookup; /** * Creates a simple mutable {@link yfiles.graph.ILookup} implementation that is backed by an {@link yfiles.collections.IMap.}. *

    @@ -56711,7 +57083,7 @@ declare namespace yfiles{ * @returns A simple mutable {@link } implementation that is backed by a dictionary. * @static */ - createMapLookup?(backingDictionary:yfiles.collections.Map):yfiles.graph.ILookup; + createMapLookup?(backingDictionary:yfiles.collections.Map):yfiles.graph.ILookup; /** * Creates a simple lookup implementation that yields subject if type is queried. * @param subject the subject to yield @@ -56719,7 +57091,7 @@ declare namespace yfiles{ * @returns an ILookup implementation * @static */ - createSingleLookup?(subject:Object,type:yfiles.lang.Class):yfiles.graph.ILookup; + createSingleLookup?(subject:any,type:yfiles.lang.Class):yfiles.graph.ILookup; /** * An ILookup instance that always returns null. * @const @@ -56728,7 +57100,7 @@ declare namespace yfiles{ */ EMPTY?:yfiles.graph.ILookup; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILookup; }; /** * An interface for instances that can provide a {@link yfiles.graph.ILookup} capabilities for a given object. @@ -56739,7 +57111,7 @@ declare namespace yfiles{ * @see yfiles.graph.ILookup * @interface */ - export interface IContextLookup extends Object{ + export interface IContextLookup extends yfiles.lang.Object{ /** * Tries to create or retrieve an implementation of the given type for a given item. * @param item the item to lookup a type for @@ -56748,7 +57120,7 @@ declare namespace yfiles{ * @see yfiles.graph.ILookup#lookup * @abstract */ - contextLookup(item:Object,type:yfiles.lang.Class):Object; + contextLookup(item:any,type:yfiles.lang.Class):any; } var IContextLookup:{ /** @@ -56759,7 +57131,7 @@ declare namespace yfiles{ */ EMPTY_CONTEXT_LOOKUP?:yfiles.graph.IContextLookup; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IContextLookup; }; /** * An interface for instances that can be used to chain lookup operations. @@ -56770,7 +57142,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IContextLookup} */ - export interface IContextLookupChainLink extends Object,yfiles.graph.IContextLookup{ + export interface IContextLookupChainLink extends yfiles.lang.Object,yfiles.graph.IContextLookup{ /** * This method is called by the framework to register the fallback lookup implementation that should be used during a call * to {@link yfiles.graph.IContextLookup#contextLookup}. @@ -56791,7 +57163,7 @@ declare namespace yfiles{ * @returns An instance that can be used in a lookup chain. * @static */ - addingLookupChainLink?(type:yfiles.lang.Class,instance:Object):yfiles.graph.IContextLookupChainLink; + addingLookupChainLink?(type:yfiles.lang.Class,instance:any):yfiles.graph.IContextLookupChainLink; /** * Factory method for a lookup chain element that adds an {@link yfiles.graph.ILookup} layer to a lookup chain. *

    @@ -56811,7 +57183,7 @@ declare namespace yfiles{ * @returns An instance that can be used in a lookup chain. * @static */ - addingLookupChainLink?(instance:Object):yfiles.graph.IContextLookupChainLink; + addingLookupChainLink?(instance:any):yfiles.graph.IContextLookupChainLink; /** * Creates a lookup chain link that is backed by the given callback. *

    @@ -56821,7 +57193,7 @@ declare namespace yfiles{ * @returns The implementation of the link that uses the callback. * @static */ - createContextLookupChainLink?(callback:(subject:Object,type:yfiles.lang.Class)=>Object):yfiles.graph.IContextLookupChainLink; + createContextLookupChainLink?(callback:(subject:any,type:yfiles.lang.Class)=>any):yfiles.graph.IContextLookupChainLink; /** * Factory method for a lookup chain element that uses a function of type function(TContext) to yield a TResult for a specific TContext. *

    @@ -56844,7 +57216,7 @@ declare namespace yfiles{ */ hidingLookupChainLink?(type:yfiles.lang.Class):yfiles.graph.IContextLookupChainLink; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IContextLookupChainLink; }; /** * Interface that can be used to decorate the lookup result for a set of types. @@ -56852,7 +57224,7 @@ declare namespace yfiles{ * @see yfiles.graph.IContextLookupChainLink * @interface */ - export interface ILookupDecorator extends Object{ + export interface ILookupDecorator extends yfiles.lang.Object{ /** * Adds a lookup implementation for a given type using a function of type function(TContext, TResult). *

    @@ -56928,7 +57300,7 @@ declare namespace yfiles{ } var ILookupDecorator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ILookupDecorator; }; /** * Interface implemented by items that can be tagged with arbitrary objects. @@ -56938,7 +57310,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ITagOwner extends Object{ + export interface ITagOwner extends yfiles.lang.Object{ /** * Gets or sets the tag associated with this instance. *

    @@ -56946,13 +57318,13 @@ declare namespace yfiles{ * only. *

    * @abstract - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; } var ITagOwner:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ITagOwner; }; /** * An implementation of a chain of {@link yfiles.graph.IContextLookupChainLink}s. @@ -56960,7 +57332,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.IContextLookup} * @implements {yfiles.lang.IPropertyObservable} */ - export interface LookupChain extends Object,yfiles.graph.IContextLookup,yfiles.lang.IPropertyObservable{} + export interface LookupChain extends yfiles.lang.Object,yfiles.graph.IContextLookup,yfiles.lang.IPropertyObservable{} export class LookupChain { constructor(); /** @@ -57023,7 +57395,7 @@ declare namespace yfiles{ * @param type The type of the query. * @returns The result of the query. */ - contextLookup(item:Object,type:yfiles.lang.Class):Object; + contextLookup(item:any,type:yfiles.lang.Class):any; /** * Can be called by client code to trigger the {@link yfiles.graph.LookupChain#addPropertyChangedListener PropertyChanged} * event manually. @@ -57046,15 +57418,16 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.LookupChain#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when the lookup of this instance has changed for * some or all of the types or items. * @param listener The listener to remove. * @see yfiles.graph.LookupChain#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.LookupChain; } /** * The main class to provide undo and redo functionality. @@ -57116,7 +57489,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.IPropertyObservable} */ - export interface UndoEngine extends Object,yfiles.lang.IPropertyObservable{} + export interface UndoEngine extends yfiles.lang.Object,yfiles.lang.IPropertyObservable{} export class UndoEngine { /** * Initializes a new instance of the {@link yfiles.graph.UndoEngine} class. @@ -57178,7 +57551,7 @@ declare namespace yfiles{ *

    * @returns An object that can be checked against other tokens via the {@link #equals} method. */ - getToken():Object; + getToken():any; /** * This will trigger the corresponding {@link yfiles.graph.UndoEngine#addPropertyChangedListener PropertyChanged} event. * @param name The name of the property that changed. @@ -57229,22 +57602,22 @@ declare namespace yfiles{ */ size:number; /** - * Returns the {@link yfiles.graph.IUndoUnit#undoName} of the next {@link yfiles.graph.UndoEngine#undo} operation. + * Gets the {@link yfiles.graph.IUndoUnit#undoName} of the next {@link yfiles.graph.UndoEngine#undo} operation. * @type {string} */ undoName:string; /** - * Returns the {@link yfiles.graph.IUndoUnit#redoName} of the next {@link yfiles.graph.UndoEngine#redo} operation. + * Gets the {@link yfiles.graph.IUndoUnit#redoName} of the next {@link yfiles.graph.UndoEngine#redo} operation. * @type {string} */ redoName:string; /** - * Indicates whether this instance is currently performing an undo operation. + * Gets whether this instance is currently performing an undo operation. * @type {boolean} */ performingUndo:boolean; /** - * Indicates whether this instance is currently performing a redo operation. + * Gets whether this instance is currently performing a redo operation. * @type {boolean} */ performingRedo:boolean; @@ -57254,43 +57627,44 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.graph.UndoEngine#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when {@link yfiles.graph.UndoEngine#canUndo}, * {@link yfiles.graph.UndoEngine#canRedo}, {@link yfiles.graph.UndoEngine#undoName}, or {@link yfiles.graph.UndoEngine#redoName} changed its value. * @param listener The listener to remove. * @see yfiles.graph.UndoEngine#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Adds the given listener for the UnitUndone event that occurs when the engine has successfully executed the {@link yfiles.graph.IUndoUnit#undo} * operation of an {@link yfiles.graph.IUndoUnit}. * @param listener The listener to add. * @see yfiles.graph.UndoEngine#removeUnitUndoneListener */ - addUnitUndoneListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addUnitUndoneListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the UnitUndone event that occurs when the engine has successfully executed the {@link yfiles.graph.IUndoUnit#undo} * operation of an {@link yfiles.graph.IUndoUnit}. * @param listener The listener to remove. * @see yfiles.graph.UndoEngine#addUnitUndoneListener */ - removeUnitUndoneListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeUnitUndoneListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Adds the given listener for the UnitRedone event that occurs when the engine has successfully executed the {@link yfiles.graph.IUndoUnit#redo} * operation of an {@link yfiles.graph.IUndoUnit}. * @param listener The listener to add. * @see yfiles.graph.UndoEngine#removeUnitRedoneListener */ - addUnitRedoneListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + addUnitRedoneListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; /** * Removes the given listener for the UnitRedone event that occurs when the engine has successfully executed the {@link yfiles.graph.IUndoUnit#redo} * operation of an {@link yfiles.graph.IUndoUnit}. * @param listener The listener to remove. * @see yfiles.graph.UndoEngine#addUnitRedoneListener */ - removeUnitRedoneListener(listener:(sender:Object,evt:yfiles.lang.EventArgs)=>void):void; + removeUnitRedoneListener(listener:(sender:any,evt:yfiles.lang.EventArgs)=>void):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.UndoEngine; } /** * Represents a unit of work that can be undone and redone. @@ -57325,7 +57699,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IUndoUnit extends Object{ + export interface IUndoUnit extends yfiles.lang.Object{ /** * Called by the {@link yfiles.graph.UndoEngine} and client code to let the unit dispose of references aren't needed anymore. *

    @@ -57415,7 +57789,7 @@ declare namespace yfiles{ */ undo():void; /** - * Returns the name of the undo unit. + * Gets the name of the undo unit. *

    * Depending on the implementation and context this might be a human readable representation of the undo action or a * symbolic name that needs localization. @@ -57425,7 +57799,7 @@ declare namespace yfiles{ */ undoName:string; /** - * Returns the name of the redo unit. + * Gets the name of the redo unit. *

    * Depending on the implementation and context this might be a human readable representation of the redo action or a * symbolic name that needs localization. @@ -57437,7 +57811,7 @@ declare namespace yfiles{ } var IUndoUnit:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IUndoUnit; }; /** * This interface provides access to the memento design pattern to provide undoability for arbitrary models. @@ -57471,7 +57845,7 @@ declare namespace yfiles{ * @see yfiles.graph.UndoEngine * @interface */ - export interface IMementoSupport extends Object{ + export interface IMementoSupport extends yfiles.lang.Object{ /** * Reapplies a previously queried state object to a given subject. *

    @@ -57481,7 +57855,7 @@ declare namespace yfiles{ * @param state The state object as returned by {@link #getState} * @abstract */ - applyState(subject:Object,state:Object):void; + applyState(subject:any,state:any):void; /** * Retrieves an object representing the state at the moment this method is called. *

    @@ -57491,7 +57865,7 @@ declare namespace yfiles{ * @returns An object that describes the current state of subject. * @abstract */ - getState(subject:Object):Object; + getState(subject:any):any; /** * Determines whether two state objects are equal. *

    @@ -57505,11 +57879,11 @@ declare namespace yfiles{ * @returns true if the states are equal; false otherwise. * @abstract */ - stateEquals(state1:Object,state2:Object):boolean; + stateEquals(state1:any,state2:any):boolean; } var IMementoSupport:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IMementoSupport; }; /** * A convenience implementation of the {@link yfiles.graph.IUndoUnit} interface that uses simple delegates for the actual undo and @@ -57542,6 +57916,7 @@ declare namespace yfiles{ */ constructor(undoName:string,undoRedo:(param:T)=>void,undoParam:T,redoParam:T); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.DelegateUndoUnit; } /** * An abstract convenience implementation of {@link yfiles.graph.IUndoUnit}. @@ -57559,7 +57934,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IUndoUnit} */ - export interface UndoUnitBase extends Object,yfiles.graph.IUndoUnit{} + export interface UndoUnitBase extends yfiles.lang.Object,yfiles.graph.IUndoUnit{} export class UndoUnitBase { /** * Creates a new instance using the given name as undo and redo name. @@ -57605,6 +57980,7 @@ declare namespace yfiles{ */ redoName:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.UndoUnitBase; } /** * An abstract basic implementation of the {@link yfiles.graph.IFoldingEdgeConverter} interface that may be derived from to create @@ -57619,7 +57995,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IFoldingEdgeConverter} */ - export interface FoldingEdgeConverterBase extends Object,yfiles.graph.IFoldingEdgeConverter{} + export interface FoldingEdgeConverterBase extends yfiles.lang.Object,yfiles.graph.IFoldingEdgeConverter{} export class FoldingEdgeConverterBase { /** * @@ -57943,6 +58319,7 @@ declare namespace yfiles{ */ copyFirstLabel:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingEdgeConverterBase; } /** * The default implementation of the {@link yfiles.graph.IFoldingEdgeConverter} that is used by the {@link yfiles.graph.FoldingManager} @@ -57989,6 +58366,7 @@ declare namespace yfiles{ */ reuseFolderNodePorts:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.DefaultFoldingEdgeConverter; } /** * Simple default implementation of the {@link yfiles.graph.IFolderNodeConverter} interface that is used by the @@ -58003,7 +58381,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IFolderNodeConverter} */ - export interface DefaultFolderNodeConverter extends Object,yfiles.graph.IFolderNodeConverter{} + export interface DefaultFolderNodeConverter extends yfiles.lang.Object,yfiles.graph.IFolderNodeConverter{} export class DefaultFolderNodeConverter { /** * Initializes a new instance of this class using the values provided by the folderNodeDefaults parameter. @@ -58379,6 +58757,7 @@ declare namespace yfiles{ */ cloneLabelLayoutParameter:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.DefaultFolderNodeConverter; } /** * A simple implementation of the {@link yfiles.graph.IFoldingEdgeConverter} interface for use in the {@link yfiles.graph.FoldingManager#foldingEdgeConverter} property, that will prevent @@ -58386,7 +58765,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.graph.IFoldingEdgeConverter} */ - export interface ExcludingFoldingEdgeConverter extends Object,yfiles.graph.IFoldingEdgeConverter{} + export interface ExcludingFoldingEdgeConverter extends yfiles.lang.Object,yfiles.graph.IFoldingEdgeConverter{} export class ExcludingFoldingEdgeConverter { /** * Always calls {@link yfiles.graph.IFoldingEdgeFactory#excludeFoldingEdge} @@ -58417,6 +58796,7 @@ declare namespace yfiles{ */ updateFoldingEdgeState(state:yfiles.graph.FoldingEdgeState,foldingView:yfiles.graph.IFoldingView,foldingEdge:yfiles.graph.IEdge,masterEdges:yfiles.collections.IList):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.ExcludingFoldingEdgeConverter; } /** * A simple implementation of the {@link yfiles.graph.IFoldingEdgeConverter} interface that will make the {@link yfiles.graph.IFoldingView view} contain at most one @@ -58455,6 +58835,7 @@ declare namespace yfiles{ */ ignoreEdgeDirection:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.MergingFoldingEdgeConverter; } /** * This class adds folding support to {@link yfiles.graph.IGraph} implementations. @@ -58482,7 +58863,7 @@ declare namespace yfiles{ * @see yfiles.graph.FoldingManager#createFoldingView * @class */ - export interface FoldingManager extends Object{} + export interface FoldingManager extends yfiles.lang.Object{} export class FoldingManager { /** * Creates a manager instance for the given {@link yfiles.graph.FoldingManager#masterGraph} to create views on top of it that support folding operations. @@ -58702,7 +59083,7 @@ declare namespace yfiles{ */ folderNodeConverter:yfiles.graph.IFolderNodeConverter; /** - * Yields the master {@link yfiles.graph.IGraph} instance that holds the complete model in expanded group node state. + * Gets the master {@link yfiles.graph.IGraph} instance that holds the complete model in expanded group node state. *

    * This graph contains all non-folding edges and expanded group nodes, no folding edges and no collapsed group nodes. *

    @@ -58710,12 +59091,13 @@ declare namespace yfiles{ */ masterGraph:yfiles.graph.IGraph; /** - * Yields all currently known {@link yfiles.graph.FoldingManager#createFoldingView view instances} that are managed by this instance. + * Gets all currently known {@link yfiles.graph.FoldingManager#createFoldingView view instances} that are managed by this instance. * @see yfiles.graph.IFoldingView#graph * @type {yfiles.collections.IEnumerable.} */ views:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingManager; } /** * A data container representing the state of a bend of a {@link yfiles.graph.FoldingEdgeState}. @@ -58725,7 +59107,7 @@ declare namespace yfiles{ * @class * @final */ - export interface FoldingBendState extends Object{} + export interface FoldingBendState extends yfiles.lang.Object{} export class FoldingBendState { /** * Returns an {@link yfiles.graph.IBend} instance which represents this bend state. @@ -58737,21 +59119,22 @@ declare namespace yfiles{ */ asBend():yfiles.graph.IBend; /** - * The location of the bend. + * Gets or sets the location of the bend. * @type {yfiles.geometry.Point} */ location:yfiles.geometry.Point; /** - * The tag of the bend. - * @type {Object} + * Gets or sets the tag of the bend. + * @type {any} */ - tag:Object; + tag:any; /** * Gets the bend's index in the {@link yfiles.graph.FoldingEdgeState#bends} of its owner. * @type {number} */ index:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingBendState; } /** * A data container representing the state of an edge whose source and/or target node are collapsed. @@ -58799,31 +59182,32 @@ declare namespace yfiles{ */ remove(bend:yfiles.graph.FoldingBendState):void; /** - * The tag of the edge. - * @type {Object} + * Gets or sets the tag of the edge. + * @type {any} */ - tag:Object; + tag:any; /** - * The {@link yfiles.graph.FoldingBendState}s of this state. + * Gets the {@link yfiles.graph.FoldingBendState}s of this state. * @type {yfiles.collections.IListEnumerable.} */ bends:yfiles.collections.IListEnumerable; /** - * The {@link yfiles.graph.FoldingPortState} which represents the source port of this edge state. + * Gets the {@link yfiles.graph.FoldingPortState} which represents the source port of this edge state. * @type {yfiles.graph.FoldingPortState} */ sourcePort:yfiles.graph.FoldingPortState; /** - * The {@link yfiles.graph.FoldingPortState} which represents the target port of this edge state. + * Gets the {@link yfiles.graph.FoldingPortState} which represents the target port of this edge state. * @type {yfiles.graph.FoldingPortState} */ targetPort:yfiles.graph.FoldingPortState; /** - * The style of this edge. + * Gets or sets the style of this edge. * @type {yfiles.styles.IEdgeStyle} */ style:yfiles.styles.IEdgeStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingEdgeState; } /** * A data container representing the state of a label at a {@link yfiles.graph.FolderNodeState} or {@link yfiles.graph.FoldingEdgeState}. @@ -58835,7 +59219,7 @@ declare namespace yfiles{ * @class * @final */ - export interface FoldingLabelState extends Object{} + export interface FoldingLabelState extends yfiles.lang.Object{} export class FoldingLabelState { /** * Returns an {@link yfiles.graph.ILabel} instance which represents this label state. @@ -58847,31 +59231,32 @@ declare namespace yfiles{ */ asLabel():yfiles.graph.ILabel; /** - * The style of this label. + * Gets or sets the style of this label. * @type {yfiles.styles.ILabelStyle} */ style:yfiles.styles.ILabelStyle; /** - * The preferred size of the label. + * Gets or sets the preferred size of the label. * @type {yfiles.geometry.Size} */ preferredSize:yfiles.geometry.Size; /** - * The label's text. + * Gets or sets the label's text. * @type {string} */ text:string; /** - * The {@link yfiles.graph.ILabelModelParameter} used to describe the label's layout. + * Gets or sets the {@link yfiles.graph.ILabelModelParameter} used to describe the label's layout. * @type {yfiles.graph.ILabelModelParameter} */ layoutParameter:yfiles.graph.ILabelModelParameter; /** - * The tag of the label. - * @type {Object} + * Gets or sets the tag of the label. + * @type {any} */ - tag:Object; + tag:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingLabelState; } /** * An abstract base class for data containers representing the state of model items which can own labels. @@ -58887,7 +59272,7 @@ declare namespace yfiles{ * @see yfiles.graph.FoldingLabelState * @class */ - export interface FoldingLabelOwnerState extends Object{} + export interface FoldingLabelOwnerState extends yfiles.lang.Object{} export class FoldingLabelOwnerState { constructor(); /** @@ -58900,17 +59285,18 @@ declare namespace yfiles{ * @returns The newly added {@link }. * @abstract */ - addLabel(text:string,layoutParameter:yfiles.graph.ILabelModelParameter,style:yfiles.styles.ILabelStyle,preferredSize:yfiles.geometry.Size,tag:Object):yfiles.graph.FoldingLabelState; + addLabel(text:string,layoutParameter:yfiles.graph.ILabelModelParameter,style:yfiles.styles.ILabelStyle,preferredSize:yfiles.geometry.Size,tag:any):yfiles.graph.FoldingLabelState; /** * Removes all {@link yfiles.graph.FoldingLabelOwnerState#labels}. */ clearLabels():void; /** - * The {@link yfiles.graph.FoldingLabelState}s owned by this state. + * Gets the {@link yfiles.graph.FoldingLabelState}s owned by this state. * @type {yfiles.collections.IListEnumerable.} */ labels:yfiles.collections.IListEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingLabelOwnerState; } /** * A data container representing the state of a port at a {@link yfiles.graph.FolderNodeState} or {@link yfiles.graph.FoldingEdgeState}. @@ -58923,7 +59309,7 @@ declare namespace yfiles{ * @see yfiles.graph.FolderNodeState#getFoldingPortState * @class */ - export interface FoldingPortState extends Object{} + export interface FoldingPortState extends yfiles.lang.Object{} export class FoldingPortState { /** * Returns an {@link yfiles.graph.IPort} instance which represents this port state. @@ -58936,22 +59322,23 @@ declare namespace yfiles{ */ asPort():yfiles.graph.IPort; /** - * The style of this port. + * Gets or sets the style of this port. * @type {yfiles.styles.IPortStyle} */ style:yfiles.styles.IPortStyle; /** - * The {@link yfiles.graph.IPortLocationModelParameter} describing the position of this port. + * Gets or sets the {@link yfiles.graph.IPortLocationModelParameter} describing the position of this port. * @type {yfiles.graph.IPortLocationModelParameter} */ locationParameter:yfiles.graph.IPortLocationModelParameter; /** - * The tag of the port. + * Gets or sets the tag of the port. * @abstract - * @type {Object} + * @type {any} */ - tag:Object; + tag:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FoldingPortState; } /** * A data container representing the collapsed state of a node. @@ -58991,26 +59378,27 @@ declare namespace yfiles{ */ remove(label:yfiles.graph.FoldingLabelState):void; /** - * The layout of the node. + * Gets or sets the layout of the node. * @type {yfiles.geometry.IRectangle} */ layout:yfiles.geometry.IRectangle; /** - * The style of this node. + * Gets or sets the style of this node. * @type {yfiles.styles.INodeStyle} */ style:yfiles.styles.INodeStyle; /** - * The tag of the node. - * @type {Object} + * Gets or sets the tag of the node. + * @type {any} */ - tag:Object; + tag:any; /** - * The {@link yfiles.graph.FoldingPortState}s owned by this state. + * Gets the {@link yfiles.graph.FoldingPortState}s owned by this state. * @type {yfiles.collections.IListEnumerable.} */ ports:yfiles.collections.IListEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.FolderNodeState; } /** * Interface used by {@link yfiles.graph.FoldingManager} and {@link yfiles.graph.IFoldingView} which is responsible for managing edges @@ -59026,7 +59414,7 @@ declare namespace yfiles{ * @see yfiles.graph.FoldingEdgeStateId * @interface */ - export interface IFoldingEdgeConverter extends Object{ + export interface IFoldingEdgeConverter extends yfiles.lang.Object{ /** * This method gets called by the {@link yfiles.graph.IFoldingView} implementation to determine whether a given edge in the {@link yfiles.graph.FoldingManager#masterGraph} should * be represented by a folding edge in the given view. @@ -59086,7 +59474,7 @@ declare namespace yfiles{ } var IFoldingEdgeConverter:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IFoldingEdgeConverter; }; /** * Interface used by {@link yfiles.graph.FoldingManager} and {@link yfiles.graph.IFoldingView} which is responsible for managing the @@ -59101,7 +59489,7 @@ declare namespace yfiles{ * @see yfiles.graph.IFoldingView#isInFoldingState * @interface */ - export interface IFolderNodeConverter extends Object{ + export interface IFolderNodeConverter extends yfiles.lang.Object{ /** * Callback that is used by {@link yfiles.graph.IFoldingView view} implementations to initially create the appearance of a {@link yfiles.graph.IFoldingView#isInFoldingState folder} node. *

    @@ -59144,7 +59532,7 @@ declare namespace yfiles{ } var IFolderNodeConverter:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IFolderNodeConverter; }; /** * The interface of the factory that is passed to implementations of the {@link yfiles.graph.IFoldingEdgeConverter}'s {@link yfiles.graph.IFoldingEdgeConverter#addFoldingEdge} @@ -59170,7 +59558,7 @@ declare namespace yfiles{ * @see yfiles.graph.FoldingManager#foldingEdgeConverter * @interface */ - export interface IFoldingEdgeFactory extends Object{ + export interface IFoldingEdgeFactory extends yfiles.lang.Object{ /** * Tells the {@link yfiles.graph.IFoldingView} implementation to add the edge provided to the {@link yfiles.graph.IFoldingEdgeConverter#addFoldingEdge} * method as a separate folding edge to the view at the given ports. @@ -59242,14 +59630,14 @@ declare namespace yfiles{ } var IFoldingEdgeFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IFoldingEdgeFactory; }; /** * This interface defines a child element of a table or a table element container * @interface * @implements {yfiles.graph.ILabelOwner} */ - export interface IStripe extends Object,yfiles.graph.ILabelOwner{ + export interface IStripe extends yfiles.lang.Object,yfiles.graph.ILabelOwner{ /** * Returns the layout of stripe in absolute coordinates. *

    @@ -59271,7 +59659,7 @@ declare namespace yfiles{ */ insets:yfiles.geometry.Insets; /** - * Returns a live view of the relative layout of the stripe. + * Gets a live view of the relative layout of the stripe. *

    * The layout of a stripe is a rectangle in the coordinate system that is relative to the upper left corner of the parent. * Since this method will yield a live view, it is up to the client to copy the values of the instance if a snapshot of the @@ -59288,7 +59676,7 @@ declare namespace yfiles{ */ style:yfiles.styles.IStripeStyle; /** - * The current changeable dimension of the stripe. + * Gets the current changeable dimension of the stripe. *

    * This is always the stripe size which is not implicitly determined by other stripes, i.e. the height for {@link yfiles.graph.IRow} * instances and the width for {@link yfiles.graph.IColumn} instances. @@ -59298,7 +59686,7 @@ declare namespace yfiles{ */ size:number; /** - * The minimal permissible value for {@link yfiles.graph.IStripe#size}. + * Gets the minimal permissible value for {@link yfiles.graph.IStripe#size}. *

    * This value determines how much the stripe may be shrunk by interactive manipulation. *

    @@ -59307,7 +59695,7 @@ declare namespace yfiles{ */ minimumSize:number; /** - * The {@link yfiles.graph.ITable} instance where this stripe is installed. + * Gets the {@link yfiles.graph.ITable} instance where this stripe is installed. * @abstract * @type {yfiles.graph.ITable} */ @@ -59402,7 +59790,7 @@ declare namespace yfiles{ } var IStripe:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IStripe; }; /** * Central interface which provides support for tabular data presentation. @@ -59443,7 +59831,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.ILookup} */ - export interface ITable extends Object,yfiles.graph.ILookup{ + export interface ITable extends yfiles.lang.Object,yfiles.graph.ILookup{ /** * Add a label to the given owner using the text as the initial label text and label model parameter and style. * @param owner the owner to add the label to. @@ -59458,7 +59846,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#setStyle * @abstract */ - addLabel(owner:yfiles.graph.IStripe,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:Object):yfiles.graph.ILabel; + addLabel(owner:yfiles.graph.IStripe,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:any):yfiles.graph.ILabel; /** * Add a label to the given owner using the text as the initial label text and label model parameter and style. * @param {Object} options The parameters to pass. @@ -59494,7 +59882,7 @@ declare namespace yfiles{ * @param tag The tag for the label. * @returns The size as calculated by the {@link }. */ - calculateLabelPreferredSize?(stripe:yfiles.graph.IStripe,style:yfiles.styles.ILabelStyle,layoutParameter:yfiles.graph.ILabelModelParameter,text:string,tag:Object):yfiles.geometry.Size; + calculateLabelPreferredSize?(stripe:yfiles.graph.IStripe,style:yfiles.styles.ILabelStyle,layoutParameter:yfiles.graph.ILabelModelParameter,text:string,tag:any):yfiles.geometry.Size; /** * Convenience method that clears all stripes from a table. *

    @@ -59514,7 +59902,7 @@ declare namespace yfiles{ * @returns A new column instance * @abstract */ - createChildColumn(owner:yfiles.graph.IColumn,width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number):yfiles.graph.IColumn; + createChildColumn(owner:yfiles.graph.IColumn,width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IColumn; /** * Create a new column as the indexth child of owner with the given parameters. * @param {Object} options The parameters to pass. @@ -59545,7 +59933,7 @@ declare namespace yfiles{ * @returns A new row instance * @abstract */ - createChildRow(owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number):yfiles.graph.IRow; + createChildRow(owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IRow; /** * Create a new row as the indexth child of owner with the given parameters. * @param {Object} options The parameters to pass. @@ -59578,7 +59966,7 @@ declare namespace yfiles{ * @returns A newly created column instance * @see yfiles.graph.ITable#addStripeCreatedListener */ - createColumn?(width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number):yfiles.graph.IColumn; + createColumn?(width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IColumn; /** * Creates and returns a column as last child of table. *

    @@ -59634,7 +60022,7 @@ declare namespace yfiles{ * @returns A newly created row instance * @see yfiles.graph.ITable#addStripeCreatedListener */ - createRow?(height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number):yfiles.graph.IRow; + createRow?(height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IRow; /** * Creates and returns a row as last child of table. *

    @@ -59910,7 +60298,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#removeLabelAddedListener * @abstract */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the LabelAdded event that occurs when a label has been added to this graph instance. * @param listener The listener to remove. @@ -59918,7 +60306,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#addLabelAddedListener * @abstract */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the LabelRemoved event that occurs when a label has been removed from this graph instance. *

    @@ -59933,7 +60321,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#removeLabelRemovedListener * @abstract */ - addLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Removes the given listener for the LabelRemoved event that occurs when a label has been removed from this graph * instance. @@ -59949,7 +60337,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#addLabelRemovedListener * @abstract */ - removeLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * Adds the given listener for the LabelChanged event that occurs when a label has been changed, for instance, if its style * has been replaced. @@ -59958,7 +60346,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#removeLabelChangedListener * @abstract */ - addLabelChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the LabelChanged event that occurs when a label has been changed, for instance, if its * style has been replaced. @@ -59967,7 +60355,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#addLabelChangedListener * @abstract */ - removeLabelChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the StripeCreated event that occurs when a stripe has been added. * @param listener The listener to add. @@ -59976,7 +60364,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#removeStripeCreatedListener * @abstract */ - addStripeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Removes the given listener for the StripeCreated event that occurs when a stripe has been added. * @param listener The listener to remove. @@ -59985,7 +60373,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#addStripeCreatedListener * @abstract */ - removeStripeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Adds the given listener for the StripeRemoved event that occurs when a stripe has been removed from its parent. * @param listener The listener to add. @@ -59993,7 +60381,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#removeStripeRemovedListener * @abstract */ - addStripeRemovedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + addStripeRemovedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * Removes the given listener for the StripeRemoved event that occurs when a stripe has been removed from its parent. * @param listener The listener to remove. @@ -60001,7 +60389,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#addStripeRemovedListener * @abstract */ - removeStripeRemovedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + removeStripeRemovedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * Adds the given listener for the StripeChanged event that occurs when a stripe has been changed, for instance, if its * style has been replaced. @@ -60013,7 +60401,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#removeStripeChangedListener * @abstract */ - addStripeChangedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + addStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * Removes the given listener for the StripeChanged event that occurs when a stripe has been changed, for instance, if its * style has been replaced. @@ -60025,7 +60413,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#addStripeChangedListener * @abstract */ - removeStripeChangedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + removeStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; } var ITable:{ /** @@ -60131,7 +60519,7 @@ declare namespace yfiles{ */ placeNodeInCell?(options:{graph:yfiles.graph.IGraph,node:yfiles.graph.INode,tableNode:yfiles.graph.INode,column:yfiles.graph.IColumn,row:yfiles.graph.IRow,reparent?:boolean,alwaysMove?:boolean}):void; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.ITable; }; /** * Interface that describes a row in a {@link yfiles.graph.ITable} instance. @@ -60143,9 +60531,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IStripe} */ - export interface IRow extends Object,yfiles.graph.IStripe{ + export interface IRow extends yfiles.lang.Object,yfiles.graph.IStripe{ /** - * Returns the parent of this row. + * Gets the parent of this row. *

    * In a table, each row has a parent, except for the {@link yfiles.graph.ITable#rootRow} hierarchy root. *

    @@ -60154,7 +60542,7 @@ declare namespace yfiles{ */ parentRow:yfiles.graph.IRow; /** - * Returns the child rows. + * Gets the child rows. *

    * This collection may be empty. Each entry in this collection has this instance as {@link yfiles.graph.IRow#parentRow}. *

    @@ -60165,7 +60553,7 @@ declare namespace yfiles{ } var IRow:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IRow; }; /** * Interface that describes a column in a {@link yfiles.graph.ITable} instance. @@ -60177,9 +60565,9 @@ declare namespace yfiles{ * @interface * @implements {yfiles.graph.IStripe} */ - export interface IColumn extends Object,yfiles.graph.IStripe{ + export interface IColumn extends yfiles.lang.Object,yfiles.graph.IStripe{ /** - * Returns the parent of this column. + * Gets the parent of this column. *

    * In a table, each column has a parent, except for the {@link yfiles.graph.ITable#rootColumn} hierarchy root. *

    @@ -60188,7 +60576,7 @@ declare namespace yfiles{ */ parentColumn:yfiles.graph.IColumn; /** - * Returns the child columns. + * Gets the child columns. *

    * This collection may be empty. Each entry in this collection has this instance as {@link yfiles.graph.IColumn#parentColumn}. *

    @@ -60199,7 +60587,7 @@ declare namespace yfiles{ } var IColumn:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IColumn; }; export enum StretchStripeLabelModelPosition{ /** @@ -60231,7 +60619,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface StretchStripeLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface StretchStripeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class StretchStripeLabelModel { /** * Creates a new instance of this model with empty insets. @@ -60289,7 +60677,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -60347,6 +60735,7 @@ declare namespace yfiles{ */ useActualInsets:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.StretchStripeLabelModel; } /** * A specialized subclass of the {@link yfiles.collections.ItemEventArgs.} class that is bound to the {@link yfiles.graph.IStripe} type and carries additional {@link yfiles.graph.IStripe owner} @@ -60379,6 +60768,7 @@ declare namespace yfiles{ */ table:yfiles.graph.ITable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.StripeEventArgs; } export enum StripeLabelModelPosition{ /** @@ -60410,7 +60800,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILabelModel} * @implements {yfiles.graph.ILabelModelParameterProvider} */ - export interface StripeLabelModel extends Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} + export interface StripeLabelModel extends yfiles.lang.Object,yfiles.graph.ILabelModel,yfiles.graph.ILabelModelParameterProvider{} export class StripeLabelModel { /** * Creates a new instance of this model with empty insets. @@ -60468,7 +60858,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * A convenience parameter instance that can be shared between label instances. *

    @@ -60530,6 +60920,7 @@ declare namespace yfiles{ */ ratio:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.StripeLabelModel; } /** * Default implementation of the {@link yfiles.graph.ITable} interface. @@ -60537,7 +60928,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ITable} * @implements {yfiles.lang.ICloneable} */ - export interface Table extends Object,yfiles.graph.ITable,yfiles.lang.ICloneable{} + export interface Table extends yfiles.lang.Object,yfiles.graph.ITable,yfiles.lang.ICloneable{} export class Table { /** * Default constructor that creates an empty table @@ -60564,7 +60955,7 @@ declare namespace yfiles{ * @param [tag=null] * @returns */ - addLabel(owner:yfiles.graph.IStripe,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:Object):yfiles.graph.ILabel; + addLabel(owner:yfiles.graph.IStripe,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:any):yfiles.graph.ILabel; /** * * @param {Object} options The parameters to pass. @@ -60581,7 +60972,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Called during {@link yfiles.graph.Table#clone} to create a copy of column *

    @@ -60626,7 +61017,7 @@ declare namespace yfiles{ * @param [index=null] * @returns */ - createChildColumn(owner:yfiles.graph.IColumn,width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number):yfiles.graph.IColumn; + createChildColumn(owner:yfiles.graph.IColumn,width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IColumn; /** * * @param {Object} options The parameters to pass. @@ -60651,7 +61042,7 @@ declare namespace yfiles{ * @param [index=null] * @returns */ - createChildRow(owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number):yfiles.graph.IRow; + createChildRow(owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IRow; /** * * @param {Object} options The parameters to pass. @@ -60667,13 +61058,13 @@ declare namespace yfiles{ createChildRow(options:{owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number}):yfiles.graph.IRow; /** * Callback method that creates the Column defaults. - * @returns A new instance of the {@link } class which is used for newly created columns. + * @returns A new instance of the {@link } class which is used for {@link #createChildColumn newly created columns}. * @protected */ createColumnDefaults():yfiles.graph.IStripeDefaults; /** * Callback method that creates the row defaults. - * @returns A new instance of the {@link } class that is used for newly created rows. + * @returns A new instance of the {@link } class that is used for {@link #createChildRow newly created rows}. * @protected */ createRowDefaults():yfiles.graph.IStripeDefaults; @@ -60710,7 +61101,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Called after a label has been added to a stripe. *

    @@ -60897,12 +61288,12 @@ declare namespace yfiles{ */ static DEFAULT_ROW_LOOKUP:yfiles.graph.IContextLookup; /** - * The toplevel {@link yfiles.graph.IRow}s in this table. + * Gets the toplevel {@link yfiles.graph.IRow}s in this table. * @type {yfiles.collections.IEnumerable.} */ rows:yfiles.collections.IEnumerable; /** - * The toplevel {@link yfiles.graph.IColumn}s in this table. + * Gets the toplevel {@link yfiles.graph.IColumn}s in this table. * @type {yfiles.collections.IEnumerable.} */ columns:yfiles.collections.IEnumerable; @@ -60931,62 +61322,62 @@ declare namespace yfiles{ * * @param listener */ - addStripeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeStripeCreatedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addStripeRemovedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + addStripeRemovedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * * @param listener */ - removeStripeRemovedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + removeStripeRemovedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * * @param listener */ - addStripeChangedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + addStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * * @param listener */ - removeStripeChangedListener(listener:(sender:Object,evt:yfiles.graph.StripeEventArgs)=>void):void; + removeStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void; /** * * @param listener */ - addLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeLabelAddedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - addLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + addLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * * @param listener */ - removeLabelRemovedListener(listener:(sender:Object,evt:yfiles.graph.LabelEventArgs)=>void):void; + removeLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void; /** * * @param listener */ - addLabelChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + addLabelChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * * @param listener */ - removeLabelChangedListener(listener:(sender:Object,evt:yfiles.collections.ItemEventArgs)=>void):void; + removeLabelChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void; /** * Gets or sets the defaults for rows. *

    @@ -61024,6 +61415,7 @@ declare namespace yfiles{ */ rootColumn:yfiles.graph.IColumn; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.Table; } /** * Interface used by {@link yfiles.graph.ITable} and the like to declare and obtain the defaults for stripes and their labels. @@ -61031,7 +61423,7 @@ declare namespace yfiles{ * @see yfiles.graph.ITable#columnDefaults * @interface */ - export interface IStripeDefaults extends Object{ + export interface IStripeDefaults extends yfiles.lang.Object{ /** * Factory method that returns a style instance for use with newly created stripes. *

    @@ -61091,14 +61483,14 @@ declare namespace yfiles{ } var IStripeDefaults:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.graph.IStripeDefaults; }; /** * A canonic implementation of the {@link yfiles.graph.IStripeDefaults} interface. * @class * @implements {yfiles.graph.IStripeDefaults} */ - export interface StripeDefaults extends Object,yfiles.graph.IStripeDefaults{} + export interface StripeDefaults extends yfiles.lang.Object,yfiles.graph.IStripeDefaults{} export class StripeDefaults { /** * Default constructor @@ -61161,6 +61553,7 @@ declare namespace yfiles{ */ shareStyleInstance:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.graph.StripeDefaults; } }export namespace geometry{ export enum PathType{ @@ -61207,7 +61600,7 @@ declare namespace yfiles{ * @see yfiles.geometry.GeneralPath#createCursor * @class */ - export interface GeneralPathCursor extends Object{} + export interface GeneralPathCursor extends yfiles.lang.Object{} export class GeneralPathCursor { /** * Places the coordinates for the current type into the given array. @@ -61246,17 +61639,17 @@ declare namespace yfiles{ */ toLast():boolean; /** - * Returns the current position of the cursor. + * Gets the current position of the cursor. * @type {number} */ index:number; /** - * Returns the type of the path at the position of the cursor. + * Gets the type of the path at the position of the cursor. * @type {yfiles.geometry.PathType} */ pathType:yfiles.geometry.PathType; /** - * Returns the current x coordinate of the last path element. + * Gets the current x coordinate of the last path element. * @type {number} */ currentEndPointX:number; @@ -61266,11 +61659,12 @@ declare namespace yfiles{ */ currentEndPoint:yfiles.geometry.Point; /** - * Returns the current y coordinate of the last path element. + * Gets the current y coordinate of the last path element. * @type {number} */ currentEndPointY:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.GeneralPathCursor; } /** * Models a path that consists of lines and Bézier curves. @@ -61284,7 +61678,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface GeneralPath extends Object,yfiles.lang.ICloneable{} + export interface GeneralPath extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class GeneralPath { /** * Creates a new instance with given initial capacity. @@ -61350,7 +61744,7 @@ declare namespace yfiles{ * Creates a clone of this instance, copying the path information to the new instance. * @returns An exact clone of this instance. */ - clone():Object; + clone():any; /** * Appends a {@link yfiles.geometry.PathType#CLOSE} operation to the path elements, creating a line to the last {@link yfiles.geometry.PathType#MOVE_TO} * position. @@ -61519,13 +61913,12 @@ declare namespace yfiles{ /** * Gets the tangent on this path instance at the segment and segment ratio. *

    - * Note that this implementation still treats Bézier curves as linear segments. Also note that the tangent vector may not - * be normalized. + * Note that this implementation still treats Bézier curves as linear segments. *

    * @param ratio A value between 0 and 1 inclusively that indicates a ratio from the beginning to the end of the segment at segmentIndex * for this path. * @param segmentIndex The segment index to determine a point at. - * @returns The tangent, if any exists. The tangent vector may not be normalized. + * @returns The tangent, if any exists; null otherwise. The tangent vector may not be normalized. */ getTangent(segmentIndex:number,ratio:number):yfiles.geometry.Tangent; /** @@ -61534,13 +61927,14 @@ declare namespace yfiles{ * Note that this implementation still treats Bézier curves as linear segments. *

    * @param ratio A value between 0 and 1 inclusively that indicates a ratio from the beginning to the end of this path. - * @returns The tangent, if any exists. The tangent vector may not be normalized. + * @returns The tangent, if any exists; null otherwise. The tangent vector may not be normalized. */ getTangent(ratio:number):yfiles.geometry.Tangent; /** - * Determines whether this has the same values like path. - * @param path The object to compare this to. Must be of the same type. - * @returns true if this has the same values like the other object. + * Determines whether a given {@link yfiles.geometry.GeneralPath} instance can be considered equivalent to this one, that is, both + * represent the same path with the same sub-path types and coordinates. + * @param path The other {@link } instance to compare. + * @returns true if path and this instance have the same sub-path types and coordinates, false if not. */ hasSameValue(path:yfiles.geometry.GeneralPath):boolean; /** @@ -61671,6 +62065,7 @@ declare namespace yfiles{ */ size:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.GeneralPath; } /** * An immutable {@link yfiles.geometry.ISize} implementation to describe a size in two-dimensional space. @@ -61796,6 +62191,7 @@ declare namespace yfiles{ */ isFinite:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.Size; } /** * An immutable {@link yfiles.geometry.IPoint} that models a point in 2-d Cartesian coordinate space with double coordinates. @@ -61993,12 +62389,12 @@ declare namespace yfiles{ */ y:number; /** - * Yields the length of the vector that has {@link yfiles.geometry.Point#x} and {@link yfiles.geometry.Point#y} as its components. + * Gets the length of the vector that has {@link yfiles.geometry.Point#x} and {@link yfiles.geometry.Point#y} as its components. * @type {number} */ vectorLength:number; /** - * Yields the squared length of the vector that has {@link yfiles.geometry.Point#x} and {@link yfiles.geometry.Point#y} as its components. + * Gets the squared length of the vector that has {@link yfiles.geometry.Point#x} and {@link yfiles.geometry.Point#y} as its components. * @type {number} */ squaredVectorLength:number; @@ -62008,16 +62404,17 @@ declare namespace yfiles{ */ normalized:yfiles.geometry.Point; /** - * Indicates whether this instance is a vertically oriented vector. + * Gets whether this instance is a vertically oriented vector. * @type {boolean} */ isVerticalVector:boolean; /** - * Indicates whether this instance is a horizontally oriented vector. + * Gets whether this instance is a horizontally oriented vector. * @type {boolean} */ isHorizontalVector:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.Point; } /** * A class that models the thickness of insets as double precision floating point values. @@ -62111,6 +62508,7 @@ declare namespace yfiles{ */ isEmpty:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.Insets; } /** * An immutable class that models a rectangle in 2-d Cartesian coordinate space with double coordinates. @@ -62409,6 +62807,7 @@ declare namespace yfiles{ */ area:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.Rect; } /** * An immutable class that represents a tangent in a 2-d Cartesian coordinate space with double values. @@ -62437,6 +62836,7 @@ declare namespace yfiles{ */ vector:yfiles.geometry.Point; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.Tangent; } /** * Utility class that performs all kind of geometric operations. @@ -62446,7 +62846,7 @@ declare namespace yfiles{ * @class * @static */ - export interface GeomUtilities extends Object{} + export interface GeomUtilities extends yfiles.lang.Object{} export class GeomUtilities { /** * Checks whether an ellipse contains the given point. @@ -62486,6 +62886,7 @@ declare namespace yfiles{ */ static findRayIntersection(start:yfiles.geometry.Point,end:yfiles.geometry.Point,anchor:yfiles.geometry.Point,rayDirection:yfiles.geometry.Point):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.GeomUtilities; } /** * Interface for mutable oriented rectangles in 2D coordinate space with double precision coordinates. @@ -62496,7 +62897,7 @@ declare namespace yfiles{ * @implements {yfiles.geometry.IOrientedRectangle} * @implements {yfiles.geometry.IMutableSize} */ - export interface IMutableOrientedRectangle extends Object,yfiles.geometry.IOrientedRectangle,yfiles.geometry.IMutableSize{ + export interface IMutableOrientedRectangle extends yfiles.lang.Object,yfiles.geometry.IOrientedRectangle,yfiles.geometry.IMutableSize{ /** * Sets the anchor vector of the oriented rectangle to the given value. * @param location The coordinates of the new anchor location. @@ -62544,7 +62945,7 @@ declare namespace yfiles{ } var IMutableOrientedRectangle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IMutableOrientedRectangle; }; /** * Interface for a mutable point in 2D coordinate space with double precision coordinates. @@ -62557,7 +62958,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.geometry.IPoint} */ - export interface IMutablePoint extends Object,yfiles.geometry.IPoint{ + export interface IMutablePoint extends yfiles.lang.Object,yfiles.geometry.IPoint{ /** * Sets the coordinates of the point to the given values. * @param x The new x coordinate @@ -62596,7 +62997,7 @@ declare namespace yfiles{ } var IMutablePoint:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IMutablePoint; }; /** * Interface for mutable rectangles aligned to the axes in 2D coordinate space with double precision coordinates. @@ -62613,7 +63014,7 @@ declare namespace yfiles{ * @implements {yfiles.geometry.IMutablePoint} * @implements {yfiles.geometry.IRectangle} */ - export interface IMutableRectangle extends Object,yfiles.geometry.IMutableSize,yfiles.geometry.IMutablePoint,yfiles.geometry.IRectangle{ + export interface IMutableRectangle extends yfiles.lang.Object,yfiles.geometry.IMutableSize,yfiles.geometry.IMutablePoint,yfiles.geometry.IRectangle{ /** * Adds a point to a rectangle, possibly enlarging the rectangle. *

    @@ -62669,7 +63070,7 @@ declare namespace yfiles{ } var IMutableRectangle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IMutableRectangle; }; /** * Interface for a mutable size in 2D coordinate space with double precision width and height. @@ -62681,7 +63082,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.geometry.ISize} */ - export interface IMutableSize extends Object,yfiles.geometry.ISize{ + export interface IMutableSize extends yfiles.lang.Object,yfiles.geometry.ISize{ /** * Sets the coordinates of the size to the given values. * @param newWidth The new x coordinate @@ -62718,7 +63119,7 @@ declare namespace yfiles{ } var IMutableSize:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IMutableSize; }; /** * Interface for oriented rectangles in 2D coordinate space with double precision coordinates. @@ -62740,7 +63141,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.geometry.ISize} */ - export interface IOrientedRectangle extends Object,yfiles.geometry.ISize{ + export interface IOrientedRectangle extends yfiles.lang.Object,yfiles.geometry.ISize{ /** * Determines whether the given oriented rectangle contains the provided point, using an epsilon value. * @param point The coordinates of the point to test. @@ -62769,7 +63170,7 @@ declare namespace yfiles{ */ toOrientedRectangle?():yfiles.algorithms.YOrientedRectangle; /** - * Returns the x coordinate of the anchor of the oriented rectangle. + * Gets the x coordinate of the anchor of the oriented rectangle. *

    * The anchor is the lower left corner of the oriented rectangle if the up vector is (0,-1). *

    @@ -62778,7 +63179,7 @@ declare namespace yfiles{ */ anchorX:number; /** - * Returns the y coordinate of the anchor of the oriented rectangle. + * Gets the y coordinate of the anchor of the oriented rectangle. *

    * The anchor is the lower left corner of the oriented rectangle if the up vector is (0,-1). *

    @@ -62787,7 +63188,7 @@ declare namespace yfiles{ */ anchorY:number; /** - * Returns the x value of the up vector. + * Gets the x value of the up vector. *

    * The up vector points from the lower left corner to the upper left corner and is always normalized, i.e. it's length is * always 1. @@ -62797,7 +63198,7 @@ declare namespace yfiles{ */ upX:number; /** - * Returns the y value of the up vector. + * Gets the y value of the up vector. *

    * The up vector points from the lower left corner to the upper left corner and is always normalized, i.e. it's length is * always 1. @@ -62839,7 +63240,7 @@ declare namespace yfiles{ */ EMPTY?:yfiles.geometry.IOrientedRectangle; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IOrientedRectangle; }; /** * Interface for a point in 2D coordinate space with double precision coordinates. @@ -62853,7 +63254,7 @@ declare namespace yfiles{ * @see yfiles.geometry.MutablePoint * @interface */ - export interface IPoint extends Object{ + export interface IPoint extends yfiles.lang.Object{ /** * Calculates the Euclidean distance between two points. * @param point2 The second point. @@ -62891,7 +63292,7 @@ declare namespace yfiles{ } var IPoint:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IPoint; }; /** * Interface for rectangles aligned to the axes in 2D coordinate space with double precision coordinates. @@ -62913,7 +63314,7 @@ declare namespace yfiles{ * @implements {yfiles.geometry.ISize} * @implements {yfiles.geometry.IPoint} */ - export interface IRectangle extends Object,yfiles.geometry.ISize,yfiles.geometry.IPoint{ + export interface IRectangle extends yfiles.lang.Object,yfiles.geometry.ISize,yfiles.geometry.IPoint{ /** * Determines whether the given rectangle contains the provided point. * @param point The point to test. @@ -62989,7 +63390,7 @@ declare namespace yfiles{ } var IRectangle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.IRectangle; }; /** * Interface for an object that has a size in 2D coordinate space with double precision floating point size values. @@ -63003,7 +63404,7 @@ declare namespace yfiles{ * @see yfiles.geometry.MutableSize * @interface */ - export interface ISize extends Object{ + export interface ISize extends yfiles.lang.Object{ /** * Converts the {@link yfiles.geometry.ISize} to a {@link yfiles.geometry.Size} struct. * @returns A {@link } struct that has been initialized with the current values of size. @@ -63030,7 +63431,7 @@ declare namespace yfiles{ } var ISize:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.geometry.ISize; }; export enum MatrixOrder{ /** @@ -63067,7 +63468,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface Matrix extends Object,yfiles.lang.ICloneable{} + export interface Matrix extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class Matrix { /** * Create a matrix using the provided matrix entries. @@ -63182,7 +63583,7 @@ declare namespace yfiles{ */ translate(delta:yfiles.geometry.Point,order?:yfiles.geometry.MatrixOrder):void; /** - * Returns a new double[] of the elements describing the matrix. + * Gets a new double[] of the elements describing the matrix. *

    * The order is m11, m12, m21, m22, dx, dy. *

    @@ -63190,6 +63591,7 @@ declare namespace yfiles{ */ elements:number[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.Matrix; } /** * A simple default implementation of a mutable point in 2D coordinate space with double precision coordinates. @@ -63203,7 +63605,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface MutablePoint extends Object,yfiles.geometry.IMutablePoint,yfiles.lang.ICloneable{} + export interface MutablePoint extends yfiles.lang.Object,yfiles.geometry.IMutablePoint,yfiles.lang.ICloneable{} export class MutablePoint { /** * Creates an instance using the given coordinate pair. @@ -63244,6 +63646,7 @@ declare namespace yfiles{ */ y:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.MutablePoint; } /** * A simple default implementation of a mutable rectangle in 2D coordinate space with double precision values stored in an @@ -63261,7 +63664,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface MutableRectangle extends Object,yfiles.geometry.IMutableRectangle,yfiles.geometry.IOrientedRectangle,yfiles.lang.ICloneable{} + export interface MutableRectangle extends yfiles.lang.Object,yfiles.geometry.IMutableRectangle,yfiles.geometry.IOrientedRectangle,yfiles.lang.ICloneable{} export class MutableRectangle { /** * Creates a new instance using the provided values to initialize the position and size. @@ -63311,12 +63714,12 @@ declare namespace yfiles{ */ moveBy(delta:yfiles.geometry.Point):void; /** - * Returns whether this instance has negative width or height. + * Gets whether this instance has negative width or height. * @type {boolean} */ isEmpty:boolean; /** - * Returns the instance that stores the position of this rectangle. + * Gets the position of this rectangle. *

    * This will return a live view of the position of this rectangle. However setting a position instance will only copy the * values of the point provided to the current position. @@ -63325,7 +63728,7 @@ declare namespace yfiles{ */ location:yfiles.geometry.IPoint; /** - * Returns the instance that stores the size of this rectangle. + * Gets the size of this rectangle. *

    * This will return a live view of the size of this rectangle. However setting a size instance will only copy the values of * the size provided to the current size. @@ -63390,7 +63793,7 @@ declare namespace yfiles{ */ y2:number; /** - * Implements the {@link yfiles.geometry.IOrientedRectangle} and will return the x coordinate of the {@link yfiles.geometry.MutableRectangle#location}. + * Gets the x coordinate of the {@link yfiles.geometry.MutableRectangle#location}. *

    * This implementation behaves like an {@link yfiles.geometry.IOrientedRectangle} that is anchored at the lower left corner of this * rectangle and whose up vector is (0, -1). @@ -63399,7 +63802,7 @@ declare namespace yfiles{ */ anchorX:number; /** - * Implements the {@link yfiles.geometry.IOrientedRectangle} and will return the y coordinate of the {@link yfiles.geometry.MutableRectangle#location} plus the {@link yfiles.geometry.ISize#height}. + * Gets the y coordinate of the {@link yfiles.geometry.MutableRectangle#location} plus the {@link yfiles.geometry.ISize#height}. *

    * This implementation behaves like an {@link yfiles.geometry.IOrientedRectangle} that is anchored at the lower left corner of this * rectangle and whose up vector is (0, -1). @@ -63408,7 +63811,7 @@ declare namespace yfiles{ */ anchorY:number; /** - * Always returns 0 + * Gets the x value of the up vector which is always 0 *

    * This implementation behaves like an {@link yfiles.geometry.IOrientedRectangle} that is anchored at the lower left corner of this * rectangle and whose up vector is (0, -1). @@ -63417,7 +63820,7 @@ declare namespace yfiles{ */ upX:number; /** - * Always returns -1 + * Gets the y value of the up vector which is always -1 *

    * This implementation behaves like an {@link yfiles.geometry.IOrientedRectangle} that is anchored at the lower left corner of this * rectangle and whose up vector is (0, -1). @@ -63426,6 +63829,7 @@ declare namespace yfiles{ */ upY:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.MutableRectangle; } /** * A simple default implementation of a mutable size in 2D coordinate space with double precision values. @@ -63438,7 +63842,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface MutableSize extends Object,yfiles.geometry.IMutableSize,yfiles.lang.ICloneable{} + export interface MutableSize extends yfiles.lang.Object,yfiles.geometry.IMutableSize,yfiles.lang.ICloneable{} export class MutableSize { /** * Creates an instance using the given width and height. @@ -63470,6 +63874,7 @@ declare namespace yfiles{ */ height:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.MutableSize; } /** * A simple default implementation of a mutable oriented rectangle in 2D coordinate space with double precision values @@ -63488,7 +63893,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface OrientedRectangle extends Object,yfiles.geometry.IMutablePoint,yfiles.geometry.IMutableOrientedRectangle,yfiles.lang.ICloneable{} + export interface OrientedRectangle extends yfiles.lang.Object,yfiles.geometry.IMutablePoint,yfiles.geometry.IMutableOrientedRectangle,yfiles.lang.ICloneable{} export class OrientedRectangle { /** * Creates a new instance using the provided values to initialize the anchor and size. @@ -63598,12 +64003,12 @@ declare namespace yfiles{ */ setUpVector(upx:number,upy:number):void; /** - * Returns whether this instance has negative width or height. + * Gets whether this instance has negative width or height. * @type {boolean} */ isEmpty:boolean; /** - * Returns the instance that stores the anchor of this oriented rectangle. + * Gets or sets the anchor of this oriented rectangle. *

    * This will return a live view of the anchor of this rectangle. However setting an anchor instance will only copy the * values of the point provided to the current anchor. @@ -63612,7 +64017,7 @@ declare namespace yfiles{ */ anchor:yfiles.geometry.IPoint; /** - * Returns the instance that stores the size of this rectangle. + * Gets or sets the size of this rectangle. *

    * This will return a live view of the size of this rectangle. However setting a size instance will only copy the values of * the size provided to the current size. @@ -63707,6 +64112,7 @@ declare namespace yfiles{ */ angle:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.geometry.OrientedRectangle; } }export namespace styles{ /** @@ -63716,7 +64122,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.ICloneable} * @final */ - export interface Arrow extends Object,yfiles.styles.IArrow,yfiles.lang.ICloneable{} + export interface Arrow extends yfiles.lang.Object,yfiles.styles.IArrow,yfiles.lang.ICloneable{} export class Arrow { /** * Creates a new arrow with the given color to use for {@link yfiles.styles.Arrow#stroke} and brush. @@ -63819,6 +64225,7 @@ declare namespace yfiles{ */ cropLength:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.Arrow; } /** * The default implementation of the {@link yfiles.styles.IEdgePathCropper}. @@ -63829,7 +64236,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.IEdgePathCropper} */ - export interface DefaultEdgePathCropper extends Object,yfiles.styles.IEdgePathCropper{} + export interface DefaultEdgePathCropper extends yfiles.lang.Object,yfiles.styles.IEdgePathCropper{} export class DefaultEdgePathCropper { /** * Calculates the total length the edge path is cropped. @@ -63968,6 +64375,7 @@ declare namespace yfiles{ */ cropAtPort:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.DefaultEdgePathCropper; } /** * The interface for the visual representation of an arrow that is normally used to decorate the visual representation of @@ -63982,7 +64390,7 @@ declare namespace yfiles{ * * @interface */ - export interface IArrow extends Object{ + export interface IArrow extends yfiles.lang.Object{ /** * Gets an {@link yfiles.view.IBoundsProvider} implementation that can yield this arrow's bounds if painted at the given location * using the given direction for the given edge. @@ -64010,8 +64418,8 @@ declare namespace yfiles{ */ getVisualCreator(edge:yfiles.graph.IEdge,atSource:boolean,anchor:yfiles.geometry.Point,direction:yfiles.geometry.Point):yfiles.view.IVisualCreator; /** - * Returns the length of the arrow (the distance from the arrow's tip to the position where the visual representation of - * the edge's path should begin). + * Gets the length of the arrow (the distance from the arrow's tip to the position where the visual representation of the + * edge's path should begin). * @abstract * @type {number} */ @@ -64085,7 +64493,7 @@ declare namespace yfiles{ */ TRIANGLE?:yfiles.styles.IArrow; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IArrow; }; /** * A void implementation of an edge style that does nothing and behaves like an invisible style. @@ -64098,13 +64506,13 @@ declare namespace yfiles{ * @implements {yfiles.styles.IEdgeStyle} * @final */ - export interface VoidEdgeStyle extends Object,yfiles.styles.IEdgeStyle{} + export interface VoidEdgeStyle extends yfiles.lang.Object,yfiles.styles.IEdgeStyle{} export class VoidEdgeStyle { /** * Returns this. * @returns this */ - clone():Object; + clone():any; /** * The {@link yfiles.styles.VoidEdgeStyle} singleton. * @const @@ -64113,12 +64521,13 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.VoidEdgeStyle; /** - * Yields the {@link yfiles.styles.VoidEdgeStyleRenderer#INSTANCE VoidEdgeStyleRenderer instance}. + * Gets the {@link yfiles.styles.VoidEdgeStyleRenderer#INSTANCE VoidEdgeStyleRenderer instance}. * @see yfiles.styles.IEdgeStyle#renderer * @type {yfiles.styles.IEdgeStyleRenderer} */ renderer:yfiles.styles.IEdgeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidEdgeStyle; } /** * A void implementation of an edge style renderer that does nothing. @@ -64131,7 +64540,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.IEdgeStyleRenderer} * @final */ - export interface VoidEdgeStyleRenderer extends Object,yfiles.styles.IEdgeStyleRenderer{} + export interface VoidEdgeStyleRenderer extends yfiles.lang.Object,yfiles.styles.IEdgeStyleRenderer{} export class VoidEdgeStyleRenderer { /** * Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds. @@ -64191,6 +64600,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.IEdgeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidEdgeStyleRenderer; } /** * A void implementation of the {@link yfiles.styles.IPathGeometry} interface that does nothing and behaves like an empty path. @@ -64202,7 +64612,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.IPathGeometry} * @final */ - export interface VoidPathGeometry extends Object,yfiles.styles.IPathGeometry{} + export interface VoidPathGeometry extends yfiles.lang.Object,yfiles.styles.IPathGeometry{} export class VoidPathGeometry { /** * The {@link yfiles.styles.VoidPathGeometry} singleton. @@ -64212,6 +64622,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.IPathGeometry; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidPathGeometry; } /** * Style implementation for {@link yfiles.graph.IEdge} instances in an {@link yfiles.graph.IGraph}. @@ -64233,7 +64644,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface IEdgeStyle extends Object,yfiles.lang.ICloneable{ + export interface IEdgeStyle extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Gets the renderer implementation that can be queried for implementations that provide details about the visual * appearance and visual behavior for a given edge and this style instance. @@ -64247,7 +64658,7 @@ declare namespace yfiles{ } var IEdgeStyle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IEdgeStyle; }; /** * Interface used by {@link yfiles.styles.IEdgeStyle} implementations that can be used to query the actual @@ -64264,7 +64675,7 @@ declare namespace yfiles{ * @see yfiles.styles.IPortStyleRenderer * @interface */ - export interface IEdgeStyleRenderer extends Object{ + export interface IEdgeStyleRenderer extends yfiles.lang.Object{ /** * Gets an implementation of the {@link yfiles.view.IBoundsProvider} interface that can handle the provided edge and its associated * style. @@ -64367,7 +64778,7 @@ declare namespace yfiles{ } var IEdgeStyleRenderer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IEdgeStyleRenderer; }; export enum ArrowType{ /** @@ -64415,7 +64826,7 @@ declare namespace yfiles{ * * @interface */ - export interface IEdgePathCropper extends Object{ + export interface IEdgePathCropper extends yfiles.lang.Object{ /** * Crops the provided path at one end of an edge. * @param edge The edge whose path is to be cropped. @@ -64429,7 +64840,7 @@ declare namespace yfiles{ } var IEdgePathCropper:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IEdgePathCropper; }; /** * A void implementation of a label style that does nothing and behaves like an invisible style. @@ -64442,13 +64853,13 @@ declare namespace yfiles{ * @implements {yfiles.styles.ILabelStyle} * @final */ - export interface VoidLabelStyle extends Object,yfiles.styles.ILabelStyle{} + export interface VoidLabelStyle extends yfiles.lang.Object,yfiles.styles.ILabelStyle{} export class VoidLabelStyle { /** * Returns this. * @returns this */ - clone():Object; + clone():any; /** * The singleton instance of this style. * @const @@ -64457,12 +64868,13 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.VoidLabelStyle; /** - * Yields the {@link yfiles.styles.VoidLabelStyleRenderer#INSTANCE VoidLabelStyleRenderer instance}. + * Gets the {@link yfiles.styles.VoidLabelStyleRenderer#INSTANCE VoidLabelStyleRenderer instance}. * @see yfiles.styles.ILabelStyle#renderer * @type {yfiles.styles.ILabelStyleRenderer} */ renderer:yfiles.styles.ILabelStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidLabelStyle; } /** * A void implementation of a label style renderer that does nothing. @@ -64475,7 +64887,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.ILabelStyleRenderer} * @final */ - export interface VoidLabelStyleRenderer extends Object,yfiles.styles.ILabelStyleRenderer{} + export interface VoidLabelStyleRenderer extends yfiles.lang.Object,yfiles.styles.ILabelStyleRenderer{} export class VoidLabelStyleRenderer { /** * Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds. @@ -64534,6 +64946,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.ILabelStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidLabelStyleRenderer; } /** * Style implementation for {@link yfiles.graph.ILabel} instances in an {@link yfiles.graph.IGraph}. @@ -64555,7 +64968,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface ILabelStyle extends Object,yfiles.lang.ICloneable{ + export interface ILabelStyle extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Gets the renderer implementation that can be queried for implementations that provide details about the visual * appearance and visual behavior for a given label and this style instance. @@ -64569,7 +64982,7 @@ declare namespace yfiles{ } var ILabelStyle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.ILabelStyle; }; /** * Interface used by {@link yfiles.styles.ILabelStyle} implementations to query the actual {@link yfiles.view.IVisualCreator}, @@ -64586,7 +64999,7 @@ declare namespace yfiles{ * @see yfiles.styles.IPortStyleRenderer * @interface */ - export interface ILabelStyleRenderer extends Object{ + export interface ILabelStyleRenderer extends yfiles.lang.Object{ /** * Gets an implementation of the {@link yfiles.view.IBoundsProvider} interface that can handle the provided label and its * associated style. @@ -64683,7 +65096,7 @@ declare namespace yfiles{ } var ILabelStyleRenderer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.ILabelStyleRenderer; }; /** * A void implementation of the {@link yfiles.styles.IShapeGeometry} interface that does nothing and behaves like an empty @@ -64696,7 +65109,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.IShapeGeometry} * @final */ - export interface VoidShapeGeometry extends Object,yfiles.styles.IShapeGeometry{} + export interface VoidShapeGeometry extends yfiles.lang.Object,yfiles.styles.IShapeGeometry{} export class VoidShapeGeometry { /** * This implementation always returns null (a {@link T} with no value). @@ -64730,6 +65143,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.IShapeGeometry; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidShapeGeometry; } /** * A void implementation of a node style that does nothing and behaves like an invisible style. @@ -64742,13 +65156,13 @@ declare namespace yfiles{ * @implements {yfiles.styles.INodeStyle} * @final */ - export interface VoidNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface VoidNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class VoidNodeStyle { /** * Returns this. * @returns this */ - clone():Object; + clone():any; /** * The {@link yfiles.styles.VoidNodeStyle} singleton. * @const @@ -64757,12 +65171,13 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.VoidNodeStyle; /** - * Yields the {@link yfiles.styles.VoidNodeStyleRenderer#INSTANCE VoidNodeStyleRenderer instance}. + * Gets the {@link yfiles.styles.VoidNodeStyleRenderer#INSTANCE VoidNodeStyleRenderer instance}. * @see yfiles.styles.INodeStyle#renderer * @type {yfiles.styles.INodeStyleRenderer} */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidNodeStyle; } /** * A void implementation of a node style renderer that does nothing. @@ -64775,7 +65190,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.INodeStyleRenderer} * @final */ - export interface VoidNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer{} + export interface VoidNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer{} export class VoidNodeStyleRenderer { /** * Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds. @@ -64835,6 +65250,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidNodeStyleRenderer; } /** * Style implementation for {@link yfiles.graph.INode} instances in an {@link yfiles.graph.IGraph}. @@ -64856,7 +65272,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface INodeStyle extends Object,yfiles.lang.ICloneable{ + export interface INodeStyle extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Gets the renderer implementation that can be queried for implementations that provide details about the visual * appearance and visual behavior for a given node and this style instance. @@ -64870,7 +65286,7 @@ declare namespace yfiles{ } var INodeStyle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.INodeStyle; }; /** * Interface used by {@link yfiles.styles.INodeStyle} implementations that can be used to query the actual @@ -64887,7 +65303,7 @@ declare namespace yfiles{ * @see yfiles.styles.IPortStyleRenderer * @interface */ - export interface INodeStyleRenderer extends Object{ + export interface INodeStyleRenderer extends yfiles.lang.Object{ /** * Gets an implementation of the {@link yfiles.view.IBoundsProvider} interface that can handle the provided node and its associated * style. @@ -64990,14 +65406,14 @@ declare namespace yfiles{ } var INodeStyleRenderer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.INodeStyleRenderer; }; /** * Interface that is used mainly by {@link yfiles.styles.IEdgeStyleRenderer} implementations to reveal geometric details about the * visualization of an edge's path. * @interface */ - export interface IPathGeometry extends Object{ + export interface IPathGeometry extends yfiles.lang.Object{ /** * Returns a representation of the visible path of the edge in form of a {@link yfiles.geometry.GeneralPath} * @returns An instance that describes the visible path or null if this is not applicable for the current geometry. @@ -65030,7 +65446,7 @@ declare namespace yfiles{ } var IPathGeometry:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IPathGeometry; }; /** * A void implementation of a port style renderer that does nothing. @@ -65043,7 +65459,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.IPortStyleRenderer} * @final */ - export interface VoidPortStyleRenderer extends Object,yfiles.styles.IPortStyleRenderer{} + export interface VoidPortStyleRenderer extends yfiles.lang.Object,yfiles.styles.IPortStyleRenderer{} export class VoidPortStyleRenderer { /** * Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds. @@ -65095,6 +65511,7 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.IPortStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidPortStyleRenderer; } /** * A void implementation of a port style that does nothing and behaves like an invisible style. @@ -65107,13 +65524,13 @@ declare namespace yfiles{ * @implements {yfiles.styles.IPortStyle} * @final */ - export interface VoidPortStyle extends Object,yfiles.styles.IPortStyle{} + export interface VoidPortStyle extends yfiles.lang.Object,yfiles.styles.IPortStyle{} export class VoidPortStyle { /** * Returns this. * @returns this */ - clone():Object; + clone():any; /** * The {@link yfiles.styles.VoidPortStyle} singleton. * @const @@ -65122,12 +65539,13 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.VoidPortStyle; /** - * Yields the {@link yfiles.styles.VoidPortStyleRenderer#INSTANCE VoidPortStyleRenderer instance}. + * Gets the {@link yfiles.styles.VoidPortStyleRenderer#INSTANCE VoidPortStyleRenderer instance}. * @see yfiles.styles.IPortStyle#renderer * @type {yfiles.styles.IPortStyleRenderer} */ renderer:yfiles.styles.IPortStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidPortStyle; } /** * Style implementation for {@link yfiles.graph.IPort} instances in an {@link yfiles.graph.IGraph}. @@ -65149,7 +65567,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface IPortStyle extends Object,yfiles.lang.ICloneable{ + export interface IPortStyle extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Gets the renderer implementation that can be queried for implementations that provide details about the visual * appearance and visual behavior for a given port and this style instance. @@ -65163,7 +65581,7 @@ declare namespace yfiles{ } var IPortStyle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IPortStyle; }; /** * Interface used by {@link yfiles.styles.IPortStyle} implementations that can be used to query the actual @@ -65180,7 +65598,7 @@ declare namespace yfiles{ * @see yfiles.styles.ILabelStyleRenderer * @interface */ - export interface IPortStyleRenderer extends Object{ + export interface IPortStyleRenderer extends yfiles.lang.Object{ /** * Gets an implementation of the {@link yfiles.view.IBoundsProvider} interface that can handle the provided port and its associated * style. @@ -65269,7 +65687,7 @@ declare namespace yfiles{ } var IPortStyleRenderer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IPortStyleRenderer; }; /** * Interface that describes the geometry of a shape which has an interior and an exterior. @@ -65280,7 +65698,7 @@ declare namespace yfiles{ * * @interface */ - export interface IShapeGeometry extends Object{ + export interface IShapeGeometry extends yfiles.lang.Object{ /** * Returns the intersection for the given line with this shape's geometry. * @param inner The first point of the line that is inside the shape. @@ -65305,7 +65723,7 @@ declare namespace yfiles{ } var IShapeGeometry:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IShapeGeometry; }; /** * An {@link yfiles.view.IVisualCreator} for use in a {@link yfiles.view.CanvasComponent} that renders a {@link yfiles.graph.IGraph} instance in a @@ -65313,7 +65731,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.view.IVisualCreator} */ - export interface GraphOverviewSvgVisualCreator extends Object,yfiles.view.IVisualCreator{} + export interface GraphOverviewSvgVisualCreator extends yfiles.lang.Object,yfiles.view.IVisualCreator{} export class GraphOverviewSvgVisualCreator { /** * Creates a new instance for the given graph. @@ -65384,252 +65802,7 @@ declare namespace yfiles{ */ edgeStyle:yfiles.styles.IEdgeStyle; static $class:yfiles.lang.Class; - } - /** - * An abstract base class that makes it possible to easily implement a custom {@link yfiles.styles.IEdgeStyle}. - *

    - * The only method that needs to be implemented by subclasses is {@link yfiles.styles.EdgeStyleBase#createVisual}, however to - * improve rendering performance it is highly recommended to implement at least - * {@link yfiles.styles.EdgeStyleBase#updateVisual}, too. - *

    - *

    - * This implementation differs from the straightforward {@link yfiles.styles.IEdgeStyle} implementation in that there is no visible - * separation between the style and its - * {@link yfiles.styles.IEdgeStyleRenderer}. Instead the renderer used by the base class is fixed and delegates all calls back to - * the style instance. - *

    - *

    Related demos:

    - *
      - *
    • Demo: SimpleCustomStyle, demo.yfiles.style.simplecustomstyle
    • - *
    • Tutorial: 02 Custom Styles, step 16 Custom Edge Style
    • - *
    • Tutorial: 02 Custom Styles, step 17 Edge Hit Test
    • - *
    • Tutorial: 02 Custom Styles, step 18 Edge Cropping
    • - *
    - * @class - * @implements {yfiles.styles.IEdgeStyle} - */ - export interface EdgeStyleBase extends Object,yfiles.styles.IEdgeStyle{} - export class EdgeStyleBase { - /** - * Initializes a new instance of the {@link yfiles.styles.EdgeStyleBase} class. - * @protected - */ - constructor(); - /** - * Convenience method that adds the arrows to a given container. - * @param context The context for the rendering. - * @param group The container to which the arrows should be added. - * @param edge The edge that is being rendered. - * @param edgePath The edge path. - * @param sourceArrow The source arrow. - * @param targetArrow The target arrow. - * @protected - */ - addArrows(context:yfiles.view.IRenderContext,group:SVGGElement,edge:yfiles.graph.IEdge,edgePath:yfiles.geometry.GeneralPath,sourceArrow:yfiles.styles.IArrow,targetArrow:yfiles.styles.IArrow):void; - /** - * Creates a new object that is a copy of the current instance. - *

    - * Immutable subclasses should consider returning this. - *

    - * @returns A new object that is a copy of this instance using {@link #memberwiseClone}. - */ - clone():Object; - /** - * Callback that creates the visual. - *

    - * This method is called in response to a {@link yfiles.view.IVisualCreator#createVisual} call to the instance that has been - * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. - *

    - * @param context The render context. - * @param edge The edge to which this style instance is assigned. - * @returns The visual as required by the {@link #createVisual} interface. - * @see yfiles.styles.EdgeStyleBase#updateVisual - * @protected - * @abstract - */ - createVisual(context:yfiles.view.IRenderContext,edge:yfiles.graph.IEdge):yfiles.view.Visual; - /** - * Convenience method that crops the edge's path at the nodes. - *

    - * This implementation uses the {@link yfiles.styles.IEdgePathCropper} instances found in the {@link yfiles.graph.ILookup#lookup} of the - * source and target port of the edge to perform the actual cropping. - *

    - * @param edge The edge that is being rendered. - * @param path The path that should be cropped. - * @param sourceArrow The source arrow instance. - * @param targetArrow The target arrow instance. - * @returns The cropped path. This is can be either the same instance of the given path or a newly created instance. - * @protected - */ - cropPath(edge:yfiles.graph.IEdge,sourceArrow:yfiles.styles.IArrow,targetArrow:yfiles.styles.IArrow,path:yfiles.geometry.GeneralPath):yfiles.geometry.GeneralPath; - /** - * Gets the bounds of the visual for the edge in the given context. - *

    - * This method is called in response to a {@link yfiles.view.IBoundsProvider#getBounds} call to the instance that has been queried - * from the {@link yfiles.styles.EdgeStyleBase#renderer}. This implementation simply yields a {@link yfiles.geometry.Rect rectangle} containing. the locations of the {@link yfiles.graph.IEdge#sourcePort source port} and the {@link yfiles.graph.IEdge#targetPort target port} - * of the edge and the locations of all its {@link yfiles.graph.IEdge#bends bends}. - *

    - * @param context The canvas context. - * @param edge The edge to which this style instance is assigned. - * @returns The visual bounds of the visual representation. - * @protected - */ - getBounds(context:yfiles.view.ICanvasContext,edge:yfiles.graph.IEdge):yfiles.geometry.Rect; - /** - * Gets the path of the edge. - * @param edge The edge. - * @returns The path. - * @protected - */ - getPath(edge:yfiles.graph.IEdge):yfiles.geometry.GeneralPath; - /** - * Gets the number of segments of the edge. - * @param edge The edge. - * @returns The segment count. - * @protected - */ - getSegmentCount(edge:yfiles.graph.IEdge):number; - /** - * Convenience method that calculates the source arrow anchor and direction for a a given arrow and path. - * @param path The path of the edge. - * @param arrow The arrow. - * @returns The anchor and directional vector of the arrow, if any exist. - * @protected - */ - getSourceArrowAnchor(path:yfiles.geometry.GeneralPath,arrow:yfiles.styles.IArrow):yfiles.geometry.Tangent; - /** - * Gets the tangent to the edge at the specified ratio of a segment of the edge and the corresponding touch point. - * @param edge The edge. - * @param segmentIndex Index of the segment of the edge. - * @param ratio A value between 0 and 1 inclusively that indicates a ratio from the beginning to the end of the segment of the edge. - * @returns The tangent, if any exists. - * @protected - */ - getTangent(edge:yfiles.graph.IEdge,segmentIndex:number,ratio:number):yfiles.geometry.Tangent; - /** - * Gets the tangent to the edge at the specified ratio and the corresponding touch point. - * @param edge The edge. - * @param ratio A value between 0 and 1 inclusively that indicates a ratio from the beginning to the end of the path of the edge. - * @returns The tangent, if any exists. - * @protected - */ - getTangent(edge:yfiles.graph.IEdge,ratio:number):yfiles.geometry.Tangent; - /** - * Convenience method that calculates the target arrow anchor and direction for a a given arrow and path. - * @param path The path of the edge. - * @param arrow The arrow. - * @returns The anchor and directional vector of the arrow, if any exist. - * @protected - */ - getTargetArrowAnchor(path:yfiles.geometry.GeneralPath,arrow:yfiles.styles.IArrow):yfiles.geometry.Tangent; - /** - * Determines whether the visual representation of the edge has been hit at the given location. - *

    - * This method is called in response to a {@link yfiles.input.IHitTestable#isHit} call to the instance that has been queried from - * the {@link yfiles.styles.EdgeStyleBase#renderer}. - *

    - *

    - * This implementation returns the result of the {@link yfiles.geometry.Point#hitsPolyline} method of class {@link yfiles.geometry.Point} - * with the polygonal line defined by the source port, the target port and the bends of the edge and the {@link yfiles.view.ICanvasContext#hitTestRadius} of the - * {@link yfiles.view.ICanvasContext canvas context}. - *

    - * @param context The input mode context. - * @param location The point to test. - * @param edge The edge to which this style instance is assigned. - * @returns true if the specified edge representation is hit; false otherwise. - * @see yfiles.geometry.Point#hitsPolyline - * @protected - */ - isHit(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point,edge:yfiles.graph.IEdge):boolean; - /** - * Determines whether the visualization for the specified edge is included in the marquee selection. - *

    - * This method is called in response to a {@link yfiles.input.IMarqueeTestable#isInBox} call to the instance that has been queried - * from the {@link yfiles.styles.EdgeStyleBase#renderer}. - *

    - *

    - * This implementation returns the result of the {@link yfiles.geometry.Rect#intersectsPolyline} method of class {@link yfiles.geometry.Rect} - * with the polygonal line defined by the source port, the target port and the bends of the edge. - *

    - * @param context The input mode context. - * @param rectangle The marquee selection box. - * @param edge The edge to which this style instance is assigned. - * @returns true if the specified edge is visible is selected by the marquee rectangle; false otherwise. - * @protected - */ - isInBox(context:yfiles.input.IInputModeContext,rectangle:yfiles.geometry.Rect,edge:yfiles.graph.IEdge):boolean; - /** - * Determines whether the visualization for the specified edge is visible in the context. - *

    - * This method is called in response to a {@link yfiles.view.IVisibilityTestable#isVisible} call to the instance that has been - * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. This implementation simply tests whether the {@link yfiles.styles.EdgeStyleBase#getBounds bounds} intersect the clip. - *

    - * @param context The canvas context. - * @param rectangle The clipping rectangle. - * @param edge The edge to which this style instance is assigned. - * @returns true if the specified edge is visible in the clipping rectangle; false otherwise. - * @protected - */ - isVisible(context:yfiles.view.ICanvasContext,rectangle:yfiles.geometry.Rect,edge:yfiles.graph.IEdge):boolean; - /** - * Performs the {@link yfiles.graph.ILookup#lookup} operation for the {@link yfiles.styles.IEdgeStyleRenderer#getContext} that has been - * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. - *

    - * This implementation yields null for everything but: - *

    - *
      - *
    • {@link yfiles.input.IHitTestable}
    • - *
    • {@link yfiles.view.IVisualCreator}
    • - *
    • {@link yfiles.view.IBoundsProvider}
    • - *
    • {@link yfiles.view.IVisibilityTestable}
    • - *
    • {@link yfiles.input.IMarqueeTestable}
    • - *
    • {@link yfiles.graph.ILookup}
    • - *
    • {@link yfiles.styles.IPathGeometry}
    • - *
    - *

    - * For these interfaces an implementation will be returned that delegates to the methods in this instance. - *

    - * @param edge The edge to use for the context lookup. - * @param type The type to query. - * @returns An implementation of the type or null. - * @protected - */ - lookup(edge:yfiles.graph.IEdge,type:yfiles.lang.Class):Object; - /** - * Convenience method that updates the arrows in a given container. - * @param context The context for the rendering. - * @param group The container to which the arrows should be added. - * @param edge The edge that is being rendered. - * @param edgePath The edge path. - * @param sourceArrow The source arrow. - * @param targetArrow The target arrow. - * @protected - */ - updateArrows(context:yfiles.view.IRenderContext,group:SVGGElement,edge:yfiles.graph.IEdge,edgePath:yfiles.geometry.GeneralPath,sourceArrow:yfiles.styles.IArrow,targetArrow:yfiles.styles.IArrow):void; - /** - * Callback that updates the visual previously created by {@link yfiles.styles.EdgeStyleBase#createVisual}. - *

    - * This method is called in response to a {@link yfiles.view.IVisualCreator#updateVisual} call to the instance that has been - * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. This implementation simply delegates to {@link yfiles.styles.EdgeStyleBase#createVisual} so subclasses should - * override to improve rendering performance. - *

    - * @param context The render context. - * @param oldVisual The visual that has been created in the call to {@link #createVisual}. - * @param edge The edge to which this style instance is assigned. - * @returns The visual as required by the {@link #createVisual} interface. - * @see yfiles.styles.EdgeStyleBase#createVisual - * @protected - */ - updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual,edge:yfiles.graph.IEdge):yfiles.view.Visual; - /** - * Gets the renderer implementation for this instance. - *

    - * The private implementation will delegate all API calls back to this instance. - *

    - * @type {yfiles.styles.IEdgeStyleRenderer} - */ - renderer:yfiles.styles.IEdgeStyleRenderer; - static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.GraphOverviewSvgVisualCreator; } /** * Decorates an arbitrary node styles with an additional collapse/expand handle. @@ -65649,7 +65822,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface CollapsibleNodeStyleDecorator extends Object,yfiles.styles.INodeStyle{} + export interface CollapsibleNodeStyleDecorator extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class CollapsibleNodeStyleDecorator { /** * Initializes a new instance of the {@link yfiles.styles.CollapsibleNodeStyleDecorator} class using the provided style for the {@link yfiles.styles.CollapsibleNodeStyleDecorator#wrapped} @@ -65694,7 +65867,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets an {@link yfiles.graph.ILabelModelParameter} that determines the placement of the button for toggling the expanded * state. @@ -65728,6 +65901,7 @@ declare namespace yfiles{ */ wrapped:yfiles.styles.INodeStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.CollapsibleNodeStyleDecorator; } /** * {@link yfiles.styles.INodeStyleRenderer} implementation that can be used in conjunction with {@link yfiles.styles.CollapsibleNodeStyleDecorator} @@ -65742,7 +65916,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface CollapsibleNodeStyleDecoratorRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface CollapsibleNodeStyleDecoratorRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class CollapsibleNodeStyleDecoratorRenderer { /** * Initializes a new instance of the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer} class. @@ -65954,7 +66128,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Updates the button visual. *

    @@ -65989,7 +66163,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -65997,6 +66171,254 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.CollapsibleNodeStyleDecoratorRenderer; + } + /** + * An abstract base class that makes it possible to easily implement a custom {@link yfiles.styles.IEdgeStyle}. + *

    + * The only method that needs to be implemented by subclasses is {@link yfiles.styles.EdgeStyleBase#createVisual}, however to + * improve rendering performance it is highly recommended to implement at least + * {@link yfiles.styles.EdgeStyleBase#updateVisual}, too. + *

    + *

    + * This implementation differs from the straightforward {@link yfiles.styles.IEdgeStyle} implementation in that there is no visible + * separation between the style and its + * {@link yfiles.styles.IEdgeStyleRenderer}. Instead the renderer used by the base class is fixed and delegates all calls back to + * the style instance. + *

    + *

    Related demos:

    + *
      + *
    • Demo: SimpleCustomStyle, demo.yfiles.style.simplecustomstyle
    • + *
    • Tutorial: 02 Custom Styles, step 16 Custom Edge Style
    • + *
    • Tutorial: 02 Custom Styles, step 17 Edge Hit Test
    • + *
    • Tutorial: 02 Custom Styles, step 18 Edge Cropping
    • + *
    + * @class + * @implements {yfiles.styles.IEdgeStyle} + */ + export interface EdgeStyleBase extends yfiles.lang.Object,yfiles.styles.IEdgeStyle{} + export class EdgeStyleBase { + /** + * Initializes a new instance of the {@link yfiles.styles.EdgeStyleBase} class. + * @protected + */ + constructor(); + /** + * Convenience method that adds the arrows to a given container. + * @param context The context for the rendering. + * @param group The container to which the arrows should be added. + * @param edge The edge that is being rendered. + * @param edgePath The edge path. + * @param sourceArrow The source arrow. + * @param targetArrow The target arrow. + * @protected + */ + addArrows(context:yfiles.view.IRenderContext,group:SVGGElement,edge:yfiles.graph.IEdge,edgePath:yfiles.geometry.GeneralPath,sourceArrow:yfiles.styles.IArrow,targetArrow:yfiles.styles.IArrow):void; + /** + * Creates a new object that is a copy of the current instance. + *

    + * Immutable subclasses should consider returning this. + *

    + * @returns A new object that is a copy of this instance using {@link #memberwiseClone}. + */ + clone():any; + /** + * Callback that creates the visual. + *

    + * This method is called in response to a {@link yfiles.view.IVisualCreator#createVisual} call to the instance that has been + * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. + *

    + * @param context The render context. + * @param edge The edge to which this style instance is assigned. + * @returns The visual as required by the {@link #createVisual} interface. + * @see yfiles.styles.EdgeStyleBase#updateVisual + * @protected + * @abstract + */ + createVisual(context:yfiles.view.IRenderContext,edge:yfiles.graph.IEdge):yfiles.view.Visual; + /** + * Convenience method that crops the edge's path at the nodes. + *

    + * This implementation uses the {@link yfiles.styles.IEdgePathCropper} instances found in the {@link yfiles.graph.ILookup#lookup} of the + * source and target port of the edge to perform the actual cropping. + *

    + * @param edge The edge that is being rendered. + * @param path The path that should be cropped. + * @param sourceArrow The source arrow instance. + * @param targetArrow The target arrow instance. + * @returns The cropped path. This is can be either the same instance of the given path or a newly created instance. + * @protected + */ + cropPath(edge:yfiles.graph.IEdge,sourceArrow:yfiles.styles.IArrow,targetArrow:yfiles.styles.IArrow,path:yfiles.geometry.GeneralPath):yfiles.geometry.GeneralPath; + /** + * Gets the bounds of the visual for the edge in the given context. + *

    + * This method is called in response to a {@link yfiles.view.IBoundsProvider#getBounds} call to the instance that has been queried + * from the {@link yfiles.styles.EdgeStyleBase#renderer}. This implementation simply yields a {@link yfiles.geometry.Rect rectangle} containing. the locations of the {@link yfiles.graph.IEdge#sourcePort source port} and the {@link yfiles.graph.IEdge#targetPort target port} + * of the edge and the locations of all its {@link yfiles.graph.IEdge#bends bends}. + *

    + * @param context The canvas context. + * @param edge The edge to which this style instance is assigned. + * @returns The visual bounds of the visual representation. + * @protected + */ + getBounds(context:yfiles.view.ICanvasContext,edge:yfiles.graph.IEdge):yfiles.geometry.Rect; + /** + * Gets the path of the edge. + * @param edge The edge. + * @returns The path. + * @protected + */ + getPath(edge:yfiles.graph.IEdge):yfiles.geometry.GeneralPath; + /** + * Gets the number of segments of the edge. + * @param edge The edge. + * @returns The segment count. + * @protected + */ + getSegmentCount(edge:yfiles.graph.IEdge):number; + /** + * Convenience method that calculates the source arrow anchor and direction for a a given arrow and path. + * @param path The path of the edge. + * @param arrow The arrow. + * @returns The anchor and directional vector of the arrow, if any exist. + * @protected + */ + getSourceArrowAnchor(path:yfiles.geometry.GeneralPath,arrow:yfiles.styles.IArrow):yfiles.geometry.Tangent; + /** + * Gets the tangent to the edge at the specified ratio of a segment of the edge and the corresponding touch point. + * @param edge The edge. + * @param segmentIndex Index of the segment of the edge. + * @param ratio A value between 0 and 1 inclusively that indicates a ratio from the beginning to the end of the segment of the edge. + * @returns The tangent, if any exists. + * @protected + */ + getTangent(edge:yfiles.graph.IEdge,segmentIndex:number,ratio:number):yfiles.geometry.Tangent; + /** + * Gets the tangent to the edge at the specified ratio and the corresponding touch point. + * @param edge The edge. + * @param ratio A value between 0 and 1 inclusively that indicates a ratio from the beginning to the end of the path of the edge. + * @returns The tangent, if any exists. + * @protected + */ + getTangent(edge:yfiles.graph.IEdge,ratio:number):yfiles.geometry.Tangent; + /** + * Convenience method that calculates the target arrow anchor and direction for a a given arrow and path. + * @param path The path of the edge. + * @param arrow The arrow. + * @returns The anchor and directional vector of the arrow, if any exist. + * @protected + */ + getTargetArrowAnchor(path:yfiles.geometry.GeneralPath,arrow:yfiles.styles.IArrow):yfiles.geometry.Tangent; + /** + * Determines whether the visual representation of the edge has been hit at the given location. + *

    + * This method is called in response to a {@link yfiles.input.IHitTestable#isHit} call to the instance that has been queried from + * the {@link yfiles.styles.EdgeStyleBase#renderer}. + *

    + *

    + * This implementation returns the result of the {@link yfiles.geometry.Point#hitsPolyline} method of class {@link yfiles.geometry.Point} + * with the polygonal line defined by the source port, the target port and the bends of the edge and the {@link yfiles.view.ICanvasContext#hitTestRadius} of the + * {@link yfiles.view.ICanvasContext canvas context}. + *

    + * @param context The input mode context. + * @param location The point to test. + * @param edge The edge to which this style instance is assigned. + * @returns true if the specified edge representation is hit; false otherwise. + * @see yfiles.geometry.Point#hitsPolyline + * @protected + */ + isHit(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point,edge:yfiles.graph.IEdge):boolean; + /** + * Determines whether the visualization for the specified edge is included in the marquee selection. + *

    + * This method is called in response to a {@link yfiles.input.IMarqueeTestable#isInBox} call to the instance that has been queried + * from the {@link yfiles.styles.EdgeStyleBase#renderer}. + *

    + *

    + * This implementation returns the result of the {@link yfiles.geometry.Rect#intersectsPolyline} method of class {@link yfiles.geometry.Rect} + * with the polygonal line defined by the source port, the target port and the bends of the edge. + *

    + * @param context The input mode context. + * @param rectangle The marquee selection box. + * @param edge The edge to which this style instance is assigned. + * @returns true if the specified edge is visible is selected by the marquee rectangle; false otherwise. + * @protected + */ + isInBox(context:yfiles.input.IInputModeContext,rectangle:yfiles.geometry.Rect,edge:yfiles.graph.IEdge):boolean; + /** + * Determines whether the visualization for the specified edge is visible in the context. + *

    + * This method is called in response to a {@link yfiles.view.IVisibilityTestable#isVisible} call to the instance that has been + * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. This implementation simply tests whether the {@link yfiles.styles.EdgeStyleBase#getBounds bounds} intersect the clip. + *

    + * @param context The canvas context. + * @param rectangle The clipping rectangle. + * @param edge The edge to which this style instance is assigned. + * @returns true if the specified edge is visible in the clipping rectangle; false otherwise. + * @protected + */ + isVisible(context:yfiles.view.ICanvasContext,rectangle:yfiles.geometry.Rect,edge:yfiles.graph.IEdge):boolean; + /** + * Performs the {@link yfiles.graph.ILookup#lookup} operation for the {@link yfiles.styles.IEdgeStyleRenderer#getContext} that has been + * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. + *

    + * This implementation yields null for everything but: + *

    + *
      + *
    • {@link yfiles.input.IHitTestable}
    • + *
    • {@link yfiles.view.IVisualCreator}
    • + *
    • {@link yfiles.view.IBoundsProvider}
    • + *
    • {@link yfiles.view.IVisibilityTestable}
    • + *
    • {@link yfiles.input.IMarqueeTestable}
    • + *
    • {@link yfiles.graph.ILookup}
    • + *
    • {@link yfiles.styles.IPathGeometry}
    • + *
    + *

    + * For these interfaces an implementation will be returned that delegates to the methods in this instance. + *

    + * @param edge The edge to use for the context lookup. + * @param type The type to query. + * @returns An implementation of the type or null. + * @protected + */ + lookup(edge:yfiles.graph.IEdge,type:yfiles.lang.Class):any; + /** + * Convenience method that updates the arrows in a given container. + * @param context The context for the rendering. + * @param group The container to which the arrows should be added. + * @param edge The edge that is being rendered. + * @param edgePath The edge path. + * @param sourceArrow The source arrow. + * @param targetArrow The target arrow. + * @protected + */ + updateArrows(context:yfiles.view.IRenderContext,group:SVGGElement,edge:yfiles.graph.IEdge,edgePath:yfiles.geometry.GeneralPath,sourceArrow:yfiles.styles.IArrow,targetArrow:yfiles.styles.IArrow):void; + /** + * Callback that updates the visual previously created by {@link yfiles.styles.EdgeStyleBase#createVisual}. + *

    + * This method is called in response to a {@link yfiles.view.IVisualCreator#updateVisual} call to the instance that has been + * queried from the {@link yfiles.styles.EdgeStyleBase#renderer}. This implementation simply delegates to {@link yfiles.styles.EdgeStyleBase#createVisual} so subclasses should + * override to improve rendering performance. + *

    + * @param context The render context. + * @param oldVisual The visual that has been created in the call to {@link #createVisual}. + * @param edge The edge to which this style instance is assigned. + * @returns The visual as required by the {@link #createVisual} interface. + * @see yfiles.styles.EdgeStyleBase#createVisual + * @protected + */ + updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual,edge:yfiles.graph.IEdge):yfiles.view.Visual; + /** + * Gets the renderer implementation for this instance. + *

    + * The private implementation will delegate all API calls back to this instance. + *

    + * @type {yfiles.styles.IEdgeStyleRenderer} + */ + renderer:yfiles.styles.IEdgeStyleRenderer; + static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.EdgeStyleBase; } /** * An abstract base class that makes it possible to easily implement a custom {@link yfiles.styles.ILabelStyle}. @@ -66021,7 +66443,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.ILabelStyle} */ - export interface LabelStyleBase extends Object,yfiles.styles.ILabelStyle{} + export interface LabelStyleBase extends yfiles.lang.Object,yfiles.styles.ILabelStyle{} export class LabelStyleBase { /** * Initializes a new instance of the {@link yfiles.styles.LabelStyleBase} class. @@ -66035,7 +66457,7 @@ declare namespace yfiles{ *

    * @returns A new object that is a copy of this instance using {@link #memberwiseClone}. */ - clone():Object; + clone():any; /** * Creates a transform matrix that can be applied to a {@link yfiles.view.Visual} to arrange it according to the given layout and autoFlip * rule. @@ -66154,7 +66576,7 @@ declare namespace yfiles{ * @returns An implementation of the type or null. * @protected */ - lookup(label:yfiles.graph.ILabel,type:yfiles.lang.Class):Object; + lookup(label:yfiles.graph.ILabel,type:yfiles.lang.Class):any; /** * Callback that updates the visual previously created by {@link yfiles.styles.LabelStyleBase#createVisual}. *

    @@ -66179,6 +66601,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.ILabelStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.LabelStyleBase; } /** * An abstract base class that makes it possible to easily implement a custom {@link yfiles.styles.INodeStyle}. @@ -66203,7 +66626,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface NodeStyleBase extends Object,yfiles.styles.INodeStyle{} + export interface NodeStyleBase extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class NodeStyleBase { /** * Initializes a new instance of the {@link yfiles.styles.NodeStyleBase} class. @@ -66217,7 +66640,7 @@ declare namespace yfiles{ *

    * @returns A new object that is a copy of this instance using {@link #memberwiseClone}. */ - clone():Object; + clone():any; /** * Callback that creates the visual. *

    @@ -66348,7 +66771,7 @@ declare namespace yfiles{ * @returns An implementation of the type or null. * @protected */ - lookup(node:yfiles.graph.INode,type:yfiles.lang.Class):Object; + lookup(node:yfiles.graph.INode,type:yfiles.lang.Class):any; /** * Callback that updates the visual previously created by {@link yfiles.styles.NodeStyleBase#createVisual}. *

    @@ -66373,6 +66796,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.NodeStyleBase; } /** * A label style decorator that uses a node style instance to render the background and a label style instance to render @@ -66380,7 +66804,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.ILabelStyle} */ - export interface NodeStyleLabelStyleAdapter extends Object,yfiles.styles.ILabelStyle{} + export interface NodeStyleLabelStyleAdapter extends yfiles.lang.Object,yfiles.styles.ILabelStyle{} export class NodeStyleLabelStyleAdapter { /** * Creates a label style that uses the provided node style to render the background and the label style to render the @@ -66441,7 +66865,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * * @type {yfiles.styles.ILabelStyleRenderer} @@ -66471,13 +66895,14 @@ declare namespace yfiles{ */ labelStyleInsets:yfiles.geometry.Insets; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.NodeStyleLabelStyleAdapter; } /** * A port style decorator that uses a node style instance to render the port. * @class * @implements {yfiles.styles.IPortStyle} */ - export interface NodeStylePortStyleAdapter extends Object,yfiles.styles.IPortStyle{} + export interface NodeStylePortStyleAdapter extends yfiles.lang.Object,yfiles.styles.IPortStyle{} export class NodeStylePortStyleAdapter { /** * Creates a port style that uses the provided node style to render the port. @@ -66522,7 +66947,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * * @type {yfiles.styles.IPortStyleRenderer} @@ -66543,6 +66968,7 @@ declare namespace yfiles{ */ renderSize:yfiles.geometry.Size; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.NodeStylePortStyleAdapter; } /** * An abstract base class that makes it possible to easily implement a custom {@link yfiles.styles.IPortStyle}. @@ -66565,7 +66991,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.IPortStyle} */ - export interface PortStyleBase extends Object,yfiles.styles.IPortStyle{} + export interface PortStyleBase extends yfiles.lang.Object,yfiles.styles.IPortStyle{} export class PortStyleBase { /** * Initializes a new instance of the {@link yfiles.styles.PortStyleBase} class. @@ -66579,7 +67005,7 @@ declare namespace yfiles{ *

    * @returns A new object that is a copy of this instance using {@link #memberwiseClone}. */ - clone():Object; + clone():any; /** * Callback that creates the visual. *

    @@ -66670,7 +67096,7 @@ declare namespace yfiles{ * @returns An implementation of the type or null. * @protected */ - lookup(port:yfiles.graph.IPort,type:yfiles.lang.Class):Object; + lookup(port:yfiles.graph.IPort,type:yfiles.lang.Class):any; /** * Callback that updates the visual previously created by {@link yfiles.styles.PortStyleBase#createVisual}. *

    @@ -66695,13 +67121,14 @@ declare namespace yfiles{ */ renderer:yfiles.styles.IPortStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.PortStyleBase; } /** * A utility class that provides {@link yfiles.styles.TextRenderSupport#measureText text size measurement} and {@link yfiles.styles.TextRenderSupport#addText text placement} functionality, for instance, for label rendering * and measurement. * @class */ - export interface TextRenderSupport extends Object{} + export interface TextRenderSupport extends yfiles.lang.Object{} export class TextRenderSupport { /** * Add the text content to the provided SVG text element. @@ -66740,6 +67167,7 @@ declare namespace yfiles{ */ static measureText(text:string,font:yfiles.view.Font,measurePolicy?:yfiles.styles.TextMeasurePolicy):yfiles.geometry.Size; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TextRenderSupport; } export enum TextMeasurePolicy{ /** @@ -66763,7 +67191,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.ILabelStyle} */ - export interface DefaultLabelStyle extends Object,yfiles.styles.ILabelStyle{} + export interface DefaultLabelStyle extends yfiles.lang.Object,yfiles.styles.ILabelStyle{} export class DefaultLabelStyle { /** * Creates a new instance using the provided renderer. @@ -66865,7 +67293,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets the brush to use for the background box of the label. *

    @@ -66967,6 +67395,7 @@ declare namespace yfiles{ */ textSize:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.DefaultLabelStyle; } /** * A label style that draws an icon in addition to the text. @@ -66976,7 +67405,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.ILabelStyle} */ - export interface IconLabelStyle extends Object,yfiles.styles.ILabelStyle{} + export interface IconLabelStyle extends yfiles.lang.Object,yfiles.styles.ILabelStyle{} export class IconLabelStyle { /** * Creates a new instance using the provided icon and renderer. @@ -67018,7 +67447,7 @@ declare namespace yfiles{ *

    * This option sets the {@link yfiles.styles.IconLabelStyle#autoFlip} property on the created object. *

    - * @param {string} options.icon The icon to paint for the label. + * @param {string} options.icon The URL of the icon. *

    * This option sets the {@link yfiles.styles.IconLabelStyle#icon} property on the created object. *

    @@ -67044,9 +67473,13 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** - * Gets or sets the icon to paint for the label. + * Gets or sets the URL of the icon. + *

    + * The URL can either be a relative URL, an absolute URL, or a Data URI. Relative URLs are resolved relative to the + * document. Eventually, this string becomes the value of the href attribute of an SVG image element. + *

    * @type {string} */ icon:string; @@ -67113,6 +67546,7 @@ declare namespace yfiles{ */ autoFlip:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.IconLabelStyle; } /** * A simple {@link yfiles.styles.ILabelStyleRenderer} implementation that can handle {@link yfiles.styles.DefaultLabelStyle} instances. @@ -67129,7 +67563,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface DefaultLabelStyleRenderer extends Object,yfiles.styles.ILabelStyleRenderer,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface DefaultLabelStyleRenderer extends yfiles.lang.Object,yfiles.styles.ILabelStyleRenderer,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class DefaultLabelStyleRenderer { /** * Creates a new default instance. @@ -67311,7 +67745,7 @@ declare namespace yfiles{ * @param type The type to query for. * @returns An implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Calculate the width and height required to render the provided text using the provided {@link yfiles.view.Font}. * @param text The text that should be measured. @@ -67328,7 +67762,7 @@ declare namespace yfiles{ */ updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual):yfiles.view.Visual; /** - * Retrieves the current {@link yfiles.graph.ILabel#layout layout}. + * Gets or sets the current {@link yfiles.graph.ILabel#layout layout}. * @protected * @type {yfiles.geometry.IOrientedRectangle} */ @@ -67346,6 +67780,7 @@ declare namespace yfiles{ */ label:yfiles.graph.ILabel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.DefaultLabelStyleRenderer; } /** * An {@link yfiles.styles.ILabelStyleRenderer} that can handle {@link yfiles.styles.IconLabelStyle} instances. @@ -67361,7 +67796,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface IconLabelStyleRenderer extends Object,yfiles.styles.ILabelStyleRenderer,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface IconLabelStyleRenderer extends yfiles.lang.Object,yfiles.styles.ILabelStyleRenderer,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class IconLabelStyleRenderer { /** * Creates a new instance of this renderer. @@ -67526,7 +67961,7 @@ declare namespace yfiles{ * @param type The type to query for. * @returns An implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Returns whether the icon bounds should be considered for hit testing. * @returns true @@ -67553,13 +67988,14 @@ declare namespace yfiles{ */ label:yfiles.graph.ILabel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.IconLabelStyleRenderer; } /** * A node style that can display node shapes with a boundary that is defined by a {@link yfiles.geometry.GeneralPath} instance. * @class * @implements {yfiles.styles.INodeStyle} */ - export interface GeneralPathNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface GeneralPathNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class GeneralPathNodeStyle { /** * Creates a new instance using the specified path and a custom renderer instance. @@ -67603,7 +68039,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Get or sets the path that defines the boundary of the shape. *

    @@ -67640,6 +68076,7 @@ declare namespace yfiles{ */ stroke:yfiles.view.Stroke; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.GeneralPathNodeStyle; } /** * An {@link yfiles.styles.INodeStyleRenderer} implementation that can handle {@link yfiles.styles.GeneralPathNodeStyle} instances. @@ -67653,7 +68090,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface GeneralPathNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface GeneralPathNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class GeneralPathNodeStyleRenderer { /** * Initializes a new instance of the {@link yfiles.styles.GeneralPathNodeStyleRenderer} class. @@ -67808,7 +68245,7 @@ declare namespace yfiles{ * @param type The type to query for. * @returns An implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -67829,7 +68266,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -67837,6 +68274,7 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.GeneralPathNodeStyleRenderer; } /** * An abstract base class for {@link yfiles.styles.IEdgeStyleRenderer} implementations that are based on the calculation of a @@ -67854,7 +68292,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IObstacleProvider} * @template TStyle */ - export interface PathBasedEdgeStyleRenderer extends Object,yfiles.styles.IEdgeStyleRenderer,yfiles.styles.IPathGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator,yfiles.view.IObstacleProvider{} + export interface PathBasedEdgeStyleRenderer extends yfiles.lang.Object,yfiles.styles.IEdgeStyleRenderer,yfiles.styles.IPathGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator,yfiles.view.IObstacleProvider{} export class PathBasedEdgeStyleRenderer { /** * @@ -68160,7 +68598,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -68187,7 +68625,7 @@ declare namespace yfiles{ */ edge:yfiles.graph.IEdge; /** - * Determines whether the rendered path should use the {@link yfiles.view.BridgeManager} to {@link yfiles.view.BridgeManager#addBridges add bridges to it.} + * Gets whether the rendered path should use the {@link yfiles.view.BridgeManager} to {@link yfiles.view.BridgeManager#addBridges add bridges to it.} * @see yfiles.styles.PathBasedEdgeStyleRenderer.#getBridgeCreator * @protected * @type {boolean} @@ -68199,6 +68637,7 @@ declare namespace yfiles{ */ selfLoopDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.PathBasedEdgeStyleRenderer; } /** * An {@link yfiles.styles.IEdgeStyleRenderer} that will render {@link yfiles.styles.PolylineEdgeStyle} instances. @@ -68209,13 +68648,14 @@ declare namespace yfiles{ export class PolylineEdgeStyleRenderer { constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.PolylineEdgeStyleRenderer; } /** * A polygonal {@link yfiles.styles.IEdgeStyle} where straight line segments are used to connect the bends. * @class * @implements {yfiles.styles.IEdgeStyle} */ - export interface PolylineEdgeStyle extends Object,yfiles.styles.IEdgeStyle{} + export interface PolylineEdgeStyle extends yfiles.lang.Object,yfiles.styles.IEdgeStyle{} export class PolylineEdgeStyle { /** * Creates a new instance using the provided renderer. @@ -68266,10 +68706,10 @@ declare namespace yfiles{ */ constructor(options?:{stroke?:yfiles.view.Stroke,smoothingLength?:number,sourceArrow?:yfiles.styles.IArrow,targetArrow?:yfiles.styles.IArrow}); /** - * Performs a {@link Object#memberwiseClone} + * Performs a {@link any#memberwiseClone} * @returns */ - clone():Object; + clone():any; /** * Gets or sets the {@link yfiles.styles.PolylineEdgeStyle#stroke} for the line. *

    @@ -68327,6 +68767,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.IEdgeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.PolylineEdgeStyle; } export enum ShapeNodeShape{ /** @@ -68410,7 +68851,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface ShapeNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface ShapeNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class ShapeNodeStyleRenderer { constructor(); /** @@ -68591,7 +69032,7 @@ declare namespace yfiles{ * @param type The type to query for. * @returns An implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -68612,7 +69053,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -68625,6 +69066,7 @@ declare namespace yfiles{ */ roundRectArcRadius:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ShapeNodeStyleRenderer; } /** * Node style implementation that can show predefined shapes of type {@link yfiles.styles.ShapeNodeShape}. @@ -68634,7 +69076,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface ShapeNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface ShapeNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class ShapeNodeStyle { /** * Creates a new instance using the provided renderer. @@ -68680,7 +69122,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets the {@link yfiles.styles.ShapeNodeStyle#stroke} for this style. *

    @@ -68714,6 +69156,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ShapeNodeStyle; } /** * Default renderer implementation for {@link yfiles.styles.ArcEdgeStyle} @@ -68736,12 +69179,16 @@ declare namespace yfiles{ */ isFixedHeight():boolean; /** + * Gets whether bridges are added to the edge path. + *

    * Overridden to return false since the flattening interferes with its own obstacles. + *

    * @protected * @type {boolean} */ addBridges:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ArcEdgeStyleRenderer; } /** * Provides an arc representation for an edge. @@ -68755,7 +69202,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.IEdgeStyle} */ - export interface ArcEdgeStyle extends Object,yfiles.styles.IEdgeStyle{} + export interface ArcEdgeStyle extends yfiles.lang.Object,yfiles.styles.IEdgeStyle{} export class ArcEdgeStyle { /** * Creates a new instance using the provided renderer. @@ -68822,10 +69269,10 @@ declare namespace yfiles{ */ constructor(options?:{fixedHeight?:boolean,height?:number,stroke?:yfiles.view.Stroke,provideHeightHandle?:boolean,sourceArrow?:yfiles.styles.IArrow,targetArrow?:yfiles.styles.IArrow}); /** - * Performs a {@link Object#memberwiseClone} + * Performs a {@link any#memberwiseClone} * @returns */ - clone():Object; + clone():any; /** * Gets or sets the {@link yfiles.styles.ArcEdgeStyle#stroke} that is used to draw the arc *

    @@ -68900,6 +69347,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.IEdgeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ArcEdgeStyle; } /** * A {@link yfiles.styles.INodeStyle} {@link yfiles.styles.INodeStyleRenderer renderer} implementation that draws a rounded rectangle with a bevel border in a 'shiny plate' @@ -68914,7 +69362,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface BevelNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface BevelNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class BevelNodeStyleRenderer { /** * Prepares this instance for subsequent calls after the style and node have been initialized. @@ -69059,7 +69507,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -69080,7 +69528,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -69088,19 +69536,19 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; /** - * Retrieves the color from the style. + * Gets the color from the style. * @protected * @type {yfiles.view.Color} */ color:yfiles.view.Color; /** - * Retrieves the inset from the style. + * Gets the inset from the style. * @protected * @type {number} */ inset:number; /** - * Retrieves the radius to use from the style. + * Gets the radius to use from the style. * @protected * @type {number} */ @@ -69117,6 +69565,7 @@ declare namespace yfiles{ */ provideRadiusHandle:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.BevelNodeStyleRenderer; } /** * An implementation of the {@link yfiles.styles.INodeStyle} that can be used to create rectangular nodes with rounded corners, a @@ -69131,7 +69580,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface BevelNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface BevelNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class BevelNodeStyle { /** * Creates a new instance using the provided renderer to share. @@ -69185,7 +69634,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets the insets to use for the bevel. *

    @@ -69226,6 +69675,7 @@ declare namespace yfiles{ */ drawShadow:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.BevelNodeStyle; } /** * A style renderer implementation that can be used together with {@link yfiles.styles.ImageNodeStyle} instances. @@ -69239,7 +69689,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface ImageNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface ImageNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class ImageNodeStyleRenderer { constructor(); /** @@ -69408,7 +69858,7 @@ declare namespace yfiles{ * @param type The type to query for. * @returns An implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -69429,7 +69879,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -69445,6 +69895,7 @@ declare namespace yfiles{ */ static TEMPLATE_KEY:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ImageNodeStyleRenderer; } /** * A node style that can use an image for the visual representation of a node. @@ -69454,7 +69905,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface ImageNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface ImageNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class ImageNodeStyle { /** * Creates a new instance that uses the specified image and a custom renderer instance. @@ -69496,7 +69947,7 @@ declare namespace yfiles{ *

    * @returns A shallow copy of this instance. */ - clone():Object; + clone():any; /** * * @type {yfiles.styles.INodeStyleRenderer} @@ -69530,6 +69981,7 @@ declare namespace yfiles{ */ normalizedOutline:yfiles.geometry.GeneralPath; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ImageNodeStyle; } /** * An implementation of {@link yfiles.styles.INodeStyle} that draws a simple floating panel with a slight gradient, a thin border @@ -69545,7 +69997,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface PanelNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface PanelNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class PanelNodeStyle { /** * Creates a new instance using the provided renderer to share. @@ -69591,7 +70043,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets the base color to use. *

    @@ -69633,6 +70085,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.PanelNodeStyle; } /** * A {@link yfiles.styles.INodeStyle} {@link yfiles.styles.INodeStyleRenderer renderer} implementation that draws a simple floating panel with a slight gradient, a thin @@ -69648,7 +70101,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface PanelNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface PanelNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class PanelNodeStyleRenderer { /** * The style that it currently assigned to this renderer instance. @@ -69810,7 +70263,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -69831,7 +70284,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -69839,12 +70292,13 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; /** - * Retrieves the color from the style. + * Gets the color from the style. * @protected * @type {yfiles.view.Color} */ color:yfiles.view.Color; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.PanelNodeStyleRenderer; } /** * Decorates other node styles with a smooth drop shadow. @@ -69856,7 +70310,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface ShadowNodeStyleDecorator extends Object,yfiles.styles.INodeStyle{} + export interface ShadowNodeStyleDecorator extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class ShadowNodeStyleDecorator { /** * Creates a new instance wrapping the provided style. @@ -69885,7 +70339,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets the wrapped node style instance by reference. * @type {yfiles.styles.INodeStyle} @@ -69897,6 +70351,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ShadowNodeStyleDecorator; } /** * Implementation of the {@link yfiles.styles.INodeStyle} which creates rectangular nodes with rounded corners and a highlighted @@ -69911,7 +70366,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.INodeStyle} */ - export interface ShinyPlateNodeStyle extends Object,yfiles.styles.INodeStyle{} + export interface ShinyPlateNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle{} export class ShinyPlateNodeStyle { /** * Creates a new instance using the provided renderer. @@ -69973,7 +70428,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Gets or sets the background brush for this style. *

    @@ -70029,6 +70484,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ShinyPlateNodeStyle; } /** * A {@link yfiles.styles.INodeStyle} {@link yfiles.styles.INodeStyleRenderer renderer} implementation that draws a simple floating shinyPlate with a slight gradient, a @@ -70044,7 +70500,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface ShinyPlateNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface ShinyPlateNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class ShinyPlateNodeStyleRenderer { /** * Prepares this instance for subsequent calls after the style and node have been initialized. @@ -70196,7 +70652,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -70217,7 +70673,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -70225,24 +70681,25 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; /** - * Retrieves the brush from the style. + * Gets the {@link yfiles.styles.ShinyPlateNodeStyleRenderer#fill} from the style. * @protected * @type {yfiles.view.Fill} */ fill:yfiles.view.Fill; /** - * Retrieves the {@link yfiles.styles.ShinyPlateNodeStyleRenderer#stroke} from the style. + * Gets the {@link yfiles.styles.ShinyPlateNodeStyleRenderer#stroke} from the style. * @protected * @type {yfiles.view.Stroke} */ stroke:yfiles.view.Stroke; /** - * Retrieves the radius from the style. + * Gets the radius from the style. * @protected * @type {number} */ radius:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.ShinyPlateNodeStyleRenderer; } /** * Base class for stripe styles that use a SVG snippet as template for the visualization of {@link yfiles.graph.IStripe}s. @@ -70253,7 +70710,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.IPropertyObservable} * @implements {yfiles.lang.ICloneable} */ - export interface TemplateStripeStyleBase extends Object,yfiles.styles.IStripeStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} + export interface TemplateStripeStyleBase extends yfiles.lang.Object,yfiles.styles.IStripeStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} export class TemplateStripeStyleBase { /** * Constructs a new instance using the provided renderer. @@ -70270,7 +70727,7 @@ declare namespace yfiles{ * Performs a shallow clone of this instance, except for the value of {@link yfiles.styles.TemplateStripeStyleBase#styleTag} which is cloned, too, if it can be cloned. * @returns A clone of this instance. */ - clone():Object; + clone():any; /** * Factory method that is called by the {@link yfiles.styles.TemplateStripeStyleRenderer} to create the visual that will be used * for the display of the stripe. @@ -70300,13 +70757,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.styles.TemplateStripeStyleBase#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when a property value changes. * @param listener The listener to remove. * @see yfiles.styles.TemplateStripeStyleBase#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the tag that is associated with this style instance. *

    @@ -70316,9 +70773,9 @@ declare namespace yfiles{ * thus be data bound easily. *

    * @default null - * @type {Object} + * @type {any} */ - styleTag:Object; + styleTag:any; /** * Gets or sets an implementation of {@link yfiles.graph.IContextLookup} that can be used to satisfy queries that are made to the * implementation which is returned by calls to {@link yfiles.styles.IStripeStyleRenderer#getContext} that are made on the style @@ -70338,6 +70795,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.IStripeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateStripeStyleBase; } /** * An {@link yfiles.styles.IStripeStyle} implementation that can render complex {@link yfiles.view.Visual}s for the visualization of @@ -70382,6 +70840,7 @@ declare namespace yfiles{ */ styleResourceKey:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateStripeStyle; } /** * A {@link yfiles.styles.IStripeStyle} that uses an SVG snippet as template for the visualization of {@link yfiles.graph.IStripe}s. @@ -70437,6 +70896,7 @@ declare namespace yfiles{ */ svgContent:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.StringTemplateStripeStyle; } /** * An implementation of the {@link yfiles.styles.IStripeStyleRenderer} interface that can render {@link yfiles.styles.TemplateStripeStyle} @@ -70447,7 +70907,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface TemplateStripeStyleRenderer extends Object,yfiles.styles.IStripeStyleRenderer,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface TemplateStripeStyleRenderer extends yfiles.lang.Object,yfiles.styles.IStripeStyleRenderer,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class TemplateStripeStyleRenderer { /** * Prepares this instance for subsequent calls after the style and stripe have been initialized. @@ -70507,7 +70967,7 @@ declare namespace yfiles{ * @param type The type to query an instance for. * @returns The implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Updates the component correspondingly. * @param context The context for the creation. @@ -70528,7 +70988,7 @@ declare namespace yfiles{ */ stripe:yfiles.graph.IStripe; /** - * Returns the {@link yfiles.graph.IStripe#layout} of the stripe this renderer is currently configured for. + * Gets the {@link yfiles.graph.IStripe#layout} of the stripe this renderer is currently configured for. *

    * Returns Stripe.Layout. *

    @@ -70536,6 +70996,7 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateStripeStyleRenderer; } /** * A {@link yfiles.styles.INodeStyle} for {@link yfiles.graph.ITable tables}. @@ -70547,7 +71008,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.INodeStyle} * @implements {yfiles.lang.IPropertyObservable} */ - export interface TableNodeStyle extends Object,yfiles.styles.INodeStyle,yfiles.lang.IPropertyObservable{} + export interface TableNodeStyle extends yfiles.lang.Object,yfiles.styles.INodeStyle,yfiles.lang.IPropertyObservable{} export class TableNodeStyle { /** * Constructor with a custom renderer implementation that uses table as backing table model. @@ -70591,7 +71052,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Create a copy of the background style when this style instance is cloned * @param style The original background node style @@ -70633,13 +71094,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.styles.TableNodeStyle#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when the value of the {@link yfiles.styles.TableNodeStyle#table} property changes. * @param listener The listener to remove. * @see yfiles.styles.TableNodeStyle#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the {@link yfiles.graph.ITable} instance that defines the tabular structure. * @type {yfiles.graph.ITable} @@ -70651,6 +71112,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TableNodeStyle; } /** * Default renderer implementation that can be used for {@link yfiles.styles.TableNodeStyle} instances. @@ -70664,7 +71126,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface TableNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface TableNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class TableNodeStyleRenderer { /** * Prepares this instance for subsequent calls after the style and node have been initialized. @@ -70811,7 +71273,7 @@ declare namespace yfiles{ * @param type * @returns */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * * @param context @@ -70832,6 +71294,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TableNodeStyleRenderer; } /** * The context of a TemplateBinding. This interface exposes properties of a graph element onto which a TemplateBinding can @@ -70839,7 +71302,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.IPropertyObservable} */ - export interface ITemplateStyleBindingContext extends Object,yfiles.lang.IPropertyObservable{ + export interface ITemplateStyleBindingContext extends yfiles.lang.Object,yfiles.lang.IPropertyObservable{ /** * Gets the width of the visual. * @abstract @@ -70900,13 +71363,13 @@ declare namespace yfiles{ * This property can be used by implementers as a convenient property to pass data to the visual. *

    * @abstract - * @type {Object} + * @type {any} */ - styleTag:Object; + styleTag:any; } var ITemplateStyleBindingContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.ITemplateStyleBindingContext; }; /** * Enhances the context of a TemplateBinding ({@link yfiles.styles.ITemplateStyleBindingContext}) for labels. This interface @@ -70914,7 +71377,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.IPropertyObservable} */ - export interface ILabelTemplateStyleBindingContext extends Object,yfiles.lang.IPropertyObservable{ + export interface ILabelTemplateStyleBindingContext extends yfiles.lang.Object,yfiles.lang.IPropertyObservable{ /** * Gets or sets the label text property that is populated using the {@link yfiles.graph.ILabel}'s {@link yfiles.graph.ILabel#text} property. * @abstract @@ -70936,7 +71399,7 @@ declare namespace yfiles{ } var ILabelTemplateStyleBindingContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.ILabelTemplateStyleBindingContext; }; /** * Base class for label styles that use a SVG snippet as template for the visualization of {@link yfiles.graph.ILabel}s. @@ -70947,7 +71410,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.IPropertyObservable} * @implements {yfiles.lang.ICloneable} */ - export interface TemplateLabelStyleBase extends Object,yfiles.styles.ILabelStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} + export interface TemplateLabelStyleBase extends yfiles.lang.Object,yfiles.styles.ILabelStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} export class TemplateLabelStyleBase { /** * Constructs a new instance using the provided renderer. @@ -70963,7 +71426,7 @@ declare namespace yfiles{ * Performs a shallow clone of this instance, except for the value of {@link yfiles.styles.TemplateLabelStyleBase#styleTag} which is cloned, too, if it can be cloned. * @returns A clone of this instance. */ - clone():Object; + clone():any; /** * Factory method that is called by the {@link yfiles.styles.TemplateLabelStyleRenderer} to create the visual that will be used for * the display of the label. @@ -70999,13 +71462,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.styles.TemplateLabelStyleBase#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when a property value changes. * @param listener The listener to remove. * @see yfiles.styles.TemplateLabelStyleBase#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the tag that is associated with this style instance. *

    @@ -71015,9 +71478,9 @@ declare namespace yfiles{ * thus be data bound easily. *

    * @default null - * @type {Object} + * @type {any} */ - styleTag:Object; + styleTag:any; /** * Gets or sets an implementation of {@link yfiles.graph.IContextLookup} that can be used to satisfy queries that are made to the * implementation which is returned by calls to {@link yfiles.styles.ILabelStyleRenderer#getContext} that are made on the style @@ -71065,6 +71528,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.ILabelStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateLabelStyleBase; } /** * An {@link yfiles.styles.ILabelStyle} implementation that uses an SVG snippet as template for the visualization of @@ -71178,6 +71642,7 @@ declare namespace yfiles{ */ styleResourceKey:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateLabelStyle; } /** * An {@link yfiles.styles.ILabelStyle} that uses an SVG snippet as template for the visualization of {@link yfiles.graph.ILabel}s. @@ -71294,6 +71759,7 @@ declare namespace yfiles{ */ svgContent:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.StringTemplateLabelStyle; } /** * An implementation of the {@link yfiles.styles.ILabelStyleRenderer} interface that can render {@link yfiles.styles.TemplateLabelStyleBase} @@ -71309,7 +71775,7 @@ declare namespace yfiles{ * @implements {yfiles.view.IVisibilityTestable} * @implements {yfiles.graph.ILookup} */ - export interface TemplateLabelStyleRenderer extends Object,yfiles.styles.ILabelStyleRenderer,yfiles.view.IVisualCreator,yfiles.view.IBoundsProvider,yfiles.input.IHitTestable,yfiles.input.IMarqueeTestable,yfiles.view.IVisibilityTestable,yfiles.graph.ILookup{} + export interface TemplateLabelStyleRenderer extends yfiles.lang.Object,yfiles.styles.ILabelStyleRenderer,yfiles.view.IVisualCreator,yfiles.view.IBoundsProvider,yfiles.input.IHitTestable,yfiles.input.IMarqueeTestable,yfiles.view.IVisibilityTestable,yfiles.graph.ILookup{} export class TemplateLabelStyleRenderer { /** * Stores the {@link yfiles.graph.ILabel#layout layout}. @@ -71456,7 +71922,7 @@ declare namespace yfiles{ * @param type The type to query an instance for. * @returns The implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Delegates to the {@link yfiles.styles.TemplateLabelStyleBase}'s {@link yfiles.styles.TemplateLabelStyleBase#contextLookup}. * @param style The style to look up the context for. @@ -71465,7 +71931,7 @@ declare namespace yfiles{ * @returns The result from the context or null. * @protected */ - lookupContext(style:yfiles.styles.TemplateLabelStyleBase,label:yfiles.graph.ILabel,type:yfiles.lang.Class):Object; + lookupContext(style:yfiles.styles.TemplateLabelStyleBase,label:yfiles.graph.ILabel,type:yfiles.lang.Class):any; /** * Updates the visual correspondingly. * @param context The context for the creation. @@ -71474,7 +71940,7 @@ declare namespace yfiles{ */ updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual):yfiles.view.Visual; /** - * Holds the layout of the current label. + * Gets the layout of the current label. *

    * This value is set during {@link yfiles.styles.TemplateLabelStyleRenderer#configure} to the label's {@link yfiles.graph.ILabel#layout layout} *

    @@ -71495,6 +71961,7 @@ declare namespace yfiles{ */ label:yfiles.graph.ILabel; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateLabelStyleRenderer; } /** * Base class for node styles that use a SVG snippet as template for the visualization of {@link yfiles.graph.INode}s. @@ -71505,7 +71972,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.IPropertyObservable} * @implements {yfiles.lang.ICloneable} */ - export interface TemplateNodeStyleBase extends Object,yfiles.styles.INodeStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} + export interface TemplateNodeStyleBase extends yfiles.lang.Object,yfiles.styles.INodeStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} export class TemplateNodeStyleBase { /** * Constructs a new instance using the provided renderer. @@ -71522,7 +71989,7 @@ declare namespace yfiles{ * Performs a shallow clone of this instance, except for the value of {@link yfiles.styles.TemplateNodeStyleBase#styleTag} which is cloned, too, if it can be cloned. * @returns A clone of this instance. */ - clone():Object; + clone():any; /** * Factory method that is called by the {@link yfiles.styles.TemplateNodeStyleRenderer} to create the visual that will be used for * the display of the node. @@ -71560,13 +72027,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.styles.TemplateNodeStyleBase#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when a property value changes. * @param listener The listener to remove. * @see yfiles.styles.TemplateNodeStyleBase#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the tag that is associated with this style instance. *

    @@ -71576,9 +72043,9 @@ declare namespace yfiles{ * thus be data bound easily. *

    * @default null - * @type {Object} + * @type {any} */ - styleTag:Object; + styleTag:any; /** * Gets or sets an implementation of {@link yfiles.graph.IContextLookup} that can be used to satisfy queries that are made to the * implementation which is returned by calls to {@link yfiles.styles.INodeStyleRenderer#getContext} that are made on the style @@ -71641,6 +72108,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.INodeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateNodeStyleBase; } /** * A {@link yfiles.styles.INodeStyle} implementation that uses an SVG snippet as template for the visualization of @@ -71756,6 +72224,7 @@ declare namespace yfiles{ */ styleResourceKey:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateNodeStyle; } /** * A {@link yfiles.styles.INodeStyle} that uses an SVG snippet as template for the visualization of {@link yfiles.graph.INode}s. @@ -71867,6 +72336,7 @@ declare namespace yfiles{ */ svgContent:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.StringTemplateNodeStyle; } /** * An implementation of the {@link yfiles.styles.INodeStyleRenderer} interface that can render {@link yfiles.styles.TemplateNodeStyleBase} @@ -71883,7 +72353,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface TemplateNodeStyleRenderer extends Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface TemplateNodeStyleRenderer extends yfiles.lang.Object,yfiles.styles.INodeStyleRenderer,yfiles.styles.IShapeGeometry,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class TemplateNodeStyleRenderer { /** * Prepares this instance for subsequent calls after the style and node have been initialized. @@ -72105,7 +72575,7 @@ declare namespace yfiles{ * @param type The type to query an instance for. * @returns The implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Updates the component correspondingly. * @param context The context for the creation. @@ -72126,7 +72596,7 @@ declare namespace yfiles{ */ node:yfiles.graph.INode; /** - * Returns the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. + * Gets the {@link yfiles.graph.INode#layout} of the node this renderer is currently configured for. *

    * Returns Node.Layout. *

    @@ -72134,6 +72604,7 @@ declare namespace yfiles{ */ layout:yfiles.geometry.IRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplateNodeStyleRenderer; } /** * Base class for port styles that use a SVG snippet as template for the visualization of {@link yfiles.graph.IPort}s. @@ -72144,7 +72615,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.IPropertyObservable} * @implements {yfiles.lang.ICloneable} */ - export interface TemplatePortStyleBase extends Object,yfiles.styles.IPortStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} + export interface TemplatePortStyleBase extends yfiles.lang.Object,yfiles.styles.IPortStyle,yfiles.lang.IPropertyObservable,yfiles.lang.ICloneable{} export class TemplatePortStyleBase { /** * Constructs a new instance using the provided renderer. @@ -72161,7 +72632,7 @@ declare namespace yfiles{ * Performs a shallow clone of this instance, except for the value of {@link yfiles.styles.TemplatePortStyleBase#styleTag} which is cloned, too, if it can be cloned. * @returns A clone of this instance. */ - clone():Object; + clone():any; /** * Factory method that is called by the {@link yfiles.styles.TemplatePortStyleRenderer} to create the visual that will be used for * the display of the port. @@ -72197,13 +72668,13 @@ declare namespace yfiles{ * @param listener The listener to add. * @see yfiles.styles.TemplatePortStyleBase#removePropertyChangedListener */ - addPropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + addPropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Removes the given listener for the PropertyChanged event that occurs when a property value changes. * @param listener The listener to remove. * @see yfiles.styles.TemplatePortStyleBase#addPropertyChangedListener */ - removePropertyChangedListener(listener:(sender:Object,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; + removePropertyChangedListener(listener:(sender:any,args:yfiles.lang.PropertyChangedEventArgs)=>void):void; /** * Gets or sets the tag that is associated with this style instance. *

    @@ -72213,9 +72684,9 @@ declare namespace yfiles{ * thus be data bound easily. *

    * @default null - * @type {Object} + * @type {any} */ - styleTag:Object; + styleTag:any; /** * Gets or sets an implementation of {@link yfiles.graph.IContextLookup} that can be used to satisfy queries that are made to the * implementation which is returned by calls to {@link yfiles.styles.IPortStyleRenderer#getContext} that are made on the style @@ -72260,6 +72731,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.IPortStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplatePortStyleBase; } /** * An {@link yfiles.styles.IPortStyle} that uses an SVG snippet as template for the visualization of {@link yfiles.graph.IPort}s. @@ -72362,6 +72834,7 @@ declare namespace yfiles{ */ styleResourceKey:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplatePortStyle; } /** * An implementation of the {@link yfiles.styles.IPortStyleRenderer} interface that can render {@link yfiles.styles.TemplatePortStyleBase} @@ -72377,7 +72850,7 @@ declare namespace yfiles{ * @implements {yfiles.graph.ILookup} * @implements {yfiles.view.IVisualCreator} */ - export interface TemplatePortStyleRenderer extends Object,yfiles.styles.IPortStyleRenderer,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} + export interface TemplatePortStyleRenderer extends yfiles.lang.Object,yfiles.styles.IPortStyleRenderer,yfiles.view.IBoundsProvider,yfiles.view.IVisibilityTestable,yfiles.input.IMarqueeTestable,yfiles.input.IHitTestable,yfiles.graph.ILookup,yfiles.view.IVisualCreator{} export class TemplatePortStyleRenderer { constructor(); /** @@ -72536,7 +73009,7 @@ declare namespace yfiles{ * @param type The type to query for. * @returns An implementation or null. */ - lookup(type:yfiles.lang.Class):Object; + lookup(type:yfiles.lang.Class):any; /** * Delegates to the {@link yfiles.styles.TemplatePortStyleBase}'s {@link yfiles.styles.TemplatePortStyleBase#contextLookup}. * @param style @@ -72545,7 +73018,7 @@ declare namespace yfiles{ * @returns * @protected */ - lookupContext(style:yfiles.styles.TemplatePortStyleBase,port:yfiles.graph.IPort,type:yfiles.lang.Class):Object; + lookupContext(style:yfiles.styles.TemplatePortStyleBase,port:yfiles.graph.IPort,type:yfiles.lang.Class):any; /** * Updates the component correspondingly. * @param context The context for the creation. @@ -72572,6 +73045,7 @@ declare namespace yfiles{ */ port:yfiles.graph.IPort; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.TemplatePortStyleRenderer; } /** * A {@link yfiles.styles.TemplatePortStyleBase} that uses an SVG snippet as template for the visualization of @@ -72670,6 +73144,7 @@ declare namespace yfiles{ */ svgContent:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.StringTemplatePortStyle; } /** * Style implementation for {@link yfiles.graph.IStripe} instances in an {@link yfiles.graph.ITable}. @@ -72686,7 +73161,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.lang.ICloneable} */ - export interface IStripeStyle extends Object,yfiles.lang.ICloneable{ + export interface IStripeStyle extends yfiles.lang.Object,yfiles.lang.ICloneable{ /** * Gets the renderer implementation that can be queried for implementations that provide details about the visual * appearance and visual behavior for a given stripe and this style instance. @@ -72700,7 +73175,7 @@ declare namespace yfiles{ } var IStripeStyle:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IStripeStyle; }; /** * Interface used by {@link yfiles.styles.IStripeStyle} implementations that can be used to query the actual {@link yfiles.view.IVisualCreator} @@ -72713,7 +73188,7 @@ declare namespace yfiles{ * @see yfiles.graph.IStripe * @interface */ - export interface IStripeStyleRenderer extends Object{ + export interface IStripeStyleRenderer extends yfiles.lang.Object{ /** * Gets a temporary context instance that can be used to query additional information for the stripe's style. *

    @@ -72746,7 +73221,7 @@ declare namespace yfiles{ } var IStripeStyleRenderer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.styles.IStripeStyleRenderer; }; /** * A void implementation of a stripe style that does nothing and behaves like an invisible style. @@ -72759,13 +73234,13 @@ declare namespace yfiles{ * @implements {yfiles.styles.IStripeStyle} * @final */ - export interface VoidStripeStyle extends Object,yfiles.styles.IStripeStyle{} + export interface VoidStripeStyle extends yfiles.lang.Object,yfiles.styles.IStripeStyle{} export class VoidStripeStyle { /** * Returns this. * @returns this */ - clone():Object; + clone():any; /** * The {@link yfiles.styles.VoidStripeStyle} singleton. * @const @@ -72774,12 +73249,13 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.VoidStripeStyle; /** - * Yields the {@link yfiles.styles.VoidStripeStyleRenderer#INSTANCE VoidStripeStyleRenderer instance}. + * Gets the {@link yfiles.styles.VoidStripeStyleRenderer#INSTANCE VoidStripeStyleRenderer instance}. * @see yfiles.styles.IStripeStyle#renderer * @type {yfiles.styles.IStripeStyleRenderer} */ renderer:yfiles.styles.IStripeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidStripeStyle; } /** * A void implementation of a stripe style renderer that does nothing. @@ -72792,7 +73268,7 @@ declare namespace yfiles{ * @implements {yfiles.styles.IStripeStyleRenderer} * @final */ - export interface VoidStripeStyleRenderer extends Object,yfiles.styles.IStripeStyleRenderer{} + export interface VoidStripeStyleRenderer extends yfiles.lang.Object,yfiles.styles.IStripeStyleRenderer{} export class VoidStripeStyleRenderer { /** * Yields the {@link yfiles.graph.ILookup#EMPTY} that will not yield anything. @@ -72816,13 +73292,14 @@ declare namespace yfiles{ */ static INSTANCE:yfiles.styles.IStripeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.VoidStripeStyleRenderer; } /** * A stripe style decorator that uses a node style instance to render the stripe. * @class * @implements {yfiles.styles.IStripeStyle} */ - export interface NodeStyleStripeStyleAdapter extends Object,yfiles.styles.IStripeStyle{} + export interface NodeStyleStripeStyleAdapter extends yfiles.lang.Object,yfiles.styles.IStripeStyle{} export class NodeStyleStripeStyleAdapter { /** * Creates a stripe style that uses the provided node style to render the stripe. @@ -72850,7 +73327,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * * @type {yfiles.styles.IStripeStyleRenderer} @@ -72862,6 +73339,7 @@ declare namespace yfiles{ */ nodeStyle:yfiles.styles.INodeStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.NodeStyleStripeStyleAdapter; } export enum TableRenderingOrder{ /** @@ -72889,7 +73367,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.styles.IStripeStyle} */ - export interface StripeStyleBase extends Object,yfiles.styles.IStripeStyle{} + export interface StripeStyleBase extends yfiles.lang.Object,yfiles.styles.IStripeStyle{} export class StripeStyleBase { /** * Initializes a new instance of the {@link yfiles.styles.StripeStyleBase} class. @@ -72903,7 +73381,7 @@ declare namespace yfiles{ *

    * @returns A new object that is a copy of this instance using {@link #memberwiseClone}. */ - clone():Object; + clone():any; /** * Callback that creates the visual. *

    @@ -72936,7 +73414,7 @@ declare namespace yfiles{ * @returns An implementation of the type or null. * @protected */ - lookup(stripe:yfiles.graph.IStripe,type:yfiles.lang.Class):Object; + lookup(stripe:yfiles.graph.IStripe,type:yfiles.lang.Class):any; /** * Callback that updates the visual previously created by {@link yfiles.styles.StripeStyleBase#createVisual}. *

    @@ -72961,6 +73439,7 @@ declare namespace yfiles{ */ renderer:yfiles.styles.IStripeStyleRenderer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.styles.StripeStyleBase; } }export namespace binding{ /** @@ -73039,9 +73518,9 @@ declare namespace yfiles{ *

    * @see yfiles.binding.GraphBuilderBase#nodesSource * @see yfiles.binding.AdjacentNodesGraphBuilder#predecessorsBinding - * @type {Object} + * @type {any} */ - successorsBinding:Object; + successorsBinding:any; /** * Gets or sets the predecessors binding. *

    @@ -73057,10 +73536,11 @@ declare namespace yfiles{ *

    * @see yfiles.binding.GraphBuilderBase#nodesSource * @see yfiles.binding.AdjacentNodesGraphBuilder#successorsBinding - * @type {Object} + * @type {any} */ - predecessorsBinding:Object; + predecessorsBinding:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.binding.AdjacentNodesGraphBuilder; } /** * This class is an adapter that populates a {@link yfiles.binding.GraphBuilderBase#graph} from custom business data. @@ -73107,7 +73587,7 @@ declare namespace yfiles{ * @returns The created edge. * @protected */ - createEdge(graph:yfiles.graph.IGraph,source:yfiles.graph.INode,target:yfiles.graph.INode,labelData:Object,businessObject:Object):yfiles.graph.IEdge; + createEdge(graph:yfiles.graph.IGraph,source:yfiles.graph.INode,target:yfiles.graph.INode,labelData:any,businessObject:any):yfiles.graph.IEdge; /** * Retrieves the associated edge in the {@link yfiles.binding.GraphBuilderBase#graph} for a business object from the {@link yfiles.binding.GraphBuilder#edgesSource}. * @param businessObject A business object from the {@link #edgesSource} to get the edge for. @@ -73116,7 +73596,7 @@ declare namespace yfiles{ * @see yfiles.binding.GraphBuilderBase#getNode * @see yfiles.binding.GraphBuilderBase#getGroup */ - getEdge(businessObject:Object):yfiles.graph.IEdge; + getEdge(businessObject:any):yfiles.graph.IEdge; /** * Updates an existing edge when {@link yfiles.binding.GraphBuilderBase#updateGraph} is called and the edge should remain in the * graph. @@ -73126,7 +73606,7 @@ declare namespace yfiles{ * @param businessObject The business data associated with the edge. * @protected */ - updateEdge(graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge,labelData:Object,businessObject:Object):void; + updateEdge(graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge,labelData:any,businessObject:any):void; /** * Gets or sets a value indicating whether or not the source and target bindings must yield business objects that are * contained in {@link yfiles.binding.GraphBuilderBase#nodesSource}. @@ -73143,16 +73623,16 @@ declare namespace yfiles{ /** * Get or set the business objects to be represented as edges of the {@link yfiles.binding.GraphBuilderBase#graph}. *

    - * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as + * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as * edges. *

    *

    * In case the value of this property is a plain JavaScript object, the object's properties are enumerated with Object.getOwnPropertyNames * and used as the source for the graph edges. *

    - * @type {Object} + * @type {any} */ - edgesSource:Object; + edgesSource:any; /** * Gets or sets the mandatory source node binding. *

    @@ -73168,9 +73648,9 @@ declare namespace yfiles{ * @see yfiles.binding.GraphBuilderBase#nodesSource * @see yfiles.binding.GraphBuilder#targetNodeBinding * @see yfiles.binding.GraphBuilder#edgesSource - * @type {Object} + * @type {any} */ - sourceNodeBinding:Object; + sourceNodeBinding:any; /** * Gets or sets the mandatory target node binding. *

    @@ -73186,9 +73666,9 @@ declare namespace yfiles{ * @see yfiles.binding.GraphBuilderBase#nodesSource * @see yfiles.binding.GraphBuilder#sourceNodeBinding * @see yfiles.binding.GraphBuilder#edgesSource - * @type {Object} + * @type {any} */ - targetNodeBinding:Object; + targetNodeBinding:any; /** * Gets or sets the edge label binding. *

    @@ -73202,10 +73682,11 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilder#edgesSource - * @type {Object} + * @type {any} */ - edgeLabelBinding:Object; + edgeLabelBinding:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.binding.GraphBuilder; } /** * Base class for adapters that populate a {@link yfiles.binding.GraphBuilderBase#graph} from custom business data. @@ -73215,7 +73696,7 @@ declare namespace yfiles{ *

    * @class */ - export interface GraphBuilderBase extends Object{} + export interface GraphBuilderBase extends yfiles.lang.Object{} export class GraphBuilderBase { /** * Initializes a new instance of this class using the given graph. @@ -73243,7 +73724,7 @@ declare namespace yfiles{ * @returns The created node. * @protected */ - createGroupNode(graph:yfiles.graph.IGraph,businessObject:Object):yfiles.graph.INode; + createGroupNode(graph:yfiles.graph.IGraph,businessObject:any):yfiles.graph.INode; /** * Creates a new node with the specified parent and assigns the businessObjectparameter to the node's {@link yfiles.graph.ITagOwner#tag Tag} property. *

    @@ -73257,7 +73738,7 @@ declare namespace yfiles{ * @returns The created node. * @protected */ - createNode(graph:yfiles.graph.IGraph,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:Object,businessObject:Object):yfiles.graph.INode; + createNode(graph:yfiles.graph.IGraph,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:any,businessObject:any):yfiles.graph.INode; /** * Retrieves the associated business object for a given {@link yfiles.graph.IModelItem graph item} from the {@link yfiles.binding.GraphBuilderBase#graph}. * @param item The item of the graph to get the business object for. @@ -73265,7 +73746,7 @@ declare namespace yfiles{ * @see yfiles.binding.GraphBuilderBase#getNode * @see yfiles.binding.GraphBuilderBase#getGroup */ - getBusinessObject(item:yfiles.graph.IModelItem):Object; + getBusinessObject(item:yfiles.graph.IModelItem):any; /** * Retrieves the associated group node in the {@link yfiles.binding.GraphBuilderBase#graph} for a business object from the {@link yfiles.binding.GraphBuilderBase#groupsSource}. * @param businessObject A business object from the {@link #groupsSource} to get the group for. @@ -73273,7 +73754,7 @@ declare namespace yfiles{ * @see yfiles.binding.GraphBuilderBase#getBusinessObject * @see yfiles.binding.GraphBuilderBase#getNode */ - getGroup(businessObject:Object):yfiles.graph.INode; + getGroup(businessObject:any):yfiles.graph.INode; /** * Retrieves the associated node in the {@link yfiles.binding.GraphBuilderBase#graph} for a business object from the {@link yfiles.binding.GraphBuilderBase#nodesSource}. * @param businessObject A business object from the {@link #nodesSource} to get the node for. @@ -73281,7 +73762,7 @@ declare namespace yfiles{ * @see yfiles.binding.GraphBuilderBase#getBusinessObject * @see yfiles.binding.GraphBuilderBase#getGroup */ - getNode(businessObject:Object):yfiles.graph.INode; + getNode(businessObject:any):yfiles.graph.INode; /** * Updates the graph instance to fit the bound business data. *

    @@ -73302,7 +73783,7 @@ declare namespace yfiles{ * @param businessObject The business data associated with the group node. * @protected */ - updateGroupNode(graph:yfiles.graph.IGraph,groupNode:yfiles.graph.INode,businessObject:Object):void; + updateGroupNode(graph:yfiles.graph.IGraph,groupNode:yfiles.graph.INode,businessObject:any):void; /** * Updates an existing node when {@link yfiles.binding.GraphBuilderBase#updateGraph} is called and the node should remain in the * graph. @@ -73314,7 +73795,7 @@ declare namespace yfiles{ * @param businessObject The business data associated with the node. * @protected */ - updateNode(graph:yfiles.graph.IGraph,node:yfiles.graph.INode,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:Object,businessObject:Object):void; + updateNode(graph:yfiles.graph.IGraph,node:yfiles.graph.INode,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:any,businessObject:any):void; /** * Returns the {@link yfiles.graph.IGraph graph} used by this class. * @type {yfiles.graph.IGraph} @@ -73323,29 +73804,29 @@ declare namespace yfiles{ /** * Gets or sets the business objects to be represented as nodes of the {@link yfiles.binding.GraphBuilderBase#graph}. *

    - * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as + * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as * nodes. *

    *

    * In case the value of this property is a plain JavaScript object, the object's properties are enumerated with Object.getOwnPropertyNames * and used as the source for the graph nodes. *

    - * @type {Object} + * @type {any} */ - nodesSource:Object; + nodesSource:any; /** * Gets or sets the business objects to be represented as group nodes of the {@link yfiles.binding.GraphBuilderBase#graph}. *

    - * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as group + * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as group * nodes. *

    *

    * In case the value of this property is a plain JavaScript object, the object's properties are enumerated with Object.getOwnPropertyNames * and used as the source for the graph nodes. *

    - * @type {Object} + * @type {any} */ - groupsSource:Object; + groupsSource:any; /** * Gets or sets the node ID binding. *

    @@ -73359,9 +73840,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilderBase#nodesSource - * @type {Object} + * @type {any} */ - nodeIdBinding:Object; + nodeIdBinding:any; /** * Gets or sets the node label binding. *

    @@ -73377,9 +73858,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilderBase#nodesSource - * @type {Object} + * @type {any} */ - nodeLabelBinding:Object; + nodeLabelBinding:any; /** * Gets or sets the group node ID binding. *

    @@ -73392,9 +73873,9 @@ declare namespace yfiles{ * recursively. Functions will be called with both this and the first and only argument as the value to convert. *

    * @see yfiles.binding.GraphBuilderBase#groupsSource - * @type {Object} + * @type {any} */ - groupIdBinding:Object; + groupIdBinding:any; /** * Gets or sets the group binding. *

    @@ -73410,9 +73891,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilderBase#nodesSource - * @type {Object} + * @type {any} */ - groupBinding:Object; + groupBinding:any; /** * Gets or sets the parent group binding. *

    @@ -73427,9 +73908,9 @@ declare namespace yfiles{ * recursively. A function is called with the business object to convert as first and only parameter, and the function's this * is set to the business object, too. *

    - * @type {Object} + * @type {any} */ - parentGroupBinding:Object; + parentGroupBinding:any; /** * Gets or sets the binding for determining a node's position on the x-axis. *

    @@ -73441,9 +73922,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilderBase#nodesSource - * @type {Object} + * @type {any} */ - locationXBinding:Object; + locationXBinding:any; /** * Gets or sets the binding for determining a node's position on the y-axis. *

    @@ -73455,10 +73936,11 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilderBase#nodesSource - * @type {Object} + * @type {any} */ - locationYBinding:Object; + locationYBinding:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.binding.GraphBuilderBase; } /** * This class is an adapter which populates a {@link yfiles.binding.TreeBuilder#graph} from hierarchical business data. @@ -73485,7 +73967,7 @@ declare namespace yfiles{ * @see yfiles.binding.TreeBuilder#childBinding * @class */ - export interface TreeBuilder extends Object{} + export interface TreeBuilder extends yfiles.lang.Object{} export class TreeBuilder { /** * Creates a new empty instance using the given graph. @@ -73515,7 +73997,7 @@ declare namespace yfiles{ * @returns The created edge. * @protected */ - createEdge(graph:yfiles.graph.IGraph,source:yfiles.graph.INode,target:yfiles.graph.INode,labelData:Object):yfiles.graph.IEdge; + createEdge(graph:yfiles.graph.IGraph,source:yfiles.graph.INode,target:yfiles.graph.INode,labelData:any):yfiles.graph.IEdge; /** * Creates a new group node and assigns the businessObjectparameter to the group node's {@link yfiles.graph.ITagOwner#tag Tag} property. * @param graph The graph. @@ -73523,7 +74005,7 @@ declare namespace yfiles{ * @returns The created node. * @protected */ - createGroupNode(graph:yfiles.graph.IGraph,businessObject:Object):yfiles.graph.INode; + createGroupNode(graph:yfiles.graph.IGraph,businessObject:any):yfiles.graph.INode; /** * Creates a node with the specified parent and assigns the businessObject parameter to the node's {@link yfiles.graph.ITagOwner#tag Tag} property. * @param graph The graph. @@ -73534,21 +74016,21 @@ declare namespace yfiles{ * @returns The created node. * @protected */ - createNode(graph:yfiles.graph.IGraph,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:Object,businessObject:Object):yfiles.graph.INode; + createNode(graph:yfiles.graph.IGraph,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:any,businessObject:any):yfiles.graph.INode; /** * Retrieves the associated business object for a given {@link yfiles.graph.INode node} from the {@link yfiles.binding.TreeBuilder#graph}. * @param item The node of the graph to get the business object for. * @returns The business object associated with the graph element. * @see yfiles.binding.TreeBuilder#getNode */ - getBusinessObject(item:yfiles.graph.IModelItem):Object; + getBusinessObject(item:yfiles.graph.IModelItem):any; /** * Retrieves the associated node in the {@link yfiles.binding.TreeBuilder#graph} for a business object from the {@link yfiles.binding.TreeBuilder#nodesSource}. * @param businessObject A business object from the {@link #nodesSource} to get the node for. * @returns The node associated with the business object or null for unknown objects. * @see yfiles.binding.TreeBuilder#getBusinessObject */ - getNode(businessObject:Object):yfiles.graph.INode; + getNode(businessObject:any):yfiles.graph.INode; /** * Updates an edge with the given data. * @param graph The graph. @@ -73558,7 +74040,7 @@ declare namespace yfiles{ * @param labelData The business data associated with the edge. * @protected */ - updateEdge(graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge,source:yfiles.graph.INode,target:yfiles.graph.INode,labelData:Object):void; + updateEdge(graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge,source:yfiles.graph.INode,target:yfiles.graph.INode,labelData:any):void; /** * Updates the graph instance to fit the bound business data. *

    @@ -73579,7 +74061,7 @@ declare namespace yfiles{ * @param businessObject The business data associated with the group node. * @protected */ - updateGroupNode(graph:yfiles.graph.IGraph,groupNode:yfiles.graph.INode,businessObject:Object):void; + updateGroupNode(graph:yfiles.graph.IGraph,groupNode:yfiles.graph.INode,businessObject:any):void; /** * Updates a node with the given data. * @param graph The graph. @@ -73590,7 +74072,7 @@ declare namespace yfiles{ * @param businessObject The business data associated with the node. * @protected */ - updateNode(graph:yfiles.graph.IGraph,node:yfiles.graph.INode,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:Object,businessObject:Object):void; + updateNode(graph:yfiles.graph.IGraph,node:yfiles.graph.INode,parent:yfiles.graph.INode,location:yfiles.geometry.Point,labelData:any,businessObject:any):void; /** * Returns the {@link yfiles.graph.IGraph graph} used by this instance. * @type {yfiles.graph.IGraph} @@ -73599,7 +74081,7 @@ declare namespace yfiles{ /** * Gets or sets the business objects to be represented as nodes. *

    - * This can either be an array of objects, a plain JavaScript object, or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as + * This can either be an array of objects, a plain JavaScript object, or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as * nodes *

    *

    @@ -73616,27 +74098,27 @@ declare namespace yfiles{ * In case the value of this property is a plain JavaScript object, the object's properties are enumerated with Object.getOwnPropertyNames * and used as the source for the tree nodes. *

    - * @type {Object} + * @type {any} */ - nodesSource:Object; + nodesSource:any; /** * Gets or sets the business objects to be represented as group nodes of the {@link yfiles.binding.TreeBuilder#graph}. *

    - * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as group + * This can either be an array of objects, a plain JavaScript object or an {@link yfiles.collections.IEnumerable.} containing the objects to be displayed as group * nodes. *

    *

    * In case the value of this property is a plain JavaScript object, the object's properties are enumerated with Object.getOwnPropertyNames * and used as the source for the graph nodes. *

    - * @type {Object} + * @type {any} */ - groupsSource:Object; + groupsSource:any; /** * Gets or sets the binding for the children of a node. *

    * This binding maps a business object that represents a node to another business object o which specifies the children of - * this node. Similar to {@link yfiles.binding.GraphBuilderBase#nodesSource}, the object o can either be an array, an {@link yfiles.collections.IEnumerable.}, or a plain JavaScript object and should contain + * this node. Similar to {@link yfiles.binding.GraphBuilderBase#nodesSource}, the object o can either be an array, an {@link yfiles.collections.IEnumerable.}, or a plain JavaScript object and should contain * business objects that represent nodes. If a {@link yfiles.binding.GraphBuilderBase#nodeIdBinding} is set, these collection should contain the IDs of the objects that * specifies the nodes instead of the objects themselves. *

    @@ -73646,9 +74128,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.GraphBuilderBase#nodesSource - * @type {Object} + * @type {any} */ - childBinding:Object; + childBinding:any; /** * Gets or sets the node ID binding. *

    @@ -73662,9 +74144,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.TreeBuilder#nodesSource - * @type {Object} + * @type {any} */ - idBinding:Object; + idBinding:any; /** * Gets or sets the edge label binding. *

    @@ -73677,9 +74159,9 @@ declare namespace yfiles{ * recursively. A function is called with the business object to convert as first and only parameter, and the function's this * is set to the business object, too. *

    - * @type {Object} + * @type {any} */ - edgeLabelBinding:Object; + edgeLabelBinding:any; /** * Gets or sets the node label binding. *

    @@ -73695,9 +74177,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.TreeBuilder#nodesSource - * @type {Object} + * @type {any} */ - nodeLabelBinding:Object; + nodeLabelBinding:any; /** * Gets or sets the binding for determining a node's position on the x-axis. *

    @@ -73709,9 +74191,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.TreeBuilder#nodesSource - * @type {Object} + * @type {any} */ - locationXBinding:Object; + locationXBinding:any; /** * Gets or sets the binding for determining a node's position on the y-axis. *

    @@ -73723,9 +74205,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.TreeBuilder#nodesSource - * @type {Object} + * @type {any} */ - locationYBinding:Object; + locationYBinding:any; /** * Gets or sets the group node ID binding. *

    @@ -73739,9 +74221,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.TreeBuilder#groupsSource - * @type {Object} + * @type {any} */ - groupIdBinding:Object; + groupIdBinding:any; /** * Gets or sets the group binding. *

    @@ -73757,9 +74239,9 @@ declare namespace yfiles{ * is set to the business object, too. *

    * @see yfiles.binding.TreeBuilder#nodesSource - * @type {Object} + * @type {any} */ - groupBinding:Object; + groupBinding:any; /** * Gets or sets the parent group binding. *

    @@ -73774,10 +74256,11 @@ declare namespace yfiles{ * recursively. A function is called with the business object to convert as first and only parameter, and the function's this * is set to the business object, too. *

    - * @type {Object} + * @type {any} */ - parentGroupBinding:Object; + parentGroupBinding:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.binding.TreeBuilder; } }export namespace algorithms{ /** @@ -73823,7 +74306,7 @@ declare namespace yfiles{ *

    * @class */ - export interface AbortHandler extends Object{} + export interface AbortHandler extends yfiles.lang.Object{} export class AbortHandler { /** * Creates a new {@link yfiles.algorithms.AbortHandler} instance. @@ -74021,6 +74504,7 @@ declare namespace yfiles{ */ checkFailed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.AbortHandler; } /** * This class provides services that center around breadth first search (BFS). @@ -74041,7 +74525,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Bfs extends Object{} + export interface Bfs extends yfiles.lang.Object{} export class Bfs { /** * Returns the layers of nodes constructed by a directed/undirected breadth first search where the maximum number of layers @@ -74156,6 +74640,7 @@ declare namespace yfiles{ */ static getLayers(graph:yfiles.algorithms.Graph,isCoreNode:yfiles.algorithms.IDataProvider):yfiles.algorithms.NodeList[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Bfs; } /** * This class provides methods to determine whether a graph is bipartite and to obtain the corresponding partitions. @@ -74164,7 +74649,7 @@ declare namespace yfiles{ * sets. In other words, there are no edges connecting nodes that belong to the same partition. *

    *

    - * The two sets/partitions are represented by two {@link Object} constants i.e., {@link yfiles.algorithms.Bipartitions#RED} or + * The two sets/partitions are represented by two {@link any} constants i.e., {@link yfiles.algorithms.Bipartitions#RED} or * {@link yfiles.algorithms.Bipartitions#BLUE}. *

    *

    @@ -74173,7 +74658,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Bipartitions extends Object{} + export interface Bipartitions extends yfiles.lang.Object{} export class Bipartitions { /** * Calculates a bipartition of the given graph, if one exists. @@ -74199,17 +74684,18 @@ declare namespace yfiles{ * A constant for marking a node that belongs to the red partition. * @const * @static - * @type {Object} + * @type {any} */ - static RED:Object; + static RED:any; /** * A constant for marking a node that belongs to the blue partition. * @const * @static - * @type {Object} + * @type {any} */ - static BLUE:Object; + static BLUE:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Bipartitions; } /** * This class provides methods to determine various centrality indices of nodes or edges of a graph. @@ -74238,7 +74724,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Centrality extends Object{} + export interface Centrality extends yfiles.lang.Object{} export class Centrality { /** * Computes the closeness centrality for the nodes of a graph. @@ -74362,6 +74848,7 @@ declare namespace yfiles{ */ static weightCentrality(graph:yfiles.algorithms.Graph,centrality:yfiles.algorithms.INodeMap,considerInEdges:boolean,considerOutEdges:boolean,edgeWeights:yfiles.algorithms.IDataProvider):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Centrality; } /** * This class is responsible for finding cycles within a graph that have certain properties. @@ -74384,7 +74871,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Cycles extends Object{} + export interface Cycles extends yfiles.lang.Object{} export class Cycles { /** * Returns an {@link yfiles.algorithms.EdgeList} that contains all the edges that are part of at least one directed or undirected @@ -74442,6 +74929,7 @@ declare namespace yfiles{ */ static findCycleEdgesDFS(graph:yfiles.algorithms.Graph,cycleEdges:yfiles.algorithms.IEdgeMap):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Cycles; } /** * Represents a dart of a face of a {@link yfiles.algorithms.PlanarEmbedding}. @@ -74452,7 +74940,7 @@ declare namespace yfiles{ * @class * @final */ - export interface Dart extends Object{} + export interface Dart extends yfiles.lang.Object{} export class Dart { /** * Gets the edge associated with this dart. @@ -74478,6 +74966,7 @@ declare namespace yfiles{ */ face:yfiles.collections.IList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Dart; } /** * Framework class for implementing depth first search (DFS) based algorithms. @@ -74519,7 +75008,7 @@ declare namespace yfiles{ *

    * @class */ - export interface Dfs extends Object{} + export interface Dfs extends yfiles.lang.Object{} export class Dfs { /** * Creates a new {@link yfiles.algorithms.Dfs} instance with default settings. @@ -74598,7 +75087,7 @@ declare namespace yfiles{ */ start(graph:yfiles.algorithms.Graph):void; /** - * A {@link yfiles.algorithms.INodeMap} that holds for each {@link yfiles.algorithms.Node} an {@link Object} indicating the current state of the given + * A {@link yfiles.algorithms.INodeMap} that holds for each {@link yfiles.algorithms.Node} an {@link any} indicating the current state of the given * node as it is visited by this algorithm. *

    * Each node will be assigned one of the {@link yfiles.algorithms.Dfs#WHITE WHITE}, {@link yfiles.algorithms.Dfs#GRAY GRAY} or {@link yfiles.algorithms.Dfs#BLACK BLACK} objects that describe the state of the nodes. @@ -74612,9 +75101,9 @@ declare namespace yfiles{ * @protected * @const * @static - * @type {Object} + * @type {any} */ - static WHITE:Object; + static WHITE:any; /** * A constant indicating a node has already been visited, but has not been completed yet. *

    @@ -74623,9 +75112,9 @@ declare namespace yfiles{ * @protected * @const * @static - * @type {Object} + * @type {any} */ - static GRAY:Object; + static GRAY:any; /** * A constant indicating a node has been completed. *

    @@ -74634,9 +75123,9 @@ declare namespace yfiles{ * @protected * @const * @static - * @type {Object} + * @type {any} */ - static BLACK:Object; + static BLACK:any; /** * Sets whether or not to interpret the edges of the graph as directed. * @type {boolean} @@ -74648,6 +75137,7 @@ declare namespace yfiles{ */ lookFurtherMode:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Dfs; } /** * This is the base class of all look-up keys that are used to register {@link yfiles.algorithms.IDataProvider} with a @@ -74659,7 +75149,7 @@ declare namespace yfiles{ * @class * @template TValue */ - export interface DpKeyBase extends Object{} + export interface DpKeyBase extends yfiles.lang.Object{} export class DpKeyBase { /** * Initializes a new instance of the {@link yfiles.algorithms.DpKeyBase.} class. @@ -74686,6 +75176,7 @@ declare namespace yfiles{ */ name:string; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.DpKeyBase; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for {@link yfiles.algorithms.Edge}s with a @@ -74708,6 +75199,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.EdgeDpKey; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for the {@link yfiles.algorithms.Graph} itself @@ -74730,6 +75222,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.GraphDpKey; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for {@link yfiles.algorithms.GraphObject}s @@ -74752,6 +75245,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.GraphObjectDpKey; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for IEdgeLabelLayouts with a @@ -74774,6 +75268,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.IEdgeLabelLayoutDpKey; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for INodeLabelLayouts with a @@ -74796,6 +75291,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.INodeLabelLayoutDpKey; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for ILabelLayouts with a @@ -74818,6 +75314,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.ILabelLayoutDpKey; } /** * This class is used as look-up key for registering {@link yfiles.algorithms.IDataProvider} for {@link yfiles.algorithms.Node}s with a @@ -74840,6 +75337,7 @@ declare namespace yfiles{ */ constructor(valueType:yfiles.lang.Class,declaringType:yfiles.lang.Class,name:string); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.NodeDpKey; } /** * Represents an edge, i.e., a directed connection between two nodes (represented by instances of class @@ -75001,6 +75499,7 @@ declare namespace yfiles{ */ prevInEdge:yfiles.algorithms.Edge; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Edge; } /** * Specialized list implementation for instances of type {@link yfiles.algorithms.Edge}. @@ -75072,6 +75571,7 @@ declare namespace yfiles{ */ toEdgeArray():yfiles.algorithms.Edge[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.EdgeList; } export enum BfsDirection{ /** @@ -75248,7 +75748,7 @@ declare namespace yfiles{ *

    * @class */ - export interface AffineLine extends Object{} + export interface AffineLine extends yfiles.lang.Object{} export class AffineLine { /** * Creates an affine line which is defined by two points. @@ -75301,12 +75801,13 @@ declare namespace yfiles{ */ c:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.AffineLine; } /** * The handle of a segment of a borderline. * @class */ - export interface BorderLineSegment extends Object{} + export interface BorderLineSegment extends yfiles.lang.Object{} export class BorderLineSegment { /** * Returns the segment's value at the given position. @@ -75334,6 +75835,7 @@ declare namespace yfiles{ */ end:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.BorderLineSegment; } /** * This class can be used to easily model an orthogonal border line or sky-line. @@ -75343,7 +75845,7 @@ declare namespace yfiles{ *

    * @class */ - export interface BorderLine extends Object{} + export interface BorderLine extends yfiles.lang.Object{} export class BorderLine { /** * Creates a new BorderLine from a single segment. @@ -75601,13 +76103,14 @@ declare namespace yfiles{ */ maxValue:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.BorderLine; } /** * This class provides useful geometric primitives and advanced geometric algorithms. * @class * @static */ - export interface Geom extends Object{} + export interface Geom extends yfiles.lang.Object{} export class Geom { /** * Calculates the convex hull for a set of points. @@ -75824,13 +76327,14 @@ declare namespace yfiles{ */ static toRadians(angdeg:number):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Geom; } /** * This is an interface for a sequence of instances of LineSegment. * @interface * @implements {yfiles.algorithms.ICursor} */ - export interface ILineSegmentCursor extends Object,yfiles.algorithms.ICursor{ + export interface ILineSegmentCursor extends yfiles.lang.Object,yfiles.algorithms.ICursor{ /** * Gets the instance of LineSegment the cursor is currently pointing on. * @abstract @@ -75840,13 +76344,13 @@ declare namespace yfiles{ } var ILineSegmentCursor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.ILineSegmentCursor; }; /** * This interface describes a 2-dimensional object which has a finite bounding box. * @interface */ - export interface IPlaneObject extends Object{ + export interface IPlaneObject extends yfiles.lang.Object{ /** * Gets the smallest Rectangle which contains the object. * @abstract @@ -75856,14 +76360,14 @@ declare namespace yfiles{ } var IPlaneObject:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IPlaneObject; }; /** * This is an interface for a sequence of instances of YPoint. * @interface * @implements {yfiles.algorithms.ICursor} */ - export interface IPointCursor extends Object,yfiles.algorithms.ICursor{ + export interface IPointCursor extends yfiles.lang.Object,yfiles.algorithms.ICursor{ /** * Gets the instance of YPoint the cursor is currently pointing on. * @abstract @@ -75873,14 +76377,14 @@ declare namespace yfiles{ } var IPointCursor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IPointCursor; }; /** * Double-precision immutable insets representation. * @class * @implements {yfiles.lang.ICloneable} */ - export interface Insets extends Object,yfiles.lang.ICloneable{} + export interface Insets extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class Insets { /** * Creates a new instance with the given values @@ -75894,7 +76398,7 @@ declare namespace yfiles{ * * @returns */ - clone():Object; + clone():any; /** * Creates a {@link yfiles.geometry.Insets} from a given {@link yfiles.algorithms.Insets}. * @returns The {@link }. @@ -75925,23 +76429,24 @@ declare namespace yfiles{ */ right:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Insets; } /** * An instance of this interface handles intersections found by the IntersectionAlgorithm, * @interface */ - export interface IIntersectionHandler extends Object{ + export interface IIntersectionHandler extends yfiles.lang.Object{ /** * This method is called at every intersection. * @param a * @param b * @abstract */ - checkIntersection(a:Object,b:Object):void; + checkIntersection(a:any,b:any):void; } var IIntersectionHandler:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IIntersectionHandler; }; /** * This class calculates the intersection of rectangles in the plane with the help of a sweep-line algorithm. @@ -75951,7 +76456,7 @@ declare namespace yfiles{ * @class * @static */ - export interface IntersectionAlgorithm extends Object{} + export interface IntersectionAlgorithm extends yfiles.lang.Object{} export class IntersectionAlgorithm { /** * Calculates the intersections of rectangles in the plane. @@ -75966,6 +76471,7 @@ declare namespace yfiles{ */ static intersect(objects:yfiles.algorithms.YList,iHandler:yfiles.algorithms.IIntersectionHandler):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.IntersectionAlgorithm; } /** * This class represents a line segment in the plane. @@ -75975,7 +76481,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.algorithms.IPlaneObject} */ - export interface LineSegment extends Object,yfiles.algorithms.IPlaneObject{} + export interface LineSegment extends yfiles.lang.Object,yfiles.algorithms.IPlaneObject{} export class LineSegment { /** * Returns a new LineSegment. @@ -76148,13 +76654,14 @@ declare namespace yfiles{ */ deltaY:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.LineSegment; } /** * Represents a two-dimensional point located at (x, y). * @class * @implements {yfiles.lang.ICloneable} */ - export interface Point2D extends Object,yfiles.lang.ICloneable{} + export interface Point2D extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class Point2D { /** * Creates a new instance at the given location. @@ -76170,7 +76677,7 @@ declare namespace yfiles{ * Creates a new instance of this class that has the same values as this objects. * @returns a new instance of this class that has the same values as this objects. */ - clone():Object; + clone():any; /** * Calculates the distance between this points and another one, given as its coordinates. * @param px The x coordinate of the second point. @@ -76244,13 +76751,14 @@ declare namespace yfiles{ */ y:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Point2D; } /** * Represents a two-dimensional rectangle of size (width x height), located at the point (x, y). * @class * @implements {yfiles.lang.ICloneable} */ - export interface Rectangle2D extends Object,yfiles.lang.ICloneable{} + export interface Rectangle2D extends yfiles.lang.Object,yfiles.lang.ICloneable{} export class Rectangle2D { /** * Creates a new rectangle of the specified size at the specified location. @@ -76286,7 +76794,7 @@ declare namespace yfiles{ * Creates a new instance of this class that has the same values as this objects. * @returns a new instance of this class that has the same values as this objects. */ - clone():Object; + clone():any; /** * Checks whether this rectangle completely contains the second specified rectangle. * @param x the x coordinate of the second rectangle. @@ -76486,13 +76994,14 @@ declare namespace yfiles{ */ bounds2D:yfiles.algorithms.Rectangle2D; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Rectangle2D; } /** * This class provides algorithms for the triangulation of point sets in the plane. * @class * @static */ - export interface Triangulator extends Object{} + export interface Triangulator extends yfiles.lang.Object{} export class Triangulator { /** * Computes a Delauney triangulation of the given points. @@ -76545,6 +77054,7 @@ declare namespace yfiles{ */ static triangulatePoints(result:yfiles.algorithms.Graph,pointData:yfiles.algorithms.IDataProvider,reverseEdgeMap:yfiles.algorithms.IEdgeMap):yfiles.algorithms.Edge; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Triangulator; } /** * This class represents the size of an object. @@ -76554,7 +77064,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.IComparable} */ - export interface YDimension extends Object,yfiles.lang.IComparable{} + export interface YDimension extends yfiles.lang.Object,yfiles.lang.IComparable{} export class YDimension { /** * Creates a new YDimension2D object for given size. @@ -76567,7 +77077,7 @@ declare namespace yfiles{ * @param o * @returns */ - compareTo(o:Object):number; + compareTo(o:any):number; /** * Creates a {@link yfiles.geometry.Size} from a given {@link yfiles.algorithms.YDimension}. * @returns The {@link }. @@ -76584,6 +77094,7 @@ declare namespace yfiles{ */ height:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YDimension; } /** * An oriented rectangle in 2D coordinate space with double precision coordinates. @@ -76597,7 +77108,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.algorithms.IPlaneObject} */ - export interface YOrientedRectangle extends Object,yfiles.algorithms.IPlaneObject{} + export interface YOrientedRectangle extends yfiles.lang.Object,yfiles.algorithms.IPlaneObject{} export class YOrientedRectangle { /** * Creates a new instance using the provided rectangle's values to initialize anchor, size, and up vector. @@ -76859,6 +77370,7 @@ declare namespace yfiles{ */ boundingBox:yfiles.algorithms.YRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YOrientedRectangle; } /** * This class represents a point in the plane with double coordinates. @@ -76869,7 +77381,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.IComparable} * @final */ - export interface YPoint extends Object,yfiles.lang.IComparable{} + export interface YPoint extends yfiles.lang.Object,yfiles.lang.IComparable{} export class YPoint { /** * Creates a new YPoint object for a given position. @@ -76898,7 +77410,7 @@ declare namespace yfiles{ * @param o * @returns */ - compareTo(o:Object):number; + compareTo(o:any):number; /** * Returns the euclidean distance between two points. * @param x1 x-coordinate of first point @@ -76983,13 +77495,14 @@ declare namespace yfiles{ */ y:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YPoint; } /** * This class represents an ordered list of points in the plane. * @class * @final */ - export interface YPointPath extends Object{} + export interface YPointPath extends yfiles.lang.Object{} export class YPointPath { /** * Creates a new path from an array of points. @@ -77000,7 +77513,7 @@ declare namespace yfiles{ * Creates a new path from a list of points. * @param l a list of {@link } instances. */ - constructor(l:yfiles.collections.IList); + constructor(l:yfiles.collections.IList); /** * Creates a new empty path. */ @@ -77053,7 +77566,7 @@ declare namespace yfiles{ * Get the points in the path as list. * @returns a list of {@link } instances. */ - toList():yfiles.collections.IList; + toList():yfiles.collections.IList; /** * Defines a path with no points. * @const @@ -77077,6 +77590,7 @@ declare namespace yfiles{ */ lineSegmentCount:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YPointPath; } /** * This class defines a rectangle and provides utility methods for it. @@ -77197,6 +77711,7 @@ declare namespace yfiles{ */ boundingBox:yfiles.algorithms.YRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YRectangle; } /** * This class represents a vector in the 2-dimensional real vector space. @@ -77205,7 +77720,7 @@ declare namespace yfiles{ *

    * @class */ - export interface YVector extends Object{} + export interface YVector extends yfiles.lang.Object{} export class YVector { /** * Creates a new vector, whose direction is given by two points. @@ -77353,6 +77868,7 @@ declare namespace yfiles{ */ y:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YVector; } /** * This class implements a directed graph structure. @@ -77390,7 +77906,7 @@ declare namespace yfiles{ *

    * @class */ - export interface Graph extends Object{} + export interface Graph extends yfiles.lang.Object{} export class Graph { /** * Instantiates a new Graph object as a partial copy of the given graph. @@ -77418,7 +77934,7 @@ declare namespace yfiles{ * @param providerKey * @param data */ - addDataProvider(providerKey:Object,data:yfiles.algorithms.IDataProvider):void; + addDataProvider(providerKey:any,data:yfiles.algorithms.IDataProvider):void; /** * Redefines an edge's end points and fires corresponding notification events to inform registered listeners. *

    @@ -77656,7 +78172,7 @@ declare namespace yfiles{ * @param providerKey * @returns */ - getDataProvider(providerKey:Object):yfiles.algorithms.IDataProvider; + getDataProvider(providerKey:any):yfiles.algorithms.IDataProvider; /** * Returns an array containing all edges of this graph. * @returns @@ -77772,7 +78288,7 @@ declare namespace yfiles{ * Removes the data provider that is registered using the given look-up key. * @param providerKey */ - removeDataProvider(providerKey:Object):void; + removeDataProvider(providerKey:any):void; /** * Removes the given edge from this graph and fires a corresponding notification event to inform registered listeners. *

    @@ -77811,7 +78327,7 @@ declare namespace yfiles{ * @param inComparer The comparator used for the incoming edges at each node. * @param outComparer The comparator used for the outgoing edges at each node. */ - sortEdges(inComparer:yfiles.collections.IComparer,outComparer:yfiles.collections.IComparer):void; + sortEdges(inComparer:yfiles.collections.IComparer,outComparer:yfiles.collections.IComparer):void; /** * Sorts the internally held list of edges. *

    @@ -77820,7 +78336,7 @@ declare namespace yfiles{ *

    * @param comparer The comparator used for the edges. */ - sortEdges(comparer:yfiles.collections.IComparer):void; + sortEdges(comparer:yfiles.collections.IComparer):void; /** * Sorts the internally held list of nodes. *

    @@ -77829,7 +78345,7 @@ declare namespace yfiles{ *

    * @param comparer The comparator used for the nodes. */ - sortNodes(comparer:yfiles.collections.IComparer):void; + sortNodes(comparer:yfiles.collections.IComparer):void; /** * Unhides the given node in this graph. *

    @@ -77929,9 +78445,9 @@ declare namespace yfiles{ registeredEdgeMaps:yfiles.algorithms.IEdgeMap[]; /** * Gets an array of all data provider look-up keys that are registered with this graph. - * @type {Array.} + * @type {Array.} */ - dataProviderKeys:Object[]; + dataProviderKeys:any[]; /** * Yields a dynamic {@link yfiles.collections.IEnumerable.} for * {@link yfiles.algorithms.Node}s that can be used to iterate over the nodes that are contained in this instance. @@ -77953,6 +78469,7 @@ declare namespace yfiles{ */ edges:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Graph; } /** * This class provides methods that check structural properties of a given graph. @@ -77979,7 +78496,7 @@ declare namespace yfiles{ * @class * @static */ - export interface GraphChecker extends Object{} + export interface GraphChecker extends yfiles.lang.Object{} export class GraphChecker { /** * Checks whether or not the given directed graph is acyclic. @@ -78104,6 +78621,7 @@ declare namespace yfiles{ */ static isTree(graph:yfiles.algorithms.Graph):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.GraphChecker; } /** * This class provides algorithms for determining certain connectivity components within a graph. @@ -78124,7 +78642,7 @@ declare namespace yfiles{ * @class * @static */ - export interface GraphConnectivity extends Object{} + export interface GraphConnectivity extends yfiles.lang.Object{} export class GraphConnectivity { /** * Calculates the biconnected components and the articulation points of a given undirected graph and returns the number of @@ -78382,6 +78900,7 @@ declare namespace yfiles{ */ static toNodeListArray(graph:yfiles.algorithms.Graph,compNum:yfiles.algorithms.INodeMap,maxCompNum:number):yfiles.algorithms.NodeList[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.GraphConnectivity; } /** * Common base type for both {@link yfiles.algorithms.Node} and {@link yfiles.algorithms.Edge}. @@ -78390,9 +78909,10 @@ declare namespace yfiles{ *

    * @class */ - export interface GraphObject extends Object{} + export interface GraphObject extends yfiles.lang.Object{} export class GraphObject { static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.GraphObject; } /** * This class provides the result of hierarchical clustering algorithms by means of a binary tree structure. @@ -78433,7 +78953,7 @@ declare namespace yfiles{ * @see yfiles.algorithms.Groups#hierarchicalClustering * @class */ - export interface Dendrogram extends Object{} + export interface Dendrogram extends yfiles.lang.Object{} export class Dendrogram { /** * Returns a {@link yfiles.algorithms.NodeList} that contains the child nodes of the given parent node. @@ -78519,6 +79039,7 @@ declare namespace yfiles{ */ levelCount:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Dendrogram; } /** * An interface that determines the distance between two nodes of a graph. @@ -78531,7 +79052,7 @@ declare namespace yfiles{ * @see yfiles.algorithms.Groups#hierarchicalClustering * @interface */ - export interface INodeDistanceProvider extends Object{ + export interface INodeDistanceProvider extends yfiles.lang.Object{ /** * Returns the distance between two given nodes of a graph. *

    @@ -78548,7 +79069,7 @@ declare namespace yfiles{ } var INodeDistanceProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.INodeDistanceProvider; }; /** * This class provides methods for automatically partitioning nodes of a graph into groups. @@ -78568,7 +79089,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Groups extends Object{} + export interface Groups extends yfiles.lang.Object{} export class Groups { /** * This method partitions the graph by analyzing its biconnected components. @@ -78758,6 +79279,7 @@ declare namespace yfiles{ */ static kMeansClustering(options:{graph:yfiles.algorithms.Graph,clusterIDs:yfiles.algorithms.INodeMap,nodePositions:yfiles.algorithms.IDataProvider,distanceMetric:yfiles.algorithms.DistanceMetric,k:number,iterations?:number,centroids?:yfiles.algorithms.YPoint[]}):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Groups; } /** * A general interface for iterating over a collection of objects. @@ -78774,7 +79296,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ICursor extends Object{ + export interface ICursor extends yfiles.lang.Object{ /** * Moves this cursor one position forward. * @abstract @@ -78804,9 +79326,9 @@ declare namespace yfiles{ /** * Gets the object currently pointed on. * @abstract - * @type {Object} + * @type {any} */ - current:Object; + current:any; /** * Gets the number of elements that can be accessed with this cursor. * @abstract @@ -78816,7 +79338,7 @@ declare namespace yfiles{ } var ICursor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.ICursor; }; /** * A general interface for setting data. @@ -78825,7 +79347,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IDataAcceptor extends Object{ + export interface IDataAcceptor extends yfiles.lang.Object{ /** * Sets an object value associated with the given data holder. *

    @@ -78835,7 +79357,7 @@ declare namespace yfiles{ * @param value * @abstract */ - set(dataHolder:Object,value:Object):void; + set(dataHolder:any,value:any):void; /** * Sets a boolean value associated with the given data holder. *

    @@ -78845,7 +79367,7 @@ declare namespace yfiles{ * @param value * @abstract */ - setBoolean(dataHolder:Object,value:boolean):void; + setBoolean(dataHolder:any,value:boolean):void; /** * Sets an integer value associated with the given data holder. *

    @@ -78855,7 +79377,7 @@ declare namespace yfiles{ * @param value * @abstract */ - setInt(dataHolder:Object,value:number):void; + setInt(dataHolder:any,value:number):void; /** * Sets a double value associated with the given data holder. *

    @@ -78865,11 +79387,11 @@ declare namespace yfiles{ * @param value * @abstract */ - setNumber(dataHolder:Object,value:number):void; + setNumber(dataHolder:any,value:number):void; } var IDataAcceptor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IDataAcceptor; }; /** * Interface that combines the {@link yfiles.algorithms.IDataProvider} and {@link yfiles.algorithms.IDataAcceptor} interfaces. @@ -78880,11 +79402,11 @@ declare namespace yfiles{ * @implements {yfiles.algorithms.IDataProvider} * @implements {yfiles.algorithms.IDataAcceptor} */ - export interface IDataMap extends Object,yfiles.algorithms.IDataProvider,yfiles.algorithms.IDataAcceptor{ + export interface IDataMap extends yfiles.lang.Object,yfiles.algorithms.IDataProvider,yfiles.algorithms.IDataAcceptor{ } var IDataMap:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IDataMap; }; /** * A general interface for data provision. @@ -78894,7 +79416,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IDataProvider extends Object{ + export interface IDataProvider extends yfiles.lang.Object{ /** * Returns an object value associated with the given data holder. *

    @@ -78904,7 +79426,7 @@ declare namespace yfiles{ * @returns * @abstract */ - get(dataHolder:Object):Object; + get(dataHolder:any):any; /** * Returns a boolean value associated with the given data holder. *

    @@ -78914,7 +79436,7 @@ declare namespace yfiles{ * @returns * @abstract */ - getBoolean(dataHolder:Object):boolean; + getBoolean(dataHolder:any):boolean; /** * Returns an integer value associated with the given data holder. *

    @@ -78924,7 +79446,7 @@ declare namespace yfiles{ * @returns * @abstract */ - getInt(dataHolder:Object):number; + getInt(dataHolder:any):number; /** * Returns a double value associated with the given data holder. *

    @@ -78934,18 +79456,18 @@ declare namespace yfiles{ * @returns * @abstract */ - getNumber(dataHolder:Object):number; + getNumber(dataHolder:any):number; } var IDataProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IDataProvider; }; /** * A cursor interface for iterating over edges. * @interface * @implements {yfiles.algorithms.ICursor} */ - export interface IEdgeCursor extends Object,yfiles.algorithms.ICursor{ + export interface IEdgeCursor extends yfiles.lang.Object,yfiles.algorithms.ICursor{ /** * Moves the cursor to the cyclic next element of the underlying sequence. *

    @@ -78974,7 +79496,7 @@ declare namespace yfiles{ } var IEdgeCursor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IEdgeCursor; }; /** * Provides access to data associated with an edge. @@ -78993,18 +79515,18 @@ declare namespace yfiles{ * @implements {yfiles.algorithms.IDataAcceptor} * @implements {yfiles.algorithms.IDataMap} */ - export interface IEdgeMap extends Object,yfiles.algorithms.IDataProvider,yfiles.algorithms.IDataAcceptor,yfiles.algorithms.IDataMap{ + export interface IEdgeMap extends yfiles.lang.Object,yfiles.algorithms.IDataProvider,yfiles.algorithms.IDataAcceptor,yfiles.algorithms.IDataMap{ } var IEdgeMap:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.IEdgeMap; }; /** * A cursor interface for iterating over nodes. * @interface * @implements {yfiles.algorithms.ICursor} */ - export interface INodeCursor extends Object,yfiles.algorithms.ICursor{ + export interface INodeCursor extends yfiles.lang.Object,yfiles.algorithms.ICursor{ /** * Moves the cursor to the cyclic next element of the underlying sequence. *

    @@ -79033,7 +79555,7 @@ declare namespace yfiles{ } var INodeCursor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.INodeCursor; }; /** * Provides access to data associated with a node. @@ -79052,17 +79574,17 @@ declare namespace yfiles{ * @implements {yfiles.algorithms.IDataAcceptor} * @implements {yfiles.algorithms.IDataMap} */ - export interface INodeMap extends Object,yfiles.algorithms.IDataProvider,yfiles.algorithms.IDataAcceptor,yfiles.algorithms.IDataMap{ + export interface INodeMap extends yfiles.lang.Object,yfiles.algorithms.IDataProvider,yfiles.algorithms.IDataAcceptor,yfiles.algorithms.IDataMap{ } var INodeMap:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.INodeMap; }; /** * This is a generic interface for classes that provide an ordering for the nodes of a graph. * @interface */ - export interface INodeSequencer extends Object{ + export interface INodeSequencer extends yfiles.lang.Object{ /** * Returns a cursor that grants access to all nodes of the given graph in some order. * @param graph the input graph @@ -79073,7 +79595,7 @@ declare namespace yfiles{ } var INodeSequencer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.algorithms.INodeSequencer; }; /** * This class provides methods for calculating independent sets. @@ -79086,7 +79608,7 @@ declare namespace yfiles{ * @class * @static */ - export interface IndependentSets extends Object{} + export interface IndependentSets extends yfiles.lang.Object{} export class IndependentSets { /** * Calculates an independent set for a given graph. @@ -79111,6 +79633,7 @@ declare namespace yfiles{ */ static getIndependentSets(conflictGraph:yfiles.algorithms.Graph):yfiles.algorithms.NodeList[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.IndependentSets; } /** * Represents a so-called "cell" or "link" of the doubly linked list implementation {@link yfiles.algorithms.YList}. @@ -79120,7 +79643,7 @@ declare namespace yfiles{ * @class * @final */ - export interface ListCell extends Object{} + export interface ListCell extends yfiles.lang.Object{} export class ListCell { /** * Returns the predecessor cell of this cell. @@ -79140,10 +79663,11 @@ declare namespace yfiles{ succ():yfiles.algorithms.ListCell; /** * Gets or sets the element stored in this cell. - * @type {Object} + * @type {any} */ - info:Object; + info:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.ListCell; } /** * This class provides sophisticated algorithms for solving classical network flow problems. @@ -79171,7 +79695,7 @@ declare namespace yfiles{ * @class * @static */ - export interface NetworkFlows extends Object{} + export interface NetworkFlows extends yfiles.lang.Object{} export class NetworkFlows { /** * Solves a maximum flow problem using the preflow-push method. @@ -79276,6 +79800,7 @@ declare namespace yfiles{ */ static minCostFlow(graph:yfiles.algorithms.Graph,uCapDP:yfiles.algorithms.IDataProvider,cost0DP:yfiles.algorithms.IDataProvider,supplyDP:yfiles.algorithms.IDataProvider,flowEM:yfiles.algorithms.IEdgeMap,dualsNM:yfiles.algorithms.INodeMap):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.NetworkFlows; } /** * Represents a so-called node in the directed graph data type {@link yfiles.algorithms.Graph}. @@ -79410,13 +79935,13 @@ declare namespace yfiles{ * @param c * @see yfiles.algorithms.Node#sortOutEdges */ - sortInEdges(c:yfiles.collections.IComparer):void; + sortInEdges(c:yfiles.collections.IComparer):void; /** * Sorts outgoing edges at this node according to the given comparator. * @param c * @see yfiles.algorithms.Node#sortInEdges */ - sortOutEdges(c:yfiles.collections.IComparer):void; + sortOutEdges(c:yfiles.collections.IComparer):void; /** * Gets the overall number of incoming and outgoing edges at this node. *

    @@ -79564,6 +80089,7 @@ declare namespace yfiles{ */ neighbors:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Node; } /** * Specialized list implementation for instances of type {@link yfiles.algorithms.Node}. @@ -79635,6 +80161,7 @@ declare namespace yfiles{ */ toNodeArray():yfiles.algorithms.Node[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.NodeList; } /** * This class provides algorithms that order the nodes of a graph using specific criteria. @@ -79652,7 +80179,7 @@ declare namespace yfiles{ * @class * @static */ - export interface NodeOrders extends Object{} + export interface NodeOrders extends yfiles.lang.Object{} export class NodeOrders { /** * Calculates an ordering of the nodes identical to the order of node completion events in a depth first search. @@ -79773,6 +80300,7 @@ declare namespace yfiles{ */ static topological(graph:yfiles.algorithms.Graph):yfiles.algorithms.NodeList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.NodeOrders; } /** * This class provides methods for finding paths within a graph that have certain properties. @@ -79794,7 +80322,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Paths extends Object{} + export interface Paths extends yfiles.lang.Object{} export class Paths { /** * Constructs a {@link yfiles.algorithms.NodeList path of nodes} from a given {@link yfiles.algorithms.EdgeList path of edges}. @@ -79935,6 +80463,7 @@ declare namespace yfiles{ */ static findPath(graph:yfiles.algorithms.Graph,startNode:yfiles.algorithms.Node,endNode:yfiles.algorithms.Node,directed:boolean):yfiles.algorithms.EdgeList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Paths; } /** * Represents an embedding of a planar graph. @@ -79945,7 +80474,7 @@ declare namespace yfiles{ * @class * @final */ - export interface PlanarEmbedding extends Object{} + export interface PlanarEmbedding extends yfiles.lang.Object{} export class PlanarEmbedding { /** * Creates a new embedding for the specified planar graph. @@ -79999,6 +80528,7 @@ declare namespace yfiles{ */ outerFace:yfiles.collections.IList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.PlanarEmbedding; } /** * This class provides algorithms for solving the rank assignment problem. @@ -80016,7 +80546,7 @@ declare namespace yfiles{ * @class * @static */ - export interface RankAssignments extends Object{} + export interface RankAssignments extends yfiles.lang.Object{} export class RankAssignments { /** * Like {@link yfiles.algorithms.RankAssignments#simple}, but arrays are used instead of {@link yfiles.algorithms.INodeMap}s and @@ -80106,6 +80636,7 @@ declare namespace yfiles{ */ static simplex(graph:yfiles.algorithms.Graph,layer:yfiles.algorithms.INodeMap,w:yfiles.algorithms.IDataProvider,minLength:yfiles.algorithms.IDataProvider,maximalDuration?:number):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.RankAssignments; } /** * This class provides diverse algorithms and helper methods for solving the shortest path problem on weighted graphs. @@ -80126,7 +80657,7 @@ declare namespace yfiles{ * @class * @static */ - export interface ShortestPaths extends Object{} + export interface ShortestPaths extends yfiles.lang.Object{} export class ShortestPaths { /** * Solves the single-source shortest path problem for acyclic directed graphs. @@ -80610,13 +81141,14 @@ declare namespace yfiles{ */ static uniformCost(graph:yfiles.algorithms.Graph):number[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.ShortestPaths; } /** * This class provides methods for efficiently sorting graph elements in graph structures. * @class * @static */ - export interface Sorting extends Object{} + export interface Sorting extends yfiles.lang.Object{} export class Sorting { /** * Sorts the nodes of a given graph by degree in ascending order. @@ -80637,6 +81169,7 @@ declare namespace yfiles{ */ static sortNodesByIntKey(graph:yfiles.algorithms.Graph,keys:yfiles.algorithms.IDataProvider):yfiles.algorithms.Node[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Sorting; } /** * This class provides (minimum) spanning tree algorithms for graphs. @@ -80653,7 +81186,7 @@ declare namespace yfiles{ * @class * @static */ - export interface SpanningTrees extends Object{} + export interface SpanningTrees extends yfiles.lang.Object{} export class SpanningTrees { /** * Returns the overall cost of a previously calculated minimum spanning tree. @@ -80710,6 +81243,7 @@ declare namespace yfiles{ */ static uniform(graph:yfiles.algorithms.Graph):yfiles.algorithms.EdgeList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.SpanningTrees; } /** * This class provides algorithms to compute reachability information for directed, acyclic graphs. @@ -80729,7 +81263,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Transitivity extends Object{} + export interface Transitivity extends yfiles.lang.Object{} export class Transitivity { /** * Calculates the transitive closure for a directed acyclic graph. @@ -80758,6 +81292,7 @@ declare namespace yfiles{ */ static transitiveReduction(graph:yfiles.algorithms.Graph,transitiveEdges?:yfiles.algorithms.EdgeList):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Transitivity; } /** * This class provides diverse algorithms and services for tree-structured graphs or subgraphs. @@ -80793,7 +81328,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Trees extends Object{} + export interface Trees extends yfiles.lang.Object{} export class Trees { static collectSubtree(root:yfiles.algorithms.Node,nodes:yfiles.algorithms.NodeList):void; /** @@ -80967,13 +81502,14 @@ declare namespace yfiles{ */ static isTree(graph:yfiles.algorithms.Graph):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Trees; } /** * This class provides access to some Comparator instances that are commonly used in yFiles. * @class * @static */ - export interface Comparers extends Object{} + export interface Comparers extends yfiles.lang.Object{} export class Comparers { /** * Compares the specified floating point numbers. @@ -80982,7 +81518,7 @@ declare namespace yfiles{ * the second. *

    *

    - * Warning: This method does not handle NaN! If you need NaN-safe comparison, use {@link yfiles.lang.Object_Interface#compare} instead. + * Warning: This method does not handle NaN! If you need NaN-safe comparison, use {@link yfiles.lang.Object#compare} instead. *

    * @param d1 the first number to compare. * @param d2 the second number to compare. @@ -80997,7 +81533,7 @@ declare namespace yfiles{ * @returns * @static */ - static createComparableComparer():yfiles.collections.IComparer; + static createComparableComparer():yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of arbitrary type. *

    @@ -81008,7 +81544,7 @@ declare namespace yfiles{ * @returns a {@link } that compares arbitrary objects. * @static */ - static createComparableDataComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createComparableDataComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of arbitrary type. *

    @@ -81018,7 +81554,7 @@ declare namespace yfiles{ * @returns a {@link } that compares arbitrary objects. * @static */ - static createIntDataComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createIntDataComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of type {@link yfiles.algorithms.Edge}. *

    @@ -81029,7 +81565,7 @@ declare namespace yfiles{ * @returns a {@link } that compares edges. * @static */ - static createIntDataSourceComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createIntDataSourceComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of type {@link yfiles.algorithms.Edge}. *

    @@ -81040,7 +81576,7 @@ declare namespace yfiles{ * @returns a {@link } that compares edges. * @static */ - static createIntDataTargetComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createIntDataTargetComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of arbitrary type. *

    @@ -81050,7 +81586,7 @@ declare namespace yfiles{ * @returns a {@link } that compares arbitrary objects. * @static */ - static createNumberDataComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createNumberDataComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of type {@link yfiles.algorithms.Edge}. *

    @@ -81061,7 +81597,7 @@ declare namespace yfiles{ * @returns a {@link } that compares edges. * @static */ - static createNumberDataSourceComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createNumberDataSourceComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; /** * Returns a {@link yfiles.collections.IComparer.} that compares objects of type {@link yfiles.algorithms.Edge}. *

    @@ -81072,15 +81608,16 @@ declare namespace yfiles{ * @returns a {@link } that compares edges. * @static */ - static createNumberDataTargetComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; + static createNumberDataTargetComparer(dp:yfiles.algorithms.IDataProvider):yfiles.collections.IComparer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Comparers; } /** * Provides utility methods for working with {@link yfiles.algorithms.ICursor cursors}. * @class * @static */ - export interface Cursors extends Object{} + export interface Cursors extends yfiles.lang.Object{} export class Cursors { /** * Creates a new cursor that provides a logical view on the concatenation of the two given cursors. @@ -81138,8 +81675,9 @@ declare namespace yfiles{ * @returns dest or a newly created array filled with the values from cursor * @static */ - static toArray(cursor:yfiles.algorithms.ICursor,dest:Object[]):Object[]; + static toArray(cursor:yfiles.algorithms.ICursor,dest:any[]):any[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Cursors; } /** * An abstract adapter class for providing data. @@ -81156,7 +81694,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.algorithms.IDataProvider} */ - export interface DataProviderAdapter extends Object,yfiles.algorithms.IDataProvider{} + export interface DataProviderAdapter extends yfiles.lang.Object,yfiles.algorithms.IDataProvider{} export class DataProviderAdapter { /** * Returns false for all data holders. @@ -81167,43 +81705,44 @@ declare namespace yfiles{ * @param dataHolder * @returns false. */ - defined(dataHolder:Object):boolean; + defined(dataHolder:any):boolean; /** * Subclasses may override this method to provide access to object values. * @param dataHolder * @returns * @throws {Stubs.Exceptions.NotSupportedError} unless overwritten. */ - get(dataHolder:Object):Object; + get(dataHolder:any):any; /** * Subclasses may override this method to provide access to boolean values. * @param dataHolder * @returns * @throws {Stubs.Exceptions.NotSupportedError} unless overwritten. */ - getBoolean(dataHolder:Object):boolean; + getBoolean(dataHolder:any):boolean; /** * Subclasses may override this method to provide access to integer values. * @param dataHolder * @returns * @throws {Stubs.Exceptions.NotSupportedError} unless overwritten. */ - getInt(dataHolder:Object):number; + getInt(dataHolder:any):number; /** * Subclasses may override this method to provide access to double values. * @param dataHolder * @returns * @throws {Stubs.Exceptions.NotSupportedError} unless overwritten. */ - getNumber(dataHolder:Object):number; + getNumber(dataHolder:any):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.DataProviderAdapter; } /** * This class provides convenience and transformation services for DataProviders. * @class * @static */ - export interface DataProviders extends Object{} + export interface DataProviders extends yfiles.lang.Object{} export class DataProviders { /** * Returns a DataProvider that returns the given value for each key. @@ -81211,7 +81750,7 @@ declare namespace yfiles{ * @returns a data provider view of a single value. * @static */ - static createConstantDataProvider(data:Object):yfiles.algorithms.IDataProvider; + static createConstantDataProvider(data:any):yfiles.algorithms.IDataProvider; /** * Returns a DataProvider view of an Object array defined for edges. *

    @@ -81221,7 +81760,7 @@ declare namespace yfiles{ * @returns a data provider view of the given array * @static */ - static createEdgeDataProvider(data:Object[]):yfiles.algorithms.IDataProvider; + static createEdgeDataProvider(data:any[]):yfiles.algorithms.IDataProvider; /** * Returns a DataProvider view of a double, int, boolean and Object array defined for edges. *

    @@ -81243,7 +81782,7 @@ declare namespace yfiles{ * @returns a data provider view of the given arrays * @static */ - static createEdgeDataProviderForArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:Object[]):yfiles.algorithms.IDataProvider; + static createEdgeDataProviderForArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:any[]):yfiles.algorithms.IDataProvider; /** * Returns a DataProvider view of a boolean array defined for edges. *

    @@ -81290,7 +81829,7 @@ declare namespace yfiles{ * @returns a data provider view of the given array * @static */ - static createNodeDataProvider(data:Object[]):yfiles.algorithms.IDataProvider; + static createNodeDataProvider(data:any[]):yfiles.algorithms.IDataProvider; /** * Returns a DataProvider view of a boolean array defined for nodes. *

    @@ -81342,7 +81881,7 @@ declare namespace yfiles{ * @returns a data provider view of the given arrays * @static */ - static createNodeDataProviderWithArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:Object[]):yfiles.algorithms.IDataProvider; + static createNodeDataProviderWithArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:any[]):yfiles.algorithms.IDataProvider; /** * Returns a DataProvider for edges that return the data provider values bound to their source nodes. * @param nodeData @@ -81358,6 +81897,7 @@ declare namespace yfiles{ */ static createTargetDataProvider(nodeData:yfiles.algorithms.IDataProvider):yfiles.algorithms.IDataProvider; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.DataProviders; } /** * Provides functionality to hide and unhide partitions of nodes and their adjacent edges of a graph temporarily for @@ -81374,7 +81914,7 @@ declare namespace yfiles{ *

    * @class */ - export interface GraphPartitionManager extends Object{} + export interface GraphPartitionManager extends yfiles.lang.Object{} export class GraphPartitionManager { /** * Instantiates a new GraphPartitionManager for the given graph. @@ -81389,7 +81929,7 @@ declare namespace yfiles{ * Assures that only nodes are visible in the graph that are associated with the given partitionId. * @param partitionId the partitionId for the nodes that will be made visible */ - displayPartition(partitionId:Object):void; + displayPartition(partitionId:any):void; /** * Hides the given list of nodes from the graph. *

    @@ -81472,7 +82012,7 @@ declare namespace yfiles{ * Hides nodes and adjacent edges that have the given partitionId associated. * @param partitionId the id */ - hidePartition(partitionId:Object):void; + hidePartition(partitionId:any):void; /** * Hides all self-loop edges from this graph. *

    @@ -81528,7 +82068,7 @@ declare namespace yfiles{ * Unhides nodes that have the given partitionId associated. * @param partitionId the id */ - unhidePartition(partitionId:Object):void; + unhidePartition(partitionId:any):void; /** * Gets or sets whether or not this partition manager should fire graph events. *

    @@ -81543,6 +82083,7 @@ declare namespace yfiles{ */ graph:yfiles.algorithms.Graph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.GraphPartitionManager; } /** * Provides functionality to hide and unhide nodes and edges of a graph temporarily for algorithmic operations. @@ -81558,7 +82099,7 @@ declare namespace yfiles{ *

    * @class */ - export interface LayoutGraphHider extends Object{} + export interface LayoutGraphHider extends yfiles.lang.Object{} export class LayoutGraphHider { /** * Instantiates a new GraphHider for the given graph. @@ -81795,6 +82336,7 @@ declare namespace yfiles{ */ graph:yfiles.algorithms.Graph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.LayoutGraphHider; } /** * This class provides convenience and transformation services for Node- and EdgeMaps and other layout-related collection @@ -81802,7 +82344,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Maps extends Object{} + export interface Maps extends yfiles.lang.Object{} export class Maps { /** * Create a DataMap view of the given map. @@ -81814,7 +82356,7 @@ declare namespace yfiles{ * @returns * @static */ - static createDataMap(map:yfiles.collections.IMap):yfiles.algorithms.IDataMap; + static createDataMap(map:yfiles.collections.IMap):yfiles.algorithms.IDataMap; /** * Create an EdgeMap view of the given map. *

    @@ -81825,7 +82367,7 @@ declare namespace yfiles{ * @returns * @static */ - static createEdgeMap(map:yfiles.collections.IMap):yfiles.algorithms.IEdgeMap; + static createEdgeMap(map:yfiles.collections.IMap):yfiles.algorithms.IEdgeMap; /** * Creates a DataMap that is based on hashing. *

    @@ -81935,7 +82477,7 @@ declare namespace yfiles{ * @returns * @static */ - static createHighPerformanceMap(backingProvider:yfiles.algorithms.IDataProvider,backingAcceptor:yfiles.algorithms.IDataAcceptor,defaultValue:Object):yfiles.algorithms.INodeMap; + static createHighPerformanceMap(backingProvider:yfiles.algorithms.IDataProvider,backingAcceptor:yfiles.algorithms.IDataAcceptor,defaultValue:any):yfiles.algorithms.INodeMap; /** * Creates a resettable high performance map for values of type Object. *

    @@ -81947,7 +82489,7 @@ declare namespace yfiles{ * @returns * @static */ - static createHighPerformanceMap(backingMap:yfiles.algorithms.IDataMap,defaultValue:Object):yfiles.algorithms.INodeMap; + static createHighPerformanceMap(backingMap:yfiles.algorithms.IDataMap,defaultValue:any):yfiles.algorithms.INodeMap; /** * Returns a EdgeMap view of an Object array defined for edges. *

    @@ -81961,7 +82503,7 @@ declare namespace yfiles{ * @returns a EdgeMap view of the given array * @static */ - static createIndexEdgeMap(data:Object[]):yfiles.algorithms.IEdgeMap; + static createIndexEdgeMap(data:any[]):yfiles.algorithms.IEdgeMap; /** * Returns a EdgeMap view of a boolean array defined for edges. *

    @@ -82032,7 +82574,7 @@ declare namespace yfiles{ * @returns a EdgeMap view of the given arrays * @static */ - static createIndexEdgeMapFromArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:Object[]):yfiles.algorithms.IEdgeMap; + static createIndexEdgeMapFromArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:any[]):yfiles.algorithms.IEdgeMap; /** * Returns a NodeMap view of an Object array defined for nodes. *

    @@ -82043,7 +82585,7 @@ declare namespace yfiles{ * @returns a NodeMap view of the given array * @static */ - static createIndexNodeMap(data:Object[]):yfiles.algorithms.INodeMap; + static createIndexNodeMap(data:any[]):yfiles.algorithms.INodeMap; /** * Returns a NodeMap view of a boolean array defined for nodes. *

    @@ -82108,7 +82650,7 @@ declare namespace yfiles{ * @returns a NodeMap view of the given arrays * @static */ - static createIndexNodeMapFromArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:Object[]):yfiles.algorithms.INodeMap; + static createIndexNodeMapFromArrays(doubleData:number[],intData:number[],boolData:boolean[],objectData:any[]):yfiles.algorithms.INodeMap; /** * Create a NodeMap view of the given map. *

    @@ -82119,8 +82661,9 @@ declare namespace yfiles{ * @returns * @static */ - static createNodeMap(map:yfiles.collections.IMap):yfiles.algorithms.INodeMap; + static createNodeMap(map:yfiles.collections.IMap):yfiles.algorithms.INodeMap; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.Maps; } /** * An implementation of a doubly linked list that provides direct access to the cells that store the elements. @@ -82146,15 +82689,15 @@ declare namespace yfiles{ * returned by instances of this class is not fail fast. *

    * @class - * @implements {yfiles.collections.IList.} + * @implements {yfiles.collections.IList.} */ - export interface YList extends Object,yfiles.collections.IList{} + export interface YList extends yfiles.lang.Object,yfiles.collections.IList{} export class YList { /** * Creates a list that is initialized with the elements provided by the given array of objects. * @param a */ - constructor(a:Object[]); + constructor(a:any[]); /** * Creates a list that is initialized with those elements from the given YCursor object for which the given data provider * returns true upon calling its {@link yfiles.algorithms.IDataProvider#getBoolean getBool} method. @@ -82166,7 +82709,7 @@ declare namespace yfiles{ * Creates a list that is initialized with the elements provided by the given Collection object. * @param c */ - constructor(c:yfiles.collections.IEnumerable); + constructor(c:yfiles.collections.IEnumerable); /** * Creates a list that is initialized with the elements provided by the given YCursor object. * @param c @@ -82192,20 +82735,20 @@ declare namespace yfiles{ * @param collection * @returns Whether there have been elements appended. */ - addAll(collection:yfiles.collections.ICollection):boolean; + addAll(collection:yfiles.collections.ICollection):boolean; /** * * @param index * @param c * @returns */ - addAll(index:number,c:yfiles.collections.ICollection):boolean; + addAll(index:number,c:yfiles.collections.ICollection):boolean; /** * Inserts the given object at the head of this list. * @param o * @returns The newly created ListCell object that stores the given object. */ - addFirst(o:Object):yfiles.algorithms.ListCell; + addFirst(o:any):yfiles.algorithms.ListCell; /** * Adds a formerly removed ListCell object at the head of this list. *

    @@ -82219,7 +82762,7 @@ declare namespace yfiles{ * @param o * @returns The newly created ListCell object that stores the given object. */ - addLast(o:Object):yfiles.algorithms.ListCell; + addLast(o:any):yfiles.algorithms.ListCell; /** * Adds a formerly removed ListCell object at the tail of this list. *

    @@ -82235,18 +82778,18 @@ declare namespace yfiles{ /** * Whether or not this list contains all the elements in the given collection. *

    - * Equality of elements is defined by the {@link Object#equals} method. + * Equality of elements is defined by the {@link any#equals} method. *

    * @param collection * @returns */ - containsAll(collection:yfiles.collections.ICollection):boolean; + containsAll(collection:yfiles.collections.ICollection):boolean; /** * Copies the elements of this collection to an array, starting at the specified array index. * @param array The one-dimensional array that is the destination of the elements copied from this collection. * @param arrayIndex The zero-based index in array at which copying begins. */ - copyTo(array:Object[],arrayIndex:number):void; + copyTo(array:any[],arrayIndex:number):void; /** * Returns a cursor for this list. *

    @@ -82280,24 +82823,24 @@ declare namespace yfiles{ * @param i * @returns */ - elementAt(i:number):Object; + elementAt(i:number):any; /** * Returns the {@link yfiles.algorithms.ListCell} where object o is stored. *

    - * This operation returns null, if no such cell exists. Equality of elements is defined by the {@link Object#equals} method. The first + * This operation returns null, if no such cell exists. Equality of elements is defined by the {@link any#equals} method. The first * element in the list that matches that criteria is returned. *

    * @param o * @returns the ListCell that contains the element or null if no such ListCell was found */ - findCell(o:Object):yfiles.algorithms.ListCell; + findCell(o:any):yfiles.algorithms.ListCell; /** * Gets the element at the specified index. * @param index The zero-based index of the element to get or set. * @returns The element at the specified index. * @see yfiles.algorithms.YList#set */ - get(index:number):Object; + get(index:number):any; /** * Gets the cell at the given index. * @param index the zero-based index of the cell in this list. @@ -82309,22 +82852,22 @@ declare namespace yfiles{ * Returns an enumerator that iterates through this collection. * @returns An {@link } that can be used to iterate through this collection. */ - getEnumerator():yfiles.collections.IEnumerator; + getEnumerator():yfiles.collections.IEnumerator; /** * Returns the element stored in the given list cell. * @param c * @returns */ - getInfo(c:yfiles.algorithms.ListCell):Object; + getInfo(c:yfiles.algorithms.ListCell):any; /** * Whether or not this list contains the given element. *

    - * Equality of elements is defined by the {@link Object#equals} method. + * Equality of elements is defined by the {@link any#equals} method. *

    * @param o * @returns */ - includes(o:Object):boolean; + includes(o:any):boolean; /** * Returns the zero-based index of the given element in this list. *

    @@ -82333,13 +82876,13 @@ declare namespace yfiles{ * @param obj * @returns */ - indexOf(obj:Object):number; + indexOf(obj:any):number; /** * * @param index * @param element */ - insert(index:number,element:Object):void; + insert(index:number,element:any):void; /** * Inserts the given object into this list with respect to a given reference list cell. *

    @@ -82352,7 +82895,7 @@ declare namespace yfiles{ * @param refCell The list cell used to reference the position. * @returns The newly created ListCell object that stores object o. */ - insertAfter(o:Object,refCell:yfiles.algorithms.ListCell):yfiles.algorithms.ListCell; + insertAfter(o:any,refCell:yfiles.algorithms.ListCell):yfiles.algorithms.ListCell; /** * Inserts the given object into this list with respect to a given reference list cell. *

    @@ -82365,7 +82908,7 @@ declare namespace yfiles{ * @param refCell The list cell used to reference the position. * @returns The newly created ListCell object that stores object o. */ - insertBefore(o:Object,refCell:yfiles.algorithms.ListCell):yfiles.algorithms.ListCell; + insertBefore(o:any,refCell:yfiles.algorithms.ListCell):yfiles.algorithms.ListCell; /** * Inserts a formerly removed ListCell object into this list with respect to a given reference list cell. *

    @@ -82400,22 +82943,22 @@ declare namespace yfiles{ * @param o * @returns */ - lastIndexOf(o:Object):number; + lastIndexOf(o:any):number; /** * Equivalent to {@link yfiles.algorithms.YList#firstObject}. * @returns */ - peek():Object; + peek():any; /** * Removes the first element from this list and returns it. * @returns */ - pop():Object; + pop():any; /** * Removes the last element from this list and returns it. * @returns */ - popLast():Object; + popLast():any; /** * Returns the predecessor cell of the given list cell. * @param c @@ -82427,7 +82970,7 @@ declare namespace yfiles{ * @param o * @returns */ - push(o:Object):yfiles.algorithms.ListCell; + push(o:any):yfiles.algorithms.ListCell; /** * Removes the given object from this list. *

    @@ -82436,13 +82979,13 @@ declare namespace yfiles{ * @param o * @returns */ - remove(o:Object):boolean; + remove(o:any):boolean; /** * Removes the given collection of objects from this list. * @param collection * @returns Whether there have been elements removed. */ - removeAll(collection:yfiles.collections.ICollection):boolean; + removeAll(collection:yfiles.collections.ICollection):boolean; /** * * @param index @@ -82453,19 +82996,19 @@ declare namespace yfiles{ * @param c * @returns The removed element. */ - removeAtCursor(c:yfiles.algorithms.ICursor):Object; + removeAtCursor(c:yfiles.algorithms.ICursor):any; /** * Removes the given list cell, and hence the element stored in it, from this list. * @param c * @returns The element that is stored in the removed cell. */ - removeCell(c:yfiles.algorithms.ListCell):Object; + removeCell(c:yfiles.algorithms.ListCell):any; /** * Retains only those elements in this list which are contained in the given collection. * @param collection * @returns Whether there have been elements removed. */ - retainAll(collection:yfiles.collections.ICollection):boolean; + retainAll(collection:yfiles.collections.ICollection):boolean; /** * Reverses the sequence of elements in this list. */ @@ -82476,13 +83019,13 @@ declare namespace yfiles{ * @param value The element at the specified index. * @see yfiles.algorithms.YList#get */ - set(index:number,value:Object):void; + set(index:number,value:any):void; /** * Updates the element stored in the given list cell with the given object. * @param c * @param value */ - setInfo(c:yfiles.algorithms.ListCell,value:Object):void; + setInfo(c:yfiles.algorithms.ListCell,value:any):void; /** * Sorts the elements in this list according to the given comparator. *

    @@ -82490,7 +83033,7 @@ declare namespace yfiles{ *

    * @param comparer */ - sort(comparer:yfiles.collections.IComparer):void; + sort(comparer:yfiles.collections.IComparer):void; /** * Sorts the elements in this list into ascending order, according to their natural ordering. *

    @@ -82521,7 +83064,7 @@ declare namespace yfiles{ * @param toIndex * @returns */ - subList(fromIndex:number,toIndex:number):yfiles.collections.IList; + subList(fromIndex:number,toIndex:number):yfiles.collections.IList; /** * Returns the successor cell of the given list cell. * @param c @@ -82532,7 +83075,7 @@ declare namespace yfiles{ * Returns an array representation of this list. * @returns */ - toArray():Object[]; + toArray():any[]; /** * Gets the number of elements in this list. * @type {number} @@ -82540,14 +83083,14 @@ declare namespace yfiles{ size:number; /** * Gets the first element of this list. - * @type {Object} + * @type {any} */ - firstObject:Object; + firstObject:any; /** * Gets the last element of this list. - * @type {Object} + * @type {any} */ - lastObject:Object; + lastObject:any; /** * Gets the first cell of this list. * @type {yfiles.algorithms.ListCell} @@ -82559,6 +83102,7 @@ declare namespace yfiles{ */ lastCell:yfiles.algorithms.ListCell; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.algorithms.YList; } }export namespace layout{ /** @@ -82578,7 +83122,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface BendConverter extends Object,yfiles.layout.ILayoutStage{} + export interface BendConverter extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class BendConverter { /** * Creates a new {@link yfiles.layout.BendConverter} instance with the given size as the width and height for the dummy nodes. @@ -82703,10 +83247,11 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null * @see yfiles.layout.BendConverter#adoptAffectedEdges - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.BendConverter; } /** * A {@link yfiles.layout.BufferedLayout} is a hull algorithm that invokes its {@link yfiles.layout.LayoutStageBase#coreLayout core layout algorithm} on a copy of the input graph. @@ -82729,6 +83274,7 @@ declare namespace yfiles{ */ constructor(coreLayouter?:yfiles.layout.ILayoutAlgorithm); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.BufferedLayout; } /** * A {@link yfiles.layout.ComponentLayout} arranges the connected components of a graph. @@ -82956,6 +83502,7 @@ declare namespace yfiles{ */ style:yfiles.layout.ComponentArrangementStyles; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ComponentLayout; } /** * {@link yfiles.layout.CompositeLayoutStage} allows for combining multiple {@link yfiles.layout.ILayoutStage}s. @@ -83012,10 +83559,11 @@ declare namespace yfiles{ prependStage(stage:yfiles.layout.ILayoutStage):void; /** * Gets the complete pipeline of {@link yfiles.layout.ILayoutStage}s that were added to this {@link yfiles.layout.CompositeLayoutStage}. - * @type {yfiles.collections.IList.} + * @type {yfiles.collections.IList.} */ - layoutStages:yfiles.collections.IList; + layoutStages:yfiles.collections.IList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.CompositeLayoutStage; } /** * A {@link yfiles.layout.CopiedLayoutGraph} is a {@link yfiles.layout.LayoutGraph} that serves as a copy of another graph with layout information. @@ -83073,7 +83621,7 @@ declare namespace yfiles{ * @param originalEdge the original edge * @returns the copy of the original edge */ - createCopiedEdge(originalEdge:Object):yfiles.algorithms.Edge; + createCopiedEdge(originalEdge:any):yfiles.algorithms.Edge; /** * Creates a node in the copied graph that corresponds to the given original node. *

    @@ -83089,37 +83637,38 @@ declare namespace yfiles{ * @param originalNode the original node * @returns the copy of the original node */ - createCopiedNode(originalNode:Object):yfiles.algorithms.Node; + createCopiedNode(originalNode:any):yfiles.algorithms.Node; /** * Returns the copied edge that corresponds to the given original edge. * @param originalEdge an edge of the original graph whose copy resides in this graph * @returns an edge in this graph that is the copy of the given original edge */ - getCopiedEdge(originalEdge:Object):yfiles.algorithms.Edge; + getCopiedEdge(originalEdge:any):yfiles.algorithms.Edge; /** * Returns the copied node that corresponds to the given original node. * @param originalNode a node of the original graph whose copy resides in this graph * @returns a node in this graph that is the copy of the given original node */ - getCopiedNode(originalNode:Object):yfiles.algorithms.Node; + getCopiedNode(originalNode:any):yfiles.algorithms.Node; /** * Returns the original edge that corresponds to the given copied edge. * @param copiedEdge the edge in this graph that is a copy of the returned edge * @returns the edge in the original graph whose copy is the given edge */ - getOriginalEdge(copiedEdge:yfiles.algorithms.Edge):Object; + getOriginalEdge(copiedEdge:yfiles.algorithms.Edge):any; /** * Returns the original node that corresponds to the given copied node. * @param copiedNode the node in this graph that is a copy of the returned node * @returns the node in the original graph whose copy is the given node */ - getOriginalNode(copiedNode:yfiles.algorithms.Node):Object; + getOriginalNode(copiedNode:yfiles.algorithms.Node):any; /** * Synchronizes the structure of the {@link yfiles.layout.CopiedLayoutGraph} with the actual structure of the underlying original * graph. */ syncStructure():void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.CopiedLayoutGraph; } /** * {@link yfiles.layout.CurveFittingLayoutStage} fits a piecewise cubic bezier curve to given arbitrary edge paths. @@ -83214,10 +83763,11 @@ declare namespace yfiles{ * processed by this layout stage. Otherwise, all edges are processed. *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified {@link yfiles.algorithms.IDataProvider} key is null - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.CurveFittingLayoutStage; } /** * {@link yfiles.layout.DefaultLayoutGraph} is a default implementation of {@link yfiles.layout.LayoutGraph} which holds the complete @@ -83321,22 +83871,23 @@ declare namespace yfiles{ edgeLabelMap:yfiles.algorithms.IEdgeMap; /** * A {@link yfiles.collections.IMap.} associating the owner of a node label with the node label itself. - * @type {yfiles.collections.IMap.} + * @type {yfiles.collections.IMap.} */ - nodeLabelFeatureMap:yfiles.collections.IMap; + nodeLabelFeatureMap:yfiles.collections.IMap; /** * A {@link yfiles.collections.IMap.} associating the owner of an edge label with the edge label itself. - * @type {yfiles.collections.IMap.} + * @type {yfiles.collections.IMap.} */ - edgeLabelFeatureMap:yfiles.collections.IMap; + edgeLabelFeatureMap:yfiles.collections.IMap; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.DefaultLayoutGraph; } /** * {@link yfiles.layout.Direction} provides four main directions and some methods to work with them. * @class * @final */ - export interface Direction extends Object{} + export interface Direction extends yfiles.lang.Object{} export class Direction { /** * Returns the direction encoded as an integer value. @@ -83410,6 +83961,7 @@ declare namespace yfiles{ */ vertical:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.Direction; } /** * {@link yfiles.layout.DiscreteEdgeLabelLayoutModel} describes the placement of rotated labels at some predefined positions along @@ -83430,7 +83982,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.IEdgeLabelLayoutModel} */ - export interface DiscreteEdgeLabelLayoutModel extends Object,yfiles.layout.IEdgeLabelLayoutModel{} + export interface DiscreteEdgeLabelLayoutModel extends yfiles.lang.Object,yfiles.layout.IEdgeLabelLayoutModel{} export class DiscreteEdgeLabelLayoutModel { /** * Creates a new instance of {@link yfiles.layout.DiscreteEdgeLabelLayoutModel} using the given candidate mask. @@ -83452,7 +84004,7 @@ declare namespace yfiles{ * @param targetNode * @returns */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout):any; /** * Returns a model parameter that encodes the specified position. *

    @@ -83464,7 +84016,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} if the specified position is unknown * @static */ - static createPositionParameter(position:number):Object; + static createPositionParameter(position:number):any; /** * * @param label @@ -83483,7 +84035,7 @@ declare namespace yfiles{ * @param param * @returns */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout,param:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout,param:any):yfiles.algorithms.YOrientedRectangle; /** * Returns the oriented box of the label for the given label position. *

    @@ -83506,7 +84058,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} if the specified model parameter is not valid for this model * @static */ - static getPosition(parameter:Object):number; + static getPosition(parameter:any):number; /** * Checks whether or not the given model parameter encodes a valid edge label position for this model. *

    @@ -83515,7 +84067,7 @@ declare namespace yfiles{ * @param parameter the model parameter * @returns true if the label position described by the given model parameter is allowed, false otherwise */ - isParameterValid(parameter:Object):boolean; + isParameterValid(parameter:any):boolean; /** * Gets the candidate mask which specifies the valid positions for edge labels. * @type {yfiles.layout.DiscreteEdgeLabelPositions} @@ -83571,10 +84123,11 @@ declare namespace yfiles{ * Descending order means that whenever two or more of the above default positions are part of the allowed positions, then * the model parameter encodes the one that is listed first. *

    - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.DiscreteEdgeLabelLayoutModel; } /** * {@link yfiles.layout.DiscreteNodeLabelLayoutModel} allows placing labels at eight positions around a node and at nine positions @@ -83595,7 +84148,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.INodeLabelLayoutModel} */ - export interface DiscreteNodeLabelLayoutModel extends Object,yfiles.layout.INodeLabelLayoutModel{} + export interface DiscreteNodeLabelLayoutModel extends yfiles.lang.Object,yfiles.layout.INodeLabelLayoutModel{} export class DiscreteNodeLabelLayoutModel { /** * Creates a new instance of {@link yfiles.layout.DiscreteNodeLabelLayoutModel} using the given candidate mask and insets. @@ -83616,7 +84169,7 @@ declare namespace yfiles{ * @param nodeLayout * @returns */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,nodeLayout:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,nodeLayout:yfiles.layout.INodeLayout):any; /** * * @param labelLayout @@ -83631,7 +84184,7 @@ declare namespace yfiles{ * @param parameter * @returns */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,parameter:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,parameter:any):yfiles.algorithms.YOrientedRectangle; /** * Returns the oriented box of the label for the given label position. *

    @@ -83653,7 +84206,7 @@ declare namespace yfiles{ * @param parameter the model parameter * @returns true if the label position described by the given model parameter is allowed, false otherwise */ - isParameterValid(parameter:Object):boolean; + isParameterValid(parameter:any):boolean; /** * Gets the candidate mask which specifies the valid positions for node labels. * @type {yfiles.layout.DiscreteNodeLabelPositions} @@ -83682,10 +84235,11 @@ declare namespace yfiles{ * Descending order means that whenever two or more of the above default positions are part of the allowed positions, then * the model parameter encodes the one that is listed first. *

    - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.DiscreteNodeLabelLayoutModel; } /** * An {@link yfiles.layout.EdgeBundleDescriptor} defines the {@link yfiles.layout.EdgeBundling bundling} settings of an edge. @@ -83701,7 +84255,7 @@ declare namespace yfiles{ * @see yfiles.layout.EdgeBundling#EDGE_BUNDLE_DESCRIPTOR_DP_KEY * @class */ - export interface EdgeBundleDescriptor extends Object{} + export interface EdgeBundleDescriptor extends yfiles.lang.Object{} export class EdgeBundleDescriptor { /** * Creates a new {@link yfiles.layout.EdgeBundleDescriptor} representing a copy of the given other descriptor instance. @@ -83749,6 +84303,7 @@ declare namespace yfiles{ */ bezierFitting:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.EdgeBundleDescriptor; } /** * An {@link yfiles.layout.EdgeBundling} instance defines if and how the edges of a graph should be bundled by a @@ -83769,7 +84324,7 @@ declare namespace yfiles{ * @see yfiles.circular.CircularLayout#edgeBundling * @class */ - export interface EdgeBundling extends Object{} + export interface EdgeBundling extends yfiles.lang.Object{} export class EdgeBundling { /** * Creates a new {@link yfiles.layout.EdgeBundling} instance with the given {@link yfiles.layout.EdgeBundling#bundlingStrength bundling strength} and {@link yfiles.layout.EdgeBundling#bundlingQuality bundling quality}. @@ -83834,6 +84389,7 @@ declare namespace yfiles{ */ defaultBundleDescriptor:yfiles.layout.EdgeBundleDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.EdgeBundling; } /** * An {@link yfiles.layout.EdgeLabelCandidate} describes one valid placement for an edge label considering the label model. @@ -83851,7 +84407,7 @@ declare namespace yfiles{ * @param owner the label associated with the candidate * @param [internal=false] true if the candidate is allowed to overlap with its owner, false otherwise */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.IEdgeLabelLayout,internal?:boolean); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.IEdgeLabelLayout,internal?:boolean); /** * Creates a new instance of {@link yfiles.layout.EdgeLabelCandidate} described by its box, model parameter and internal flag. * @param labelBox the box that specifies the candidate's size and position @@ -83859,8 +84415,9 @@ declare namespace yfiles{ * @param owner the label associated with the candidate * @param [internal=false] true if the candidate is allowed to overlap with its owner, false otherwise */ - constructor(labelBox:yfiles.algorithms.YOrientedRectangle,param:Object,owner:yfiles.layout.IEdgeLabelLayout,internal?:boolean); + constructor(labelBox:yfiles.algorithms.YOrientedRectangle,param:any,owner:yfiles.layout.IEdgeLabelLayout,internal?:boolean); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.EdgeLabelCandidate; } /** * {@link yfiles.layout.EdgeLabelOrientationSupport} provides orientation and mirroring support for {@link yfiles.layout.ILayoutAlgorithm layout algorithms} with @@ -83879,7 +84436,7 @@ declare namespace yfiles{ *

    * @class */ - export interface EdgeLabelOrientationSupport extends Object{} + export interface EdgeLabelOrientationSupport extends yfiles.lang.Object{} export class EdgeLabelOrientationSupport { /** * Creates a new {@link yfiles.layout.EdgeLabelOrientationSupport} instance. @@ -84019,6 +84576,7 @@ declare namespace yfiles{ */ static updateLabelOrientation(label:yfiles.layout.LabelLayoutData,segmentDirection:yfiles.layout.Direction):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.EdgeLabelOrientationSupport; } /** * {@link yfiles.layout.FixNodeLayoutStage} fixes the initial position of either a single node or the alignment of the bounding box of @@ -84120,6 +84678,7 @@ declare namespace yfiles{ */ includingLabels:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FixNodeLayoutStage; } /** * {@link yfiles.layout.FixPortLocationStage} ensures that layout algorithms that cannot handle port constraints keep the ports of @@ -84153,6 +84712,7 @@ declare namespace yfiles{ */ keepCalculatedPorts:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FixPortLocationStage; } /** * This model parameter encodes a label position within {@link yfiles.layout.FreeEdgeLabelLayoutModel}. @@ -84166,7 +84726,7 @@ declare namespace yfiles{ * @see yfiles.layout.FreeEdgeLabelLayoutModelParameter#angle * @class */ - export interface FreeEdgeLabelLayoutModelParameter extends Object{} + export interface FreeEdgeLabelLayoutModelParameter extends yfiles.lang.Object{} export class FreeEdgeLabelLayoutModelParameter { /** * Creates a new instance of {@link yfiles.layout.FreeEdgeLabelLayoutModelParameter} with the given radius, angle and rotation @@ -84207,13 +84767,14 @@ declare namespace yfiles{ */ point:yfiles.algorithms.YPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FreeEdgeLabelLayoutModelParameter; } /** * {@link yfiles.layout.FreeEdgeLabelLayoutModel} allows placing edge labels at any location. * @class * @implements {yfiles.layout.IEdgeLabelLayoutModel} */ - export interface FreeEdgeLabelLayoutModel extends Object,yfiles.layout.IEdgeLabelLayoutModel{} + export interface FreeEdgeLabelLayoutModel extends yfiles.lang.Object,yfiles.layout.IEdgeLabelLayoutModel{} export class FreeEdgeLabelLayoutModel { /** * Creates a new instance of {@link yfiles.layout.FreeEdgeLabelLayoutModel}. @@ -84236,7 +84797,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} if one or more of the given bounds' values are invalid, i.e., NaN * @see yfiles.layout.FreeEdgeLabelLayoutModel#getLabelPlacement */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout):any; /** * Returns the {@link yfiles.layout.EdgeLabelCandidate} that describes the current label position. * @param labelLayout the label for which candidates should be generated @@ -84255,7 +84816,7 @@ declare namespace yfiles{ * @param param * @returns */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout,param:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout,param:any):yfiles.algorithms.YOrientedRectangle; /** * Gets the model parameter that encodes the default position of {@link yfiles.layout.FreeEdgeLabelLayoutModel}. *

    @@ -84266,10 +84827,11 @@ declare namespace yfiles{ * This parameter can be passed to {@link yfiles.layout.FreeEdgeLabelLayoutModel#getLabelPlacement} to retrieve the corresponding * label box. *

    - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FreeEdgeLabelLayoutModel; } /** * The model parameter that encodes a label position within {@link yfiles.layout.FreeNodeLabelLayoutModel}. @@ -84280,7 +84842,7 @@ declare namespace yfiles{ * @see yfiles.layout.FreeNodeLabelLayoutModelParameter#setPoint * @class */ - export interface FreeNodeLabelLayoutModelParameter extends Object{} + export interface FreeNodeLabelLayoutModelParameter extends yfiles.lang.Object{} export class FreeNodeLabelLayoutModelParameter { /** * Creates a new instance of {@link yfiles.layout.FreeNodeLabelLayoutModelParameter} with the given offset. @@ -84307,6 +84869,7 @@ declare namespace yfiles{ */ point:yfiles.algorithms.YPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FreeNodeLabelLayoutModelParameter; } /** * {@link yfiles.layout.FreeNodeLabelLayoutModel} allows placing node labels at any desired position. @@ -84317,7 +84880,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.INodeLabelLayoutModel} */ - export interface FreeNodeLabelLayoutModel extends Object,yfiles.layout.INodeLabelLayoutModel{} + export interface FreeNodeLabelLayoutModel extends yfiles.lang.Object,yfiles.layout.INodeLabelLayoutModel{} export class FreeNodeLabelLayoutModel { /** * Returns a new instance of {@link yfiles.layout.FreeNodeLabelLayoutModel}. @@ -84338,7 +84901,7 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} if one or more of the given bounds' values are invalid, i.e., NaN * @see yfiles.layout.FreeNodeLabelLayoutModel#getLabelPlacement */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,nodeLayout:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,nodeLayout:yfiles.layout.INodeLayout):any; /** * Returns the {@link yfiles.layout.NodeLabelCandidate} that describes the current label position. * @param labelLayout the label for which candidates should be generated @@ -84353,7 +84916,7 @@ declare namespace yfiles{ * @param param * @returns */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,param:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,param:any):yfiles.algorithms.YOrientedRectangle; /** * Gets a model parameter that encodes the default position of {@link yfiles.layout.INodeLabelLayoutModel}. *

    @@ -84363,10 +84926,11 @@ declare namespace yfiles{ * This parameter can be passed to {@link yfiles.layout.FreeNodeLabelLayoutModel#getLabelPlacement} to retrieve the corresponding * label box. *

    - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FreeNodeLabelLayoutModel; } export enum ComponentArrangementStyles{ /** @@ -85331,6 +85895,7 @@ declare namespace yfiles{ */ fixedWidth:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.GraphLayoutLineWrapper; } /** * This class represents a column of a {@link yfiles.layout.PartitionGrid partition grid} structure. @@ -85342,7 +85907,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.IComparable} */ - export interface ColumnDescriptor extends Object,yfiles.lang.IComparable{} + export interface ColumnDescriptor extends yfiles.lang.Object,yfiles.lang.IComparable{} export class ColumnDescriptor { /** * Compares this {@link yfiles.layout.ColumnDescriptor} instance with a given other {@link yfiles.layout.ColumnDescriptor} instance based @@ -85351,7 +85916,7 @@ declare namespace yfiles{ * @returns -1, 0 or 1 if this {@link } is less than, equal to, or greater than the given other * {@link } */ - compareTo(o:Object):number; + compareTo(o:any):number; /** * Gets the index of the column within the {@link yfiles.layout.PartitionGrid partition grid}. * @type {number} @@ -85439,6 +86004,7 @@ declare namespace yfiles{ */ indexFixed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ColumnDescriptor; } /** * This class represents a single partition cell, i.e., a pair consisting of a row and a column. @@ -85446,7 +86012,7 @@ declare namespace yfiles{ * @implements {yfiles.lang.IComparable} * @final */ - export interface PartitionCellIdEntry extends Object,yfiles.lang.IComparable{} + export interface PartitionCellIdEntry extends yfiles.lang.Object,yfiles.lang.IComparable{} export class PartitionCellIdEntry { /** * Compares this {@link yfiles.layout.PartitionCellIdEntry} instance with a given other {@link yfiles.layout.PartitionCellIdEntry} @@ -85461,7 +86027,7 @@ declare namespace yfiles{ * @returns -1, 0 or 1 if this {@link } is smaller than, equal to, or greater than the given other {@link } * instance */ - compareTo(o:Object):number; + compareTo(o:any):number; /** * Gets the {@link yfiles.layout.RowDescriptor} associated with this {@link yfiles.layout.PartitionCellId partition cell}. * @type {yfiles.layout.RowDescriptor} @@ -85473,13 +86039,14 @@ declare namespace yfiles{ */ column:yfiles.layout.ColumnDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PartitionCellIdEntry; } /** * {@link yfiles.layout.PartitionCellId} represents an identifier for partition cells of a {@link yfiles.layout.PartitionGrid partition grid} structure. * @see yfiles.layout.PartitionGrid * @class */ - export interface PartitionCellId extends Object{} + export interface PartitionCellId extends yfiles.lang.Object{} export class PartitionCellId { /** * Gets a {@link yfiles.collections.ICollection. collection} of elements of type {@link yfiles.layout.PartitionCellIdEntry}. @@ -85511,6 +86078,7 @@ declare namespace yfiles{ */ column:yfiles.layout.ColumnDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PartitionCellId; } /** * This class represents a partition grid that partitions the drawing area into rectangular partition cells. @@ -85543,7 +86111,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PartitionGrid extends Object{} + export interface PartitionGrid extends yfiles.lang.Object{} export class PartitionGrid { /** * Creates an instance of {@link yfiles.layout.PartitionGrid} with the given number of rows and columns as well as with given @@ -85654,7 +86222,7 @@ declare namespace yfiles{ * @param columnList the {@link columns} defining the cell * @returns a {@link } instance */ - createCellSpanId(rowList:yfiles.collections.ICollection,columnList:yfiles.collections.ICollection):yfiles.layout.PartitionCellId; + createCellSpanId(rowList:yfiles.collections.ICollection,columnList:yfiles.collections.ICollection):yfiles.layout.PartitionCellId; /** * Creates a {@link yfiles.layout.PartitionCellId partition cell} identifier that represents a cell spanning a whole column. *

    @@ -85771,6 +86339,7 @@ declare namespace yfiles{ */ columns:yfiles.algorithms.YList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PartitionGrid; } /** * This class represents a row of a {@link yfiles.layout.PartitionGrid partition grid} structure. @@ -85782,7 +86351,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.IComparable} */ - export interface RowDescriptor extends Object,yfiles.lang.IComparable{} + export interface RowDescriptor extends yfiles.lang.Object,yfiles.lang.IComparable{} export class RowDescriptor { /** * Compares this {@link yfiles.layout.RowDescriptor} instance with a given other {@link yfiles.layout.RowDescriptor} instance based on the @@ -85791,7 +86360,7 @@ declare namespace yfiles{ * @returns -1, 0 or 1 if this {@link } is less than, equal to, or greater than the given other * {@link } */ - compareTo(o:Object):number; + compareTo(o:any):number; /** * Gets the index of the row within the {@link yfiles.layout.PartitionGrid partition grid}. * @type {number} @@ -85879,6 +86448,7 @@ declare namespace yfiles{ */ indexFixed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.RowDescriptor; } export enum InterEdgeRoutingStyle{ /** @@ -85919,26 +86489,26 @@ declare namespace yfiles{ * @class * @static */ - export interface GroupingKeys extends Object{} + export interface GroupingKeys extends yfiles.lang.Object{} export class GroupingKeys { /** * Data provider key for assigning a unique ID for each node *

    - * The IDs of the nodes need to differ based on {@link Object#hashCode} and {@link Object#equals}. + * The IDs of the nodes need to differ based on {@link any#hashCode} and {@link any#equals}. *

    * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; + static NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Data provider key for describing the hierarchy of nodes in the graph * @see yfiles.layout.GroupingKeys#NODE_ID_DP_KEY * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static PARENT_NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; + static PARENT_NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Data provider key for distinguishing normal nodes from group nodes * @const @@ -85965,6 +86535,7 @@ declare namespace yfiles{ */ static MINIMUM_NODE_SIZE_DP_KEY:yfiles.algorithms.NodeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.GroupingKeys; } /** * This class provides convenient and efficient access to the hierarchic graph structure. @@ -85982,7 +86553,7 @@ declare namespace yfiles{ *

    * @class */ - export interface GroupingSupport extends Object{} + export interface GroupingSupport extends yfiles.lang.Object{} export class GroupingSupport { /** * Creates a new {@link yfiles.layout.GroupingSupport} instance that represents the hierarchy of the graph. @@ -86200,6 +86771,7 @@ declare namespace yfiles{ */ root:yfiles.algorithms.Node; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.GroupingSupport; } /** * A {@link yfiles.layout.ILayoutStage layout stage} that hides the group nodes of hierarchically grouped graphs. @@ -86261,13 +86833,14 @@ declare namespace yfiles{ */ groupBoundsCalculator:yfiles.layout.IGroupBoundsCalculator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.HideGroupsStage; } /** * A {@link yfiles.layout.IGroupBoundsCalculator} is responsible for calculating the bounds of a group node during a layout * process. * @interface */ - export interface IGroupBoundsCalculator extends Object{ + export interface IGroupBoundsCalculator extends yfiles.lang.Object{ /** * Calculates the bounds of the given group node that contains the given list of child nodes. *

    @@ -86283,7 +86856,7 @@ declare namespace yfiles{ } var IGroupBoundsCalculator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IGroupBoundsCalculator; }; /** * This {@link yfiles.layout.IGroupBoundsCalculator} calculates the bounds of group nodes and allows to specify custom insets for @@ -86295,7 +86868,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.IGroupBoundsCalculator} */ - export interface InsetsGroupBoundsCalculator extends Object,yfiles.layout.IGroupBoundsCalculator{} + export interface InsetsGroupBoundsCalculator extends yfiles.lang.Object,yfiles.layout.IGroupBoundsCalculator{} export class InsetsGroupBoundsCalculator { /** * Constructs an instance of {@link yfiles.layout.InsetsGroupBoundsCalculator} using the given {@link yfiles.algorithms.IDataProvider} key @@ -86303,7 +86876,7 @@ declare namespace yfiles{ * @param [groupNodeInsetsDPKey=null] the {@link } key to use as {@link #groupNodeInsetsDpKey insets key} * @param [defaultInsets=null] the insets to use as {@link #defaultInsets default insets} */ - constructor(groupNodeInsetsDPKey?:Object,defaultInsets?:yfiles.algorithms.Insets); + constructor(groupNodeInsetsDPKey?:any,defaultInsets?:yfiles.algorithms.Insets); /** * Constructs an instance of {@link yfiles.layout.InsetsGroupBoundsCalculator} using the given {@link yfiles.algorithms.IDataProvider} key * as {@link yfiles.layout.InsetsGroupBoundsCalculator#groupNodeInsetsDpKey group node insets key} and the given insets as {@link yfiles.layout.InsetsGroupBoundsCalculator#defaultInsets default insets}. @@ -86372,10 +86945,11 @@ declare namespace yfiles{ * The {@link yfiles.algorithms.IDataProvider} registered with this key must provide a mapping from each group node to a {@link yfiles.algorithms.Insets} * (or {@link yfiles.algorithms.Insets}) instance. *

    - * @type {Object} + * @type {any} */ - groupNodeInsetsDpKey:Object; + groupNodeInsetsDpKey:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.InsetsGroupBoundsCalculator; } /** * A special {@link yfiles.layout.ComponentLayout} implementation that allows to lay out isolated subgraphs within a group as @@ -86413,6 +86987,7 @@ declare namespace yfiles{ */ findIsolatedGraphComponents(graph:yfiles.layout.LayoutGraph,compNumber:yfiles.algorithms.INodeMap):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.IsolatedGroupComponentLayout; } /** * This {@link yfiles.layout.IGroupBoundsCalculator} allows custom insets for group nodes and guarantees that their provided @@ -86431,7 +87006,7 @@ declare namespace yfiles{ * Creates a new instance of {@link yfiles.layout.MinimumSizeGroupBoundsCalculator} with the given key as {@link yfiles.layout.MinimumSizeGroupBoundsCalculator#minimumNodeSizeDpKey minimum node size key}. * @param minSizeDataProviderKey the {@link } key to use as {@link #minimumNodeSizeDpKey minimum size key} */ - constructor(minSizeDataProviderKey:Object); + constructor(minSizeDataProviderKey:any); /** * Creates a new instance of {@link yfiles.layout.MinimumSizeGroupBoundsCalculator} with default settings. */ @@ -86472,9 +87047,9 @@ declare namespace yfiles{ * object defining the minimum width and height of the group node. *

    * @see yfiles.layout.MinimumSizeGroupBoundsCalculator#defaultMinimumNodeSize - * @type {Object} + * @type {any} */ - minimumNodeSizeDpKey:Object; + minimumNodeSizeDpKey:any; /** * Gets or sets the default minimum size (width and height) for group nodes. *

    @@ -86487,6 +87062,7 @@ declare namespace yfiles{ */ defaultMinimumNodeSize:yfiles.algorithms.YDimension; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.MinimumSizeGroupBoundsCalculator; } /** * This layout algorithm recursively traverses a hierarchically organized graph in a bottom-up fashion and applies a @@ -86618,9 +87194,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.EdgeLayoutDescriptor#directGroupContentEdgeRouting * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static SOURCE_SPLIT_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static SOURCE_SPLIT_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data provider key for assigning target split ids to edges connecting to group nodes *

    @@ -86632,9 +87208,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.EdgeLayoutDescriptor#directGroupContentEdgeRouting * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static TARGET_SPLIT_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static TARGET_SPLIT_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * A constant that represents a {@link yfiles.layout.ILayoutAlgorithm} implementation that does nothing. *

    @@ -86724,9 +87300,9 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null * @see yfiles.layout.RecursiveGroupLayout#interEdgeRouter - * @type {Object} + * @type {any} */ - interEdgesDpKey:Object; + interEdgesDpKey:any; /** * Gets or sets a {@link yfiles.layout.IGroupBoundsCalculator} which computes the sizes of all group nodes. *

    @@ -86736,6 +87312,7 @@ declare namespace yfiles{ */ groupBoundsCalculator:yfiles.layout.IGroupBoundsCalculator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.RecursiveGroupLayout; } /** * A {@link yfiles.layout.ILayoutStage} that temporarily removes all nodes and edges with NaN-coordinates. @@ -86769,6 +87346,7 @@ declare namespace yfiles{ export class HandleNaNCoordinatesStage { constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.HandleNaNCoordinatesStage; } /** * {@link yfiles.layout.IEdgeLabelLayout} defines the properties of one edge label from the perspective of a labeling algorithm. @@ -86779,7 +87357,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.layout.ILabelLayout} */ - export interface IEdgeLabelLayout extends Object,yfiles.layout.ILabelLayout{ + export interface IEdgeLabelLayout extends yfiles.lang.Object,yfiles.layout.ILabelLayout{ /** * Gets the label model that describes the valid locations for this label. * @abstract @@ -86795,7 +87373,7 @@ declare namespace yfiles{ } var IEdgeLabelLayout:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IEdgeLabelLayout; }; /** * This interface defines the properties of the model associated with an {@link yfiles.layout.IEdgeLabelLayout}. @@ -86810,7 +87388,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IEdgeLabelLayoutModel extends Object{ + export interface IEdgeLabelLayoutModel extends yfiles.lang.Object{ /** * Creates a model parameter that represents the given edge label position within this model. *

    @@ -86822,7 +87400,7 @@ declare namespace yfiles{ * box. *

    *

    - * A model parameter can be an arbitrary {@link Object}. However it must contain all information to allow restoring of the encoded + * A model parameter can be an arbitrary {@link any}. However it must contain all information to allow restoring of the encoded * location with this {@link yfiles.layout.IEdgeLabelLayoutModel}. *

    * @param labelBounds the oriented box of the label, encoding the label location for which the parameter should be created @@ -86833,7 +87411,7 @@ declare namespace yfiles{ * @see yfiles.layout.IEdgeLabelLayoutModel#getLabelPlacement * @abstract */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout):any; /** * Returns all {@link yfiles.layout.EdgeLabelCandidate}s that describe valid label positions within this model. *

    @@ -86858,7 +87436,7 @@ declare namespace yfiles{ * @returns the oriented bounds of the label * @abstract */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout,parameter:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout,parameter:any):yfiles.algorithms.YOrientedRectangle; /** * Gets a model parameter that encodes the default position of this model's allowed edge label positions. *

    @@ -86866,13 +87444,13 @@ declare namespace yfiles{ * label box. *

    * @abstract - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; } var IEdgeLabelLayoutModel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IEdgeLabelLayoutModel; }; /** * An {@link yfiles.layout.IEdgeLayout} encapsulates the layout information for an edge. @@ -86882,7 +87460,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IEdgeLayout extends Object{ + export interface IEdgeLayout extends yfiles.lang.Object{ /** * Adds a control point to the end of the control point sequence. * @param x the absolute x-coordinate of the new control point @@ -86964,7 +87542,7 @@ declare namespace yfiles{ } var IEdgeLayout:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IEdgeLayout; }; /** * An {@link yfiles.layout.IIntersectionCalculator} is responsible for calculating the intersection point between an edge and the @@ -86976,7 +87554,7 @@ declare namespace yfiles{ * @see yfiles.layout.PortCalculator * @interface */ - export interface IIntersectionCalculator extends Object{ + export interface IIntersectionCalculator extends yfiles.lang.Object{ /** * Calculates an intersection point between the edge and the given {@link yfiles.layout.INodeLayout}. *

    @@ -86995,7 +87573,7 @@ declare namespace yfiles{ } var IIntersectionCalculator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IIntersectionCalculator; }; /** * Helper class that declares several keys for {@link yfiles.algorithms.IDataProvider} that provide @@ -87003,7 +87581,7 @@ declare namespace yfiles{ * @class * @static */ - export interface IntersectionCalculatorKeys extends Object{} + export interface IntersectionCalculatorKeys extends yfiles.lang.Object{} export class IntersectionCalculatorKeys { /** * Data provider key for providing an individual intersection calculation for each edge source in the graph @@ -87020,6 +87598,7 @@ declare namespace yfiles{ */ static TARGET_INTERSECTION_CALCULATOR_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.IntersectionCalculatorKeys; } /** * {@link yfiles.layout.ILabelLayout} defines the properties of a label from the perspective of a labeling algorithm. @@ -87032,7 +87611,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ILabelLayout extends Object{ + export interface ILabelLayout extends yfiles.lang.Object{ /** * Gets the bounding box of the label. *

    @@ -87058,13 +87637,13 @@ declare namespace yfiles{ * The model parameter must fit the according label model. *

    * @abstract - * @type {Object} + * @type {any} */ - modelParameter:Object; + modelParameter:any; } var ILabelLayout:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.ILabelLayout; }; /** * {@link yfiles.layout.ILabelLayoutFactory} provides methods to create, add and remove node/edge labels for @@ -87086,7 +87665,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ILabelLayoutFactory extends Object{ + export interface ILabelLayoutFactory extends yfiles.lang.Object{ /** * Adds the given {@link yfiles.layout.IEdgeLabelLayout} to the given edge. *

    @@ -87188,7 +87767,7 @@ declare namespace yfiles{ } var ILabelLayoutFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.ILabelLayoutFactory; }; /** * {@link yfiles.layout.ILayoutAlgorithm} describes the general interface for algorithms that perform a layout process on a @@ -87210,7 +87789,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ILayoutAlgorithm extends Object{ + export interface ILayoutAlgorithm extends yfiles.lang.Object{ /** * Main layout routine that assigns new layout information to the given graph. *

    @@ -87223,14 +87802,14 @@ declare namespace yfiles{ } var ILayoutAlgorithm:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.ILayoutAlgorithm; }; /** * Helper class that provides unique identifiers for some general purpose {@link yfiles.algorithms.IDataProvider data providers}. * @class * @static */ - export interface LayoutKeys extends Object{} + export interface LayoutKeys extends yfiles.lang.Object{} export class LayoutKeys { /** * Data provider key for looking up a unique identifier for each node in a graph @@ -87239,9 +87818,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; + static NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Data provider key for looking up a unique identifier for each edge in a graph *

    @@ -87249,9 +87828,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static EDGE_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static EDGE_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data provider key for looking up the selected state of the nodes in the graph *

    @@ -87289,6 +87868,7 @@ declare namespace yfiles{ */ static AFFECTED_EDGES_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutKeys; } /** * A {@link yfiles.layout.ILayoutStage} is a layout algorithm that represents a stage of a larger layout process. @@ -87300,7 +87880,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.layout.ILayoutAlgorithm} */ - export interface ILayoutStage extends Object,yfiles.layout.ILayoutAlgorithm{ + export interface ILayoutStage extends yfiles.lang.Object,yfiles.layout.ILayoutAlgorithm{ /** * Gets or sets the core layout algorithm. *

    @@ -87314,7 +87894,7 @@ declare namespace yfiles{ } var ILayoutStage:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.ILayoutStage; }; /** * {@link yfiles.layout.INodeLabelLayout} defines the properties of one node label from the perspective of a labeling algorithm. @@ -87325,7 +87905,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.layout.ILabelLayout} */ - export interface INodeLabelLayout extends Object,yfiles.layout.ILabelLayout{ + export interface INodeLabelLayout extends yfiles.lang.Object,yfiles.layout.ILabelLayout{ /** * Gets the label model that describes the valid locations for this label. * @abstract @@ -87335,7 +87915,7 @@ declare namespace yfiles{ } var INodeLabelLayout:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.INodeLabelLayout; }; /** * {@link yfiles.layout.INodeLabelLayoutModel} defines the properties of the model associated with a @@ -87351,7 +87931,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface INodeLabelLayoutModel extends Object{ + export interface INodeLabelLayoutModel extends yfiles.lang.Object{ /** * Creates a model parameter that represents the given node label position within this model. *

    @@ -87363,7 +87943,7 @@ declare namespace yfiles{ * box. *

    *

    - * A model parameter can be an arbitrary {@link Object}. However it must contain all information to allow restoring of the encoded + * A model parameter can be an arbitrary {@link any}. However it must contain all information to allow restoring of the encoded * location with this {@link yfiles.layout.INodeLabelLayoutModel}. *

    * @param labelBounds the box of the label, encoding the label location for which the parameter should be created @@ -87372,7 +87952,7 @@ declare namespace yfiles{ * @see yfiles.layout.INodeLabelLayoutModel#getLabelPlacement * @abstract */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,nodeLayout:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,nodeLayout:yfiles.layout.INodeLayout):any; /** * Returns all {@link yfiles.layout.NodeLabelCandidate}s that describe valid label positions within this model. *

    @@ -87393,7 +87973,7 @@ declare namespace yfiles{ * @returns the oriented box of the label * @abstract */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,param:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,param:any):yfiles.algorithms.YOrientedRectangle; /** * Gets a model parameter that encodes the default position of this model's allowed node label positions. *

    @@ -87401,13 +87981,13 @@ declare namespace yfiles{ * label box. *

    * @abstract - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; } var INodeLabelLayoutModel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.INodeLabelLayoutModel; }; /** * A {@link yfiles.layout.INodeLayout} encapsulates the layout information for a node. @@ -87416,7 +87996,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface INodeLayout extends Object{ + export interface INodeLayout extends yfiles.lang.Object{ /** * Sets the coordinates of the upper-left corner of the node. * @param x the new x-coordinate of the node @@ -87470,7 +88050,7 @@ declare namespace yfiles{ } var INodeLayout:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.INodeLayout; }; /** * An {@link yfiles.layout.IPartitionInterEdgeRouter} is responsible for routing inter-edges. @@ -87479,7 +88059,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IPartitionInterEdgeRouter extends Object{ + export interface IPartitionInterEdgeRouter extends yfiles.lang.Object{ /** * Routes inter-edges of the partitioned graph. * @param graph the input graph @@ -87515,7 +88095,7 @@ declare namespace yfiles{ */ createPolylineInterEdgeRouter?(router?:yfiles.router.EdgeRouter):yfiles.layout.IPartitionInterEdgeRouter; $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IPartitionInterEdgeRouter; }; /** * A {@link yfiles.layout.IProfitModel} ranks @@ -87530,7 +88110,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IProfitModel extends Object{ + export interface IProfitModel extends yfiles.lang.Object{ /** * Returns the profit for placing a label using the given {@link yfiles.layout.LabelCandidate}. *

    @@ -87548,7 +88128,7 @@ declare namespace yfiles{ } var IProfitModel:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IProfitModel; }; /** * A {@link yfiles.layout.LabelCandidate} describes one valid placement for a label considering the label model. @@ -87563,7 +88143,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.algorithms.IPlaneObject} */ - export interface LabelCandidate extends Object,yfiles.algorithms.IPlaneObject{} + export interface LabelCandidate extends yfiles.lang.Object,yfiles.algorithms.IPlaneObject{} export class LabelCandidate { /** * Creates a new instance of {@link yfiles.layout.LabelCandidate} described by location, size, model parameter and internal flag. @@ -87573,7 +88153,7 @@ declare namespace yfiles{ * @param owner the label associated with the candidate * @param [internal=false] true if the candidate is allowed to overlap with its owner, false otherwise */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.ILabelLayout,internal?:boolean); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.ILabelLayout,internal?:boolean); /** * Creates a new instance of {@link yfiles.layout.LabelCandidate} described by its box, model parameter and internal flag. * @param labelBox the box that specifies the candidate's size and position @@ -87581,7 +88161,7 @@ declare namespace yfiles{ * @param owner the label associated with the candidate * @param [internal=false] true if the candidate is allowed to overlap with its owner, false otherwise */ - constructor(labelBox:yfiles.algorithms.YOrientedRectangle,param:Object,owner:yfiles.layout.ILabelLayout,internal?:boolean); + constructor(labelBox:yfiles.algorithms.YOrientedRectangle,param:any,owner:yfiles.layout.ILabelLayout,internal?:boolean); /** * Replaces the model parameter and box of the owner with the model parameter and box of this candidate. *

    @@ -87608,9 +88188,9 @@ declare namespace yfiles{ customProfit:number; /** * Gets the model parameter that was used by the underlying model to generate this label candidate. - * @type {Object} + * @type {any} */ - modelParameter:Object; + modelParameter:any; /** * Gets the coordinates of the upper-left corner of the candidate's bounds. *

    @@ -87735,13 +88315,14 @@ declare namespace yfiles{ */ propagated:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LabelCandidate; } /** * {@link yfiles.layout.LabelLayoutBase} is the default implementation of the {@link yfiles.layout.ILabelLayout} interface. * @class * @implements {yfiles.layout.ILabelLayout} */ - export interface LabelLayoutBase extends Object,yfiles.layout.ILabelLayout{} + export interface LabelLayoutBase extends yfiles.lang.Object,yfiles.layout.ILabelLayout{} export class LabelLayoutBase { /** * Creates a new {@link yfiles.layout.LabelLayoutBase} instance. @@ -87766,10 +88347,11 @@ declare namespace yfiles{ boundingBox:yfiles.algorithms.YRectangle; /** * - * @type {Object} + * @type {any} */ - modelParameter:Object; + modelParameter:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LabelLayoutBase; } /** * {@link yfiles.layout.LabelLayoutData} encapsulates layout information for a label. @@ -87788,7 +88370,7 @@ declare namespace yfiles{ *

    * @class */ - export interface LabelLayoutData extends Object{} + export interface LabelLayoutData extends yfiles.lang.Object{} export class LabelLayoutData { /** * Creates a new instance of {@link yfiles.layout.LabelLayoutData} for a label with the given width and height. @@ -87858,6 +88440,7 @@ declare namespace yfiles{ */ preferredPlacementDescriptor:yfiles.layout.PreferredPlacementDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LabelLayoutData; } /** * {@link yfiles.layout.LabelLayoutKeys} are used for associating @@ -87874,7 +88457,7 @@ declare namespace yfiles{ * @class * @static */ - export interface LabelLayoutKeys extends Object{} + export interface LabelLayoutKeys extends yfiles.lang.Object{} export class LabelLayoutKeys { /** * Data provider key for accessing label information of each edge in the input graph @@ -87905,6 +88488,7 @@ declare namespace yfiles{ */ static IGNORED_LABELS_DP_KEY:yfiles.algorithms.ILabelLayoutDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LabelLayoutKeys; } /** * {@link yfiles.layout.LabelLayoutTranslator} automatically translates label layout information provided by the standard label @@ -87936,7 +88520,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface LabelLayoutTranslator extends Object,yfiles.layout.ILayoutStage{} + export interface LabelLayoutTranslator extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class LabelLayoutTranslator { /** * Creates a new {@link yfiles.layout.LabelLayoutTranslator} instance with default settings. @@ -88018,6 +88602,7 @@ declare namespace yfiles{ */ translateEdgeLabels:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LabelLayoutTranslator; } /** * A {@link yfiles.layout.LayoutGraph} is a {@link yfiles.algorithms.Graph} with attached layout information that basically represents a @@ -88397,6 +88982,7 @@ declare namespace yfiles{ */ edgeList:yfiles.algorithms.EdgeList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutGraph; } /** * The {@link yfiles.layout.LayoutGraphUtilities} provides several helper and utility functions for {@link yfiles.layout.LayoutGraph} and @@ -88405,7 +88991,7 @@ declare namespace yfiles{ * @class * @static */ - export interface LayoutGraphUtilities extends Object{} + export interface LayoutGraphUtilities extends yfiles.lang.Object{} export class LayoutGraphUtilities { /** * Aligns the specified nodes either vertically or horizontally according to the specified node alignment mode. @@ -88709,7 +89295,7 @@ declare namespace yfiles{ * @see yfiles.algorithms.YOrientedRectangle#boundingBox * @static */ - static getLabelPlacement(model:yfiles.layout.IEdgeLabelLayoutModel,labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout,param:Object):yfiles.algorithms.YPoint; + static getLabelPlacement(model:yfiles.layout.IEdgeLabelLayoutModel,labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceLayout:yfiles.layout.INodeLayout,targetLayout:yfiles.layout.INodeLayout,param:any):yfiles.algorithms.YPoint; /** * Returns the upper-left corner of the paraxial bounding box of the given node label as encoded by the specified model * parameter. @@ -88726,7 +89312,7 @@ declare namespace yfiles{ * @see yfiles.algorithms.YOrientedRectangle#boundingBox * @static */ - static getLabelPlacement(model:yfiles.layout.INodeLabelLayoutModel,labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,param:Object):yfiles.algorithms.YPoint; + static getLabelPlacement(model:yfiles.layout.INodeLabelLayoutModel,labelSize:yfiles.algorithms.YDimension,nodeLayout:yfiles.layout.INodeLayout,param:any):yfiles.algorithms.YPoint; /** * Returns the distance between the centers of the two given nodes. * @param graph the graph to which the nodes belong @@ -89023,6 +89609,7 @@ declare namespace yfiles{ */ static routeSelfLoop(graph:yfiles.layout.LayoutGraph,edge:yfiles.algorithms.Edge):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutGraphUtilities; } /** * A {@link yfiles.layout.LayoutMultiplexer} delegates its layout calls to a core layout algorithm that is dynamically chosen at @@ -89080,6 +89667,7 @@ declare namespace yfiles{ */ static LAYOUT_DP_KEY:yfiles.algorithms.NodeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutMultiplexer; } /** * Abstract base class implementing {@link yfiles.layout.ILayoutStage} that handles the management of the {@link yfiles.layout.LayoutStageBase#coreLayout core layout algorithm}. @@ -89091,7 +89679,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface LayoutStageBase extends Object,yfiles.layout.ILayoutStage{} + export interface LayoutStageBase extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class LayoutStageBase { /** * Creates a new {@link yfiles.layout.ILayoutStage} instance with an optional {@link yfiles.layout.LayoutStageBase#coreLayout core layout algorithm}. @@ -89120,6 +89708,7 @@ declare namespace yfiles{ */ coreLayout:yfiles.layout.ILayoutAlgorithm; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutStageBase; } /** * {@link yfiles.layout.MinimumNodeSizeStage} enforces a given minimum width/height of the nodes of a graph during the layout @@ -89153,6 +89742,7 @@ declare namespace yfiles{ */ constructor(coreLayouter:yfiles.layout.ILayoutAlgorithm); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.MinimumNodeSizeStage; } /** * An abstract base class for layout algorithms that provides services to simplify and decompose the input graph before it @@ -89203,7 +89793,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutAlgorithm} */ - export interface MultiStageLayout extends Object,yfiles.layout.ILayoutAlgorithm{} + export interface MultiStageLayout extends yfiles.lang.Object,yfiles.layout.ILayoutAlgorithm{} export class MultiStageLayout { /** * Creates a new {@link yfiles.layout.MultiStageLayout} instance with default settings. @@ -89422,6 +90012,7 @@ declare namespace yfiles{ */ subgraphLayoutEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.MultiStageLayout; } /** * A {@link yfiles.layout.NodeHalo} specifies a rectangular area around a specific node. @@ -89458,7 +90049,7 @@ declare namespace yfiles{ * @class * @final */ - export interface NodeHalo extends Object{} + export interface NodeHalo extends yfiles.lang.Object{} export class NodeHalo { /** * Creates a {@link yfiles.layout.NodeHalo} with the specified values. @@ -89560,6 +90151,7 @@ declare namespace yfiles{ */ right:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.NodeHalo; } /** * A {@link yfiles.layout.NodeLabelCandidate} describes one valid placement for a node label considering the label model. @@ -89577,7 +90169,7 @@ declare namespace yfiles{ * @param owner the label associated with the candidate * @param [internal=false] true if the candidate is allowed to overlap with its owner, false otherwise */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.INodeLabelLayout,internal?:boolean); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.INodeLabelLayout,internal?:boolean); /** * Creates a new instance of {@link yfiles.layout.NodeLabelCandidate} described by its box, model parameter and internal flag. * @param labelBox the box that specifies the candidate's size and position @@ -89585,8 +90177,9 @@ declare namespace yfiles{ * @param owner the label associated with the candidate * @param [internal=false] true if the candidate is allowed to overlap with its owner, false otherwise */ - constructor(labelBox:yfiles.algorithms.YOrientedRectangle,param:Object,owner:yfiles.layout.INodeLabelLayout,internal?:boolean); + constructor(labelBox:yfiles.algorithms.YOrientedRectangle,param:any,owner:yfiles.layout.INodeLabelLayout,internal?:boolean); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.NodeLabelCandidate; } /** * {@link yfiles.layout.NormalizeGraphElementOrderStage} normalizes the order of the elements within a graph to ensure the same @@ -89643,6 +90236,7 @@ declare namespace yfiles{ */ static EDGE_COMPARABLE_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.NormalizeGraphElementOrderStage; } /** * {@link yfiles.layout.OrientationLayout} is a {@link yfiles.layout.ILayoutStage} that changes the orientation of the layout. @@ -89865,6 +90459,7 @@ declare namespace yfiles{ */ considerEdgeLabels:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.OrientationLayout; } /** * {@link yfiles.layout.PortCalculator} adjusts the final port assignments after a layout has been calculated. @@ -89932,6 +90527,7 @@ declare namespace yfiles{ */ Eps:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortCalculator; } /** * This class represents a candidate port on which edges can be connected to their source and/or target node. @@ -89981,6 +90577,11 @@ declare namespace yfiles{ * * *

    + * If candidates are defined for nodes as well as for edges and if they should be properly matched by layout algorithms + * (i.e. detected as the same candidate), then it is important that the same {@link yfiles.layout.PortCandidate} instance is + * registered. It does not suffice to register candidates with the same parameter values. + *

    + *

    * {@graph {"ann":{"s":[60,30],"d":1},"styles":{"6":{"f":"#ff0000","b":1, "c":1}, "7":{"f":"#00ffff","b":1}, "8":{"f":"#008000","b":1}},"n":[[646.5,475.5],[725.5,528.5],[831.5,470],[669.5,605.5],[722.5,530.5,6,6,8],[724,549.5,3,8,7],[783,531,5,5,6],[783,551,5,5,6],[667.5,502,6,6,8],[696.5,604.5,8,3,7],[848,498,5,5,6],[696.5,634,8,3,7],[848,468.12,5,5,6],[667.5,472.5,6,6,8],[737.5,525,6,6,8]],"e":[[0,1,-6,15,-30,-10,[670.5,533.5]],[2,1,-11,15,30,-10,[850.5,533.5]],[3,1,1,-15,-30,10,[700.5,553.5]]],"vp":[646.0,468.0,246.0,169.0]}} Example of using edge port candidates. Edge port candidates are colored uniquely based on the edge with which they are * associated. *

    @@ -89991,7 +90592,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PortCandidate extends Object{} + export interface PortCandidate extends yfiles.lang.Object{} export class PortCandidate { /** * Factory method that creates a fixed {@link yfiles.layout.PortCandidate} instance with the given cost of usage, direction and @@ -90174,6 +90775,7 @@ declare namespace yfiles{ */ cost:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortCandidate; } /** * A {@link yfiles.layout.IPortCandidateMatcher} retrieves the best matching {@link yfiles.layout.IPortCandidateSetEntry entries} from a {@link yfiles.layout.PortCandidateSet}. @@ -90187,7 +90789,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IPortCandidateMatcher extends Object{ + export interface IPortCandidateMatcher extends yfiles.lang.Object{ /** * Returns the next best matching {@link yfiles.layout.IPortCandidateSetEntry} for the given parameters. * @param edge the edge for which to find a candidate @@ -90217,14 +90819,14 @@ declare namespace yfiles{ } var IPortCandidateMatcher:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IPortCandidateMatcher; }; /** * This interface represents an entry of a {@link yfiles.layout.PortCandidateSet} and provides access to the actual {@link yfiles.layout.PortCandidate} * instance and the maximum number of edges allowed to connect to it. * @interface */ - export interface IPortCandidateSetEntry extends Object{ + export interface IPortCandidateSetEntry extends yfiles.lang.Object{ /** * Gets the actual {@link yfiles.layout.PortCandidate} associated with this {@link yfiles.layout.IPortCandidateSetEntry}. * @abstract @@ -90244,7 +90846,7 @@ declare namespace yfiles{ } var IPortCandidateSetEntry:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IPortCandidateSetEntry; }; /** * This class associates {@link yfiles.layout.PortCandidate}s with the nodes of a graph. @@ -90277,7 +90879,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PortCandidateSet extends Object{} + export interface PortCandidateSet extends yfiles.lang.Object{} export class PortCandidateSet { /** * Creates a new empty {@link yfiles.layout.PortCandidateSet} instance. @@ -90362,10 +90964,11 @@ declare namespace yfiles{ connectionCount:number; /** * Gets an {@link yfiles.collections.IEnumerator.} over the list of candidate {@link yfiles.layout.IPortCandidateSetEntry entries} of this {@link yfiles.layout.PortCandidateSet}. - * @type {yfiles.collections.IEnumerator.} + * @type {yfiles.collections.IEnumerator.} */ - entries:yfiles.collections.IEnumerator; + entries:yfiles.collections.IEnumerator; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortCandidateSet; } /** * A {@link yfiles.layout.PortConstraint} represents a constraint for the source or target port of an edge path. @@ -90405,7 +91008,7 @@ declare namespace yfiles{ * @see yfiles.layout.PortConstraintKeys * @class */ - export interface PortConstraint extends Object{} + export interface PortConstraint extends yfiles.lang.Object{} export class PortConstraint { /** * Creates a new {@link yfiles.layout.PortConstraint} that constrains the edge to connect to the given side of a node and that can @@ -90521,13 +91124,14 @@ declare namespace yfiles{ */ atAnySide:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortConstraint; } /** * The {@link yfiles.layout.PortConstraintConfigurator} provides the possibility to create * {@link yfiles.layout.PortConstraint}s according to the initial connecting side of an edge. * @class */ - export interface PortConstraintConfigurator extends Object{} + export interface PortConstraintConfigurator extends yfiles.lang.Object{} export class PortConstraintConfigurator { /** * Creates a new {@link yfiles.layout.PortConstraintConfigurator} instance. @@ -90564,6 +91168,7 @@ declare namespace yfiles{ */ createPortConstraintsFromSketch(graph:yfiles.layout.LayoutGraph,spcMap:yfiles.algorithms.IEdgeMap,tpcMap:yfiles.algorithms.IEdgeMap):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortConstraintConfigurator; } /** * {@link yfiles.layout.PortConstraintKeys} are used for associating {@link yfiles.algorithms.IDataProvider DataProviders} that contain constraints for the edges of the @@ -90581,7 +91186,7 @@ declare namespace yfiles{ * @class * @static */ - export interface PortConstraintKeys extends Object{} + export interface PortConstraintKeys extends yfiles.lang.Object{} export class PortConstraintKeys { /** * Data provider key for providing source constraints for edges in the input graph @@ -90604,9 +91209,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static SOURCE_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static SOURCE_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data provider key for assigning target group information for edges of the input graph *

    @@ -90614,9 +91219,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static TARGET_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static TARGET_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data provider key for assigning port group ids to the edges' source *

    @@ -90625,9 +91230,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static SOURCE_PORT_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static SOURCE_PORT_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data provider key for assigning port group ids to the edges' target *

    @@ -90636,10 +91241,11 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static TARGET_PORT_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static TARGET_PORT_GROUP_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortConstraintKeys; } /** * A {@link yfiles.layout.PreferredPlacementDescriptor} provides placement information for automatic edge labeling. @@ -90674,7 +91280,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PreferredPlacementDescriptor extends Object{} + export interface PreferredPlacementDescriptor extends yfiles.lang.Object{} export class PreferredPlacementDescriptor { /** * Creates a new {@link yfiles.layout.PreferredPlacementDescriptor} instance that copies the given descriptor. @@ -90686,10 +91292,10 @@ declare namespace yfiles{ */ constructor(); /** - * Clones this instance by returning a {@link Object#memberwiseClone} or this in case this instance is already {@link yfiles.layout.PreferredPlacementDescriptor#isFrozen frozen}. + * Clones this instance by returning a {@link any#memberwiseClone} or this in case this instance is already {@link yfiles.layout.PreferredPlacementDescriptor#isFrozen frozen}. * @returns An instance of the same type as this instance. */ - clone():Object; + clone():any; /** * Makes this {@link yfiles.layout.PreferredPlacementDescriptor} instance immutable. *

    @@ -90898,6 +91504,7 @@ declare namespace yfiles{ */ isSideAbsoluteWithRightInNorth:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PreferredPlacementDescriptor; } /** * The {@link yfiles.layout.RemoveCollinearBendsStage} removes all collinear bends found in a graph. @@ -90943,6 +91550,7 @@ declare namespace yfiles{ */ removeStraightOnly:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.RemoveCollinearBendsStage; } /** * {@link yfiles.layout.ReverseEdgesStage} selectively reverses edges in a graph, while keeping the layout and label positions of @@ -91007,6 +91615,7 @@ declare namespace yfiles{ */ static AFFECTED_EDGES_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ReverseEdgesStage; } /** * A {@link yfiles.layout.SelfLoopRouter} routes the self-loops (reflexive edges) of a graph. @@ -91135,6 +91744,7 @@ declare namespace yfiles{ */ keepAllSelfLoopRoutes:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SelfLoopRouter; } /** * A {@link yfiles.layout.SequentialLayout} allows for chaining multiple {@link yfiles.layout.ILayoutAlgorithm layout algorithms}. @@ -91150,7 +91760,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutAlgorithm} */ - export interface SequentialLayout extends Object,yfiles.layout.ILayoutAlgorithm{} + export interface SequentialLayout extends yfiles.lang.Object,yfiles.layout.ILayoutAlgorithm{} export class SequentialLayout { /** * Creates a new {@link yfiles.layout.SequentialLayout} instance with an empty chain of {@link yfiles.layout.ILayoutAlgorithm layout algorithms}. @@ -91186,6 +91796,7 @@ declare namespace yfiles{ */ layouts:yfiles.collections.IList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SequentialLayout; } /** * {@link yfiles.layout.SimpleProfitModel} implements the ranking for edge and node labels. @@ -91199,7 +91810,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.IProfitModel} */ - export interface SimpleProfitModel extends Object,yfiles.layout.IProfitModel{} + export interface SimpleProfitModel extends yfiles.lang.Object,yfiles.layout.IProfitModel{} export class SimpleProfitModel { /** * Creates a new instance of {@link yfiles.layout.SimpleProfitModel}. @@ -91212,6 +91823,7 @@ declare namespace yfiles{ */ getProfit(candidate:yfiles.layout.LabelCandidate):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SimpleProfitModel; } /** * {@link yfiles.layout.SliderEdgeLabelLayoutModel} allows placement of labels at a set of continuous rotated positions along both @@ -91229,7 +91841,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.IEdgeLabelLayoutModel} */ - export interface SliderEdgeLabelLayoutModel extends Object,yfiles.layout.IEdgeLabelLayoutModel{} + export interface SliderEdgeLabelLayoutModel extends yfiles.lang.Object,yfiles.layout.IEdgeLabelLayoutModel{} export class SliderEdgeLabelLayoutModel { /** * Creates a new instance of {@link yfiles.layout.SliderEdgeLabelLayoutModel} with the given mode. @@ -91245,7 +91857,7 @@ declare namespace yfiles{ * @param targetNode * @returns */ - createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout):Object; + createModelParameter(labelBounds:yfiles.algorithms.YOrientedRectangle,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout):any; /** * Returns all {@link yfiles.layout.EdgeLabelCandidate}s that describe valid label positions within this model. *

    @@ -91268,7 +91880,7 @@ declare namespace yfiles{ * @param para * @returns */ - getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout,para:Object):yfiles.algorithms.YOrientedRectangle; + getLabelPlacement(labelSize:yfiles.algorithms.YDimension,edgeLayout:yfiles.layout.IEdgeLayout,sourceNode:yfiles.layout.INodeLayout,targetNode:yfiles.layout.INodeLayout,para:any):yfiles.algorithms.YOrientedRectangle; /** * Gets the model's slider mode which determines whether the label slides {@link yfiles.layout.SliderMode#CENTER on the edge}, {@link yfiles.layout.SliderMode#SIDE along both sides of the edge} or * {@link yfiles.layout.SliderMode#SINGLE_SIDE along one side of the edge}. @@ -91326,10 +91938,11 @@ declare namespace yfiles{ * {@link yfiles.layout.SliderMode#SINGLE_SIDE}) or at its middle ({@link yfiles.layout.SliderMode#CENTER}). *

    * @see yfiles.layout.SliderEdgeLabelLayoutModel#mode - * @type {Object} + * @type {any} */ - defaultParameter:Object; + defaultParameter:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SliderEdgeLabelLayoutModel; } /** * A {@link yfiles.layout.SubgraphLayout} is a {@link yfiles.layout.ILayoutStage} that filters out all graph elements that are not part of @@ -91352,16 +91965,17 @@ declare namespace yfiles{ * Gets or sets the key to register a {@link yfiles.algorithms.IDataProvider} which marks the nodes that induce the subgraph to be * arranged. * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null - * @type {Object} + * @type {any} */ - affectedNodesDpKey:Object; + affectedNodesDpKey:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SubgraphLayout; } /** * A {@link yfiles.layout.SwimlaneRepresentative SwimlaneRepresentative} represents the position and arrangement mode for a swimlane. * @class */ - export interface SwimlaneRepresentative extends Object{} + export interface SwimlaneRepresentative extends yfiles.lang.Object{} export class SwimlaneRepresentative { /** * Creates a new {@link yfiles.layout.SwimlaneRepresentative} instance. @@ -91388,6 +92002,7 @@ declare namespace yfiles{ */ allowRearrangement:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SwimlaneRepresentative; } /** * {@link yfiles.layout.Swimlanes} provides helper classes and methods to handle swimlanes. @@ -91397,7 +92012,7 @@ declare namespace yfiles{ * @class * @static */ - export interface Swimlanes extends Object{} + export interface Swimlanes extends yfiles.lang.Object{} export class Swimlanes { /** * Calculates an ordering of the swimlanes considering the specified ordering mode. @@ -91434,6 +92049,7 @@ declare namespace yfiles{ */ static arrangeSwimlanes(graph:yfiles.algorithms.Graph,node2Swimlane:yfiles.algorithms.IDataProvider):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.Swimlanes; } export enum OperationType{ /** @@ -91719,6 +92335,7 @@ declare namespace yfiles{ */ translateY:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.GraphTransformer; } /** * A {@link yfiles.layout.ILayoutStage layout stage} that can handle fixed nodes in hierarchically grouped graphs. @@ -91784,12 +92401,13 @@ declare namespace yfiles{ */ interEdgeRouter:yfiles.layout.ILayoutAlgorithm; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FixGroupLayoutStage; } /** * A {@link yfiles.layout.IPartitionFinder} is responsible for partitioning the input graph. * @interface */ - export interface IPartitionFinder extends Object{ + export interface IPartitionFinder extends yfiles.lang.Object{ /** * Returns a partition ID for each node of an input graph. *

    @@ -91803,7 +92421,7 @@ declare namespace yfiles{ } var IPartitionFinder:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IPartitionFinder; }; /** * A {@link yfiles.layout.IPartitionPlacer} is responsible for arranging the graph partitions. @@ -91813,7 +92431,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IPartitionPlacer extends Object{ + export interface IPartitionPlacer extends yfiles.lang.Object{ /** * Arranges the graph while taking partition IDs and inter-edge information into account. *

    @@ -91828,7 +92446,7 @@ declare namespace yfiles{ } var IPartitionPlacer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.layout.IPartitionPlacer; }; /** * {@link yfiles.layout.PartitionLayout} provides a framework for layouts that are based on a divide and conquer approach. @@ -91898,6 +92516,7 @@ declare namespace yfiles{ */ interEdgeRouter:yfiles.layout.IPartitionInterEdgeRouter; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PartitionLayout; } /** * The {@link yfiles.layout.PortPlacementStage} assigns edges to the ports specified by {@link yfiles.layout.PortConstraint}s or @@ -91947,6 +92566,7 @@ declare namespace yfiles{ */ pathCorrection:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PortPlacementStage; } /** * Specifies custom data for the {@link yfiles.layout.ComponentLayout}. @@ -91984,6 +92604,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ComponentLayoutData; } /** * Combines several {@link yfiles.layout.LayoutData} instances. @@ -92003,6 +92624,7 @@ declare namespace yfiles{ */ items:yfiles.collections.ICollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.CompositeLayoutData; } /** * Provides different ways to define a mapping from items to values that takes a context object into consideration, too. @@ -92037,6 +92659,7 @@ declare namespace yfiles{ */ contextDelegate:(arg1:TItem,arg2:TContext)=>TValue; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ContextItemMapping; } /** * Wraps an {@link yfiles.collections.IMapper.} into an {@link yfiles.algorithms.IDataProvider}. @@ -92052,7 +92675,7 @@ declare namespace yfiles{ * @implements {yfiles.algorithms.IDataProvider} * @template TKey,TValue */ - export interface DataProviderAdapter extends Object,yfiles.algorithms.IDataProvider{} + export interface DataProviderAdapter extends yfiles.lang.Object,yfiles.algorithms.IDataProvider{} export class DataProviderAdapter { /** * Creates a new instance that adapts the provided mapper instance. @@ -92065,26 +92688,27 @@ declare namespace yfiles{ * @param dataHolder * @returns */ - get(dataHolder:Object):Object; + get(dataHolder:any):any; /** * * @param dataHolder * @returns */ - getBoolean(dataHolder:Object):boolean; + getBoolean(dataHolder:any):boolean; /** * * @param dataHolder * @returns */ - getInt(dataHolder:Object):number; + getInt(dataHolder:any):number; /** * * @param dataHolder * @returns */ - getNumber(dataHolder:Object):number; + getNumber(dataHolder:any):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.DataProviderAdapter; } /** * An adapter implementation that wraps an {@link yfiles.collections.IMapper.} to an {@link yfiles.algorithms.IDataMap}. @@ -92110,26 +92734,27 @@ declare namespace yfiles{ * @param dataHolder * @param value */ - set(dataHolder:Object,value:Object):void; + set(dataHolder:any,value:any):void; /** * * @param dataHolder * @param value */ - setBoolean(dataHolder:Object,value:boolean):void; + setBoolean(dataHolder:any,value:boolean):void; /** * * @param dataHolder * @param value */ - setInt(dataHolder:Object,value:number):void; + setInt(dataHolder:any,value:number):void; /** * * @param dataHolder * @param value */ - setNumber(dataHolder:Object,value:number):void; + setNumber(dataHolder:any,value:number):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.DataMapAdapter; } /** * An item collection that allows to specify the data provider key the collection is registered with. @@ -92153,6 +92778,7 @@ declare namespace yfiles{ */ dpKey:yfiles.algorithms.DpKeyBase; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.DpKeyItemCollection; } /** * An {@link yfiles.layout.EdgeLabelCandidate} that provides a {@link yfiles.graph.ILabelCandidateDescriptor candidate descriptor}. @@ -92179,7 +92805,7 @@ declare namespace yfiles{ * @param internal flag whether the candidate is allowed to overlap the layout of the edge. * @param descriptor the label candidate descriptor. */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.IEdgeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.IEdgeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); /** * Returns a new instance of ExtendedEdgeLabelCandidate. *

    @@ -92191,7 +92817,7 @@ declare namespace yfiles{ * @param internal flag whether the candidate is allowed to overlap the layout of the edge. * @param descriptor the label candidate descriptor. */ - constructor(orientedBox:yfiles.algorithms.YOrientedRectangle,param:Object,owner:yfiles.layout.IEdgeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); + constructor(orientedBox:yfiles.algorithms.YOrientedRectangle,param:any,owner:yfiles.layout.IEdgeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); /** * Returns a new instance of ExtendedEdgeLabelCandidate. *

    @@ -92203,13 +92829,14 @@ declare namespace yfiles{ * @param owner the label associated to the candidate. * @param descriptor the label candidate descriptor. */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.IEdgeLabelLayout,descriptor:yfiles.graph.ILabelCandidateDescriptor); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.IEdgeLabelLayout,descriptor:yfiles.graph.ILabelCandidateDescriptor); /** * Gets the label candidate descriptor. * @type {yfiles.graph.ILabelCandidateDescriptor} */ descriptor:yfiles.graph.ILabelCandidateDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ExtendedEdgeLabelCandidate; } /** * An {@link yfiles.layout.IProfitModel} that returns the profit of a label candidate for instances of {@link yfiles.layout.ExtendedNodeLabelCandidate} @@ -92223,7 +92850,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.IProfitModel} */ - export interface ExtendedLabelCandidateProfitModel extends Object,yfiles.layout.IProfitModel{} + export interface ExtendedLabelCandidateProfitModel extends yfiles.lang.Object,yfiles.layout.IProfitModel{} export class ExtendedLabelCandidateProfitModel { /** * Returns the profit for placing a label-candidate. @@ -92236,6 +92863,7 @@ declare namespace yfiles{ */ getProfit(candidate:yfiles.layout.LabelCandidate):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ExtendedLabelCandidateProfitModel; } /** * A {@link yfiles.layout.NodeLabelCandidate} that provides a {@link yfiles.graph.ILabelCandidateDescriptor candidate descriptor}. @@ -92262,7 +92890,7 @@ declare namespace yfiles{ * @param internal flag whether the candidate is inside the node, or outside. * @param descriptor the label candidate descriptor. */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.INodeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.INodeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); /** * Returns a new instance of NodeLabelCandidate. *

    @@ -92274,7 +92902,7 @@ declare namespace yfiles{ * @param internal flag whether the candidate is inside the node, or outside. * @param descriptor the label candidate descriptor. */ - constructor(orientedBox:yfiles.algorithms.YOrientedRectangle,param:Object,owner:yfiles.layout.INodeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); + constructor(orientedBox:yfiles.algorithms.YOrientedRectangle,param:any,owner:yfiles.layout.INodeLabelLayout,internal:boolean,descriptor:yfiles.graph.ILabelCandidateDescriptor); /** * Returns a new instance of ExtendedNodeLabelCandidate. *

    @@ -92286,13 +92914,14 @@ declare namespace yfiles{ * @param owner the label associated to the candidate. * @param descriptor the label candidate descriptor. */ - constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:Object,owner:yfiles.layout.INodeLabelLayout,descriptor:yfiles.graph.ILabelCandidateDescriptor); + constructor(pos:yfiles.algorithms.YPoint,size:yfiles.algorithms.YDimension,param:any,owner:yfiles.layout.INodeLabelLayout,descriptor:yfiles.graph.ILabelCandidateDescriptor); /** * Gets the label candidate descriptor. * @type {yfiles.graph.ILabelCandidateDescriptor} */ descriptor:yfiles.graph.ILabelCandidateDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ExtendedNodeLabelCandidate; } /** * Specifies custom data for the {@link yfiles.layout.FixGroupLayoutStage}. @@ -92321,6 +92950,7 @@ declare namespace yfiles{ */ targetPortConstraints:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FixGroupLayoutData; } /** * Specifies custom data for the {@link yfiles.layout.FixNodeLayoutStage}. @@ -92337,6 +92967,7 @@ declare namespace yfiles{ */ fixedNode:yfiles.layout.SingleItemCollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.FixNodeLayoutData; } /** * Provides different ways to define the items in a collection for use with {@link yfiles.layout.LayoutData}. @@ -92351,7 +92982,7 @@ declare namespace yfiles{ * @class * @template TItem */ - export interface ItemCollection extends Object{} + export interface ItemCollection extends yfiles.lang.Object{} export class ItemCollection { /** * Provides a mapper describing which elements are contained in this {@link yfiles.layout.ItemCollection.}. @@ -92393,6 +93024,7 @@ declare namespace yfiles{ */ source:yfiles.collections.IEnumerable; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ItemCollection; } /** * Provides different ways to define a mapping from items to values for use with {@link yfiles.layout.LayoutData}. @@ -92409,7 +93041,7 @@ declare namespace yfiles{ * @class * @template TItem,TValue */ - export interface ItemMapping extends Object{} + export interface ItemMapping extends yfiles.lang.Object{} export class ItemMapping { /** * Provides a mapper mapping the items to values. @@ -92448,6 +93080,7 @@ declare namespace yfiles{ */ constant:TValue; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ItemMapping; } /** * Base for convenience classes that specify custom data for a layout calculation done with the @@ -92464,7 +93097,7 @@ declare namespace yfiles{ * @see yfiles.layout.LayoutGraphAdapter#applyLayout * @class */ - export interface LayoutData extends Object{} + export interface LayoutData extends yfiles.lang.Object{} export class LayoutData { /** * Applies this layout data to the specified layoutGraphAdapter. @@ -92478,6 +93111,7 @@ declare namespace yfiles{ */ apply(layoutGraphAdapter:yfiles.layout.LayoutGraphAdapter,layout:yfiles.layout.ILayoutAlgorithm,layoutGraph:yfiles.layout.CopiedLayoutGraph):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutData; } /** * Executes a {@link yfiles.layout.ILayoutAlgorithm} and optionally animates the transition to the calculated layout. @@ -92485,13 +93119,13 @@ declare namespace yfiles{ * This class is the preferred way to execute a layout. Its animation can be customized in various ways. *

    *

    - * If no fine-grain control of the animation is required, the convenience methods {@link yfiles.graph.IGraph#applyLayout} and {@link yfiles.view.GraphComponent#morphLayout} + * If no fine-grained control of the animation is required, the convenience methods {@link yfiles.graph.IGraph#applyLayout} and {@link yfiles.view.GraphComponent#morphLayout} * can be used instead. *

    * @see yfiles.layout.LayoutGraphAdapter * @class */ - export interface LayoutExecutor extends Object{} + export interface LayoutExecutor extends yfiles.lang.Object{} export class LayoutExecutor { /** * Initializes a new instance of the {@link yfiles.layout.LayoutExecutor} class. @@ -92556,6 +93190,10 @@ declare namespace yfiles{ createTableLayoutConfigurator():yfiles.layout.TableLayoutConfigurator; /** * Factory method that creates the animation for the {@link yfiles.view.CanvasComponent#viewport}. + *

    + * The created animation will morph the currnt viewport into the one where the whole graph fits. The result after the + * animation is thus the same as calling {@link yfiles.view.GraphComponent#fitGraphBounds}. + *

    * @param targetBounds The target bounds of the animation. * @returns The animation instance. * @see yfiles.layout.LayoutExecutor#createAnimation @@ -92602,13 +93240,13 @@ declare namespace yfiles{ * performed. *

    *

    - * If this instance is already running, this method returns immedetaly without doing anything and returns the previous + * If this instance is already running, this method returns immediately without doing anything and returns the previous * Promise. *

    * @returns A Promise that will be fulfilled once the layout and optional animation is done. * @see yfiles.layout.LayoutExecutor#execute */ - start():Promise; + start():Promise; /** * Stops a currently running layout calculation or animation. *

    @@ -92622,7 +93260,7 @@ declare namespace yfiles{ *

    * @returns */ - stop():Promise; + stop():Promise; /** * Gets the {@link yfiles.algorithms.AbortHandler} that is used during the layout calculation, unless another {@link yfiles.algorithms.AbortHandler} * has been configured via {@link yfiles.layout.LayoutExecutor#layoutData} or by registering an {@link yfiles.collections.IMapper.} in the graph's {@link yfiles.graph.IGraph#mapperRegistry}. @@ -92698,7 +93336,16 @@ declare namespace yfiles{ */ fixPorts:boolean; /** - * Gets or sets a value indicating whether to animate the viewport. + * Gets or sets a value indicating whether the viewport should be animated to the new bounds of the graph. + *

    + * The result when this property is true after the animation is the same as calling + * {@link yfiles.view.GraphComponent#fitGraphBounds}. Setting this property to true and changing {@link yfiles.layout.LayoutExecutor#duration} to {@link yfiles.lang.TimeSpan#ZERO} will + * disable the animation, but still change the viewport to the new graph bounds. + *

    + *

    + * When the viewport should stay the same, the layout algorithms often have to be coerced to keep parts of the graph in the + * same location. This can be done by wrapping the layout algorithm in an instance of {@link yfiles.layout.FixNodeLayoutStage}. + *

    *

    * The default value is false. *

    @@ -92784,6 +93431,7 @@ declare namespace yfiles{ */ graph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutExecutor; } /** * Adapter class that can be used to obtain an {@link yfiles.layout.LayoutGraph} from an {@link yfiles.graph.IGraph}. @@ -92810,7 +93458,7 @@ declare namespace yfiles{ * @see yfiles.layout.ILayoutAlgorithm * @class */ - export interface LayoutGraphAdapter extends Object{} + export interface LayoutGraphAdapter extends yfiles.lang.Object{} export class LayoutGraphAdapter { /** * Creates the adapter using a given {@link yfiles.graph.IGraph} and {@link yfiles.view.ISelectionModel.}. @@ -92841,7 +93489,7 @@ declare namespace yfiles{ * @returns * @template K,V */ - addDataProvider(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,dataKey:Object,mapper:yfiles.collections.IMapper):yfiles.algorithms.IDataProvider; + addDataProvider(keyType:yfiles.lang.Class,valueType:yfiles.lang.Class,dataKey:any,mapper:yfiles.collections.IMapper):yfiles.algorithms.IDataProvider; /** * Convenience method that applies a {@link yfiles.layout.ILayoutAlgorithm layout algorithm} to an {@link yfiles.graph.IGraph}, optionally applying some * {@link yfiles.layout.LayoutData}. @@ -92908,25 +93556,25 @@ declare namespace yfiles{ * * @returns */ - edgeObjects():yfiles.collections.IEnumerable; + edgeObjects():yfiles.collections.IEnumerable; /** * * @param dataKey * @returns */ - getDataProvider(dataKey:Object):yfiles.algorithms.IDataProvider; + getDataProvider(dataKey:any):yfiles.algorithms.IDataProvider; /** * * @param edge * @returns */ - getEdgeLabelLayout(edge:Object):yfiles.layout.IEdgeLabelLayout[]; + getEdgeLabelLayout(edge:any):yfiles.layout.IEdgeLabelLayout[]; /** * * @param edge * @returns */ - getEdgeLayout(edge:Object):yfiles.layout.IEdgeLayout; + getEdgeLayout(edge:any):yfiles.layout.IEdgeLayout; /** * Callback that retrieves the label candidate descriptor for the given label and parameter. * @param originalLabel The original label to which a parameter will be applied. @@ -92955,30 +93603,30 @@ declare namespace yfiles{ * @param node * @returns */ - getNodeLabelLayout(node:Object):yfiles.layout.INodeLabelLayout[]; + getNodeLabelLayout(node:any):yfiles.layout.INodeLabelLayout[]; /** * * @param o * @returns */ - getNodeLayout(o:Object):yfiles.layout.INodeLayout; + getNodeLayout(o:any):yfiles.layout.INodeLayout; /** * * @param edgeObject * @returns */ - getSource(edgeObject:Object):Object; + getSource(edgeObject:any):any; /** * * @param edgeObject * @returns */ - getTarget(edgeObject:Object):Object; + getTarget(edgeObject:any):any; /** * * @returns */ - nodeObjects():yfiles.collections.IEnumerable; + nodeObjects():yfiles.collections.IEnumerable; /** * Callback method that assigns a new location that matches newLocation to port. *

    @@ -93203,10 +93851,11 @@ declare namespace yfiles{ fixPorts:boolean; /** * - * @type {Array.} + * @type {Array.} */ - dataProviderKeys:Object[]; + dataProviderKeys:any[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.LayoutGraphAdapter; } /** * Specifies a {@link yfiles.layout.PartitionGrid} for a layout. @@ -93246,6 +93895,7 @@ declare namespace yfiles{ */ columnIndices:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PartitionGridData; } /** * Specifies custom data for the {@link yfiles.layout.PartitionLayout}. @@ -93280,6 +93930,7 @@ declare namespace yfiles{ */ targetPortCandidates:yfiles.layout.ItemMapping>; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.PartitionLayoutData; } /** * Specifies custom data for the {@link yfiles.layout.RecursiveGroupLayout}. @@ -93308,9 +93959,9 @@ declare namespace yfiles{ * (preferably) or target. *

    * @see yfiles.layout.RecursiveGroupLayout#SOURCE_SPLIT_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceSplitIds:yfiles.layout.ItemMapping; + sourceSplitIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges connecting to group nodes to target split ids. *

    @@ -93318,9 +93969,9 @@ declare namespace yfiles{ * target (preferably). *

    * @see yfiles.layout.RecursiveGroupLayout#TARGET_SPLIT_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetSplitIds:yfiles.layout.ItemMapping; + targetSplitIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to their source {@link yfiles.layout.PortConstraint}. * @see yfiles.layout.PortConstraintKeys#SOURCE_PORT_CONSTRAINT_DP_KEY @@ -93358,6 +94009,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.RecursiveGroupLayoutData; } /** * Specifies custom data for the {@link yfiles.layout.ReverseEdgesStage}. @@ -93388,16 +94040,17 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroupIds:yfiles.layout.ItemMapping; + sourceGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroupIds:yfiles.layout.ItemMapping; + targetGroupIds:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.ReverseEdgesStageData; } /** * Provides different ways to define the items in a collection for use with @@ -93423,6 +94076,7 @@ declare namespace yfiles{ */ item:V; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.SingleItemCollection; } /** * Creates a {@link yfiles.layout.PartitionGrid} that matches a given table configuration of an {@link yfiles.graph.IGraph} and registers {@link yfiles.collections.IMapper.} @@ -93434,7 +94088,7 @@ declare namespace yfiles{ *

    * @class */ - export interface TableLayoutConfigurator extends Object{} + export interface TableLayoutConfigurator extends yfiles.lang.Object{} export class TableLayoutConfigurator { /** * Destroy all information that results from a previous {@link yfiles.layout.TableLayoutConfigurator#prepare} and a subsequent @@ -93511,6 +94165,7 @@ declare namespace yfiles{ */ fromSketch:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.TableLayoutConfigurator; } /** * Converts an {@link yfiles.graph.IGraph} instance into a {@link yfiles.algorithms.Graph} instance. @@ -93543,7 +94198,7 @@ declare namespace yfiles{ * @see yfiles.algorithms.Trees * @class */ - export interface YGraphAdapter extends Object{} + export interface YGraphAdapter extends yfiles.lang.Object{} export class YGraphAdapter { /** * Initializes a new instance of the {@link yfiles.layout.YGraphAdapter} class. @@ -93763,6 +94418,7 @@ declare namespace yfiles{ */ originalGraph:yfiles.graph.IGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.layout.YGraphAdapter; } }export namespace hierarchic{ /** @@ -93773,7 +94429,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraintFactory * @interface */ - export interface ILayerConstraint extends Object{ + export interface ILayerConstraint extends yfiles.lang.Object{ /** * Gets or sets the priority of a constraint. *

    @@ -93790,13 +94446,13 @@ declare namespace yfiles{ } var ILayerConstraint:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayerConstraint; }; /** * This interface provides methods for creating layering constraints. * @interface */ - export interface ILayerConstraintFactory extends Object{ + export interface ILayerConstraintFactory extends yfiles.lang.Object{ /** * Adds a constraint that forces the {@link yfiles.algorithms.Node} with ID aboveId to lie at least minDistance layers above the {@link yfiles.algorithms.Node} * with ID referenceId with a given weight penalty for larger layer differences. @@ -93812,7 +94468,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeAboveConstraint(referenceId:Object,aboveId:Object,minDistance:number,weight?:number):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeAboveConstraint(referenceId:any,aboveId:any,minDistance:number,weight?:number):yfiles.hierarchic.ILayerConstraint; /** * Adds a constraint that forces the {@link yfiles.algorithms.Node} with ID aboveId to lie above the {@link yfiles.algorithms.Node} with ID * referenceId. @@ -93822,7 +94478,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeAboveConstraint(referenceId:Object,aboveId:Object):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeAboveConstraint(referenceId:any,aboveId:any):yfiles.hierarchic.ILayerConstraint; /** * Adds a constraint that places a {@link yfiles.algorithms.Node} on the bottom layer. * @param nodeId the ID of the node that should lie on the bottom layer @@ -93830,7 +94486,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeAtBottomConstraint(nodeId:Object):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeAtBottomConstraint(nodeId:any):yfiles.hierarchic.ILayerConstraint; /** * Adds a constraint that places a {@link yfiles.algorithms.Node} on the topmost layer. * @param nodeId the ID of the node that should lie on the top layer @@ -93838,7 +94494,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeAtTopConstraint(nodeId:Object):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeAtTopConstraint(nodeId:any):yfiles.hierarchic.ILayerConstraint; /** * Adds a constraint that forces the {@link yfiles.algorithms.Node} with ID belowId to lie at least minDistance layers below the {@link yfiles.algorithms.Node} * with ID referenceId with a given weight penalty for larger layer differences. @@ -93854,7 +94510,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeBelowConstraint(referenceId:Object,belowId:Object,minDistance:number,weight?:number):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeBelowConstraint(referenceId:any,belowId:any,minDistance:number,weight?:number):yfiles.hierarchic.ILayerConstraint; /** * Adds a constraint that forces a {@link yfiles.algorithms.Node} with ID belowId to lie below the {@link yfiles.algorithms.Node} with ID * referenceId. @@ -93864,7 +94520,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeBelowConstraint(referenceId:Object,belowId:Object):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeBelowConstraint(referenceId:any,belowId:any):yfiles.hierarchic.ILayerConstraint; /** * Adds a constraint that forces the {@link yfiles.algorithms.Node} with ID sameLayerId to lie in the same layer as the {@link yfiles.algorithms.Node} * with ID referenceId. @@ -93874,7 +94530,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - addPlaceNodeInSameLayerConstraint(referenceId:Object,sameLayerId:Object):yfiles.hierarchic.ILayerConstraint; + addPlaceNodeInSameLayerConstraint(referenceId:any,sameLayerId:any):yfiles.hierarchic.ILayerConstraint; /** * Disposes this factory. *

    @@ -93890,7 +94546,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerConstraint * @abstract */ - removeConstraints(nodeId:Object):void; + removeConstraints(nodeId:any):void; /** * Gets a token that allows to bind a constraint factory to a graph instance after creation. *

    @@ -93900,13 +94556,13 @@ declare namespace yfiles{ *

    * @see yfiles.hierarchic.HierarchicLayout#createLayerConstraintFactory * @abstract - * @type {Object} + * @type {any} */ - memento:Object; + memento:any; } var ILayerConstraintFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayerConstraintFactory; }; /** * This interface specifies the general contract for factory classes that can be used to associate sequence constraints @@ -93920,7 +94576,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ISequenceConstraintFactory extends Object{ + export interface ISequenceConstraintFactory extends yfiles.lang.Object{ /** * Adds a constraint that forces the {@link yfiles.algorithms.Node} or {@link yfiles.algorithms.Edge} with id after to lie after the {@link yfiles.algorithms.Node} * or {@link yfiles.algorithms.Edge} with id reference. @@ -93928,19 +94584,19 @@ declare namespace yfiles{ * @param afterId the ID of the node or edge that should be placed after the reference element * @abstract */ - addPlaceAfterConstraint(referenceId:Object,afterId:Object):void; + addPlaceAfterConstraint(referenceId:any,afterId:any):void; /** * Adds a constraint that places a {@link yfiles.algorithms.Node} or {@link yfiles.algorithms.Edge} at the start of the sequence. * @param id the ID of the node or edge that should be placed at the start * @abstract */ - addPlaceAtHeadConstraint(id:Object):void; + addPlaceAtHeadConstraint(id:any):void; /** * Adds a constraint that places a {@link yfiles.algorithms.Node} or {@link yfiles.algorithms.Edge} at the end of the sequence. * @param id the ID of the node or edge that should be placed at the end * @abstract */ - addPlaceAtTailConstraint(id:Object):void; + addPlaceAtTailConstraint(id:any):void; /** * Adds a constraint that forces the {@link yfiles.algorithms.Node} or {@link yfiles.algorithms.Edge} with id before to lie before the {@link yfiles.algorithms.Node} * or {@link yfiles.algorithms.Edge} with id reference. @@ -93948,7 +94604,7 @@ declare namespace yfiles{ * @param beforeId the ID of the node or edge that should be placed before the reference element * @abstract */ - addPlaceBeforeConstraint(referenceId:Object,beforeId:Object):void; + addPlaceBeforeConstraint(referenceId:any,beforeId:any):void; /** * Disposes of the {@link yfiles.hierarchic.ISequenceConstraintFactory}. *

    @@ -93966,13 +94622,13 @@ declare namespace yfiles{ *

    * @see yfiles.hierarchic.HierarchicLayoutCore#createSequenceConstraintFactory * @abstract - * @type {Object} + * @type {any} */ - memento:Object; + memento:any; } var ISequenceConstraintFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ISequenceConstraintFactory; }; /** * {@link yfiles.hierarchic.AsIsLayerer} assigns nodes to layers by analyzing already existing node coordinates. @@ -94002,7 +94658,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface AsIsLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface AsIsLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class AsIsLayerer { /** * Creates an instance of {@link yfiles.hierarchic.AsIsLayerer} with default settings. @@ -94096,6 +94752,7 @@ declare namespace yfiles{ */ nodeHalo:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.AsIsLayerer; } /** * This class calculates the sequence of the nodes within each layer using the nodes' coordinates. @@ -94113,7 +94770,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ISequencer} */ - export interface AsIsSequencer extends Object,yfiles.hierarchic.ISequencer{} + export interface AsIsSequencer extends yfiles.lang.Object,yfiles.hierarchic.ISequencer{} export class AsIsSequencer { /** * Creates a new {@link yfiles.hierarchic.AsIsSequencer} instance. @@ -94132,6 +94789,7 @@ declare namespace yfiles{ */ sequenceNodeLayers(graph:yfiles.layout.LayoutGraph,layers:yfiles.hierarchic.ILayers,ldp:yfiles.hierarchic.ILayoutDataProvider,itemFactory:yfiles.hierarchic.IItemFactory):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.AsIsSequencer; } /** * This class is a wrapper {@link yfiles.hierarchic.ILayerer} implementation that delegates the actual layering to a delegate {@link yfiles.hierarchic.ILayerer} @@ -94150,7 +94808,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface AspectRatioComponentLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface AspectRatioComponentLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class AspectRatioComponentLayerer { /** * Creates a new instance of {@link yfiles.hierarchic.AspectRatioComponentLayerer} using the given delegate {@link yfiles.hierarchic.ILayerer} @@ -94202,6 +94860,7 @@ declare namespace yfiles{ */ desiredAspectRatio:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.AspectRatioComponentLayerer; } /** * {@link yfiles.hierarchic.BFSLayerer} uses a breadth first search for assigning layers to the nodes. @@ -94217,7 +94876,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface BFSLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface BFSLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class BFSLayerer { /** * Creates an instance of {@link yfiles.hierarchic.BFSLayerer}. @@ -94243,6 +94902,7 @@ declare namespace yfiles{ */ static CORE_NODES_DP_KEY:yfiles.algorithms.NodeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.BFSLayerer; } /** * This class is a {@link yfiles.hierarchic.ILayerer} implementation that observes relative and absolute layering constraints @@ -94268,7 +94928,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface ConstraintIncrementalLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface ConstraintIncrementalLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class ConstraintIncrementalLayerer { /** * Creates a new {@link yfiles.hierarchic.ConstraintIncrementalLayerer} with the given {@link yfiles.hierarchic.ILayerer} instance. @@ -94312,6 +94972,7 @@ declare namespace yfiles{ */ allowSameLayerEdges:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.ConstraintIncrementalLayerer; } /** * This class is a default {@link yfiles.hierarchic.IDrawingDistanceCalculator} implementation that is used by {@link yfiles.hierarchic.HierarchicLayoutCore} @@ -94319,7 +94980,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.IDrawingDistanceCalculator} */ - export interface DefaultDrawingDistanceCalculator extends Object,yfiles.hierarchic.IDrawingDistanceCalculator{} + export interface DefaultDrawingDistanceCalculator extends yfiles.lang.Object,yfiles.hierarchic.IDrawingDistanceCalculator{} export class DefaultDrawingDistanceCalculator { /** * Creates a new instance of {@link yfiles.hierarchic.DefaultDrawingDistanceCalculator} with default settings. @@ -94402,6 +95063,7 @@ declare namespace yfiles{ */ optimizeSwimlaneDistances:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.DefaultDrawingDistanceCalculator; } /** * This class is a {@link yfiles.hierarchic.ISequencer} implementation that performs the second phase of the Sugiyama algorithm. @@ -94411,7 +95073,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ISequencer} */ - export interface DefaultLayerSequencer extends Object,yfiles.hierarchic.ISequencer{} + export interface DefaultLayerSequencer extends yfiles.lang.Object,yfiles.hierarchic.ISequencer{} export class DefaultLayerSequencer { /** * Creates a new instance of {@link yfiles.hierarchic.DefaultLayerSequencer}. @@ -94469,6 +95131,7 @@ declare namespace yfiles{ */ randomizationRounds:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.DefaultLayerSequencer; } /** * A default implementation of a {@link yfiles.hierarchic.ILayeredComponentsMerger} that provides simple default behaviors. @@ -94479,7 +95142,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayeredComponentsMerger} */ - export interface DefaultLayeredComponentsMerger extends Object,yfiles.hierarchic.ILayeredComponentsMerger{} + export interface DefaultLayeredComponentsMerger extends yfiles.lang.Object,yfiles.hierarchic.ILayeredComponentsMerger{} export class DefaultLayeredComponentsMerger { /** * Creates a new instance of {@link yfiles.hierarchic.DefaultLayeredComponentsMerger} using the given merging policy. @@ -94506,6 +95169,7 @@ declare namespace yfiles{ */ policy:yfiles.hierarchic.MergingPolicy; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.DefaultLayeredComponentsMerger; } /** * This class is a default {@link yfiles.hierarchic.IPortAllocator} implementation. @@ -94515,7 +95179,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.IPortAllocator} */ - export interface DefaultPortAllocator extends Object,yfiles.hierarchic.IPortAllocator{} + export interface DefaultPortAllocator extends yfiles.lang.Object,yfiles.hierarchic.IPortAllocator{} export class DefaultPortAllocator { /** * Creates a new instance of {@link yfiles.hierarchic.DefaultPortAllocator} with default settings. @@ -94613,6 +95277,7 @@ declare namespace yfiles{ */ defaultPortBorderGapRatio:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.DefaultPortAllocator; } /** * This class is used by {@link yfiles.hierarchic.HierarchicLayoutCore} during the various phases to provide routing details for @@ -94630,7 +95295,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.NodeLayoutDescriptor * @class */ - export interface EdgeLayoutDescriptor extends Object{} + export interface EdgeLayoutDescriptor extends yfiles.lang.Object{} export class EdgeLayoutDescriptor { /** * Creates a new instance of an {@link yfiles.hierarchic.EdgeLayoutDescriptor} with the default values. @@ -94745,6 +95410,7 @@ declare namespace yfiles{ */ directGroupContentEdgeRouting:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.EdgeLayoutDescriptor; } export enum WeightHeuristic{ /** @@ -95335,7 +96001,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface GivenLayersLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface GivenLayersLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class GivenLayersLayerer { /** * Creates an instance of {@link yfiles.hierarchic.GivenLayersLayerer}. @@ -95371,6 +96037,7 @@ declare namespace yfiles{ */ static LAYER_ID_DP_KEY:yfiles.algorithms.NodeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.GivenLayersLayerer; } /** * This class is a {@link yfiles.hierarchic.ISequencer} implementation that determines the sequence of nodes of the same {@link yfiles.hierarchic.ILayer layer} @@ -95378,13 +96045,13 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ISequencer} */ - export interface GivenSequenceSequencer extends Object,yfiles.hierarchic.ISequencer{} + export interface GivenSequenceSequencer extends yfiles.lang.Object,yfiles.hierarchic.ISequencer{} export class GivenSequenceSequencer { /** * Creates a new instance of {@link yfiles.hierarchic.GivenSequenceSequencer} using a given {@link yfiles.collections.IComparer.} for the sequencing. * @param [c=null] */ - constructor(c?:yfiles.collections.IComparer); + constructor(c?:yfiles.collections.IComparer); /** * Calculates the sequence of the nodes within a {@link yfiles.hierarchic.ILayers} instance based on the given {@link yfiles.collections.IComparer.} instance. *

    @@ -95399,16 +96066,17 @@ declare namespace yfiles{ sequenceNodeLayers(graph:yfiles.layout.LayoutGraph,layers:yfiles.hierarchic.ILayers,ldp:yfiles.hierarchic.ILayoutDataProvider,itemFactory:yfiles.hierarchic.IItemFactory):void; /** * Gets or sets the {@link yfiles.collections.IComparer.} used by this {@link yfiles.hierarchic.GivenSequenceSequencer} to determine the sequence of the nodes. - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - sequenceComparer:yfiles.collections.IComparer; + sequenceComparer:yfiles.collections.IComparer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.GivenSequenceSequencer; } /** * Visitor interface that can be used to traverse the descendants of a group node * @interface */ - export interface IVisitor extends Object{ + export interface IVisitor extends yfiles.lang.Object{ /** * Visits the descendants of a group node. * @param node A descandant of the group node. @@ -95419,7 +96087,7 @@ declare namespace yfiles{ } var IVisitor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IVisitor; }; /** * This class is responsible for managing hierarchically grouped graphs. @@ -95432,7 +96100,7 @@ declare namespace yfiles{ * @see yfiles.layout.GroupingKeys * @class */ - export interface GroupingSupport extends Object{} + export interface GroupingSupport extends yfiles.lang.Object{} export class GroupingSupport { /** * Assigns edge group nodes to groups based on a given {@link yfiles.hierarchic.ILayers} instance. @@ -95528,6 +96196,7 @@ declare namespace yfiles{ */ active:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.GroupingSupport; } /** * This layout algorithm arranges graphs in a hierarchic fashion. @@ -95581,8 +96250,9 @@ declare namespace yfiles{ * port restrictions, several {@link yfiles.layout.PortCandidate}s or {@link yfiles.layout.PortCandidateSet}s can be assigned to edges or * nodes. If an edge with registered {@link yfiles.layout.PortCandidate}s connects to nodes with {@link yfiles.layout.PortCandidateSet}s, * the layouter will try to match both collections to find an appropriate port. In case there is no matching port - * candidate, a {@link yfiles.layout.PortCandidate} specified for the edge is preferred. Since their simultaneous existence at the - * same node may be ambiguous, it is not recommended to use a combination of {@link yfiles.layout.PortConstraint}s and + * candidate, a {@link yfiles.layout.PortCandidate} specified for the edge is preferred. For the matching to work properly, the + * candidates in both collection need to be the same instances. Since their simultaneous existence at the same node may be + * ambiguous, it is not recommended to use a combination of {@link yfiles.layout.PortConstraint}s and * {@link yfiles.layout.PortCandidate}s in the same layout. *

    *

    @@ -95779,9 +96449,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.IIncrementalHintsFactory * @const * @static - * @type {yfiles.algorithms.GraphObjectDpKey.} + * @type {yfiles.algorithms.GraphObjectDpKey.} */ - static INCREMENTAL_HINTS_DP_KEY:yfiles.algorithms.GraphObjectDpKey; + static INCREMENTAL_HINTS_DP_KEY:yfiles.algorithms.GraphObjectDpKey; /** * Data acceptor key for publishing the layer IDs for all nodes in the graph * @see yfiles.hierarchic.HierarchicLayoutCore#LAYER_INDEX_DP_KEY @@ -95871,16 +96541,16 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.GraphDpKey.} + * @type {yfiles.algorithms.GraphDpKey.} */ - static SEQUENCE_CONSTRAINTS_MEMENTO_DP_KEY:yfiles.algorithms.GraphDpKey; + static SEQUENCE_CONSTRAINTS_MEMENTO_DP_KEY:yfiles.algorithms.GraphDpKey; /** * Data provider key for storing the constraint graph * @const * @static - * @type {yfiles.algorithms.GraphDpKey.} + * @type {yfiles.algorithms.GraphDpKey.} */ - static LAYER_CONSTRAINTS_MEMENTO_DP_KEY:yfiles.algorithms.GraphDpKey; + static LAYER_CONSTRAINTS_MEMENTO_DP_KEY:yfiles.algorithms.GraphDpKey; /** * Gets or sets the group layer alignment strategy used for recursive group layering. * @throws {Stubs.Exceptions.ArgumentError} if an unknown group alignment policy is given @@ -96213,6 +96883,7 @@ declare namespace yfiles{ */ nodeLayoutDescriptor:yfiles.hierarchic.NodeLayoutDescriptor; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.HierarchicLayout; } /** * This class arranges graphs in a hierarchic/layered fashion and supports complete re-layout as well as incremental graph @@ -96481,7 +97152,7 @@ declare namespace yfiles{ * @returns the associated value or null * @see yfiles.hierarchic.HierarchicLayoutCore#setAlgorithmProperty */ - getAlgorithmProperty(key:Object):Object; + getAlgorithmProperty(key:any):any; /** * Callback method called during {@link yfiles.hierarchic.HierarchicLayoutCore#applyLayoutCore} and returns a {@link yfiles.algorithms.IDataProvider} * that holds the {@link yfiles.hierarchic.EdgeLayoutDescriptor} information. @@ -96593,7 +97264,7 @@ declare namespace yfiles{ * @param value the value to associate with the key * @see yfiles.hierarchic.HierarchicLayoutCore#setAlgorithmProperty */ - setAlgorithmProperty(key:Object,value:Object):void; + setAlgorithmProperty(key:any,value:any):void; /** * Data provider key for specifying incremental hints *

    @@ -96603,9 +97274,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.IIncrementalHintsFactory * @const * @static - * @type {yfiles.algorithms.GraphObjectDpKey.} + * @type {yfiles.algorithms.GraphObjectDpKey.} */ - static INCREMENTAL_HINTS_DP_KEY:yfiles.algorithms.GraphObjectDpKey; + static INCREMENTAL_HINTS_DP_KEY:yfiles.algorithms.GraphObjectDpKey; /** * Data provider key for providing layout information for each edge * @see yfiles.hierarchic.IEdgeData#edgeLayoutDescriptor @@ -96763,6 +97434,7 @@ declare namespace yfiles{ */ gridSpacing:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.HierarchicLayoutCore; } /** * This interface determines the minimum distances between elements that belong to the same layer. @@ -96785,7 +97457,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IDrawingDistanceCalculator extends Object{ + export interface IDrawingDistanceCalculator extends yfiles.lang.Object{ /** * Disposes of internal data structures. *

    @@ -96830,7 +97502,7 @@ declare namespace yfiles{ } var IDrawingDistanceCalculator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IDrawingDistanceCalculator; }; /** * This interface provides layout information about the edges of the graph during the layout. @@ -96843,7 +97515,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IEdgeData extends Object{ + export interface IEdgeData extends yfiles.lang.Object{ /** * Gets the type of the {@link yfiles.algorithms.Edge} associated with this {@link yfiles.hierarchic.IEdgeData} instance. * @abstract @@ -96887,9 +97559,9 @@ declare namespace yfiles{ * the graph with key {@link yfiles.layout.PortConstraintKeys#SOURCE_PORT_GROUP_ID_DP_KEY}. *

    * @abstract - * @type {Object} + * @type {any} */ - sourcePortGroup:Object; + sourcePortGroup:any; /** * Gets the {@link yfiles.collections.ICollection. collection} of {@link yfiles.layout.PortCandidate}s for the source port of the {@link yfiles.algorithms.Edge} associated with * this {@link yfiles.hierarchic.IEdgeData} instance. @@ -96898,9 +97570,9 @@ declare namespace yfiles{ * {@link yfiles.layout.PortCandidate#SOURCE_PORT_CANDIDATE_COLLECTION_DP_KEY}. *

    * @abstract - * @type {yfiles.collections.ICollection.} + * @type {yfiles.collections.ICollection.} */ - sourcePortCandidates:yfiles.collections.ICollection; + sourcePortCandidates:yfiles.collections.ICollection; /** * Gets the {@link yfiles.layout.PortConstraint port constraints} for the target port of the {@link yfiles.algorithms.Edge} associated with this {@link yfiles.hierarchic.IEdgeData} * instance. @@ -96920,9 +97592,9 @@ declare namespace yfiles{ * the graph with key {@link yfiles.layout.PortConstraintKeys#TARGET_PORT_GROUP_ID_DP_KEY}. *

    * @abstract - * @type {Object} + * @type {any} */ - targetPortGroup:Object; + targetPortGroup:any; /** * Gets the {@link yfiles.collections.ICollection. collection} of {@link yfiles.layout.PortCandidate}s for the target port of the {@link yfiles.algorithms.Edge} associated with * this {@link yfiles.hierarchic.IEdgeData} instance. @@ -96931,9 +97603,9 @@ declare namespace yfiles{ * {@link yfiles.layout.PortCandidate#TARGET_PORT_CANDIDATE_COLLECTION_DP_KEY}. *

    * @abstract - * @type {yfiles.collections.ICollection.} + * @type {yfiles.collections.ICollection.} */ - targetPortCandidates:yfiles.collections.ICollection; + targetPortCandidates:yfiles.collections.ICollection; /** * Gets the ID of the edge group at the source node to which the {@link yfiles.algorithms.Edge} associated with this {@link yfiles.hierarchic.IEdgeData} * instance belongs (if any). @@ -96942,9 +97614,9 @@ declare namespace yfiles{ * graph with key {@link yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY}. *

    * @abstract - * @type {Object} + * @type {any} */ - sourceGroup:Object; + sourceGroup:any; /** * Gets the ID of the edge group at the target node to which the {@link yfiles.algorithms.Edge} associated with this {@link yfiles.hierarchic.IEdgeData} * instance belongs (if any). @@ -96953,16 +97625,16 @@ declare namespace yfiles{ * graph with key {@link yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY}. *

    * @abstract - * @type {Object} + * @type {any} */ - targetGroup:Object; + targetGroup:any; /** * Gets the group that is represented by the {@link yfiles.algorithms.Edge} associated with this {@link yfiles.hierarchic.IEdgeData} * instance. * @abstract - * @type {Object} + * @type {any} */ - group:Object; + group:any; /** * Gets whether or not the {@link yfiles.algorithms.Edge} associated with this {@link yfiles.hierarchic.IEdgeData} instance has been * reversed. @@ -97021,7 +97693,7 @@ declare namespace yfiles{ } var IEdgeData:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IEdgeData; }; /** * This interface handles edges that should be reversed during the hierarchic layout process. @@ -97036,7 +97708,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.HierarchicLayoutCore * @interface */ - export interface IEdgeReverser extends Object{ + export interface IEdgeReverser extends yfiles.lang.Object{ /** * Reverses all edges which point to the wrong direction. *

    @@ -97078,7 +97750,7 @@ declare namespace yfiles{ } var IEdgeReverser:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IEdgeReverser; }; /** * This interface provides factory methods for creating incremental hints for the hierarchic layout. @@ -97102,9 +97774,9 @@ declare namespace yfiles{ *

    * @interface */ - export interface IIncrementalHintsFactory extends Object{ + export interface IIncrementalHintsFactory extends yfiles.lang.Object{ /** - * Creates a hint {@link Object} for a group {@link yfiles.algorithms.Node} that should be inserted incrementally during the layering phase. + * Creates a hint {@link any} for a group {@link yfiles.algorithms.Node} that should be inserted incrementally during the layering phase. *

    * The group will be placed on a suitable position. The descendants of the group may be associated with hints created by * methods {@link yfiles.hierarchic.IIncrementalHintsFactory#createLayerIncrementallyHint}, {@link yfiles.hierarchic.IIncrementalHintsFactory#createSequenceIncrementallyHint} @@ -97122,9 +97794,9 @@ declare namespace yfiles{ * @returns an {@link } that can be interpreted as a hint by {@link } * @abstract */ - createIncrementalGroupHint(forItemId:Object):Object; + createIncrementalGroupHint(forItemId:any):any; /** - * Creates a hint {@link Object} for a {@link yfiles.algorithms.Node} that should be inserted incrementally during the layering phase. + * Creates a hint {@link any} for a {@link yfiles.algorithms.Node} that should be inserted incrementally during the layering phase. *

    * This will place the node in a suitable layer, possibly creating new layers. *

    @@ -97136,9 +97808,9 @@ declare namespace yfiles{ * @returns an {@link } that can be interpreted as a hint by {@link } * @abstract */ - createLayerIncrementallyHint(forNodeId:Object):Object; + createLayerIncrementallyHint(forNodeId:any):any; /** - * Creates a hint {@link Object} for a {@link yfiles.algorithms.Node} or {@link yfiles.algorithms.Edge} that should be inserted incrementally during the + * Creates a hint {@link any} for a {@link yfiles.algorithms.Node} or {@link yfiles.algorithms.Edge} that should be inserted incrementally during the * sequencing phase. *

    * All nodes that are not incrementally inserted during the layering phase (see @@ -97156,9 +97828,9 @@ declare namespace yfiles{ * @returns an {@link } that can be interpreted as a hint by {@link } * @abstract */ - createSequenceIncrementallyHint(forItemId:Object):Object; + createSequenceIncrementallyHint(forItemId:any):any; /** - * Creates a hint {@link Object} for a {@link yfiles.algorithms.Node} that should be inserted incrementally into the graph on its exact current + * Creates a hint {@link any} for a {@link yfiles.algorithms.Node} that should be inserted incrementally into the graph on its exact current * position. *

    * As for nodes without hints, the algorithm uses the {@link yfiles.hierarchic.HierarchicLayout#fixedElementsLayerer} instance to determine the layer of such nodes and the {@link yfiles.hierarchic.HierarchicLayout#fixedElementsSequencer} instance to @@ -97174,9 +97846,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.SimplexNodePlacer#exactPlacement * @abstract */ - createUseExactCoordinatesHint(forNodeId:Object):Object; + createUseExactCoordinatesHint(forNodeId:any):any; /** - * Creates a hint {@link Object} for a {@link yfiles.algorithms.Node} that should be inserted incrementally into the graph on its exact current + * Creates a hint {@link any} for a {@link yfiles.algorithms.Node} that should be inserted incrementally into the graph on its exact current * layer position. *

    * The algorithm uses the {@link yfiles.hierarchic.HierarchicLayout#fixedElementsLayerer} instance to determine the layer of such nodes and the {@link yfiles.hierarchic.HierarchicLayout#fromScratchSequencer} instance to determine the sequencing. @@ -97188,9 +97860,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.SimplexNodePlacer#exactPlacement * @abstract */ - createUseExactLayerCoordinatesHint(forNodeId:Object):Object; + createUseExactLayerCoordinatesHint(forNodeId:any):any; /** - * Creates a hint {@link Object} for a {@link yfiles.algorithms.Node} that should be inserted incrementally into the graph on its exact current + * Creates a hint {@link any} for a {@link yfiles.algorithms.Node} that should be inserted incrementally into the graph on its exact current * sequence position. *

    * The algorithm uses the {@link yfiles.hierarchic.HierarchicLayout#fromScratchLayerer} instance to determine the layer of such nodes and the {@link yfiles.hierarchic.HierarchicLayout#fixedElementsSequencer} instance to determine the sequencing. @@ -97202,11 +97874,11 @@ declare namespace yfiles{ * @see yfiles.hierarchic.SimplexNodePlacer#exactPlacement * @abstract */ - createUseExactSequenceCoordinatesHint(forNodeId:Object):Object; + createUseExactSequenceCoordinatesHint(forNodeId:any):any; } var IIncrementalHintsFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IIncrementalHintsFactory; }; /** * This interface is a factory for creating and destroying helper structures used in the graph during layout. @@ -97216,7 +97888,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IItemFactory extends Object{ + export interface IItemFactory extends yfiles.lang.Object{ /** * Converts a given {@link yfiles.algorithms.Node} to a label node. * @param dummyNode the given {@link } to be converted @@ -97255,7 +97927,7 @@ declare namespace yfiles{ * @returns the new {@link } * @abstract */ - createConnectorProxyForGroup(groupNode:yfiles.algorithms.Node,groupId:Object,layer:yfiles.hierarchic.ILayer,edge:yfiles.algorithms.Edge):yfiles.algorithms.Node; + createConnectorProxyForGroup(groupNode:yfiles.algorithms.Node,groupId:any,layer:yfiles.hierarchic.ILayer,edge:yfiles.algorithms.Edge):yfiles.algorithms.Node; /** * Creates a dummy node that mimics a connector to a group node from a descendant. * @param groupNode the group node to which the edge is connected @@ -97265,7 +97937,7 @@ declare namespace yfiles{ * @returns the dummy node * @abstract */ - createContentConnectorProxyForGroup(groupNode:yfiles.algorithms.Node,groupId:Object,layer:yfiles.hierarchic.ILayer,e:yfiles.algorithms.Edge):yfiles.algorithms.Node; + createContentConnectorProxyForGroup(groupNode:yfiles.algorithms.Node,groupId:any,layer:yfiles.hierarchic.ILayer,e:yfiles.algorithms.Edge):yfiles.algorithms.Node; /** * Creates a spacer {@link yfiles.algorithms.Node} for the drawing phase using the given bounds in the given * {@link yfiles.hierarchic.ILayer}. @@ -97294,7 +97966,7 @@ declare namespace yfiles{ * @returns the new group {@link } * @abstract */ - createEdgeGroupNode(layer:yfiles.hierarchic.ILayer,groupId:Object):yfiles.algorithms.Node; + createEdgeGroupNode(layer:yfiles.hierarchic.ILayer,groupId:any):yfiles.algorithms.Node; /** * Creates a {@link yfiles.hierarchic.INodeData} object for an edge group {@link yfiles.algorithms.Node} and associates it with the * {@link yfiles.algorithms.Node}. @@ -97304,7 +97976,7 @@ declare namespace yfiles{ * @returns a {@link } object for the given edge group {@link } * @abstract */ - createEdgeGroupNodeData(node:yfiles.algorithms.Node,groupId:Object,source:boolean):yfiles.hierarchic.INodeData; + createEdgeGroupNodeData(node:yfiles.algorithms.Node,groupId:any,source:boolean):yfiles.hierarchic.INodeData; /** * Creates an {@link yfiles.algorithms.Edge} that connects two group border {@link yfiles.algorithms.Node}s. * @param source the source {@link } @@ -97585,7 +98257,7 @@ declare namespace yfiles{ * @returns an {@link } object * @abstract */ - setTemporaryEdgeGroups(edge:yfiles.algorithms.Edge,sgId:Object,tgId:Object):yfiles.hierarchic.IEdgeData; + setTemporaryEdgeGroups(edge:yfiles.algorithms.Edge,sgId:any,tgId:any):yfiles.hierarchic.IEdgeData; /** * Specifies the thickness for an {@link yfiles.algorithms.Edge} and defines it in an {@link yfiles.hierarchic.IEdgeData} object. * @param edge the given {@link } @@ -97613,7 +98285,7 @@ declare namespace yfiles{ } var IItemFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IItemFactory; }; /** * This interface describes a single layer in a hierarchic layout. @@ -97626,7 +98298,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayerer * @interface */ - export interface ILayer extends Object{ + export interface ILayer extends yfiles.lang.Object{ /** * Adds a newly created {@link yfiles.algorithms.Node} to this {@link yfiles.hierarchic.ILayer} instance. * @param node the {@link } to be added @@ -97690,7 +98362,7 @@ declare namespace yfiles{ } var ILayer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayer; }; /** * This interface merges two {@link yfiles.hierarchic.ILayers} instances whose nodes reside in the same graph. @@ -97703,7 +98375,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface ILayeredComponentsMerger extends Object{ + export interface ILayeredComponentsMerger extends yfiles.lang.Object{ /** * Merges two {@link yfiles.hierarchic.ILayers} instances. *

    @@ -97724,7 +98396,7 @@ declare namespace yfiles{ } var ILayeredComponentsMerger:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayeredComponentsMerger; }; /** * This interface is used by classes capable of generating a layer assignment. @@ -97737,7 +98409,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.HierarchicLayout#fromScratchLayerer * @interface */ - export interface ILayerer extends Object{ + export interface ILayerer extends yfiles.lang.Object{ /** * Assigns all nodes of the graph to layers and adds them to the {@link yfiles.hierarchic.ILayers} instance. *

    @@ -97758,7 +98430,7 @@ declare namespace yfiles{ } var ILayerer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayerer; }; /** * This interface manages multiple {@link yfiles.hierarchic.ILayer} instances. @@ -97773,7 +98445,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.ILayer * @interface */ - export interface ILayers extends Object{ + export interface ILayers extends yfiles.lang.Object{ /** * Creates a new and empty {@link yfiles.hierarchic.ILayers} instance that can be used on the same graph instance for temporary * results. @@ -97811,7 +98483,7 @@ declare namespace yfiles{ } var ILayers:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayers; }; /** * This interface retrieves {@link yfiles.hierarchic.INodeData} and {@link yfiles.hierarchic.IEdgeData} instances for elements in the @@ -97823,7 +98495,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.HierarchicLayoutCore * @interface */ - export interface ILayoutDataProvider extends Object{ + export interface ILayoutDataProvider extends yfiles.lang.Object{ /** * Returns the {@link yfiles.hierarchic.IEdgeData} instance associated with the given {@link yfiles.algorithms.Edge}. * @param edge the given edge @@ -97841,7 +98513,7 @@ declare namespace yfiles{ } var ILayoutDataProvider:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ILayoutDataProvider; }; /** * This interface provides layout information about the nodes of the graph during the layout. @@ -97861,7 +98533,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface INodeData extends Object{ + export interface INodeData extends yfiles.lang.Object{ /** * Creates, stores and returns a {@link yfiles.algorithms.BorderLine} for the given side or returns the current {@link yfiles.algorithms.BorderLine} * instance if it already exists. @@ -97931,9 +98603,9 @@ declare namespace yfiles{ * @see yfiles.hierarchic.NodeDataType#SOURCE_GROUP_NODE * @see yfiles.hierarchic.NodeDataType#TARGET_GROUP_NODE * @abstract - * @type {Object} + * @type {any} */ - groupId:Object; + groupId:any; /** * Gets the associated {@link yfiles.algorithms.Node} of this {@link yfiles.hierarchic.INodeData} instance (in case of e.g. *

    @@ -97990,9 +98662,9 @@ declare namespace yfiles{ * {@link yfiles.hierarchic.HierarchicLayoutCore#INCREMENTAL_HINTS_DP_KEY}. *

    * @abstract - * @type {Object} + * @type {any} */ - incrementalHint:Object; + incrementalHint:any; /** * Gets the {@link yfiles.hierarchic.NodeLayoutDescriptor} instance initially bound to the {@link yfiles.algorithms.Node} of this {@link yfiles.hierarchic.INodeData} * instance or null if no {@link yfiles.hierarchic.NodeLayoutDescriptor} has been registered. @@ -98010,7 +98682,7 @@ declare namespace yfiles{ } var INodeData:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.INodeData; }; /** * This interface is responsible for the assignment of the x-(sequence) and preliminary y-coordinates of the nodes in a @@ -98037,7 +98709,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.HierarchicLayout#nodePlacer * @interface */ - export interface INodePlacer extends Object{ + export interface INodePlacer extends yfiles.lang.Object{ /** * Assigns preliminary y-coordinates for each layer of a hierarchic layout. *

    @@ -98066,7 +98738,7 @@ declare namespace yfiles{ } var INodePlacer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.INodePlacer; }; /** * This interface is responsible for assigning port coordinates to the adjacent edges of each node of the graph. @@ -98076,7 +98748,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.HierarchicLayoutCore * @interface */ - export interface IPortAllocator extends Object{ + export interface IPortAllocator extends yfiles.lang.Object{ /** * Assigns to each edge of the graph a source port and target port coordinate pair. *

    @@ -98092,7 +98764,7 @@ declare namespace yfiles{ } var IPortAllocator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IPortAllocator; }; /** * This interface serves as a callback for {@link yfiles.hierarchic.HierarchicLayoutCore} after the layering and sequencing @@ -98103,7 +98775,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IPortConstraintOptimizer extends Object{ + export interface IPortConstraintOptimizer extends yfiles.lang.Object{ /** * Assigns new temporary port constraints after the layering information has been determined. * @param graph the input graph @@ -98127,7 +98799,7 @@ declare namespace yfiles{ } var IPortConstraintOptimizer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.IPortConstraintOptimizer; }; /** * This interface is used by {@link yfiles.hierarchic.HierarchicLayoutCore} to calculate the order of the nodes within each {@link yfiles.hierarchic.ILayers layer}. @@ -98139,7 +98811,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.HierarchicLayout#fromScratchSequencer * @interface */ - export interface ISequencer extends Object{ + export interface ISequencer extends yfiles.lang.Object{ /** * Calculates the sequence of the nodes within each {@link yfiles.hierarchic.ILayers layer}. *

    @@ -98157,7 +98829,7 @@ declare namespace yfiles{ } var ISequencer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.hierarchic.ISequencer; }; /** * This class is a wrapper {@link yfiles.hierarchic.ILayerer} implementation that delegates the actual layering to a delegate @@ -98170,7 +98842,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface MultiComponentLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface MultiComponentLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class MultiComponentLayerer { /** * Creates a new instance of {@link yfiles.hierarchic.MultiComponentLayerer} using the given {@link yfiles.hierarchic.ILayeredComponentsMerger} @@ -98180,7 +98852,7 @@ declare namespace yfiles{ * @param componentComparer * @throws {Stubs.Exceptions.ArgumentError} if the given layerer or merger is null */ - constructor(singleComponentLayerer:yfiles.hierarchic.ILayerer,merger:yfiles.hierarchic.ILayeredComponentsMerger,componentComparer:yfiles.collections.IComparer); + constructor(singleComponentLayerer:yfiles.hierarchic.ILayerer,merger:yfiles.hierarchic.ILayeredComponentsMerger,componentComparer:yfiles.collections.IComparer); /** * Creates a new instance of {@link yfiles.hierarchic.MultiComponentLayerer} using the given delegate {@link yfiles.hierarchic.ILayerer}. *

    @@ -98227,10 +98899,11 @@ declare namespace yfiles{ merger:yfiles.hierarchic.ILayeredComponentsMerger; /** * Gets or sets the component {@link yfiles.collections.IComparer.} instance. - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - componentComparer:yfiles.collections.IComparer; + componentComparer:yfiles.collections.IComparer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.MultiComponentLayerer; } /** * This class is used by {@link yfiles.hierarchic.HierarchicLayoutCore} during the various phases to provide the drawing details of @@ -98248,7 +98921,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.EdgeLayoutDescriptor * @class */ - export interface NodeLayoutDescriptor extends Object{} + export interface NodeLayoutDescriptor extends yfiles.lang.Object{} export class NodeLayoutDescriptor { /** * Creates a new instance of a {@link yfiles.hierarchic.NodeLayoutDescriptor} with the default values. @@ -98375,6 +99048,7 @@ declare namespace yfiles{ */ portAssignment:yfiles.hierarchic.PortAssignmentMode; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.NodeLayoutDescriptor; } /** * This class implements a {@link yfiles.layout.ILayoutStage layout stage} that handles a given {@link yfiles.layout.PartitionGrid partition grid} structure. @@ -98394,6 +99068,7 @@ declare namespace yfiles{ */ constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.PartitionGridLayoutStage; } /** * This class is an implementation of the {@link yfiles.hierarchic.IPortConstraintOptimizer} interface that tries to assign the @@ -98464,13 +99139,14 @@ declare namespace yfiles{ */ overUsagePenalty:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.PortCandidateOptimizer; } /** * This static class provides information about the same-layer structures created by class * {@link yfiles.hierarchic.PortConstraintOptimizerBase}. * @class */ - export interface PortConstraintOptimizerSameLayerData extends Object{} + export interface PortConstraintOptimizerSameLayerData extends yfiles.lang.Object{} export class PortConstraintOptimizerSameLayerData { /** * Creates a new {@link yfiles.hierarchic.PortConstraintOptimizerSameLayerData} instance. @@ -98495,6 +99171,7 @@ declare namespace yfiles{ */ dummyNodes:yfiles.algorithms.NodeList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.PortConstraintOptimizerSameLayerData; } /** * This class is an abstract implementation of the {@link yfiles.hierarchic.IPortConstraintOptimizer} interface that minimizes the @@ -98513,7 +99190,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.IPortConstraintOptimizer} */ - export interface PortConstraintOptimizerBase extends Object,yfiles.hierarchic.IPortConstraintOptimizer{} + export interface PortConstraintOptimizerBase extends yfiles.lang.Object,yfiles.hierarchic.IPortConstraintOptimizer{} export class PortConstraintOptimizerBase { /** * Creates a new {@link yfiles.hierarchic.PortConstraintOptimizerBase} instance with default settings. @@ -98585,7 +99262,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.PortConstraintOptimizerBase#optimizeAfterSequencing * @protected */ - optimizeAfterSequencingForAllNodes(inEdgeOrder:yfiles.collections.IComparer,outEdgeOrder:yfiles.collections.IComparer,graph:yfiles.layout.LayoutGraph,layers:yfiles.hierarchic.ILayers,ldp:yfiles.hierarchic.ILayoutDataProvider,itemFactory:yfiles.hierarchic.IItemFactory):void; + optimizeAfterSequencingForAllNodes(inEdgeOrder:yfiles.collections.IComparer,outEdgeOrder:yfiles.collections.IComparer,graph:yfiles.layout.LayoutGraph,layers:yfiles.hierarchic.ILayers,ldp:yfiles.hierarchic.ILayoutDataProvider,itemFactory:yfiles.hierarchic.IItemFactory):void; /** * Assigns new temporary port constraints to a given node of the graph after the order of the nodes in each layer has been * determined. @@ -98607,7 +99284,7 @@ declare namespace yfiles{ * @protected * @abstract */ - optimizeAfterSequencingForSingleNode(node:yfiles.algorithms.Node,inEdgeOrder:yfiles.collections.IComparer,outEdgeOrder:yfiles.collections.IComparer,graph:yfiles.layout.LayoutGraph,ldp:yfiles.hierarchic.ILayoutDataProvider,itemFactory:yfiles.hierarchic.IItemFactory):void; + optimizeAfterSequencingForSingleNode(node:yfiles.algorithms.Node,inEdgeOrder:yfiles.collections.IComparer,outEdgeOrder:yfiles.collections.IComparer,graph:yfiles.layout.LayoutGraph,ldp:yfiles.hierarchic.ILayoutDataProvider,itemFactory:yfiles.hierarchic.IItemFactory):void; /** * Removes the same-layer edge structure created using * {@link yfiles.hierarchic.PortConstraintOptimizerBase#insertSameLayerStructures}. @@ -98644,6 +99321,7 @@ declare namespace yfiles{ */ layoutOrientation:yfiles.layout.LayoutOrientation; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.PortConstraintOptimizerBase; } /** * This class is used by {@link yfiles.hierarchic.EdgeLayoutDescriptor} to specify the routing style for different types of edges. @@ -98651,7 +99329,7 @@ declare namespace yfiles{ * @see yfiles.hierarchic.IEdgeData#type * @class */ - export interface RoutingStyle extends Object{} + export interface RoutingStyle extends yfiles.lang.Object{} export class RoutingStyle { /** * Creates a new {@link yfiles.hierarchic.RoutingStyle} instance with the given routing style for each edge. @@ -98702,6 +99380,7 @@ declare namespace yfiles{ */ selfLoopRoutingStyle:yfiles.hierarchic.EdgeRoutingStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.RoutingStyle; } /** * This class calculates bend points for self-loops routed in orthogonal or octilinear fashion. @@ -98710,7 +99389,7 @@ declare namespace yfiles{ *

    * @class */ - export interface SelfLoopCalculator extends Object{} + export interface SelfLoopCalculator extends yfiles.lang.Object{} export class SelfLoopCalculator { /** * Creates a new instance of {@link yfiles.hierarchic.SelfLoopCalculator} using the given parameters. @@ -98864,6 +99543,7 @@ declare namespace yfiles{ */ static MINIMUM_EDGE_DISTANCE_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.SelfLoopCalculator; } /** * This class is a {@link yfiles.hierarchic.INodePlacer} implementation based on {@link yfiles.algorithms.RankAssignments rank assignment}. @@ -98873,7 +99553,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.INodePlacer} */ - export interface SimplexNodePlacer extends Object,yfiles.hierarchic.INodePlacer{} + export interface SimplexNodePlacer extends yfiles.lang.Object,yfiles.hierarchic.INodePlacer{} export class SimplexNodePlacer { constructor(); /** @@ -99075,12 +99755,27 @@ declare namespace yfiles{ */ barycenterMode:boolean; /** - * Gets or sets whether or not the {@link yfiles.hierarchic.SimplexNodePlacer} should break long edge segments in favor of a more - * compact layout. + * Gets or sets whether or not the {@link yfiles.hierarchic.SimplexNodePlacer} should break long edge segments in favor of a + * potentially more compact layout. + *

    + * A long edge is an edge that spans multiple layers. For each layer, a dummy node is necessary to model the edge path from + * source to target. + *

    + *
      + *
    • + * Not breaking such edges means that there is a constraint that enforces the alignment of all these dummy nodes (same + * x-coordinate). This favors straight edge paths. + *
    • + *
    • + * Breaking an edge means that the dummy nodes are not necessarily aligned, but additional bends can be generated if that + * leads to a horizontally more compact layout result. + *
    • + *
    * @type {boolean} */ breakLongSegments:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.SimplexNodePlacer; } /** * This class is used by {@link yfiles.hierarchic.HierarchicLayoutCore} during the various phases and models a swimlane structure. @@ -99102,19 +99797,19 @@ declare namespace yfiles{ * @class * @implements {yfiles.lang.IComparable} */ - export interface SwimlaneDescriptor extends Object,yfiles.lang.IComparable{} + export interface SwimlaneDescriptor extends yfiles.lang.Object,yfiles.lang.IComparable{} export class SwimlaneDescriptor { /** - * Creates a new {@link yfiles.hierarchic.SwimlaneDescriptor} instance with a given client {@link Object} and a given {@link yfiles.collections.IComparer.}. + * Creates a new {@link yfiles.hierarchic.SwimlaneDescriptor} instance with a given client {@link any} and a given {@link yfiles.collections.IComparer.}. *

    - * The given client {@link Object} should be an instance of {@link yfiles.lang.IComparable} if the given {@link yfiles.collections.IComparer.} is null. + * The given client {@link any} should be an instance of {@link yfiles.lang.IComparable} if the given {@link yfiles.collections.IComparer.} is null. *

    * @param clientObject a client {@link } used for sorting the lanes * @param comparer a {@link } used for comparing the client objects - * @throws {Stubs.Exceptions.ArgumentError} if the specified client {@link Object} is null or the specified {@link yfiles.collections.IComparer.} is null but the specified client {@link Object} is not an instance of + * @throws {Stubs.Exceptions.ArgumentError} if the specified client {@link any} is null or the specified {@link yfiles.collections.IComparer.} is null but the specified client {@link any} is not an instance of * {@link yfiles.lang.IComparable}. */ - constructor(clientObject:Object,comparer:yfiles.collections.IComparer); + constructor(clientObject:any,comparer:yfiles.collections.IComparer); /** * Creates a new {@link yfiles.hierarchic.SwimlaneDescriptor} instance with a given {@link yfiles.lang.IComparable} object. * @param clientObject a {@link } used for determining the order of the lanes @@ -99126,7 +99821,7 @@ declare namespace yfiles{ * @param o * @returns */ - compareTo(o:Object):number; + compareTo(o:any):number; /** * Gets or sets whether or not an index of a swimlane is fixed (based on the result of the comparison with the other * swimlanes) or whether the index should be chosen automatically in order to minimize edge lengths. @@ -99139,16 +99834,16 @@ declare namespace yfiles{ */ indexFixed:boolean; /** - * Gets or sets the client {@link Object object}. + * Gets or sets the client {@link any object}. *

    - * The given client {@link Object} should be an instance of {@link yfiles.lang.IComparable}. + * The given client {@link any} should be an instance of {@link yfiles.lang.IComparable}. *

    * @throws {Stubs.Exceptions.ArgumentError} if there is currently no {@link yfiles.collections.IComparer. comparator} and the specified object is not a {@link yfiles.lang.IComparable} instance * @see yfiles.hierarchic.SwimlaneDescriptor#comparer * @see yfiles.hierarchic.SwimlaneDescriptor#comparer - * @type {Object} + * @type {any} */ - clientObject:Object; + clientObject:any; /** * Gets or sets the tightness factor of the lane. *

    @@ -99168,9 +99863,9 @@ declare namespace yfiles{ /** * Gets or sets the {@link yfiles.collections.IComparer.} instance used for sorting the lanes. * @throws {Stubs.Exceptions.ArgumentError} if the specified {@link yfiles.collections.IComparer.} is null. - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - comparer:yfiles.collections.IComparer; + comparer:yfiles.collections.IComparer; /** * Gets or sets the minimum width of the swimlane. *

    @@ -99214,6 +99909,7 @@ declare namespace yfiles{ */ computedLaneIndex:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.SwimlaneDescriptor; } /** * This {@link yfiles.layout.ILayoutStage layout stage} can be used for automatically assigning {@link yfiles.hierarchic.SwimlaneDescriptor} instances to nodes by @@ -99254,6 +99950,7 @@ declare namespace yfiles{ */ orderSwimlanesFromSketch:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.TopLevelGroupToSwimlaneStage; } /** * This class implements the layering phase of the {@link yfiles.hierarchic.HierarchicLayout} (i.e., assignment of the nodes to @@ -99267,7 +99964,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface TopologicalLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface TopologicalLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class TopologicalLayerer { /** * Creates a new instance of {@link yfiles.hierarchic.TopologicalLayerer} with default settings. @@ -99287,6 +99984,7 @@ declare namespace yfiles{ */ rankingPolicy:yfiles.hierarchic.RankingPolicy; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.TopologicalLayerer; } /** * This class is a {@link yfiles.hierarchic.IDrawingDistanceCalculator} implementation that returns the minimum distances for each @@ -99294,7 +99992,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.IDrawingDistanceCalculator} */ - export interface TypeBasedDrawingDistanceCalculator extends Object,yfiles.hierarchic.IDrawingDistanceCalculator{} + export interface TypeBasedDrawingDistanceCalculator extends yfiles.lang.Object,yfiles.hierarchic.IDrawingDistanceCalculator{} export class TypeBasedDrawingDistanceCalculator { /** * Creates a new instance of {@link yfiles.hierarchic.TypeBasedDrawingDistanceCalculator} with default settings. @@ -99371,6 +100069,7 @@ declare namespace yfiles{ */ minimumFirstSegmentLength:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.TypeBasedDrawingDistanceCalculator; } /** * This class implements the layering phase of the {@link yfiles.hierarchic.HierarchicLayout} (i.e., the assignment of the nodes to @@ -99385,14 +100084,14 @@ declare namespace yfiles{ * @class * @implements {yfiles.hierarchic.ILayerer} */ - export interface WeightedLayerer extends Object,yfiles.hierarchic.ILayerer{} + export interface WeightedLayerer extends yfiles.lang.Object,yfiles.hierarchic.ILayerer{} export class WeightedLayerer { /** * Creates an instance of {@link yfiles.hierarchic.WeightedLayerer} with the given key that provides access to the {@link yfiles.algorithms.IDataProvider} * that holds the edge weights and unlimited maximum duration for the {@link yfiles.hierarchic.WeightedLayerer}. * @param [key=null] the key to access the {@link } that holds the edge weights */ - constructor(key?:Object); + constructor(key?:any); /** * Assigns all nodes of the graph to layers and adds them to the {@link yfiles.hierarchic.ILayers} instance. * @param graph the input graph @@ -99461,9 +100160,9 @@ declare namespace yfiles{ * representing the edge's weight. *

    * @protected - * @type {Object} + * @type {any} */ - key:Object; + key:any; /** * Gets or sets whether or not the edges that need to be reversed are determined using an edge weight based heuristic or * using a depth first search based approach. @@ -99484,6 +100183,7 @@ declare namespace yfiles{ */ maximumDuration:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.WeightedLayerer; } /** * Specifies custom data for the {@link yfiles.hierarchic.HierarchicLayout}. @@ -99577,27 +100277,27 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroupIds:yfiles.layout.ItemMapping; + sourceGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their source port group. * @see yfiles.layout.PortConstraintKeys#SOURCE_PORT_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourcePortGroupIds:yfiles.layout.ItemMapping; + sourcePortGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroupIds:yfiles.layout.ItemMapping; + targetGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target port group. * @see yfiles.layout.PortConstraintKeys#TARGET_PORT_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetPortGroupIds:yfiles.layout.ItemMapping; + targetPortGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets the factory to specify layer constraints. * @see yfiles.hierarchic.HierarchicLayout#createLayerConstraintFactory @@ -99712,6 +100412,7 @@ declare namespace yfiles{ */ edgeLabelPreferredPlacement:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.HierarchicLayoutData; } /** * Provides different ways to define a mapping from model items to incremental hints for use with @@ -99721,10 +100422,10 @@ declare namespace yfiles{ * this class should be set on an instance. *

    * @class - * @extends {yfiles.layout.ContextItemMapping.} + * @extends {yfiles.layout.ContextItemMapping.} * @final */ - export interface IncrementalHintItemMapping extends yfiles.layout.ContextItemMapping{} + export interface IncrementalHintItemMapping extends yfiles.layout.ContextItemMapping{} export class IncrementalHintItemMapping { constructor(); /** @@ -99738,6 +100439,7 @@ declare namespace yfiles{ */ incrementalSequencingItems:yfiles.layout.ItemCollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.IncrementalHintItemMapping; } /** * Specifies custom data for the {@link yfiles.hierarchic.SelfLoopCalculator}. @@ -99784,6 +100486,7 @@ declare namespace yfiles{ */ minimumOctilinearSegmentLengths:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.hierarchic.SelfLoopCalculatorData; } }export namespace labeling{ export enum OptimizationStrategy{ @@ -99873,6 +100576,7 @@ declare namespace yfiles{ */ maximumDuration:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.labeling.GenericLabeling; } /** * An abstract base class for generic labeling algorithms which place labels of graphs. @@ -99954,7 +100658,7 @@ declare namespace yfiles{ * @param graph the input graph * @param [key=null] the {@link } key for label selection */ - label(graph:yfiles.layout.LayoutGraph,key?:Object):void; + label(graph:yfiles.layout.LayoutGraph,key?:any):void; /** * Data provider key for mapping models to edge/node labels *

    @@ -99966,9 +100670,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.ILabelLayoutDpKey.} + * @type {yfiles.algorithms.ILabelLayoutDpKey.} */ - static LABEL_MODEL_DP_KEY:yfiles.algorithms.ILabelLayoutDpKey; + static LABEL_MODEL_DP_KEY:yfiles.algorithms.ILabelLayoutDpKey; /** * Gets or sets the {@link yfiles.layout.IProfitModel} for ranking the {@link yfiles.layout.LabelCandidate}s for labels. *

    @@ -100042,9 +100746,9 @@ declare namespace yfiles{ * The registered {@link yfiles.algorithms.IDataProvider} needs to map from {@link yfiles.layout.ILabelLayout} to {@link boolean} where true indicates * that a label should be placed and false indicates that a label should be ignored. *

    - * @type {Object} + * @type {any} */ - affectedLabelsDpKey:Object; + affectedLabelsDpKey:any; /** * Gets or sets whether or not edge labels are automatically flipped if otherwise they would be upside-down. * @type {boolean} @@ -100063,6 +100767,7 @@ declare namespace yfiles{ */ edgeGroupOverlapAllowed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.labeling.LabelingBase; } /** * A base class for generic labeling algorithms which solve the labeling problem by reducing it to the maximum independent @@ -100210,9 +100915,9 @@ declare namespace yfiles{ * The mapping from the {@link yfiles.layout.LabelCandidate}s to the corresponding nodes in the * {@link yfiles.labeling.MISLabelingBase#conflictGraph}. * @see yfiles.labeling.MISLabelingBase#conflictGraph - * @type {yfiles.collections.IMap.} + * @type {yfiles.collections.IMap.} */ - boxesToNodes:yfiles.collections.IMap; + boxesToNodes:yfiles.collections.IMap; /** * The mapping from nodes in the {@link yfiles.labeling.MISLabelingBase#conflictGraph} to a corresponding integer value (ID). *

    @@ -100288,6 +100993,7 @@ declare namespace yfiles{ */ reduceAmbiguity:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.labeling.MISLabelingBase; } /** * Specifies custom data for the {@link yfiles.labeling.GenericLabeling}. @@ -100329,15 +101035,15 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroupIds:yfiles.layout.ItemMapping; + sourceGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroupIds:yfiles.layout.ItemMapping; + targetGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from nodes to their {@link yfiles.layout.NodeHalo}. * @see yfiles.layout.NodeHalo#NODE_HALO_DP_KEY @@ -100359,6 +101065,7 @@ declare namespace yfiles{ */ edgeLabelPreferredPlacement:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.labeling.LabelingData; } }export namespace organic{ export enum InitialPlacement{ @@ -100620,7 +101327,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface ShuffleLayout extends Object,yfiles.layout.ILayoutStage{} + export interface ShuffleLayout extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class ShuffleLayout { /** * Creates a new instance of {@link yfiles.organic.ShuffleLayout} with default settings. @@ -100713,6 +101420,7 @@ declare namespace yfiles{ */ barycenterMode:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.ShuffleLayout; } /** * A layout algorithm that arranges graphs in an organic fashion, using a force-directed drawing approach. @@ -100971,6 +101679,7 @@ declare namespace yfiles{ */ orientationLayoutEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.ClassicOrganicLayout; } /** * A {@link yfiles.organic.InteractiveOrganicLayoutExecutionContext} provides control over the layout calculation in the case of @@ -100978,7 +101687,7 @@ declare namespace yfiles{ * @see yfiles.organic.InteractiveOrganicLayout#startLayout * @interface */ - export interface InteractiveOrganicLayoutExecutionContext extends Object{ + export interface InteractiveOrganicLayoutExecutionContext extends yfiles.lang.Object{ /** * Starts the layout calculation, continuing where it has stopped before and allowing a certain maximum duration in * milliseconds. @@ -100994,7 +101703,7 @@ declare namespace yfiles{ } var InteractiveOrganicLayoutExecutionContext:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.organic.InteractiveOrganicLayoutExecutionContext; }; /** * This algorithm arranges graphs in an organic fashion and offers special functionality to interact with the graph while @@ -101058,7 +101767,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutAlgorithm} */ - export interface InteractiveOrganicLayout extends Object,yfiles.layout.ILayoutAlgorithm{} + export interface InteractiveOrganicLayout extends yfiles.lang.Object,yfiles.layout.ILayoutAlgorithm{} export class InteractiveOrganicLayout { /** * Creates a new instance of the {@link yfiles.organic.InteractiveOrganicLayout} with default settings. @@ -101071,10 +101780,10 @@ declare namespace yfiles{ * The given event handler will be queued and executed at a specific time. The event handler can make structural changes * (e.g. removal/creation of edges or nodes). They will be synchronized with the rest of the layout algorithm. *

    - * @param handler The handler delegate that will be invoked using null as the sender and args as the event arguments + * @param handler The handler delegate that will be invoked using null as the sender and evt as the event arguments * @param evt The event argument that will be piped to the handler invocation. */ - addStructureUpdate(handler:(sender:Object,evt:yfiles.lang.EventArgs)=>void,evt:yfiles.lang.EventArgs):void; + addStructureUpdate(handler:(sender:any,evt:yfiles.lang.EventArgs)=>void,evt:yfiles.lang.EventArgs):void; /** * Calculates an organic layout for the given input graph, however, the layout is not automatically applied to the graph. *

    @@ -101431,6 +102140,7 @@ declare namespace yfiles{ */ outputRestriction:yfiles.organic.OutputRestriction; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.InteractiveOrganicLayout; } /** * This layout algorithm arranges graphs in an organic fashion. @@ -101798,6 +102508,7 @@ declare namespace yfiles{ */ outputRestriction:yfiles.organic.OutputRestriction; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.OrganicLayout; } /** * This layout stage enables support for handling a graph with a {@link yfiles.layout.PartitionGrid} structure. @@ -101842,6 +102553,7 @@ declare namespace yfiles{ */ constructor(core:yfiles.layout.ILayoutAlgorithm); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.OrganicPartitionGridLayoutStage; } /** * This layout stage removes node overlaps while changes to the original layout structure are avoided and a specified @@ -101917,6 +102629,7 @@ declare namespace yfiles{ */ minimumNodeDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.OrganicRemoveOverlapsStage; } /** * {@link yfiles.organic.OutputRestriction}s restrict the output area and the shape of a layout in conjunction with organic layout @@ -101928,7 +102641,7 @@ declare namespace yfiles{ * @see yfiles.organic.InteractiveOrganicLayout#outputRestriction * @class */ - export interface OutputRestriction extends Object{} + export interface OutputRestriction extends yfiles.lang.Object{} export class OutputRestriction { /** * Creates an {@link yfiles.organic.OutputRestriction} that confines the layout result to a rectangular area which roughly complies @@ -102024,6 +102737,7 @@ declare namespace yfiles{ */ static NONE:yfiles.organic.OutputRestriction; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.OutputRestriction; } /** * This algorithm recursively removes node overlaps from a graph with a hierarchic group structure. @@ -102066,6 +102780,7 @@ declare namespace yfiles{ */ shuffleLayout:yfiles.layout.ILayoutAlgorithm; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.RecursiveShuffleLayout; } /** * This {@link yfiles.layout.ILayoutStage} removes node overlaps and guarantees a certain minimum distance between nodes. @@ -102081,7 +102796,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface RemoveOverlapsStage extends Object,yfiles.layout.ILayoutStage{} + export interface RemoveOverlapsStage extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class RemoveOverlapsStage { /** * Creates a new {@link yfiles.organic.RemoveOverlapsStage} instance with a given {@link yfiles.organic.RemoveOverlapsStage#minimumNodeDistance minimum node distance}. @@ -102120,6 +102835,7 @@ declare namespace yfiles{ */ coreLayout:yfiles.layout.ILayoutAlgorithm; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.RemoveOverlapsStage; } /** * This layout stage replaces edges by a path of split-edges with a specified length before it calls a {@link yfiles.organic.SplitEdgeStage#coreLayout core layout algorithm}. @@ -102166,7 +102882,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface SplitEdgeStage extends Object,yfiles.layout.ILayoutStage{} + export interface SplitEdgeStage extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class SplitEdgeStage { /** * Creates a new {@link yfiles.organic.SplitEdgeStage} with default settings. @@ -102184,9 +102900,9 @@ declare namespace yfiles{ * If no {@link yfiles.algorithms.IDataProvider} is registered with this key, all edges will be split. *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; /** * Gets or sets the {@link yfiles.algorithms.IDataProvider} key for marking the nodes that were created by splitting edges, i.e., * the split-nodes. @@ -102196,9 +102912,9 @@ declare namespace yfiles{ * split-nodes will have been removed and this information will not be available anymore. *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null - * @type {Object} + * @type {any} */ - splitNodesDpKey:Object; + splitNodesDpKey:any; /** * Gets or sets the maximum length for a split-edge. *

    @@ -102227,6 +102943,7 @@ declare namespace yfiles{ */ coreLayout:yfiles.layout.ILayoutAlgorithm; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.SplitEdgeStage; } /** * Specifies custom data for the {@link yfiles.organic.OrganicLayout}. @@ -102311,6 +103028,7 @@ declare namespace yfiles{ */ edgeDirectedness:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.organic.OrganicLayoutData; } }export namespace router{ /** @@ -102512,6 +103230,7 @@ declare namespace yfiles{ */ adjustLeadingEdge:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.ParallelEdgeRouter; } export enum Scope{ /** @@ -102615,9 +103334,9 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null * @see yfiles.router.StraightLineEdgeRouter#scope - * @type {Object} + * @type {any} */ - affectedNodesDpKey:Object; + affectedNodesDpKey:any; /** * Gets or sets the key to register a {@link yfiles.algorithms.IDataProvider} that provides the selected state of the edges of the * graph. @@ -102627,10 +103346,11 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null * @see yfiles.router.StraightLineEdgeRouter#scope - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.StraightLineEdgeRouter; } /** * This class describes the location and the direction from which a given {@link yfiles.router.PartitionCell partition cell} has been entered during a path @@ -102641,7 +103361,7 @@ declare namespace yfiles{ *

    * @class */ - export interface CellEntrance extends Object{} + export interface CellEntrance extends yfiles.lang.Object{} export class CellEntrance { /** * Creates a new {@link yfiles.router.CellEntrance} instance that is a copy of a given other {@link yfiles.router.CellEntrance}. @@ -102697,6 +103417,7 @@ declare namespace yfiles{ */ previousEdgeCellInfo:yfiles.router.EdgeCellInfo; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.CellEntrance; } /** * This class stores information about the part of an edge segment that lies inside a specified {@link yfiles.router.PartitionCell partition cell}. @@ -102727,6 +103448,7 @@ declare namespace yfiles{ */ cell:yfiles.router.PartitionCell; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.CellSegmentInfo; } /** * This class describes a channel, i.e., a set of vertical or horizontal edge segments whose locations depend on each @@ -102737,7 +103459,7 @@ declare namespace yfiles{ *

    * @class */ - export interface Channel extends Object{} + export interface Channel extends yfiles.lang.Object{} export class Channel { /** * Creates a new {@link yfiles.router.Channel} that contains the given {@link yfiles.router.SegmentInfo segment info}. @@ -102824,6 +103546,7 @@ declare namespace yfiles{ */ bounds:yfiles.algorithms.YRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.Channel; } /** * This class routes edges using their pre-calculated {@link yfiles.router.Path} information. @@ -102843,7 +103566,7 @@ declare namespace yfiles{ * @see yfiles.layout.LayoutGraph#setPath * @class */ - export interface ChannelBasedPathRouting extends Object{} + export interface ChannelBasedPathRouting extends yfiles.lang.Object{} export class ChannelBasedPathRouting { /** * Creates a new instance of {@link yfiles.router.ChannelBasedPathRouting}. @@ -102892,7 +103615,7 @@ declare namespace yfiles{ * @returns a {@link comparator} used for sorting the {@link }s in a {@link channel} * @protected */ - createSegmentInfoComparer(channels:yfiles.algorithms.YList,pathSearchResult:yfiles.router.PathSearchResult,configuration:yfiles.router.PathSearchConfiguration):yfiles.collections.IComparer; + createSegmentInfoComparer(channels:yfiles.algorithms.YList,pathSearchResult:yfiles.router.PathSearchResult,configuration:yfiles.router.PathSearchConfiguration):yfiles.collections.IComparer; /** * Initializes this {@link yfiles.router.ChannelBasedPathRouting} instance for routing paths that have been found with the given * {@link yfiles.router.PathSearchConfiguration configuration}. @@ -102957,7 +103680,7 @@ declare namespace yfiles{ * @param segmentInfoComparer the comparator used for sorting the list of {@link }s * @protected */ - sortSegmentInfos(segmentInfos:yfiles.collections.IList,segmentInfoComparer:yfiles.collections.IComparer):void; + sortSegmentInfos(segmentInfos:yfiles.collections.IList,segmentInfoComparer:yfiles.collections.IComparer):void; /** * Gets the {@link yfiles.router.PathSearchConfiguration path search configuration} with which the {@link yfiles.router.ChannelBasedPathRouting} has been {@link yfiles.router.ChannelBasedPathRouting#initialize initialized}. * @see yfiles.router.ChannelBasedPathRouting#initialize @@ -102966,6 +103689,7 @@ declare namespace yfiles{ */ configuration:yfiles.router.PathSearchConfiguration; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.ChannelBasedPathRouting; } /** * This class describes an {@link yfiles.router.IObstaclePartition} that decomposes its area dynamically. @@ -102977,7 +103701,7 @@ declare namespace yfiles{ * @implements {yfiles.router.IObstaclePartition} * @implements {yfiles.router.IDynamicDecomposition} */ - export interface DynamicObstacleDecomposition extends Object,yfiles.router.IObstaclePartition,yfiles.router.IDynamicDecomposition{} + export interface DynamicObstacleDecomposition extends yfiles.lang.Object,yfiles.router.IObstaclePartition,yfiles.router.IDynamicDecomposition{} export class DynamicObstacleDecomposition { /** * Constructs a new instance of {@link yfiles.router.DynamicObstacleDecomposition}. @@ -103024,19 +103748,19 @@ declare namespace yfiles{ * @see yfiles.router.IDecompositionListener * @protected */ - fireSubdividedEvent(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; + fireSubdividedEvent(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; /** * Returns a list of all {@link yfiles.router.PartitionCell}s that intersect or cover the given rectangle. * @param rect the rectangular area whose (partially) covered cells will be returned * @returns a list of {@link }s that (partially) cover the given rectangular area */ - getCells(rect:yfiles.algorithms.YRectangle):yfiles.collections.IList; + getCells(rect:yfiles.algorithms.YRectangle):yfiles.collections.IList; /** * Returns all {@link yfiles.router.PartitionCell partition cells} that are completely covered by the given {@link yfiles.router.Obstacle}. * @param obstacle the obstacle for which the covered cells will be returned * @returns an unmodifiable list of {@link } instances that are completely covered by the given obstacle */ - getCellsForObstacle(obstacle:yfiles.router.Obstacle):yfiles.collections.IList; + getCellsForObstacle(obstacle:yfiles.router.Obstacle):yfiles.collections.IList; /** * Calculates the cost of a cut with respect to the geometry of the sub-cells. *

    @@ -103061,7 +103785,7 @@ declare namespace yfiles{ * @param cell the cell whose neighbors will be returned * @returns the neighbor cells of the given cell */ - getNeighbors(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getNeighbors(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Calculates the cost of a cut with respect to the subdivided obstacles. *

    @@ -103084,7 +103808,7 @@ declare namespace yfiles{ * @param cell the partition cell for which the obstacles will be returned * @returns an unmodifiable list of {@link } instances that cover the given cell */ - getObstacles(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getObstacles(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Initializes this {@link yfiles.router.DynamicObstacleDecomposition} instance with the given obstacles and partition bounds. *

    @@ -103093,7 +103817,7 @@ declare namespace yfiles{ * @param obstacles a list of {@link } objects * @param partitionBounds the bounds of the partition */ - init(obstacles:yfiles.collections.IList,partitionBounds:yfiles.algorithms.YRectangle):void; + init(obstacles:yfiles.collections.IList,partitionBounds:yfiles.algorithms.YRectangle):void; /** * Removes the given {@link yfiles.router.IDecompositionListener dynamic decomposition listener} such that it no longer receives {@link yfiles.router.PartitionCell} subdivision * and creation events from this decomposition. @@ -103134,12 +103858,13 @@ declare namespace yfiles{ */ bounds:yfiles.algorithms.YRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.DynamicObstacleDecomposition; } /** * This class encapsulates the information that determines the route of a specific edge within a specific {@link yfiles.router.PartitionCell partition cell}. * @class */ - export interface EdgeCellInfo extends Object{} + export interface EdgeCellInfo extends yfiles.lang.Object{} export class EdgeCellInfo { /** * Creates a new {@link yfiles.router.EdgeCellInfo} instance. @@ -103235,13 +103960,14 @@ declare namespace yfiles{ */ cellSegmentInfos:yfiles.algorithms.YList; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.EdgeCellInfo; } /** * This class encapsulates the information required to route an edge with a path routing algorithm. * @see yfiles.router.ChannelBasedPathRouting * @class */ - export interface EdgeInfo extends Object{} + export interface EdgeInfo extends yfiles.lang.Object{} export class EdgeInfo { /** * Creates a new {@link yfiles.router.EdgeInfo} instance. @@ -103301,9 +104027,9 @@ declare namespace yfiles{ /** * Gets a list of {@link yfiles.router.EdgeCellInfo}s describing how the edge traverses each {@link yfiles.router.PartitionCell} on its * path. - * @type {yfiles.collections.IList.} + * @type {yfiles.collections.IList.} */ - edgeCellInfos:yfiles.collections.IList; + edgeCellInfos:yfiles.collections.IList; /** * Gets or sets the location of the strong source port that the edge uses. *

    @@ -103327,6 +104053,7 @@ declare namespace yfiles{ */ strongTargetPort:yfiles.algorithms.YPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.EdgeInfo; } /** * This class is used by {@link yfiles.router.EdgeRouter} to provide routing details for the edges of the graph. @@ -103342,7 +104069,7 @@ declare namespace yfiles{ * @see yfiles.router.EdgeRouter#EDGE_LAYOUT_DESCRIPTOR_DP_KEY * @class */ - export interface EdgeLayoutDescriptor extends Object{} + export interface EdgeLayoutDescriptor extends yfiles.lang.Object{} export class EdgeLayoutDescriptor { /** * Creates a new instance of an {@link yfiles.router.EdgeLayoutDescriptor} with the default settings. @@ -103417,6 +104144,7 @@ declare namespace yfiles{ */ penaltySettings:yfiles.router.PenaltySettings; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.EdgeLayoutDescriptor; } /** * This edge routing algorithm applies polyline routes to the edges of the graph. @@ -103568,7 +104296,7 @@ declare namespace yfiles{ * @returns a {@link } instance * @protected */ - createDefaultEdgeOrderComparer(graph:yfiles.layout.LayoutGraph,configuration:yfiles.router.PathSearchConfiguration):yfiles.collections.IComparer; + createDefaultEdgeOrderComparer(graph:yfiles.layout.LayoutGraph,configuration:yfiles.router.PathSearchConfiguration):yfiles.collections.IComparer; /** * Creates a {@link yfiles.router.GraphPartition} instance that divides the area of the graph into several rectangles. *

    @@ -103764,9 +104492,9 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified {@link yfiles.algorithms.IDataProvider} key is null * @see yfiles.router.EdgeRouter#scope - * @type {Object} + * @type {any} */ - affectedNodesDpKey:Object; + affectedNodesDpKey:any; /** * Gets or sets the {@link yfiles.algorithms.IDataProvider} key to look up the selection state of the edges. *

    @@ -103776,15 +104504,15 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified {@link yfiles.algorithms.IDataProvider} key is null * @see yfiles.router.EdgeRouter#scope - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; /** * Gets or sets a custom {@link yfiles.collections.IComparer.} to define the processing order of the edges. * @see yfiles.router.EdgeRouter#createDefaultEdgeOrderComparer - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - edgeComparer:yfiles.collections.IComparer; + edgeComparer:yfiles.collections.IComparer; /** * Gets or sets whether or not the routing algorithm considers the labels of the nodes as obstacles when calculating the * edge routes to avoid overlaps. @@ -103846,9 +104574,9 @@ declare namespace yfiles{ * * @see yfiles.router.EdgeRouter#createGraphPartition * @see yfiles.router.EdgeRouter#configureGraphPartition - * @type {yfiles.collections.IList.} + * @type {yfiles.collections.IList.} */ - registeredPartitionExtensions:yfiles.collections.IList; + registeredPartitionExtensions:yfiles.collections.IList; /** * Gets a list of all registered {@link yfiles.router.PathSearchExtension}s. *

    @@ -103881,15 +104609,16 @@ declare namespace yfiles{ * * @see yfiles.router.EdgeRouter#createPathSearch * @see yfiles.router.EdgeRouter#configurePathSearch - * @type {yfiles.collections.IList.} + * @type {yfiles.collections.IList.} */ - registeredPathSearchExtensions:yfiles.collections.IList; + registeredPathSearchExtensions:yfiles.collections.IList; /** * Gets the {@link yfiles.router.GraphPartition} instance used during the routing process. * @type {yfiles.router.GraphPartition} */ partition:yfiles.router.GraphPartition; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.EdgeRouter; } export enum Alignment{ /** @@ -103965,7 +104694,7 @@ declare namespace yfiles{ * @implements {yfiles.router.IDynamicDecomposition} * @implements {yfiles.router.IDecompositionListener} */ - export interface GraphPartition extends Object,yfiles.router.IPartition,yfiles.router.IDynamicDecomposition,yfiles.router.IDecompositionListener{} + export interface GraphPartition extends yfiles.lang.Object,yfiles.router.IPartition,yfiles.router.IDynamicDecomposition,yfiles.router.IDecompositionListener{} export class GraphPartition { /** * Creates a new {@link yfiles.router.GraphPartition} instance using the given {@link yfiles.router.GraphPartition#partition delegate inner obstacle partition}. @@ -103999,7 +104728,7 @@ declare namespace yfiles{ * @param data the additional data that should be associated with the obstacle * @returns a new {@link } using the given bounds and data */ - createObstacle(bounds:yfiles.algorithms.YRectangle,data:Object):yfiles.router.Obstacle; + createObstacle(bounds:yfiles.algorithms.YRectangle,data:any):yfiles.router.Obstacle; /** * Returns a list of all {@link yfiles.router.PartitionCell}s that intersect or cover the given rectangle by delegating to the * corresponding method of the {@link yfiles.router.GraphPartition#partition inner partition}. @@ -104007,7 +104736,7 @@ declare namespace yfiles{ * @returns a list containing (partially) covered {@link }s * @see yfiles.router.IPartition#getCells */ - getCells(rect:yfiles.algorithms.YRectangle):yfiles.collections.IList; + getCells(rect:yfiles.algorithms.YRectangle):yfiles.collections.IList; /** * Returns all {@link yfiles.router.PartitionCell}s that are completely covered by the bounds of the given node. * @param node the node for which the covered cells will be returned @@ -104015,7 +104744,7 @@ declare namespace yfiles{ * node * @throws {Stubs.Exceptions.ArgumentError} if the node is unknown */ - getCellsForNode(node:yfiles.algorithms.Node):yfiles.collections.IList; + getCellsForNode(node:yfiles.algorithms.Node):yfiles.collections.IList; /** * Returns a list of all * {@link yfiles.router.PartitionCell}s that are neighbors of the given cell, i.e., those cells that have a common border segment @@ -104023,19 +104752,19 @@ declare namespace yfiles{ * @param cell the cell whose neighbors will be returned * @returns a list of {@link }s that are neighbors of the given cell */ - getNeighbors(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getNeighbors(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Returns a list of all {@link yfiles.algorithms.Node}s whose bounds intersect or cover the bounds of the given cell. * @param cell the cell * @returns a list of {@link }s that are intersected by the given cell */ - getNodes(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getNodes(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Returns the {@link yfiles.router.Obstacle} that has been created earlier for the given data object. * @param data the given data for which the obstacle will be returned * @returns the {@link } that has been created earlier for the given data object */ - getObstacle(data:Object):yfiles.router.Obstacle; + getObstacle(data:any):yfiles.router.Obstacle; /** * Returns all {@link yfiles.router.Obstacle}s covering the given {@link yfiles.router.PartitionCell} by delegating to the corresponding * method of the {@link yfiles.router.GraphPartition#partition inner partition}. @@ -104043,7 +104772,7 @@ declare namespace yfiles{ * @returns a list of {@link }s that cover the given cell * @see yfiles.router.IObstaclePartition#getObstacles */ - getObstacles(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getObstacles(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Initializes the {@link yfiles.router.GraphPartition} with the given graph instance based on the given {@link yfiles.router.PathSearchConfiguration configuration} used by path * search algorithms. @@ -104092,7 +104821,7 @@ declare namespace yfiles{ * @param cell the cell that has been subdivided * @param subCells the sub-cells resulting from the subdivision of the given {@link } */ - onCellSubdivided(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; + onCellSubdivided(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; /** * Removes the given listener from the {@link yfiles.router.GraphPartition}. *

    @@ -104117,6 +104846,7 @@ declare namespace yfiles{ */ bounds:yfiles.algorithms.YRectangle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.GraphPartition; } /** * {@link yfiles.router.GraphPartitionExtensionAdapter} provides an empty implementation of @@ -104130,7 +104860,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.router.IGraphPartitionExtension} */ - export interface GraphPartitionExtensionAdapter extends Object,yfiles.router.IGraphPartitionExtension{} + export interface GraphPartitionExtensionAdapter extends yfiles.lang.Object,yfiles.router.IGraphPartitionExtension{} export class GraphPartitionExtensionAdapter { /** * Creates a new instance of {@link yfiles.router.GraphPartitionExtensionAdapter}. @@ -104155,7 +104885,7 @@ declare namespace yfiles{ * @param cell * @param subCells */ - onCellSubdivided(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; + onCellSubdivided(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; /** * Stores the given {@link yfiles.router.PathSearchConfiguration} and {@link yfiles.router.GraphPartition} such that they are accessible * through {@link yfiles.router.GraphPartitionExtensionAdapter#configuration} and {@link yfiles.router.GraphPartitionExtensionAdapter#graphPartition}, respectively. @@ -104177,6 +104907,7 @@ declare namespace yfiles{ */ configuration:yfiles.router.PathSearchConfiguration; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.GraphPartitionExtensionAdapter; } /** * This class provides support for routing edges on equidistant grid lines. @@ -104186,7 +104917,7 @@ declare namespace yfiles{ * @class * @final */ - export interface Grid extends Object{} + export interface Grid extends yfiles.lang.Object{} export class Grid { /** * Creates a new {@link yfiles.router.Grid} instance. @@ -104214,6 +104945,7 @@ declare namespace yfiles{ */ spacing:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.Grid; } /** * This interface should be implemented by classes that dispatch notifications about changes in {@link yfiles.router.IPartition}s. @@ -104223,7 +104955,7 @@ declare namespace yfiles{ * @see yfiles.router.IDecompositionListener * @interface */ - export interface IDynamicDecomposition extends Object{ + export interface IDynamicDecomposition extends yfiles.lang.Object{ /** * Adds the given {@link yfiles.router.IDecompositionListener} that will be notified of dynamic decomposition events to the * {@link yfiles.router.IPartition}. @@ -104243,7 +104975,7 @@ declare namespace yfiles{ } var IDynamicDecomposition:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.router.IDynamicDecomposition; }; /** * This interface is implemented by classes that require to be notified of changes in {@link yfiles.router.IPartition}s. @@ -104252,7 +104984,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IDecompositionListener extends Object{ + export interface IDecompositionListener extends yfiles.lang.Object{ /** * Callback after the new given {@link yfiles.router.PartitionCell} has been created. * @param createdCell the newly created {@link } @@ -104274,11 +105006,11 @@ declare namespace yfiles{ * @param subCells the sub-cells resulting from the subdivision of the given {@link } * @abstract */ - onCellSubdivided(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; + onCellSubdivided(cell:yfiles.router.PartitionCell,subCells:yfiles.collections.IList):void; } var IDecompositionListener:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.router.IDecompositionListener; }; /** * This interface provides additional intervals in order to move from one {@link yfiles.router.PartitionCell partition cell} into an adjacent one. @@ -104292,7 +105024,7 @@ declare namespace yfiles{ * @see yfiles.router.PathSearch#addAdditionalEnterIntervalCalculator * @interface */ - export interface IEnterIntervalCalculator extends Object{ + export interface IEnterIntervalCalculator extends yfiles.lang.Object{ /** * Appends additional enter intervals to the given list of enter intervals for moving from the {@link yfiles.router.PartitionCell partition cell} of the * current {@link yfiles.router.CellEntrance} to the neighboring cell. @@ -104303,11 +105035,11 @@ declare namespace yfiles{ * @param context the context of the path search * @abstract */ - appendEnterIntervals(currentEntrance:yfiles.router.CellEntrance,enteredCell:yfiles.router.PartitionCell,commonInterval:yfiles.router.OrthogonalInterval,allEnterIntervals:yfiles.collections.IList,context:yfiles.router.PathSearchContext):void; + appendEnterIntervals(currentEntrance:yfiles.router.CellEntrance,enteredCell:yfiles.router.PartitionCell,commonInterval:yfiles.router.OrthogonalInterval,allEnterIntervals:yfiles.collections.IList,context:yfiles.router.PathSearchContext):void; } var IEnterIntervalCalculator:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.router.IEnterIntervalCalculator; }; /** * This interface provides methods for extending the functionality of a {@link yfiles.router.GraphPartition}. @@ -104323,7 +105055,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.router.IDecompositionListener} */ - export interface IGraphPartitionExtension extends Object,yfiles.router.IDecompositionListener{ + export interface IGraphPartitionExtension extends yfiles.lang.Object,yfiles.router.IDecompositionListener{ /** * Cleans up the extension from the last partitioning with the current {@link yfiles.router.PathSearchConfiguration configuration} and {@link yfiles.router.GraphPartition}. * @abstract @@ -104344,7 +105076,7 @@ declare namespace yfiles{ } var IGraphPartitionExtension:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.router.IGraphPartitionExtension; }; /** * This class implements a {@link yfiles.router.IPartition} that takes a list of {@link yfiles.router.Obstacle}s as input to subdivide an @@ -104367,7 +105099,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.router.IPartition} */ - export interface IObstaclePartition extends Object,yfiles.router.IPartition{ + export interface IObstaclePartition extends yfiles.lang.Object,yfiles.router.IPartition{ /** * Clears the partition data such that the {@link yfiles.router.IObstaclePartition} can be reused and {@link yfiles.router.IObstaclePartition#init initialized} with new * {@link yfiles.router.Obstacle}s. @@ -104381,14 +105113,14 @@ declare namespace yfiles{ * @returns an unmodifiable list of {@link } instances that are completely covered by the given obstacle * @abstract */ - getCellsForObstacle(obstacle:yfiles.router.Obstacle):yfiles.collections.IList; + getCellsForObstacle(obstacle:yfiles.router.Obstacle):yfiles.collections.IList; /** * Returns all {@link yfiles.router.Obstacle}s that cover the given {@link yfiles.router.PartitionCell}. * @param cell the partition cell for which the obstacles will be returned * @returns an unmodifiable list of {@link } instances that cover the given cell * @abstract */ - getObstacles(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getObstacles(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Initializes a new {@link yfiles.router.IObstaclePartition} of the area with the given bounds using the given list of * {@link yfiles.router.Obstacle}s. @@ -104400,11 +105132,11 @@ declare namespace yfiles{ * @see yfiles.router.IObstaclePartition#clear * @abstract */ - init(obstacles:yfiles.collections.IList,bounds:yfiles.algorithms.YRectangle):void; + init(obstacles:yfiles.collections.IList,bounds:yfiles.algorithms.YRectangle):void; } var IObstaclePartition:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.router.IObstaclePartition; }; /** * This class divides a rectangular area into one or more {@link yfiles.router.PartitionCell}s. @@ -104414,14 +105146,14 @@ declare namespace yfiles{ *

    * @interface */ - export interface IPartition extends Object{ + export interface IPartition extends yfiles.lang.Object{ /** * Returns a list of all {@link yfiles.router.PartitionCell}s that intersect or cover the given rectangle. * @param rect the rectangular area whose (partially) covered cells will be returned * @returns a list of {@link }s that (partially) cover the given rectangular area * @abstract */ - getCells(rect:yfiles.algorithms.YRectangle):yfiles.collections.IList; + getCells(rect:yfiles.algorithms.YRectangle):yfiles.collections.IList; /** * Returns a list of all * {@link yfiles.router.PartitionCell}s that are neighbors of the given cell, i.e., those cells that have a common border segment @@ -104430,7 +105162,7 @@ declare namespace yfiles{ * @returns a list of {@link }s that are neighbors of the given cell * @abstract */ - getNeighbors(cell:yfiles.router.PartitionCell):yfiles.collections.IList; + getNeighbors(cell:yfiles.router.PartitionCell):yfiles.collections.IList; /** * Gets the bounds of the original rectangular area that is partitioned. * @abstract @@ -104440,13 +105172,13 @@ declare namespace yfiles{ } var IPartition:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.router.IPartition; }; /** * This class represents a one-dimensional closed interval. * @class */ - export interface Interval extends Object{} + export interface Interval extends yfiles.lang.Object{} export class Interval { /** * Creates a new {@link yfiles.router.Interval} between the given bounds. @@ -104616,20 +105348,21 @@ declare namespace yfiles{ */ size:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.Interval; } /** * This class describes the obstacles that are used by implementations of {@link yfiles.router.IObstaclePartition} to subdivide an * area into {@link yfiles.router.PartitionCell}s. * @class */ - export interface Obstacle extends Object{} + export interface Obstacle extends yfiles.lang.Object{} export class Obstacle { /** * Creates a new {@link yfiles.router.Obstacle} instance with the given bounds and additional data. * @param bounds the bounds of the obstacle * @param data the additional data associated to the obstacle */ - constructor(bounds:yfiles.algorithms.YRectangle,data:Object); + constructor(bounds:yfiles.algorithms.YRectangle,data:any); /** * Gets the bounds of the obstacle. * @type {yfiles.algorithms.YRectangle} @@ -104637,10 +105370,11 @@ declare namespace yfiles{ bounds:yfiles.algorithms.YRectangle; /** * Gets the additional data related to the obstacle. - * @type {Object} + * @type {any} */ - data:Object; + data:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.Obstacle; } /** * A horizontal or vertical {@link yfiles.router.Interval} that additionally stores a y- (in the horizontal case) or x-coordinate @@ -104652,7 +105386,7 @@ declare namespace yfiles{ * @see yfiles.router.PathSearch * @class */ - export interface OrthogonalInterval extends Object{} + export interface OrthogonalInterval extends yfiles.lang.Object{} export class OrthogonalInterval { /** * Creates a new {@link yfiles.router.OrthogonalInterval} instance using the from and to value as interval bounds. @@ -104814,13 +105548,14 @@ declare namespace yfiles{ */ center:yfiles.algorithms.YPoint; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.OrthogonalInterval; } /** * This class is a type-safe enumeration used for defining the border of a {@link yfiles.router.PartitionCell}. * @see yfiles.router.PartitionCell#createBorderInterval * @class */ - export interface PartitionCellBorder extends Object{} + export interface PartitionCellBorder extends yfiles.lang.Object{} export class PartitionCellBorder { /** * Returns the type of the border that is passed through when entering a {@link yfiles.router.PartitionCell} in the given @@ -104900,6 +105635,7 @@ declare namespace yfiles{ */ mirrorBorder:yfiles.router.PartitionCellBorder; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PartitionCellBorder; } /** * A {@link yfiles.router.PartitionCell} represents a rectangular part of a {@link yfiles.router.IPartition} as result of the decomposition @@ -104913,7 +105649,7 @@ declare namespace yfiles{ * @see yfiles.router.PartitionCellKeys * @class */ - export interface PartitionCell extends Object{} + export interface PartitionCell extends yfiles.lang.Object{} export class PartitionCell { /** * Creates a new {@link yfiles.router.PartitionCell} instance of the given {@link yfiles.router.IPartition} with the given bounds. @@ -104966,7 +105702,7 @@ declare namespace yfiles{ * @see yfiles.router.PartitionCell#clearData * @see yfiles.router.PartitionCellKeys */ - getData(key:Object):Object; + getData(key:any):any; /** * Stores the additional data associated with the given key for this {@link yfiles.router.PartitionCell}. * @param key the key with which the additional data will be associated @@ -104977,7 +105713,7 @@ declare namespace yfiles{ * @see yfiles.router.PartitionCell#clearData * @see yfiles.router.PartitionCellKeys */ - putData(key:Object,data:Object):Object; + putData(key:any,data:any):any; /** * Removes the additional data associated with the given key for this {@link yfiles.router.PartitionCell}. * @param key the key for which the associated data will be removed @@ -104987,7 +105723,7 @@ declare namespace yfiles{ * @see yfiles.router.PartitionCell#clearData * @see yfiles.router.PartitionCellKeys */ - removeData(key:Object):Object; + removeData(key:any):any; /** * Gets the {@link yfiles.router.IPartition partition} to which this {@link yfiles.router.PartitionCell} belongs. * @see yfiles.router.IPartition @@ -105035,6 +105771,7 @@ declare namespace yfiles{ */ height:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PartitionCell; } /** * This class defines keys to obtain additional information about a {@link yfiles.router.PartitionCell}. @@ -105045,79 +105782,80 @@ declare namespace yfiles{ * @class * @static */ - export interface PartitionCellKeys extends Object{} + export interface PartitionCellKeys extends yfiles.lang.Object{} export class PartitionCellKeys { /** * The key references a {@link yfiles.collections.IList.} of nodes whose bounds are covering a certain {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static NODES_KEY:Object; + static NODES_KEY:any; /** * The key references a {@link yfiles.collections.IList.} of nodes being in node to edge distance to a certain {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static NODES_IN_NODE_TO_EDGE_DISTANCE_KEY:Object; + static NODES_IN_NODE_TO_EDGE_DISTANCE_KEY:any; /** * The key references a {@link yfiles.collections.IList.} of {@link yfiles.layout.INodeLabelLayout}s covering a certain {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static NODE_LABEL_LAYOUTS_KEY:Object; + static NODE_LABEL_LAYOUTS_KEY:any; /** * The key references a {@link yfiles.collections.IList.} of {@link number} values representing factors that are multiplied by an edge's {@link yfiles.router.PenaltySettings#nodeLabelCrossingPenalty node label crossing costs} in case * the edge crosses the corresponding {@link yfiles.layout.INodeLabelLayout node label} registered with key * {@link yfiles.router.PartitionCellKeys#NODE_LABEL_LAYOUTS_KEY}. * @const * @static - * @type {Object} + * @type {any} */ - static NODE_LABEL_CROSSING_COST_FACTORS_KEY:Object; + static NODE_LABEL_CROSSING_COST_FACTORS_KEY:any; /** * The key references a {@link yfiles.collections.IList.} of {@link yfiles.layout.IEdgeLabelLayout}s covering a certain {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static EDGE_LABEL_LAYOUTS_KEY:Object; + static EDGE_LABEL_LAYOUTS_KEY:any; /** * The key references a {@link yfiles.collections.IList.} of {@link number} values representing factors that are multiplied by an edge's {@link yfiles.router.PenaltySettings#edgeLabelCrossingPenalty edge label crossing costs} in case * the edge crosses the corresponding {@link yfiles.layout.IEdgeLabelLayout edge label} registered with key * {@link yfiles.router.PartitionCellKeys#EDGE_LABEL_LAYOUTS_KEY}. * @const * @static - * @type {Object} + * @type {any} */ - static EDGE_LABEL_CROSSING_COST_FACTORS_KEY:Object; + static EDGE_LABEL_CROSSING_COST_FACTORS_KEY:any; /** * The key references the {@link yfiles.layout.PartitionCellId} of the {@link yfiles.layout.PartitionGrid} cell covering a certain * {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static PARTITION_GRID_CELL_ID_KEY:Object; + static PARTITION_GRID_CELL_ID_KEY:any; /** * The key references the row index of the {@link yfiles.layout.PartitionGrid} cell covering a certain * {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static PARTITION_GRID_ROW_INDEX_KEY:Object; + static PARTITION_GRID_ROW_INDEX_KEY:any; /** * The key references the column index of the {@link yfiles.layout.PartitionGrid} cell covering a certain * {@link yfiles.router.PartitionCell}. * @const * @static - * @type {Object} + * @type {any} */ - static PARTITION_GRID_COLUMN_INDEX_KEY:Object; + static PARTITION_GRID_COLUMN_INDEX_KEY:any; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PartitionCellKeys; } /** * A {@link yfiles.router.Path} represents the result of a path search as a list of consecutive {@link yfiles.router.CellEntrance}s. @@ -105129,7 +105867,7 @@ declare namespace yfiles{ * @see yfiles.router.PathSearchResult * @class */ - export interface Path extends Object{} + export interface Path extends yfiles.lang.Object{} export class Path { /** * Creates a new instance of {@link yfiles.router.Path} for the given edge, {@link yfiles.router.CellEntrance cell entrances} and cost. @@ -105137,7 +105875,7 @@ declare namespace yfiles{ * @param entrances the list of {@link } objects describing the edge path from source node to target node * @param cost the overall cost of this path */ - constructor(edge:yfiles.algorithms.Edge,entrances:yfiles.collections.IList,cost:number); + constructor(edge:yfiles.algorithms.Edge,entrances:yfiles.collections.IList,cost:number); /** * Returns the {@link yfiles.router.CellEntrance} at the given position of this path. * @param position the position of the {@link } to return @@ -105176,6 +105914,7 @@ declare namespace yfiles{ */ cost:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.Path; } /** * This is a pathfinding algorithm that calculates the shortest (i.e., the cheapest) paths for a set of edges through a @@ -105207,7 +105946,7 @@ declare namespace yfiles{ * @see yfiles.router.PathSearch#addAdditionalEnterIntervalCalculator * @class */ - export interface PathSearch extends Object{} + export interface PathSearch extends yfiles.lang.Object{} export class PathSearch { /** * Creates a new instance of {@link yfiles.router.PathSearch}. @@ -105423,12 +106162,13 @@ declare namespace yfiles{ */ removePathSearchExtension(extension:yfiles.router.PathSearchExtension):boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PathSearch; } /** * This class contains the basic configuration used by path search algorithms. * @class */ - export interface PathSearchConfiguration extends Object{} + export interface PathSearchConfiguration extends yfiles.lang.Object{} export class PathSearchConfiguration { /** * Creates a new instance of {@link yfiles.router.PathSearchConfiguration} used for a path search. @@ -105458,6 +106198,7 @@ declare namespace yfiles{ */ remainingTime:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PathSearchConfiguration; } /** * This class provides context information that is useful for the {@link yfiles.router.PathSearch} algorithm. @@ -105466,7 +106207,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PathSearchContext extends Object{} + export interface PathSearchContext extends yfiles.lang.Object{} export class PathSearchContext { /** * Creates a new instance of {@link yfiles.router.PathSearchContext}. @@ -105579,6 +106320,7 @@ declare namespace yfiles{ */ pathSearchResult:yfiles.router.PathSearchResult; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PathSearchContext; } /** * Extensions are added to a {@link yfiles.router.PathSearch} to influence the search process. @@ -105608,7 +106350,7 @@ declare namespace yfiles{ * @see yfiles.router.PathSearchContext#currentEdge * @class */ - export interface PathSearchExtension extends Object{} + export interface PathSearchExtension extends yfiles.lang.Object{} export class PathSearchExtension { /** * Creates a new instance of {@link yfiles.router.PathSearchExtension}. @@ -105624,7 +106366,7 @@ declare namespace yfiles{ *

    * @param allStartEntrances a list of all previously generated entrances */ - appendStartEntrances(allStartEntrances:yfiles.collections.IList):void; + appendStartEntrances(allStartEntrances:yfiles.collections.IList):void; /** * Calculates the costs for entering the given {@link yfiles.router.PartitionCell} via the given enter * {@link yfiles.router.OrthogonalInterval}. @@ -105824,6 +106566,7 @@ declare namespace yfiles{ */ context:yfiles.router.PathSearchContext; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PathSearchExtension; } /** * This class manages the best {@link yfiles.router.Path}s found for each edge and provides according {@link yfiles.router.EdgeInfo}s. @@ -105833,7 +106576,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PathSearchResult extends Object{} + export interface PathSearchResult extends yfiles.lang.Object{} export class PathSearchResult { /** * Creates a new instance of {@link yfiles.router.PathSearchResult}. @@ -105874,6 +106617,7 @@ declare namespace yfiles{ */ setPath(edge:yfiles.algorithms.Edge,path:yfiles.router.Path):void; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PathSearchResult; } /** * This class provides the cost penalties that are applied for violating restrictions during a {@link yfiles.router.PathSearch}. @@ -105891,7 +106635,7 @@ declare namespace yfiles{ *

    * @class */ - export interface PenaltySettings extends Object{} + export interface PenaltySettings extends yfiles.lang.Object{} export class PenaltySettings { /** * Creates a new instance of {@link yfiles.router.PenaltySettings}. @@ -106317,6 +107061,7 @@ declare namespace yfiles{ */ singleSideSelfLoopPenalty:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PenaltySettings; } /** * {@link yfiles.router.PolylineLayoutStage} extends the orthogonal edge paths with polyline segments. @@ -106349,9 +107094,9 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null * @see yfiles.router.PolylineLayoutStage#scope - * @type {Object} + * @type {any} */ - affectedNodesDpKey:Object; + affectedNodesDpKey:any; /** * Gets or sets the {@link yfiles.algorithms.IDataProvider} key used for looking up the selected state of the edges of the graph to * be laid out. @@ -106362,9 +107107,9 @@ declare namespace yfiles{ *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null * @see yfiles.router.PolylineLayoutStage#scope - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; /** * Gets or sets the (sub-)set of edges to be routed in a polyline fashion. * @throws {Stubs.Exceptions.ArgumentError} if the given argument is none of the predefined scope values @@ -106402,6 +107147,7 @@ declare namespace yfiles{ */ preferredPolylineSegmentLength:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PolylineLayoutStage; } /** * Represents a group of segments of different edges that shall be combined at their common source or target. @@ -106416,14 +107162,14 @@ declare namespace yfiles{ *

    * @class */ - export interface SegmentGroup extends Object{} + export interface SegmentGroup extends yfiles.lang.Object{} export class SegmentGroup { /** * Creates a new instance of {@link yfiles.router.SegmentGroup} that contains the given segments and a range to place them. * @param commonLocationRange the location range of the given {@link }s * @param segmentInfos the list containing the grouped {@link }s */ - constructor(commonLocationRange:yfiles.router.Interval,segmentInfos:yfiles.collections.IList); + constructor(commonLocationRange:yfiles.router.Interval,segmentInfos:yfiles.collections.IList); /** * Gets the common location range for the {@link yfiles.router.SegmentGroup#segmentInfos segments} in this group. *

    @@ -106435,9 +107181,9 @@ declare namespace yfiles{ commonLocationRange:yfiles.router.Interval; /** * Gets the list of {@link yfiles.router.SegmentInfo}s contained in this group. - * @type {yfiles.collections.IList.} + * @type {yfiles.collections.IList.} */ - segmentInfos:yfiles.collections.IList; + segmentInfos:yfiles.collections.IList; /** * Gets the common {@link yfiles.router.SegmentInfo} representing the grouped segments. *

    @@ -106448,6 +107194,7 @@ declare namespace yfiles{ */ commonSegmentInfo:yfiles.router.SegmentInfo; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.SegmentGroup; } /** * A {@link yfiles.router.SegmentInfo} holds information about the possible location of an orthogonal edge segment. @@ -106469,7 +107216,7 @@ declare namespace yfiles{ * @param maxExtension the maximum interval in extension direction this segment will span * @param cellSegmentInfos the list of {@link } objects upon which this segment info is built */ - constructor(edge:yfiles.algorithms.Edge,segmentIndex:number,direction:yfiles.layout.Direction,locationRange:yfiles.router.Interval,minExtension:yfiles.router.Interval,maxExtension:yfiles.router.Interval,cellSegmentInfos:yfiles.collections.IList); + constructor(edge:yfiles.algorithms.Edge,segmentIndex:number,direction:yfiles.layout.Direction,locationRange:yfiles.router.Interval,minExtension:yfiles.router.Interval,maxExtension:yfiles.router.Interval,cellSegmentInfos:yfiles.collections.IList); /** * Creates a new instance of {@link yfiles.router.SegmentInfo} using a {@link yfiles.algorithms.LineSegment} to describe the edge segment. * @param edge the edge to which the segment of this info belongs @@ -106503,6 +107250,7 @@ declare namespace yfiles{ */ atStrongPortConstraint:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.SegmentInfo; } /** * This class stores location information for orthogonal edge segments. @@ -106512,7 +107260,7 @@ declare namespace yfiles{ *

    * @class */ - export interface SegmentInfoBase extends Object{} + export interface SegmentInfoBase extends yfiles.lang.Object{} export class SegmentInfoBase { /** * Creates a new instance of {@link yfiles.router.SegmentInfoBase}. @@ -106616,6 +107364,7 @@ declare namespace yfiles{ */ segmentGroup:yfiles.router.SegmentGroup; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.SegmentInfoBase; } /** * A descriptor for bus-related information to be associated with an edge. @@ -106631,7 +107380,7 @@ declare namespace yfiles{ * @see yfiles.router.BusRouter#EDGE_DESCRIPTOR_DP_KEY * @class */ - export interface BusDescriptor extends Object{} + export interface BusDescriptor extends yfiles.lang.Object{} export class BusDescriptor { /** * Creates a new instance of {@link yfiles.router.BusDescriptor} for the specified parameters. @@ -106640,53 +107389,53 @@ declare namespace yfiles{ * @param sourceGroupID the group ID of the source side * @param targetGroupID the group ID of the target side */ - constructor(busID:Object,fixed:boolean,sourceGroupID:Object,targetGroupID:Object); + constructor(busID:any,fixed:boolean,sourceGroupID:any,targetGroupID:any); /** * Creates a new instance of {@link yfiles.router.BusDescriptor} for the specified parameters and default group IDs. * @param busID the ID of the bus to which the associated edge belongs * @param fixed true if associated edge is fixed, false otherwise */ - constructor(busID:Object,fixed:boolean); + constructor(busID:any,fixed:boolean); /** * Creates a new instance of {@link yfiles.router.BusDescriptor} for the specified parameters and marks it as not fixed. * @param busID the ID of the bus to which the associated edge belongs * @param sourceGroupID the group ID of the source side * @param targetGroupID the group ID of the target side */ - constructor(busID:Object,sourceGroupID:Object,targetGroupID:Object); + constructor(busID:any,sourceGroupID:any,targetGroupID:any); /** * Creates a new instance of {@link yfiles.router.BusDescriptor} for the specified bus ID which is marked as not fixed and uses the * default edge group IDs. * @param busID the ID of the bus to which the associated edge belongs */ - constructor(busID:Object); + constructor(busID:any); /** * Gets or sets the bus ID. *

    * Edges associated with {@link yfiles.router.BusDescriptor descriptor instances} having the same bus ID belong to a common bus. Every edge associated with ID * null forms a group of its own. *

    - * @type {Object} + * @type {any} */ - busId:Object; + busId:any; /** * Gets or sets the group ID for the source side of the edge. *

    * Edges incident to the same node v but associated with different group IDs at this endpoint, use separate bus connections * at v. *

    - * @type {Object} + * @type {any} */ - sourceGroupId:Object; + sourceGroupId:any; /** * Gets or sets the group ID for the target side of the edge. *

    * Edges incident to the same node v but associated with different group IDs at this endpoint, use separate bus connections * at v. *

    - * @type {Object} + * @type {any} */ - targetGroupId:Object; + targetGroupId:any; /** * Gets or sets whether or not the associated edge is fixed. *

    @@ -106696,6 +107445,7 @@ declare namespace yfiles{ */ fixed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.BusDescriptor; } /** * This class provides helper methods to convert between buses given by complete subgraphs and buses represented by @@ -106714,7 +107464,7 @@ declare namespace yfiles{ *

    * @class */ - export interface BusRepresentations extends Object{} + export interface BusRepresentations extends yfiles.lang.Object{} export class BusRepresentations { /** * Changes the representation of buses from hubs to complete subgraphs by creating new edges between regular nodes and @@ -106780,9 +107530,9 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static SOURCE_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static SOURCE_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data acceptor key to transfer a user-defined object from each original edge to the respective newly created edge *

    @@ -106791,10 +107541,11 @@ declare namespace yfiles{ *

    * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static TARGET_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static TARGET_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.BusRepresentations; } /** * An edge routing algorithm which routes edges of a graph in an orthogonal bus-style. @@ -107019,9 +107770,9 @@ declare namespace yfiles{ * returns true will be routed. All other edges will be considered to have fixed routes. *

    * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; /** * Gets or sets the scope for this routing algorithm that determines which edges are routed. * @throws {Stubs.Exceptions.ArgumentError} if an unknown scope is given @@ -107029,6 +107780,7 @@ declare namespace yfiles{ */ scope:yfiles.router.Scope; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.BusRouter; } /** * This edge routing algorithm generates orthogonal routes for the edges of the graph. @@ -107115,6 +107867,7 @@ declare namespace yfiles{ */ edgeDistributionStrategy:yfiles.layout.ILayoutAlgorithm; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.ChannelEdgeRouter; } /** * This edge routing algorithm applies organic routes to the edges of the graph. @@ -107161,7 +107914,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface OrganicEdgeRouter extends Object,yfiles.layout.ILayoutStage{} + export interface OrganicEdgeRouter extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class OrganicEdgeRouter { /** * Creates a new {@link yfiles.router.OrganicEdgeRouter} with the given {@link yfiles.router.OrganicEdgeRouter#coreLayout core layout algorithm}. @@ -107243,6 +107996,7 @@ declare namespace yfiles{ */ routeAllEdges:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.OrganicEdgeRouter; } /** * {@link yfiles.router.OrthogonalPatternEdgeRouter} routes edges orthogonally such that the resulting layout of the edges consists @@ -107384,9 +108138,9 @@ declare namespace yfiles{ * Gets or sets the key to register a {@link yfiles.algorithms.IDataProvider} which determines the edges that shall be routed by * this algorithm. * @throws {Stubs.Exceptions.ArgumentError} if the specified {@link yfiles.algorithms.IDataProvider} key is null - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; /** * Gets or sets the minimum distance that an edge will maintain from its source and target node. *

    @@ -107472,6 +108226,7 @@ declare namespace yfiles{ */ edgeOverlapCost:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.OrthogonalPatternEdgeRouter; } /** * {@link yfiles.router.OrthogonalSegmentDistributionStage} distributes overlapping edge segments of orthogonally routed edges. @@ -107532,9 +108287,9 @@ declare namespace yfiles{ * Gets or sets the key to register a {@link yfiles.algorithms.IDataProvider} which determines the edges that shall be routed by * this algorithm. * @throws {Stubs.Exceptions.ArgumentError} if the specified {@link yfiles.algorithms.IDataProvider} key is null - * @type {Object} + * @type {any} */ - affectedEdgesDpKey:Object; + affectedEdgesDpKey:any; /** * Gets or sets whether or not the preferred distance between edges can be reduced if there is not enough space. *

    @@ -107616,6 +108371,7 @@ declare namespace yfiles{ */ preferredDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.OrthogonalSegmentDistributionStage; } /** * {@link yfiles.router.SnapOuterPortsToNodeBorderStage} moves edge ports that are outside the corresponding area of the nodes to @@ -107633,6 +108389,7 @@ declare namespace yfiles{ */ constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.SnapOuterPortsToNodeBorderStage; } /** * Specifies custom data for the {@link yfiles.router.BusRouter}. @@ -107695,6 +108452,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.BusRouterData; } /** * Specifies custom data for the {@link yfiles.router.ChannelEdgeRouter}. @@ -107711,6 +108469,7 @@ declare namespace yfiles{ */ affectedEdges:yfiles.layout.ItemCollection; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.ChannelEdgeRouterData; } /** * Specifies custom data for the {@link yfiles.router.OrganicEdgeRouter}. @@ -107733,6 +108492,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.OrganicEdgeRouterData; } /** * Specifies custom data for the {@link yfiles.router.OrthogonalPatternEdgeRouter}. @@ -107785,6 +108545,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.OrthogonalPatternEdgeRouterData; } /** * Specifies custom data for the {@link yfiles.router.ParallelEdgeRouter}. @@ -107816,6 +108577,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.ParallelEdgeRouterData; } /** * Specifies custom data for the {@link yfiles.router.EdgeRouter}. @@ -107909,15 +108671,15 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroupIds:yfiles.layout.ItemMapping; + sourceGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroupIds:yfiles.layout.ItemMapping; + targetGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets the AbortHandler used during the layout. * @see yfiles.algorithms.AbortHandler#ABORT_HANDLER_DP_KEY @@ -107930,6 +108692,7 @@ declare namespace yfiles{ */ partitionGridData:yfiles.layout.PartitionGridData; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.PolylineEdgeRouterData; } /** * Specifies custom data for the {@link yfiles.router.StraightLineEdgeRouter}. @@ -107970,6 +108733,7 @@ declare namespace yfiles{ */ targetPortConstraints:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.router.StraightLineEdgeRouterData; } }export namespace partial{ export enum EdgeRoutingStrategy{ @@ -108289,9 +109053,9 @@ declare namespace yfiles{ * @see yfiles.partial.PartialLayout#componentAssignmentStrategy * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static COMPONENT_ID_DP_KEY:yfiles.algorithms.NodeDpKey; + static COMPONENT_ID_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Gets or sets the {@link yfiles.layout.ILayoutAlgorithm} instance that is applied to each subgraph component. *

    @@ -108417,6 +109181,7 @@ declare namespace yfiles{ */ allowMirroring:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.partial.PartialLayout; } /** * Specifies custom data for the {@link yfiles.partial.PartialLayout}. @@ -108455,9 +109220,9 @@ declare namespace yfiles{ * @see yfiles.partial.PartialLayout#COMPONENT_ID_DP_KEY * @see yfiles.partial.ComponentAssignmentStrategy#CUSTOMIZED * @see yfiles.partial.PartialLayout#componentAssignmentStrategy - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - componentIds:yfiles.layout.ItemMapping; + componentIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from nodes to their {@link yfiles.layout.NodeHalo}. * @see yfiles.layout.NodeHalo#NODE_HALO_DP_KEY @@ -108500,13 +109265,14 @@ declare namespace yfiles{ */ partitionGridData:yfiles.layout.PartitionGridData; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.partial.PartialLayoutData; } }export namespace tree{ /** * Encapsulates information bound to a node while the algorithm calculates a layout. * @class */ - export interface BalloonLayoutNodeInfo extends Object{} + export interface BalloonLayoutNodeInfo extends yfiles.lang.Object{} export class BalloonLayoutNodeInfo { /** * The upper angle of the subtree wedge rooted at the node. @@ -108534,6 +109300,7 @@ declare namespace yfiles{ */ angleSum:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.BalloonLayoutNodeInfo; } /** * A tree layout algorithm that arranges the subtrees of the tree in a balloon-like fashion. @@ -108727,9 +109494,9 @@ declare namespace yfiles{ *

    * @see yfiles.tree.BalloonLayout#childOrderingPolicy * @see yfiles.tree.BalloonLayout#fromSketchMode - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - comparer:yfiles.collections.IComparer; + comparer:yfiles.collections.IComparer; /** * Gets or sets the child ordering policy for sorting the child nodes around their parents. *

    @@ -108986,6 +109753,7 @@ declare namespace yfiles{ */ selfLoopRouterEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.BalloonLayout; } export enum FillStyle{ /** @@ -109694,7 +110462,7 @@ declare namespace yfiles{ *

    * @returns the {@link } for the edges */ - createFromSketchComparer():yfiles.collections.IComparer; + createFromSketchComparer():yfiles.collections.IComparer; /** * Gets or sets whether child nodes are distributed in horizontal rows or vertical columns. * @type {boolean} @@ -109743,6 +110511,7 @@ declare namespace yfiles{ */ fillStyle:yfiles.tree.FillStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.AspectRatioNodePlacer; } /** * The {@link yfiles.tree.AspectRatioTreeLayout} arranges tree graphs in a compact fashion. @@ -109827,7 +110596,7 @@ declare namespace yfiles{ * @see yfiles.tree.AspectRatioTreeLayout#rootPlacement * @protected */ - getRootPlacement(localRoot:Object):yfiles.tree.RootPlacement; + getRootPlacement(localRoot:any):yfiles.tree.RootPlacement; /** * Retrieves the routing for the subtree that is rooted at the given node. *

    @@ -109844,7 +110613,7 @@ declare namespace yfiles{ * @see yfiles.tree.AspectRatioTreeLayout#subtreeArrangement * @protected */ - getSubtreeArrangement(localRoot:Object):yfiles.tree.SubtreeArrangement; + getSubtreeArrangement(localRoot:any):yfiles.tree.SubtreeArrangement; /** * Retrieves all children of the given local root. *

    @@ -109965,9 +110734,9 @@ declare namespace yfiles{ /** * Gets or sets the {@link yfiles.collections.IComparer.} that will be used for sorting the {@link yfiles.algorithms.Node#sortOutEdges outgoing edges} of each local root in the tree before they are being * arranged. - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - comparer:yfiles.collections.IComparer; + comparer:yfiles.collections.IComparer; /** * Gets or sets the default aspect ratio for this {@link yfiles.tree.AspectRatioTreeLayout}. *

    @@ -110007,6 +110776,7 @@ declare namespace yfiles{ */ bendDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.AspectRatioTreeLayout; } /** * The {@link yfiles.tree.AssistantNodePlacer} places nodes that are marked as assistants left and right of their parents and all @@ -110048,7 +110818,7 @@ declare namespace yfiles{ * @returns a {@link } that compares edges to assistant nodes separately from edges to non-assistant nodes * @static */ - static createCompoundComparer(assistantComparer:yfiles.collections.IComparer,childComparer:yfiles.collections.IComparer):yfiles.collections.IComparer; + static createCompoundComparer(assistantComparer:yfiles.collections.IComparer,childComparer:yfiles.collections.IComparer):yfiles.collections.IComparer; /** * Data provider key for marking which nodes are placed as assistants * @const @@ -110077,6 +110847,7 @@ declare namespace yfiles{ */ childNodePlacer:yfiles.tree.INodePlacer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.AssistantNodePlacer; } /** * The {@link yfiles.tree.BusNodePlacer} creates a bus to which all child nodes and the local root node are connected. @@ -110101,6 +110872,7 @@ declare namespace yfiles{ */ constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.BusNodePlacer; } /** * This layout algorithm arranges graphs with a tree structure. @@ -110199,9 +110971,9 @@ declare namespace yfiles{ *

    * This comparator defines the relative order of the child nodes in the layout. *

    - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - comparer:yfiles.collections.IComparer; + comparer:yfiles.collections.IComparer; /** * Gets or sets the port assignment policy that will be applied. * @type {yfiles.tree.PortStyle} @@ -110314,6 +111086,7 @@ declare namespace yfiles{ */ selfLoopRouterEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.ClassicTreeLayout; } /** * {@link yfiles.tree.DefaultNodePlacer} is the default implementation of interface {@link yfiles.tree.INodePlacer}. @@ -110489,13 +111262,13 @@ declare namespace yfiles{ *

    * @returns a {@link } that considers the initial coordinates of the nodes */ - createComparer():yfiles.collections.IComparer; + createComparer():yfiles.collections.IComparer; /** * Delegates to {@link yfiles.tree.DefaultNodePlacer#createComparer}. * @returns the From Sketch {@link } * @see yfiles.tree.DefaultNodePlacer#createComparer */ - createFromSketchComparer():yfiles.collections.IComparer; + createFromSketchComparer():yfiles.collections.IComparer; /** * Gets or sets the direction in which the child nodes are placed with respect to their parent node. *

    @@ -110603,6 +111376,7 @@ declare namespace yfiles{ */ horizontalDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.DefaultNodePlacer; } /** * The {@link yfiles.tree.DefaultPortAssignment} provides some simple {@link yfiles.tree.DefaultPortAssignment#mode port assignment styles}. @@ -110613,7 +111387,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.tree.IPortAssignment} */ - export interface DefaultPortAssignment extends Object,yfiles.tree.IPortAssignment{} + export interface DefaultPortAssignment extends yfiles.lang.Object,yfiles.tree.IPortAssignment{} export class DefaultPortAssignment { /** * Creates a new {@link yfiles.tree.DefaultPortAssignment} instance using the given port assignment mode and ratio between the @@ -110763,6 +111537,7 @@ declare namespace yfiles{ */ reversedPortOrder:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.DefaultPortAssignment; } /** * {@link yfiles.tree.DelegatingNodePlacer} delegates the arrangement of the children to two different {@link yfiles.tree.INodePlacer}s. @@ -110846,6 +111621,7 @@ declare namespace yfiles{ */ primaryPlacer:yfiles.tree.INodePlacer; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.DelegatingNodePlacer; } /** * The {@link yfiles.tree.DendrogramNodePlacer} arranges subtrees as dendrograms. @@ -110859,7 +111635,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.tree.IFromSketchNodePlacer} */ - export interface DendrogramNodePlacer extends Object,yfiles.tree.IFromSketchNodePlacer{} + export interface DendrogramNodePlacer extends yfiles.lang.Object,yfiles.tree.IFromSketchNodePlacer{} export class DendrogramNodePlacer { /** * Creates a new {@link yfiles.tree.DendrogramNodePlacer} instance with default settings. @@ -110873,7 +111649,7 @@ declare namespace yfiles{ * @returns the {@link } * @see yfiles.tree.DendrogramNodePlacer#createFromSketchComparer */ - createComparer():yfiles.collections.IComparer; + createComparer():yfiles.collections.IComparer; /** * Creates a {@link yfiles.collections.IComparer.} for the edges which takes the initial x-coordinates of the nodes into account. *

    @@ -110882,7 +111658,7 @@ declare namespace yfiles{ * @returns the {@link } for the edges * @see yfiles.tree.DendrogramNodePlacer#createComparer */ - createFromSketchComparer():yfiles.collections.IComparer; + createFromSketchComparer():yfiles.collections.IComparer; /** * Creates an optional {@link yfiles.tree.IProcessor} for pre- and post-processing. *

    @@ -110933,6 +111709,7 @@ declare namespace yfiles{ */ minimumSubtreeDistance:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.DendrogramNodePlacer; } /** * The {@link yfiles.tree.DoubleLineNodePlacer} arranges the children of a local root alternating in two lines. @@ -110972,6 +111749,7 @@ declare namespace yfiles{ */ doubleLineSpacingRatio:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.DoubleLineNodePlacer; } /** * A {@link yfiles.tree.FreeNodePlacer} is a simple pseudo-placer. @@ -110993,6 +111771,7 @@ declare namespace yfiles{ */ constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.FreeNodePlacer; } /** * The {@link yfiles.tree.GridNodePlacer} arranges the shapes of the children of a local root in a grid. @@ -111039,6 +111818,7 @@ declare namespace yfiles{ */ rootAlignment:yfiles.tree.RootNodeAlignment; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.GridNodePlacer; } /** * This {@link yfiles.tree.INodePlacer} places the children of a local root in groups. @@ -111055,7 +111835,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.tree.INodePlacer} */ - export interface GroupedNodePlacer extends Object,yfiles.tree.INodePlacer{} + export interface GroupedNodePlacer extends yfiles.lang.Object,yfiles.tree.INodePlacer{} export class GroupedNodePlacer { /** * Creates a new {@link yfiles.tree.GroupedNodePlacer} instance. @@ -111100,6 +111880,7 @@ declare namespace yfiles{ */ placeSubtree(nodeShapeProvider:yfiles.algorithms.IDataProvider,subtreeShapeProvider:yfiles.algorithms.IDataProvider,graph:yfiles.layout.LayoutGraph,localRoot:yfiles.algorithms.Node,parentConnectorDirection:yfiles.tree.ParentConnectorDirection):yfiles.tree.SubtreeShape; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.GroupedNodePlacer; } /** * A {@link yfiles.tree.IFromSketchNodePlacer} arranges the subtrees while taking the initial locations of the nodes into account. @@ -111110,7 +111891,7 @@ declare namespace yfiles{ * @interface * @implements {yfiles.tree.INodePlacer} */ - export interface IFromSketchNodePlacer extends Object,yfiles.tree.INodePlacer{ + export interface IFromSketchNodePlacer extends yfiles.lang.Object,yfiles.tree.INodePlacer{ /** * Creates an {@link yfiles.collections.IComparer. edge comparator} which takes the initial coordinates of the nodes into account. *

    @@ -111120,11 +111901,11 @@ declare namespace yfiles{ * @returns the {@link } for the edges * @abstract */ - createFromSketchComparer():yfiles.collections.IComparer; + createFromSketchComparer():yfiles.collections.IComparer; } var IFromSketchNodePlacer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.tree.IFromSketchNodePlacer; }; /** * A {@link yfiles.tree.INodePlacer} is responsible for the arrangement of a local root node and all of its subtrees. @@ -111149,7 +111930,7 @@ declare namespace yfiles{ * * @interface */ - export interface INodePlacer extends Object{ + export interface INodePlacer extends yfiles.lang.Object{ /** * Creates an optional {@link yfiles.tree.IProcessor} for pre- and post-processing. *

    @@ -111201,7 +111982,7 @@ declare namespace yfiles{ } var INodePlacer:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.tree.INodePlacer; }; /** * A {@link yfiles.tree.IPortAssignment} places the ports of edges connecting to the same node. @@ -111211,7 +111992,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IPortAssignment extends Object{ + export interface IPortAssignment extends yfiles.lang.Object{ /** * Places the ports of edges connecting to the given node. *

    @@ -111226,7 +112007,7 @@ declare namespace yfiles{ } var IPortAssignment:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.tree.IPortAssignment; }; /** * A {@link yfiles.tree.IProcessor} provides the possibility for each {@link yfiles.tree.INodePlacer} to prepare (and clean up) the graph @@ -111242,7 +112023,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface IProcessor extends Object{ + export interface IProcessor extends yfiles.lang.Object{ /** * This method is called by the {@link yfiles.tree.TreeLayout} after the layout has finished. *

    @@ -111270,7 +112051,7 @@ declare namespace yfiles{ } var IProcessor:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.tree.IProcessor; }; /** * A {@link yfiles.tree.LayeredNodePlacer} arranges the nodes of a subtree respecting layers. @@ -111291,7 +112072,7 @@ declare namespace yfiles{ * @param modificationMatrix the transformation matrix for this {@link } * @param id the {@link } ID */ - constructor(modificationMatrix:yfiles.tree.RotatableNodePlacerMatrix,id:Object); + constructor(modificationMatrix:yfiles.tree.RotatableNodePlacerMatrix,id:any); /** * Creates a new {@link yfiles.tree.LayeredNodePlacer} instance with the default settings. */ @@ -111330,9 +112111,9 @@ declare namespace yfiles{ * {@link yfiles.tree.LayeredNodePlacer}s that share information about the layer height. Using different IDs allows aligned layouts * within different subtrees. *

    - * @type {Object} + * @type {any} */ - id:Object; + id:any; /** * Gets or sets the distance between two adjacent layers. *

    @@ -111375,13 +112156,14 @@ declare namespace yfiles{ */ polylineLabeling:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.LayeredNodePlacer; } /** * A {@link yfiles.tree.LeafNodePlacer} creates a {@link yfiles.tree.SubtreeShape SubtreeShape} for a leaf node and routes its incoming edge at the target side. * @class * @implements {yfiles.tree.INodePlacer} */ - export interface LeafNodePlacer extends Object,yfiles.tree.INodePlacer{} + export interface LeafNodePlacer extends yfiles.lang.Object,yfiles.tree.INodePlacer{} export class LeafNodePlacer { /** * Creates a new {@link yfiles.tree.LeafNodePlacer} instance with default settings. @@ -111419,6 +112201,7 @@ declare namespace yfiles{ */ placeSubtree(nodeShapeProvider:yfiles.algorithms.IDataProvider,subtreeShapeProvider:yfiles.algorithms.IDataProvider,graph:yfiles.layout.LayoutGraph,localRoot:yfiles.algorithms.Node,parentConnectorDirection:yfiles.tree.ParentConnectorDirection):yfiles.tree.SubtreeShape; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.LeafNodePlacer; } /** * The {@link yfiles.tree.LeftRightNodePlacer} arranges the children in a subtree on the left and the right of a vertical bus. @@ -111505,6 +112288,7 @@ declare namespace yfiles{ */ placeLastOnBottom:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.LeftRightNodePlacer; } /** * The {@link yfiles.tree.MultiParentDescriptor} provides style information for multi-parent structures. @@ -111522,7 +112306,7 @@ declare namespace yfiles{ * @see yfiles.tree.TreeLayout#MULTI_PARENT_DESCRIPTOR_DP_KEY * @class */ - export interface MultiParentDescriptor extends Object{} + export interface MultiParentDescriptor extends yfiles.lang.Object{} export class MultiParentDescriptor { /** * Creates a new {@link yfiles.tree.MultiParentDescriptor} instance with default settings. @@ -111569,6 +112353,7 @@ declare namespace yfiles{ */ edgeStyle:yfiles.tree.MultiParentRoutingStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.MultiParentDescriptor; } /** * The {@link yfiles.tree.NodeOrderComparer} compares edges according to a specified order. @@ -111587,9 +112372,9 @@ declare namespace yfiles{ * @see yfiles.tree.AspectRatioTreeLayout#comparer * @see yfiles.tree.NodeOrderComparer#NODE_ORDER_COMPARABLE_DP_KEY * @class - * @implements {yfiles.collections.IComparer.} + * @implements {yfiles.collections.IComparer.} */ - export interface NodeOrderComparer extends Object,yfiles.collections.IComparer{} + export interface NodeOrderComparer extends yfiles.lang.Object,yfiles.collections.IComparer{} export class NodeOrderComparer { /** * Creates a new {@link yfiles.tree.NodeOrderComparer} instance. @@ -111599,7 +112384,7 @@ declare namespace yfiles{ * Compares two edges according to their index in the order specified using a {@link yfiles.algorithms.IDataProvider}. *

    * Target nodes for which the {@link yfiles.algorithms.IDataProvider} registered with {@link yfiles.tree.NodeOrderComparer#NODE_ORDER_COMPARABLE_DP_KEY} - * returns null or an {@link Object} that does not implement {@link yfiles.lang.IComparable} are treated as being smaller than other target + * returns null or an {@link any} that does not implement {@link yfiles.lang.IComparable} are treated as being smaller than other target * nodes. *

    * @param edge1 the first edge @@ -111607,7 +112392,7 @@ declare namespace yfiles{ * @returns * @see yfiles.tree.NodeOrderComparer#NODE_ORDER_COMPARABLE_DP_KEY */ - compare(edge1:Object,edge2:Object):number; + compare(edge1:any,edge2:any):number; /** * Data provider key for registering an order for each node in the graph * @const @@ -111616,6 +112401,7 @@ declare namespace yfiles{ */ static NODE_ORDER_COMPARABLE_DP_KEY:yfiles.algorithms.NodeDpKey; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.NodeOrderComparer; } /** * Abstract base class for implementations of the {@link yfiles.tree.INodePlacer} interface. @@ -111631,7 +112417,7 @@ declare namespace yfiles{ * @implements {yfiles.tree.INodePlacer} * @implements {yfiles.lang.ICloneable} */ - export interface NodePlacerBase extends Object,yfiles.tree.INodePlacer,yfiles.lang.ICloneable{} + export interface NodePlacerBase extends yfiles.lang.Object,yfiles.tree.INodePlacer,yfiles.lang.ICloneable{} export class NodePlacerBase { /** * Creates a new instance of {@link yfiles.tree.NodePlacerBase}. @@ -111641,7 +112427,7 @@ declare namespace yfiles{ * Returns a clone of this {@link yfiles.tree.INodePlacer} instance. * @returns an exact copy of this {@link } instance */ - clone():Object; + clone():any; /** * Creates an optional {@link yfiles.tree.IProcessor} for pre- and post-processing. *

    @@ -111736,6 +112522,7 @@ declare namespace yfiles{ */ graph:yfiles.layout.LayoutGraph; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.NodePlacerBase; } /** * A {@link yfiles.tree.RootNodeAlignment} describes how a local root node is arranged in relation to its children. @@ -111747,7 +112534,7 @@ declare namespace yfiles{ *

    * @class */ - export interface RootNodeAlignment extends Object{} + export interface RootNodeAlignment extends yfiles.lang.Object{} export class RootNodeAlignment { /** * Calculates the common bounds of the given subtree shapes. @@ -111760,7 +112547,7 @@ declare namespace yfiles{ * @protected * @static */ - static getBounds(shapes:yfiles.collections.IList):yfiles.algorithms.Rectangle2D; + static getBounds(shapes:yfiles.collections.IList):yfiles.algorithms.Rectangle2D; /** * Moves the shape of the local root to a suitable position relative to the children's shapes. *

    @@ -111776,7 +112563,7 @@ declare namespace yfiles{ * @protected * @abstract */ - placeParentHorizontal(rootShape:yfiles.tree.RotatedSubtreeShape,shapes:yfiles.collections.IList,shapeBounds:yfiles.algorithms.Rectangle2D,spacing:number):void; + placeParentHorizontal(rootShape:yfiles.tree.RotatedSubtreeShape,shapes:yfiles.collections.IList,shapeBounds:yfiles.algorithms.Rectangle2D,spacing:number):void; /** * Horizontal {@link yfiles.tree.RootNodeAlignment} at the center of the subtrees. *

    @@ -111866,6 +112653,7 @@ declare namespace yfiles{ */ static ALL:yfiles.tree.RootNodeAlignment[]; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.RootNodeAlignment; } /** * A matrix describes the rotation of the subtree handled by {@link yfiles.tree.RotatableNodePlacerBase}. @@ -111874,7 +112662,7 @@ declare namespace yfiles{ *

    * @class */ - export interface RotatableNodePlacerMatrix extends Object{} + export interface RotatableNodePlacerMatrix extends yfiles.lang.Object{} export class RotatableNodePlacerMatrix { /** * Compares the values of the current {@link yfiles.tree.RotatableNodePlacerMatrix} with the values of the given @@ -111946,6 +112734,7 @@ declare namespace yfiles{ */ static MIR_VERT_ROT90:yfiles.tree.RotatableNodePlacerMatrix; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.RotatableNodePlacerMatrix; } /** * Abstract base class for {@link yfiles.tree.INodePlacer}s that support rotations of the subtrees. @@ -111973,7 +112762,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.tree.IFromSketchNodePlacer} */ - export interface RotatableNodePlacerBase extends Object,yfiles.tree.IFromSketchNodePlacer{} + export interface RotatableNodePlacerBase extends yfiles.lang.Object,yfiles.tree.IFromSketchNodePlacer{} export class RotatableNodePlacerBase { /** * Creates a new instance of {@link yfiles.tree.RotatableNodePlacerBase} whose direction is specified by the given modification @@ -111986,13 +112775,13 @@ declare namespace yfiles{ * Creates a {@link yfiles.collections.IComparer.} for outgoing edges that takes the rotation into account. * @returns the {@link } that considers the rotation */ - createComparer():yfiles.collections.IComparer; + createComparer():yfiles.collections.IComparer; /** * Delegates to {@link yfiles.tree.RotatableNodePlacerBase#createComparer}. * @returns the From Sketch {@link } * @see yfiles.tree.RotatableNodePlacerBase#createComparer */ - createFromSketchComparer():yfiles.collections.IComparer; + createFromSketchComparer():yfiles.collections.IComparer; /** * Creates an optional {@link yfiles.tree.IProcessor} for pre- and post-processing. *

    @@ -112159,9 +112948,9 @@ declare namespace yfiles{ /** * The list containing the created children. * @protected - * @type {yfiles.collections.IList.} + * @type {yfiles.collections.IList.} */ - createdChildren:yfiles.collections.IList; + createdChildren:yfiles.collections.IList; /** * Gets the modification matrix that defines the direction of the subtree. * @type {yfiles.tree.RotatableNodePlacerMatrix} @@ -112177,12 +112966,13 @@ declare namespace yfiles{ */ spacing:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.RotatableNodePlacerBase; } /** * Decorates a SubtreeShape and provides rotated access on it. * @class */ - export interface RotatedSubtreeShape extends Object{} + export interface RotatedSubtreeShape extends yfiles.lang.Object{} export class RotatedSubtreeShape { /** * For testing purposes only @@ -112190,6 +112980,7 @@ declare namespace yfiles{ */ constructor(); static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.RotatedSubtreeShape; } /** * The {@link yfiles.tree.SimpleNodePlacer} arranges all children of a local root in a single row. @@ -112244,6 +113035,7 @@ declare namespace yfiles{ */ createBus:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.SimpleNodePlacer; } /** * The {@link yfiles.tree.TreeComponentLayout} arranges tree-like subgraph structures in a mixed layout style. @@ -112256,7 +113048,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.layout.ILayoutStage} */ - export interface TreeComponentLayout extends Object,yfiles.layout.ILayoutStage{} + export interface TreeComponentLayout extends yfiles.lang.Object,yfiles.layout.ILayoutStage{} export class TreeComponentLayout { /** * Creates a new {@link yfiles.tree.TreeComponentLayout} instance using the specified layouter for arranging the subtrees. @@ -112316,6 +113108,7 @@ declare namespace yfiles{ */ optimizeOrientation:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.TreeComponentLayout; } /** * A {@link yfiles.tree.SubtreeShape} represents the position and the borders of a subtree. @@ -112342,7 +113135,7 @@ declare namespace yfiles{ * @class * @final */ - export interface SubtreeShape extends Object{} + export interface SubtreeShape extends yfiles.lang.Object{} export class SubtreeShape { /** * Extends this {@link yfiles.tree.SubtreeShape} instance by the given rectangle. @@ -112518,6 +113311,7 @@ declare namespace yfiles{ */ originY:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.SubtreeShape; } /** * This layout algorithm arranges graphs with a tree structure. @@ -112653,7 +113447,7 @@ declare namespace yfiles{ * @see yfiles.tree.TreeLayout#OUT_EDGE_COMPARER_DP_KEY * @see yfiles.tree.TreeLayout#defaultOutEdgeComparer */ - getOutEdgeComparer(localRoot:yfiles.algorithms.Node):yfiles.collections.IComparer; + getOutEdgeComparer(localRoot:yfiles.algorithms.Node):yfiles.collections.IComparer; /** * Returns the {@link yfiles.tree.IPortAssignment} instance that places the ports of the connecting edges of the given node. *

    @@ -112751,9 +113545,9 @@ declare namespace yfiles{ * @see yfiles.tree.TreeLayout#defaultOutEdgeComparer * @const * @static - * @type {yfiles.algorithms.NodeDpKey.>} + * @type {yfiles.algorithms.NodeDpKey.>} */ - static OUT_EDGE_COMPARER_DP_KEY:yfiles.algorithms.NodeDpKey>; + static OUT_EDGE_COMPARER_DP_KEY:yfiles.algorithms.NodeDpKey>; /** * Data provider key for defining the priority of critical edges *

    @@ -112906,9 +113700,9 @@ declare namespace yfiles{ * Gets or sets the default {@link yfiles.collections.IComparer.} instance that sorts the outgoing edges in all subtrees that do not have a specific {@link yfiles.collections.IComparer.} assigned * using a {@link yfiles.algorithms.IDataProvider}. * @see yfiles.tree.TreeLayout#OUT_EDGE_COMPARER_DP_KEY - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - defaultOutEdgeComparer:yfiles.collections.IComparer; + defaultOutEdgeComparer:yfiles.collections.IComparer; /** * Gets or sets whether or not the layout algorithm reserves space for node labels. *

    @@ -112941,6 +113735,7 @@ declare namespace yfiles{ */ multiParentAllowed:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.TreeLayout; } /** * The {@link yfiles.tree.TreeReductionStage} temporarily reduces general graphs to trees. @@ -113050,9 +113845,9 @@ declare namespace yfiles{ * Gets or sets the key to register a {@link yfiles.algorithms.IDataProvider} that will be used by the {@link yfiles.tree.TreeReductionStage#nonTreeEdgeRouter non-tree edge routing algorithm} * to determine the edges that need to be routed. * @see yfiles.tree.TreeReductionStage#nonTreeEdgeRouter - * @type {Object} + * @type {any} */ - nonTreeEdgeSelectionKey:Object; + nonTreeEdgeSelectionKey:any; /** * Gets or sets the labeling algorithm that is applied to all edge labels that belong to non-tree edges. *

    @@ -113067,9 +113862,9 @@ declare namespace yfiles{ * Gets or sets the key to register a {@link yfiles.algorithms.IDataProvider} that is used by the {@link yfiles.tree.TreeReductionStage#nonTreeEdgeLabelingAlgorithm non-tree edge labeling algorithm} * to determine which edge labels it should place. * @see yfiles.tree.TreeReductionStage#nonTreeEdgeLabelingAlgorithm - * @type {Object} + * @type {any} */ - nonTreeEdgeLabelSelectionKey:Object; + nonTreeEdgeLabelSelectionKey:any; /** * Gets the {@link yfiles.layout.EdgeBundling} instance that defines the settings of the edge bundling feature. *

    @@ -113087,6 +113882,7 @@ declare namespace yfiles{ */ edgeBundling:yfiles.layout.EdgeBundling; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.TreeReductionStage; } /** * Specifies custom data for the {@link yfiles.tree.AspectRatioTreeLayout}. @@ -113117,6 +113913,7 @@ declare namespace yfiles{ */ subtreeRoutingPolicies:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.AspectRatioTreeLayoutData; } /** * Specifies custom data for the {@link yfiles.tree.BalloonLayout}. @@ -113163,6 +113960,7 @@ declare namespace yfiles{ */ edgeLabelPreferredPlacement:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.BalloonLayoutData; } /** * Specifies custom data for the {@link yfiles.tree.TreeLayout}. @@ -113266,6 +114064,7 @@ declare namespace yfiles{ */ edgeLabelPreferredPlacement:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.TreeLayoutData; } /** * Specifies custom data for the {@link yfiles.tree.TreeReductionStage}. @@ -113296,6 +114095,7 @@ declare namespace yfiles{ */ edgeBundleDescriptors:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.tree.TreeReductionStageData; } }export namespace genealogy{ /** @@ -113441,6 +114241,7 @@ declare namespace yfiles{ */ familyMembersSortingPolicy:yfiles.genealogy.FamilyMembersSortingPolicy; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.genealogy.FamilyTreeLayout; } export enum FamilyType{ /** @@ -113531,6 +114332,7 @@ declare namespace yfiles{ */ familyTypes:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.genealogy.FamilyTreeLayoutData; } }export namespace multipage{ /** @@ -113539,7 +114341,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.multipage.IElementFactory} */ - export interface DefaultElementFactory extends Object,yfiles.multipage.IElementFactory{} + export interface DefaultElementFactory extends yfiles.lang.Object,yfiles.multipage.IElementFactory{} export class DefaultElementFactory { /** * Creates a new instance of {@link yfiles.multipage.DefaultElementFactory}. @@ -113554,7 +114356,7 @@ declare namespace yfiles{ * @param atTarget * @returns */ - createConnectorEdge(context:yfiles.multipage.LayoutContext,connector:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,origEdgeId:Object,atTarget:boolean):yfiles.algorithms.Edge; + createConnectorEdge(context:yfiles.multipage.LayoutContext,connector:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,origEdgeId:any,atTarget:boolean):yfiles.algorithms.Edge; /** * * @param context @@ -113562,7 +114364,7 @@ declare namespace yfiles{ * @param representedNodeId * @returns */ - createConnectorNode(context:yfiles.multipage.LayoutContext,edgeIds:yfiles.algorithms.YList,representedNodeId:Object):yfiles.algorithms.Node; + createConnectorNode(context:yfiles.multipage.LayoutContext,edgeIds:yfiles.algorithms.YList,representedNodeId:any):yfiles.algorithms.Node; /** * * @param context @@ -113572,14 +114374,14 @@ declare namespace yfiles{ * @param origNodeId * @returns */ - createProxyEdge(context:yfiles.multipage.LayoutContext,proxyNode:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,replacingEdgeId:Object,origNodeId:Object):yfiles.algorithms.Edge; + createProxyEdge(context:yfiles.multipage.LayoutContext,proxyNode:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,replacingEdgeId:any,origNodeId:any):yfiles.algorithms.Edge; /** * * @param context * @param origNodeId * @returns */ - createProxyNode(context:yfiles.multipage.LayoutContext,origNodeId:Object):yfiles.algorithms.Node; + createProxyNode(context:yfiles.multipage.LayoutContext,origNodeId:any):yfiles.algorithms.Node; /** * * @param context @@ -113588,14 +114390,14 @@ declare namespace yfiles{ * @param referencingCopyId * @returns */ - createProxyReferenceEdge(context:yfiles.multipage.LayoutContext,proxyReference:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,referencingCopyId:Object):yfiles.algorithms.Edge; + createProxyReferenceEdge(context:yfiles.multipage.LayoutContext,proxyReference:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,referencingCopyId:any):yfiles.algorithms.Edge; /** * * @param context * @param referringProxyId * @returns */ - createProxyReferenceNode(context:yfiles.multipage.LayoutContext,referringProxyId:Object):yfiles.algorithms.Node; + createProxyReferenceNode(context:yfiles.multipage.LayoutContext,referringProxyId:any):yfiles.algorithms.Node; /** * Returns the default size for nodes created by this factory. *

    @@ -113613,8 +114415,9 @@ declare namespace yfiles{ * @returns the default size of the new node * @protected */ - getDefaultNodeSize(context:yfiles.multipage.LayoutContext,id:Object,type:number):yfiles.algorithms.YDimension; + getDefaultNodeSize(context:yfiles.multipage.LayoutContext,id:any,type:number):yfiles.algorithms.YDimension; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.multipage.DefaultElementFactory; } export enum EdgeType{ /** @@ -113761,15 +114564,15 @@ declare namespace yfiles{ * A class that holds all information associated with an edge. * @interface */ - export interface IEdgeInfo extends Object{ + export interface IEdgeInfo extends yfiles.lang.Object{ /** * Gets the unique ID of the associated edge. * @see yfiles.multipage.MultiPageLayoutResult#getEdgeInfo * @see yfiles.multipage.IElementInfoManager#getEdgeInfo * @abstract - * @type {Object} + * @type {any} */ - id:Object; + id:any; /** * Gets the type of the associated edge. * @abstract @@ -113790,31 +114593,31 @@ declare namespace yfiles{ } var IEdgeInfo:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.IEdgeInfo; }; /** * A class that holds all information related to an edge label. * @interface */ - export interface IEdgeLabelInfo extends Object{ + export interface IEdgeLabelInfo extends yfiles.lang.Object{ /** * Gets the unique ID of the associated edge label. * @see yfiles.multipage.MultiPageLayoutResult#getEdgeLabelInfo * @see yfiles.multipage.IElementInfoManager#getEdgeLabelInfo * @abstract - * @type {Object} + * @type {any} */ - id:Object; + id:any; } var IEdgeLabelInfo:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.IEdgeLabelInfo; }; /** * Factory used by class {@link yfiles.multipage.MultiPageLayout} to create special nodes and edges. * @interface */ - export interface IElementFactory extends Object{ + export interface IElementFactory extends yfiles.lang.Object{ /** * Callback method for creating an edge of type {@link yfiles.multipage.EdgeType#CONNECTOR}. *

    @@ -113832,7 +114635,7 @@ declare namespace yfiles{ * @see yfiles.multipage.LayoutContext#createEdge * @abstract */ - createConnectorEdge(context:yfiles.multipage.LayoutContext,connector:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,origEdgeId:Object,atTarget:boolean):yfiles.algorithms.Edge; + createConnectorEdge(context:yfiles.multipage.LayoutContext,connector:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,origEdgeId:any,atTarget:boolean):yfiles.algorithms.Edge; /** * Callback method for creating a node of type {@link yfiles.multipage.NodeType#CONNECTOR}. * @param context an object providing relevant layout information, for example, the current graph as well as various information about the @@ -113845,7 +114648,7 @@ declare namespace yfiles{ * @see yfiles.multipage.INodeInfo#representedNode * @abstract */ - createConnectorNode(context:yfiles.multipage.LayoutContext,edgesIds:yfiles.algorithms.YList,representedNodeId:Object):yfiles.algorithms.Node; + createConnectorNode(context:yfiles.multipage.LayoutContext,edgesIds:yfiles.algorithms.YList,representedNodeId:any):yfiles.algorithms.Node; /** * Callback method for creating an edge of type {@link yfiles.multipage.EdgeType#PROXY}. *

    @@ -113863,7 +114666,7 @@ declare namespace yfiles{ * @see yfiles.multipage.LayoutContext#createEdge * @abstract */ - createProxyEdge(context:yfiles.multipage.LayoutContext,proxyNode:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,replacingEdgeId:Object,origNodeId:Object):yfiles.algorithms.Edge; + createProxyEdge(context:yfiles.multipage.LayoutContext,proxyNode:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,replacingEdgeId:any,origNodeId:any):yfiles.algorithms.Edge; /** * Callback method for creating a node of type {@link yfiles.multipage.NodeType#PROXY}. * @param context an object providing relevant layout information, for example, the current graph as well as various information about the @@ -113875,7 +114678,7 @@ declare namespace yfiles{ * @see yfiles.multipage.NodeType#PROXY * @abstract */ - createProxyNode(context:yfiles.multipage.LayoutContext,origNodeId:Object):yfiles.algorithms.Node; + createProxyNode(context:yfiles.multipage.LayoutContext,origNodeId:any):yfiles.algorithms.Node; /** * Callback method for creating an edge of type {@link yfiles.multipage.EdgeType#PROXY_REFERENCE}. *

    @@ -113892,7 +114695,7 @@ declare namespace yfiles{ * @see yfiles.multipage.LayoutContext#createEdge * @abstract */ - createProxyReferenceEdge(context:yfiles.multipage.LayoutContext,proxyReference:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,referencingCopyId:Object):yfiles.algorithms.Edge; + createProxyReferenceEdge(context:yfiles.multipage.LayoutContext,proxyReference:yfiles.algorithms.Node,opposite:yfiles.algorithms.Node,referencingCopyId:any):yfiles.algorithms.Edge; /** * Callback method for creating a node of type {@link yfiles.multipage.NodeType#PROXY_REFERENCE}. * @param context an object providing relevant layout information, for example, the current graph as well as various information about the @@ -113904,17 +114707,17 @@ declare namespace yfiles{ * @see yfiles.multipage.NodeType#PROXY * @abstract */ - createProxyReferenceNode(context:yfiles.multipage.LayoutContext,referringProxyId:Object):yfiles.algorithms.Node; + createProxyReferenceNode(context:yfiles.multipage.LayoutContext,referringProxyId:any):yfiles.algorithms.Node; } var IElementFactory:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.IElementFactory; }; /** * Interface that offers access to the information objects of graph elements. * @interface */ - export interface IElementInfoManager extends Object{ + export interface IElementInfoManager extends yfiles.lang.Object{ /** * Returns the edge information object of the given edge. * @param edge the edge for which the information object should be returned @@ -113946,13 +114749,13 @@ declare namespace yfiles{ } var IElementInfoManager:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.IElementInfoManager; }; /** * Callback that is invoked when a {@link yfiles.multipage.MultiPageLayout} has calculated a new multi-page layout. * @interface */ - export interface ILayoutCallback extends Object{ + export interface ILayoutCallback extends yfiles.lang.Object{ /** * Invoked from {@link yfiles.multipage.MultiPageLayout#applyLayout} when a new multi-page layout has been calculated. * @param result the result of the layout calculation @@ -113963,7 +114766,7 @@ declare namespace yfiles{ } var ILayoutCallback:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.ILayoutCallback; }; /** * This interface offers access to information associated with a node. @@ -113973,7 +114776,7 @@ declare namespace yfiles{ *

    * @interface */ - export interface INodeInfo extends Object{ + export interface INodeInfo extends yfiles.lang.Object{ /** * Gets the node of the input graph that is represented by the node associated with this {@link yfiles.multipage.INodeInfo info object}. *

    @@ -114005,9 +114808,9 @@ declare namespace yfiles{ * Gets the unique ID of the node associated with this {@link yfiles.multipage.INodeInfo info object}. * @see yfiles.multipage.MultiPageLayout#NODE_ID_DP_KEY * @abstract - * @type {Object} + * @type {any} */ - id:Object; + id:any; /** * Gets the node that refers to the one associated with this {@link yfiles.multipage.INodeInfo info object}. *

    @@ -114029,25 +114832,25 @@ declare namespace yfiles{ } var INodeInfo:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.INodeInfo; }; /** * A class that holds all information related to a node label. * @interface */ - export interface INodeLabelInfo extends Object{ + export interface INodeLabelInfo extends yfiles.lang.Object{ /** * Gets the unique ID of the associated node label. * @see yfiles.multipage.MultiPageLayoutResult#getNodeLabelInfo * @see yfiles.multipage.IElementInfoManager#getNodeLabelInfo * @abstract - * @type {Object} + * @type {any} */ - id:Object; + id:any; } var INodeLabelInfo:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.multipage.INodeLabelInfo; }; /** * This class represents the layout context. @@ -114057,7 +114860,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.multipage.IElementInfoManager} */ - export interface LayoutContext extends Object,yfiles.multipage.IElementInfoManager{} + export interface LayoutContext extends yfiles.lang.Object,yfiles.multipage.IElementInfoManager{} export class LayoutContext { /** * Adds a label to a given edge. @@ -114079,14 +114882,14 @@ declare namespace yfiles{ * @returns the created edge * @see yfiles.multipage.IElementFactory */ - createEdge(source:yfiles.algorithms.Node,target:yfiles.algorithms.Node,sameDataElementId:Object):yfiles.algorithms.Edge; + createEdge(source:yfiles.algorithms.Node,target:yfiles.algorithms.Node,sameDataElementId:any):yfiles.algorithms.Edge; /** * All methods of the {@link yfiles.multipage.IElementFactory} have to use this method to create a node. * @param sameDataElementId the ID of the node whose data should be copied to the created node (or null if no data should be copied) * @returns the created node * @see yfiles.multipage.IElementFactory */ - createNode(sameDataElementId:Object):yfiles.algorithms.Node; + createNode(sameDataElementId:any):yfiles.algorithms.Node; /** * * @param edge @@ -114116,27 +114919,27 @@ declare namespace yfiles{ * @param id the ID of the edge that should be returned * @returns the edge of the input graph with the given ID or null if there is no such edge */ - getOriginalEdge(id:Object):yfiles.algorithms.Edge; + getOriginalEdge(id:any):yfiles.algorithms.Edge; /** * Returns the node of the input graph with the given ID or null if there is no such node. * @param id the ID of the node that should be returned * @returns the node of the input graph with the given ID or null if there is no such node */ - getOriginalNode(id:Object):yfiles.algorithms.Node; + getOriginalNode(id:any):yfiles.algorithms.Node; /** * Returns the edge of a page graph (a graph that represents the result of the multi-page layout) with the given ID or null * if there is no such edge. * @param id the ID of the edge that should be returned * @returns the edge of a page graph with the given ID or null if there is no such edge */ - getPageEdge(id:Object):yfiles.algorithms.Edge; + getPageEdge(id:any):yfiles.algorithms.Edge; /** * Returns the node of a page graph (a graph that represents the result of the multi-page layout) with the given ID or null * if there is no such node. * @param id the ID of the node that should be returned * @returns the node of a page graph with the given ID or null if there is no such node */ - getPageNode(id:Object):yfiles.algorithms.Node; + getPageNode(id:any):yfiles.algorithms.Node; /** * Removes a label from a given edge. * @param label the label that should be removed @@ -114162,6 +114965,7 @@ declare namespace yfiles{ */ layout:yfiles.multipage.MultiPageLayout; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.multipage.LayoutContext; } /** * This layout algorithm subdivides the input graph into several {@link yfiles.layout.LayoutGraph}s (called page graphs) such that @@ -114195,7 +114999,8 @@ declare namespace yfiles{ *

    * Similar to the layout style, the supported feature set mainly depends on the features supported by the specified * {@link yfiles.layout.LayoutStageBase#coreLayout core layout algorithm}. Note that due to the underlying approach of the {@link yfiles.multipage.MultiPageLayout} it doesn't - * support {@link yfiles.layout.PartitionGrid}s. + * support {@link yfiles.layout.PartitionGrid}s. Furthermore, while the {@link yfiles.multipage.MultiPageLayout} is able to support groups + * (see {@link yfiles.multipage.MultiPageLayout#groupingMode}), it doesn't support edges incident to group nodes. *

    *

    * Concept @@ -114308,37 +115113,37 @@ declare namespace yfiles{ * @see yfiles.multipage.MultiPageLayout#strictClusterSeparation * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static NODE_CLUSTER_ID_DP_KEY:yfiles.algorithms.NodeDpKey; + static NODE_CLUSTER_ID_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Data provider key for mapping each node of the input graph to a unique ID * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; + static NODE_ID_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Data provider key for mapping each edge of the input graph to a unique ID * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static EDGE_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; + static EDGE_ID_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Data provider key for mapping each edge label of the input graph to a unique ID * @const * @static - * @type {yfiles.algorithms.IEdgeLabelLayoutDpKey.} + * @type {yfiles.algorithms.IEdgeLabelLayoutDpKey.} */ - static EDGE_LABEL_ID_DP_KEY:yfiles.algorithms.IEdgeLabelLayoutDpKey; + static EDGE_LABEL_ID_DP_KEY:yfiles.algorithms.IEdgeLabelLayoutDpKey; /** * Data provider key for mapping each node label of the input graph to a unique ID * @const * @static - * @type {yfiles.algorithms.INodeLabelLayoutDpKey.} + * @type {yfiles.algorithms.INodeLabelLayoutDpKey.} */ - static NODE_LABEL_ID_DP_KEY:yfiles.algorithms.INodeLabelLayoutDpKey; + static NODE_LABEL_ID_DP_KEY:yfiles.algorithms.INodeLabelLayoutDpKey; /** * Data provider key for specifying the type of multi-edges *

    @@ -114350,9 +115155,9 @@ declare namespace yfiles{ * @see yfiles.multipage.MultiPageLayout#edgeBundleModeMask * @const * @static - * @type {yfiles.algorithms.EdgeDpKey.} + * @type {yfiles.algorithms.EdgeDpKey.} */ - static EDGE_TYPE_DP_KEY:yfiles.algorithms.EdgeDpKey; + static EDGE_TYPE_DP_KEY:yfiles.algorithms.EdgeDpKey; /** * Gets or sets whether or not the algorithm should separate nodes with different {@link yfiles.multipage.MultiPageLayout#NODE_CLUSTER_ID_DP_KEY cluster IDs}. *

    @@ -114439,6 +115244,7 @@ declare namespace yfiles{ */ maximumPageSize:yfiles.algorithms.YDimension; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.multipage.MultiPageLayout; } /** * This class represents the result of a layout run of {@link yfiles.multipage.MultiPageLayout}. @@ -114455,7 +115261,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.multipage.IElementInfoManager} */ - export interface MultiPageLayoutResult extends Object,yfiles.multipage.IElementInfoManager{} + export interface MultiPageLayoutResult extends yfiles.lang.Object,yfiles.multipage.IElementInfoManager{} export class MultiPageLayoutResult { /** * @@ -114502,6 +115308,7 @@ declare namespace yfiles{ */ pageCount():number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.multipage.MultiPageLayoutResult; } /** * Specifies custom data for the {@link yfiles.multipage.MultiPageLayout}. @@ -114514,36 +115321,36 @@ declare namespace yfiles{ /** * Gets or sets the mapping from nodes to their unique IDs. * @see yfiles.multipage.MultiPageLayout#NODE_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - nodeIds:yfiles.layout.ItemMapping; + nodeIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from edges to their unique IDs. * @see yfiles.multipage.MultiPageLayout#EDGE_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - edgeIds:yfiles.layout.ItemMapping; + edgeIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from node labels to their unique IDs. * @see yfiles.multipage.MultiPageLayout#NODE_LABEL_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - nodeLabelIds:yfiles.layout.ItemMapping; + nodeLabelIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from edge labels to their unique IDs. * @see yfiles.multipage.MultiPageLayout#EDGE_LABEL_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - edgeLabelIds:yfiles.layout.ItemMapping; + edgeLabelIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from nodes to their cluster id. *

    * Nodes with the same cluster id should preferably be placed on the same page. *

    * @see yfiles.multipage.MultiPageLayout#NODE_CLUSTER_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - nodeClusterIds:yfiles.layout.ItemMapping; + nodeClusterIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from edges to their type. *

    @@ -114551,9 +115358,9 @@ declare namespace yfiles{ * == 1. *

    * @see yfiles.multipage.MultiPageLayout#EDGE_TYPE_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - edgeTypes:yfiles.layout.ItemMapping; + edgeTypes:yfiles.layout.ItemMapping; /** * Gets or sets the AbortHandler used during the layout. * @see yfiles.algorithms.AbortHandler#ABORT_HANDLER_DP_KEY @@ -114561,6 +115368,7 @@ declare namespace yfiles{ */ abortHandler:yfiles.algorithms.AbortHandler; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.multipage.MultiPageLayoutData; } }export namespace circular{ /** @@ -114624,15 +115432,15 @@ declare namespace yfiles{ /** * Data provider key for defining custom node partitions *

    - * The {@link yfiles.algorithms.IDataProvider} needs to provide a mapping from {@link yfiles.algorithms.Node}s to unique {@link Object} IDs for each + * The {@link yfiles.algorithms.IDataProvider} needs to provide a mapping from {@link yfiles.algorithms.Node}s to unique {@link any} IDs for each * group of nodes. These groups will form the circles in the layout. *

    * @see yfiles.circular.LayoutStyle#CUSTOM_GROUPS * @const * @static - * @type {yfiles.algorithms.NodeDpKey.} + * @type {yfiles.algorithms.NodeDpKey.} */ - static CUSTOM_GROUPS_DP_KEY:yfiles.algorithms.NodeDpKey; + static CUSTOM_GROUPS_DP_KEY:yfiles.algorithms.NodeDpKey; /** * Gets or sets whether or not the layout algorithm reserves space for node labels preventing possible overlaps. *

    @@ -114756,6 +115564,7 @@ declare namespace yfiles{ */ edgeBundling:yfiles.layout.EdgeBundling; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.circular.CircularLayout; } export enum LayoutStyle{ /** @@ -114942,6 +115751,7 @@ declare namespace yfiles{ */ selfLoopRouterEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.circular.SingleCycleLayout; } /** * Specifies custom data for the {@link yfiles.circular.CircularLayout}. @@ -114966,9 +115776,9 @@ declare namespace yfiles{ * The custom groups are only considered if {@link yfiles.circular.CircularLayout#layoutStyle} is set to {@link yfiles.circular.LayoutStyle#CUSTOM_GROUPS} *

    * @see yfiles.circular.CircularLayout#CUSTOM_GROUPS_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - customGroups:yfiles.layout.ItemMapping; + customGroups:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from nodes to their {@link yfiles.layout.NodeHalo}. * @see yfiles.layout.NodeHalo#NODE_HALO_DP_KEY @@ -114996,6 +115806,7 @@ declare namespace yfiles{ */ edgeBundleDescriptors:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.circular.CircularLayoutData; } }export namespace orthogonal{ /** @@ -115012,7 +115823,7 @@ declare namespace yfiles{ * @see yfiles.orthogonal.OrthogonalLayout#EDGE_LAYOUT_DESCRIPTOR_DP_KEY * @class */ - export interface EdgeLayoutDescriptor extends Object{} + export interface EdgeLayoutDescriptor extends yfiles.lang.Object{} export class EdgeLayoutDescriptor { /** * Creates a new instance of {@link yfiles.orthogonal.EdgeLayoutDescriptor} with the default settings. @@ -115051,6 +115862,7 @@ declare namespace yfiles{ */ minimumSegmentLength:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.orthogonal.EdgeLayoutDescriptor; } export enum LayoutStyle{ /** @@ -115376,6 +116188,7 @@ declare namespace yfiles{ */ orientationLayoutEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.orthogonal.OrthogonalLayout; } /** * This layout algorithm arranges a graph in a compact, orthogonal fashion. @@ -115459,6 +116272,7 @@ declare namespace yfiles{ */ aspectRatio:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.orthogonal.CompactOrthogonalLayout; } /** * Specifies custom data for the {@link yfiles.orthogonal.OrthogonalLayout}. @@ -115484,15 +116298,15 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroupIds:yfiles.layout.ItemMapping; + sourceGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroupIds:yfiles.layout.ItemMapping; + targetGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from nodes to their {@link yfiles.layout.NodeHalo}. * @see yfiles.layout.NodeHalo#NODE_HALO_DP_KEY @@ -115514,6 +116328,7 @@ declare namespace yfiles{ */ edgeLabelPreferredPlacement:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.orthogonal.OrthogonalLayoutData; } }export namespace radial{ export enum CenterNodesPolicy{ @@ -115589,7 +116404,7 @@ declare namespace yfiles{ *

    * @class */ - export interface RadialLayoutNodeInfo extends Object{} + export interface RadialLayoutNodeInfo extends yfiles.lang.Object{} export class RadialLayoutNodeInfo { /** * Creates a new {@link yfiles.radial.RadialLayoutNodeInfo} instance. @@ -115630,6 +116445,7 @@ declare namespace yfiles{ */ sectorSize:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.radial.RadialLayoutNodeInfo; } /** * This layout algorithm arranges graphs in a radial fashion. @@ -115737,9 +116553,9 @@ declare namespace yfiles{ * Gets or sets the {@link yfiles.algorithms.IDataProvider} key used for looking up the selected nodes that should be placed in the * center. * @throws {Stubs.Exceptions.ArgumentError} if the specified key is null - * @type {Object} + * @type {any} */ - centerNodesDpKey:Object; + centerNodesDpKey:any; /** * Gets or sets the layering strategy that determines how nodes are distributed into different layers. *

    @@ -115783,6 +116599,7 @@ declare namespace yfiles{ */ edgeBundling:yfiles.layout.EdgeBundling; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.radial.RadialLayout; } /** * Specifies custom data for the {@link yfiles.radial.RadialLayout}. @@ -115813,15 +116630,15 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroups:yfiles.layout.ItemMapping; + sourceGroups:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroups:yfiles.layout.ItemMapping; + targetGroups:yfiles.layout.ItemMapping; /** * Gets or sets the mapping from nodes to their {@link yfiles.layout.NodeHalo}. * @see yfiles.layout.NodeHalo#NODE_HALO_DP_KEY @@ -115849,6 +116666,7 @@ declare namespace yfiles{ */ edgeBundleDescriptors:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.radial.RadialLayoutData; } }export namespace seriesparallel{ /** @@ -115862,9 +116680,9 @@ declare namespace yfiles{ *

    * @see yfiles.seriesparallel.SeriesParallelLayout#defaultOutEdgeComparer * @class - * @implements {yfiles.collections.IComparer.} + * @implements {yfiles.collections.IComparer.} */ - export interface DefaultOutEdgeComparer extends Object,yfiles.collections.IComparer{} + export interface DefaultOutEdgeComparer extends yfiles.lang.Object,yfiles.collections.IComparer{} export class DefaultOutEdgeComparer { /** * Creates a {@link yfiles.seriesparallel.DefaultOutEdgeComparer} instance with default settings. @@ -115880,8 +116698,9 @@ declare namespace yfiles{ * @param o2 the second edge * @returns the order of the given two edges */ - compare(o1:Object,o2:Object):number; + compare(o1:any,o2:any):number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.seriesparallel.DefaultOutEdgeComparer; } /** * {@link yfiles.seriesparallel.DefaultPortAssignment} implements the default port assignment strategy. @@ -115902,7 +116721,7 @@ declare namespace yfiles{ * @class * @implements {yfiles.seriesparallel.IPortAssignment} */ - export interface DefaultPortAssignment extends Object,yfiles.seriesparallel.IPortAssignment{} + export interface DefaultPortAssignment extends yfiles.lang.Object,yfiles.seriesparallel.IPortAssignment{} export class DefaultPortAssignment { /** * Creates a new {@link yfiles.seriesparallel.DefaultPortAssignment} instance using the given {@link yfiles.seriesparallel.DefaultPortAssignment#mode mode} and a given value for the {@link yfiles.seriesparallel.DefaultPortAssignment#borderGapToPortGapRatio ratio} @@ -115993,6 +116812,7 @@ declare namespace yfiles{ */ forkStyle:yfiles.seriesparallel.ForkStyle; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.seriesparallel.DefaultPortAssignment; } /** * An {@link yfiles.seriesparallel.EdgeLayoutDescriptor} provides routing details for an edge that are considered by @@ -116007,7 +116827,7 @@ declare namespace yfiles{ * @see yfiles.seriesparallel.SeriesParallelLayout#defaultEdgeLayoutDescriptor * @class */ - export interface EdgeLayoutDescriptor extends Object{} + export interface EdgeLayoutDescriptor extends yfiles.lang.Object{} export class EdgeLayoutDescriptor { /** * Creates a new instance of {@link yfiles.seriesparallel.EdgeLayoutDescriptor} with default settings. @@ -116046,6 +116866,7 @@ declare namespace yfiles{ */ minimumLastSegmentLength:number; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.seriesparallel.EdgeLayoutDescriptor; } export enum PortAssignmentMode{ /** @@ -116107,7 +116928,7 @@ declare namespace yfiles{ * locations of the edges' ports at their incident nodes. * @interface */ - export interface IPortAssignment extends Object{ + export interface IPortAssignment extends yfiles.lang.Object{ /** * Assigns both the incoming edges' target ports as well as all source ports for the outgoing edges. *

    @@ -116127,7 +116948,7 @@ declare namespace yfiles{ } var IPortAssignment:{ $class:yfiles.lang.Class; - isInstance(o:Object):boolean; + isInstance(o:any):o is yfiles.seriesparallel.IPortAssignment; }; /** * This layout algorithm arranges series-parallel graphs. @@ -116241,9 +117062,9 @@ declare namespace yfiles{ * @see yfiles.seriesparallel.SeriesParallelLayout#defaultOutEdgeComparer * @const * @static - * @type {yfiles.algorithms.NodeDpKey.>} + * @type {yfiles.algorithms.NodeDpKey.>} */ - static OUT_EDGE_COMPARER_DP_KEY:yfiles.algorithms.NodeDpKey>; + static OUT_EDGE_COMPARER_DP_KEY:yfiles.algorithms.NodeDpKey>; /** * Data provider key for providing an individual port distribution at nodes *

    @@ -116317,9 +117138,9 @@ declare namespace yfiles{ * @throws {Stubs.Exceptions.ArgumentError} if the given key is set to null * @see yfiles.seriesparallel.SeriesParallelLayout#generalGraphHandling * @see yfiles.seriesparallel.SeriesParallelLayout#nonSeriesParallelEdgeRouter - * @type {Object} + * @type {any} */ - nonSeriesParallelEdgesDpKey:Object; + nonSeriesParallelEdgesDpKey:any; /** * Gets or sets the labeling algorithm that is applied to all edge labels that belong to non-series-parallel edges. * @see yfiles.seriesparallel.SeriesParallelLayout#generalGraphHandling @@ -116340,9 +117161,9 @@ declare namespace yfiles{ * The labeling algorithm set as default is already configured such that it uses the correct selection key. *

    * @see yfiles.seriesparallel.SeriesParallelLayout#nonSeriesParallelEdgeLabelingAlgorithm - * @type {Object} + * @type {any} */ - nonSeriesParallelEdgeLabelSelectionKey:Object; + nonSeriesParallelEdgeLabelSelectionKey:any; /** * Gets or sets the default {@link yfiles.seriesparallel.IPortAssignment} used for those nodes that do not have their own specific * instance. @@ -116360,9 +117181,9 @@ declare namespace yfiles{ * Such a comparator is defined using a {@link yfiles.algorithms.IDataProvider} registered with the graph with key * {@link yfiles.seriesparallel.SeriesParallelLayout#OUT_EDGE_COMPARER_DP_KEY}. *

    - * @type {yfiles.collections.IComparer.} + * @type {yfiles.collections.IComparer.} */ - defaultOutEdgeComparer:yfiles.collections.IComparer; + defaultOutEdgeComparer:yfiles.collections.IComparer; /** * Gets or sets the currently used routing style for edges. * @type {yfiles.seriesparallel.RoutingStyle} @@ -116465,6 +117286,7 @@ declare namespace yfiles{ */ selfLoopRouterEnabled:boolean; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.seriesparallel.SeriesParallelLayout; } /** * Specifies custom data for the {@link yfiles.seriesparallel.SeriesParallelLayout}. @@ -116496,15 +117318,15 @@ declare namespace yfiles{ /** * Gets or sets a mapping from edges to an object representing their source edge group. * @see yfiles.layout.PortConstraintKeys#SOURCE_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - sourceGroupIds:yfiles.layout.ItemMapping; + sourceGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets a mapping from edges to an object representing their target edge group. * @see yfiles.layout.PortConstraintKeys#TARGET_GROUP_ID_DP_KEY - * @type {yfiles.layout.ItemMapping.} + * @type {yfiles.layout.ItemMapping.} */ - targetGroupIds:yfiles.layout.ItemMapping; + targetGroupIds:yfiles.layout.ItemMapping; /** * Gets or sets the AbortHandler used during the layout. * @see yfiles.algorithms.AbortHandler#ABORT_HANDLER_DP_KEY @@ -116520,6 +117342,7 @@ declare namespace yfiles{ */ edgeLabelPreferredPlacement:yfiles.layout.ItemMapping; static $class:yfiles.lang.Class; + static isInstance(o:any):o is yfiles.seriesparallel.SeriesParallelLayoutData; } }} diff --git a/types/yfiles/yfiles-tests.ts b/types/yfiles/yfiles-tests.ts index 1bcaefe8c9..9d350bd6ac 100644 --- a/types/yfiles/yfiles-tests.ts +++ b/types/yfiles/yfiles-tests.ts @@ -129,6 +129,20 @@ class BasicTest { var args = new yfiles.lang.EventArgs(); yfiles.input.KeyEventRecognizers.META_PRESSED(null, args); } + + testsForVersion2012() { + //isInstance type-guard + let r : any; + let p : any; + if(yfiles.geometry.Rect.isInstance(r) && yfiles.geometry.Point.isInstance(p)) { + r.contains(p); + } + + //Typings for yfiles.lang.Object instance methods. + let r2 : yfiles.geometry.Rect = new yfiles.geometry.Rect(0,0,100,100); + let r3 : yfiles.geometry.Rect = new yfiles.geometry.Rect(0,0,100,100); + r2.equals(r3); + } } class MyHitTestable extends yfiles.lang.BaseClass(yfiles.input.IHitTestable) implements yfiles.input.IHitTestable { @@ -143,3 +157,19 @@ class MyNodeStyle extends yfiles.styles.NodeStyleBase { return new yfiles.view.SvgVisual(g); } } + +// tests for version 2.0.1.2 + +// parameterless baseclass call. +class MyHitTestable2 extends yfiles.lang.BaseClass(yfiles.input.IHitTestable) implements yfiles.input.IHitTestable { + isHit(context: yfiles.input.IInputModeContext, location: yfiles.geometry.Point): boolean { + return null; + } +} + +// yfiles.lang.Object as baseclass. +class MyHitTestable3 extends yfiles.lang.BaseClass(yfiles.input.IHitTestable) implements yfiles.input.IHitTestable { + isHit(context: yfiles.input.IInputModeContext, location: yfiles.geometry.Point): boolean { + return null; + } +}