A thread-safe implementation of a graph data structure.