Skip to main content

Module graph

Module graph 

Source

Structs§

ResolvedGraph

Functions§

expand
Identify all edges leading to and from a provided node_id in a block_group and merge them into an existing GenGraph. Returns true if the graph was expanded, false if no new edges were added.
find_offset
From a given position in a graph, find positions a given number of characters away. An expand function can be given that specifies how to expand the input graph when it is exhausted. By default, this function searches along the known graph, and if a matching position cannot be found it will expand until it is not possible to grow the graph anymore. Returns a Result<Vec>, given a list of matching GraphNodePositions at the requested distance.