GraphQL Nodes And Edges Explained

GraphQL

03/10/2022


Getting a rudimentary understanding of graph theory can go a long way in solidifying your understanding of nodes and edges in GraphQL.

What is a graph?

In simple terms, a graph is an interconnected web of data. Each data point (e.g. books or authors) represents a node and each of these nodes is connected by what are called edges.

Graph example

A basic graph with nodes and edges

It's important to note that edges are just as important as nodes as they contain metadata about the relationship of two nodes.


WRITTEN BY

Code and stuff