Optimisation for simple lookups in graphs.
Supports all key graphs, but is especially optimized for tinkergraph