Object built-in object

Object HeapGraphEdge

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

Inheritance

Member attribute

type

Integer, the link mode of the downstream node, 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 reimplemented according to its own characteristics

1
String HeapGraphEdge.toString();

Return result:

  • String , returns a 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