Adds two toggles for read_edges and get_graph:
targetting_edges: also return edges that have their target node in the queried roi.
dangling_attrs: include dangling nodes so that their attributes are included in the graph.
Edge index needed to change to support this query. Instead of having a compound index on (u, v), we now create 2 indexes, one for u and one for v. This allows for equally efficient ( I think ) querying of u, more efficient querying of v ( compound index leads to a simple collection scan ), but less efficient ( I think ) querying of u, v pairs.
Adds two toggles for read_edges and get_graph: targetting_edges: also return edges that have their target node in the queried roi. dangling_attrs: include dangling nodes so that their attributes are included in the graph.
Edge index needed to change to support this query. Instead of having a compound index on (u, v), we now create 2 indexes, one for u and one for v. This allows for equally efficient ( I think ) querying of u, more efficient querying of v ( compound index leads to a simple collection scan ), but less efficient ( I think ) querying of u, v pairs.