Store metadata in digraph