Retrieve all neighbors of a given node, stratified by specific node types.
get_neighbors_type(root, edge_list_types, edge_list)
root | ID of the root node. |
---|---|
edge_list_types | Specified node types to stratify by. |
edge_list | Edge list as a
|
Nested list of neighbors grouped by type.