funkelab / daisy

Block-wise task scheduling for large nD volumes.
MIT License
26 stars 17 forks source link

Dangling attributes rebased #29

Closed pattonw closed 3 years ago

pattonw commented 3 years ago

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.