Relational databases are frequently used to store graphs in all their many flavors (trees, directed graphs, undirected graphs, ...).