You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the issue is that the in Edges, the names and types are only valid in the to_pos direction, not the _from_pos:
struct Edges
type::Vector{Int8}# index into `snapshot.meta.edge_types`
name_index::Vector{UInt32}# index into `snapshot.strings`
to_pos::Vector{UInt32}# index into `snapshot.nodes` (outgoing edge)
_from_pos::Vector{UInt32}# index into `snapshot.nodes` (inbound edge)end
So ways to fix this:
a) Don't print the backward pointing edge info
b) Compute the correct backward pointing edge during rendering (potentially slow)
c) Store additional version of type and name_index (I worry about memory pressure)
Would a solution be to change _from_pos to point to the edge indexes rather than the nodes?
I have to admit that this struct-of-arrays storage format is hard for me to wrap my head around 😬
Normal mode:
Parent:
The text was updated successfully, but these errors were encountered: