graph database optimized for trek