Overview of libgraph core components
mainlibgraph is an Elixir library providing high-performance graph data structures and utilities. Its core components include:
Graph: A data structure implementation designed for both directed and undirected graphs. It uses an idiomatic Elixir API that allows for pipeline-based creation and modification, and all queries take aGraphas the first parameter.PriorityQueue: A high-performance priority queue optimized for graph algorithms. It prioritizes lower integer values over higher ones (e.g., for Dijkstra's algorithm).- Reducers: Two implementations for mapping or reducing over a graph structure.
Serializerbehaviour: An interface for defining custom graph serialization. A Graphviz DOT format serializer is included by default.