yfiles/client/support/HitInfoData
Class HitInfoData

Represents a single hit object and provides information about the hit.

 
Field Summary
 String d           

For nodes and edges only. This optional value represents the description that is attached to the node or edge.

 Number h           

Not for edges. Represents the height of the bounding rectangle of the element.

 String i           

The id of the element.

 Array p           

Only for edges. An array of all bends of the edge. Each element is an object with x and y properties.

 String t           

The type of the graph element. n for a node, nl for a node label, e for an edge and el for an edge label.

 String u           

For nodes and edges only. This optional value represents the URL that is attached to the node or edge.

 Number w           

Not for edges. Represents the width of the bounding rectangle of the element.

 Number x           

Not for edges. Represents the x coordinate of the bounding rectangle of the element.

 Number y           

Not for edges. Represents the y coordinate of the bounding rectangle of the element.

 
Constructor Summary
HitInfoData(Object data)
           
 
Field Detail

d

String d

For nodes and edges only. This optional value represents the description that is attached to the node or edge.


h

Number h

Not for edges. Represents the height of the bounding rectangle of the element.


i

String i

The id of the element.


p

Array p

Only for edges. An array of all bends of the edge. Each element is an object with x and y properties.


t

String t

The type of the graph element. n for a node, nl for a node label, e for an edge and el for an edge label.


u

String u

For nodes and edges only. This optional value represents the URL that is attached to the node or edge.


w

Number w

Not for edges. Represents the width of the bounding rectangle of the element.


x

Number x

Not for edges. Represents the x coordinate of the bounding rectangle of the element.


y

Number y

Not for edges. Represents the y coordinate of the bounding rectangle of the element.

 
Constructor Detail

HitInfoData

HitInfoData(Object data)
Parameters:
data -

An object that contains all or some of the specified properties of this class. Most likely to come from a XHR call.


Copyright © 2006-2013 yWorks GmbH. All rights reserved.