Library for Graphs and related structures