Object built-in object

ObjectHeapGraphEdge

HeapGraphEdge represents twoHeapGraphNodeAssociations between nodes, from upstream nodes to downstream nodes

inheritance relationship

member properties

type

Integer, link mode 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 of HeapGraphEdgeHeapGraphNodenode

1
HeapGraphNode HeapGraphEdge.getFromNode();

Return results:


getToNode

Get the downstream of HeapGraphEdgeHeapGraphNodenode

1
HeapGraphNode HeapGraphEdge.getToNode();

Return results:


toString

Returns the string representation of the object. Generally, "[Native Object]" is returned. The object can be re-implemented according to its own characteristics.

1
String HeapGraphEdge.toString();

Return results:

  • String, returns the string representation of the object

toJSON

Returns a JSON format representation of the object, generally returning a collection of readable properties defined by the object.

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

Call parameters:

  • key: String, not used

Return results:

  • Value, returns a value containing JSON serializable