Les structures de données pour les graphes dirigés et non dirigés sont d'une importance fondamentale. Des implémentations bien connues et largement utilisées telles que Boost Graph Library et Lemon so
La fonction boost boost::graph::copy_graph template <class VertexListGraph, class MutableGraph> void
copy_graph(const VertexListGraph& G, MutableGraph& G_copy,
const bgl_named_params<P, T, R>& p