|
|||||
SUMMARY: FIELD | CONSTR | METHOD| EVENT | DETAIL: FIELD | CONSTR | METHOD| EVENT |
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 |
String |
t
The type of the graph element.
|
String |
u
For nodes and edges only. This optional value
represents the |
Number |
w
Not for edges. Represents the width of the bounding rectangle of the element. |
Number |
x
Not for edges. Represents the |
Number |
y
Not for edges. Represents the |
Constructor Summary | |
---|---|
HitInfoData(Object data)
|
Field Detail |
---|
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 Detail |
---|
HitInfoData(Object data)
data
- An object that contains all or some of the specified properties of this class. Most likely to come from a XHR call.