# Graphs and knowledge graphs Which relationship should graph search follow? Input: Current node + candidate relationships Judgment: Judge relevance to the query goal Action: Graph-query code traverses and records the path Editorial illustration, not a deployed product. Source: https://docs.typesafe.ai/concepts/use-case-map