Object built-in object

Object HeapGraphEdge

HeapGraphEdge represents the association between two HeapGraphNode nodes, from the upstream node to the downstream node

Inheritance

Member attributes

type

Integer, the link method of downstream nodes, possible values:

1
readonly Integer HeapGraphEdge.type;

name

String, link name

1
readonly String HeapGraphEdge.name;

description

String, description of the link

1
readonly String HeapGraphEdge.description;

Member function

getFromNode

Get the upstream HeapGraphNode node of HeapGraphNode

1
HeapGraphNode HeapGraphEdge.getFromNode();

Return result:


getToNode

Get the downstream HeapGraphNode node of HeapGraphNode

1
HeapGraphNode HeapGraphEdge.getToNode();

Return result:


toString

Returns the string representation of the object, generally returns "[Native Object]", the object can be re-implemented according to its own characteristics

1
String HeapGraphEdge.toString();

Return result:

  • String , returns the string representation of the object

toJSON

Returns the JSON format representation of the object, generally returns a collection of readable attributes defined by the object

1
Value HeapGraphEdge.toJSON(String key = "");

Call parameters:

  • key : String, unused

Return result:

  • Value , returns a value containing JSON serializable