...
Code Block |
---|
language | sql |
---|
theme | Eclipse |
---|
title | Example |
---|
|
output = MAP({EXPRESSIONS = [['FindNodesByPattern(graph, "nodesStartingWithThis.*")', 'nodes_list']]}, input) |
GetGraphElementId(Graph/GraphNode/GraphEdge element)
Gets the id of a graph element (a graph, node or edge). The input is one of the three Graph Data Types. The output is the id (String).
Code Block |
---|
language | sql |
---|
theme | Eclipse |
---|
title | Example |
---|
|
output = MAP({EXPRESSIONS = [['GetGraphElementId(mygraph)', 'graphId'], ['GetGraphElementId(mynode)', 'nodeId'], ['GetGraphElementId(myedge)', 'edgeId']]}, input) |