I forgot to mention. If you submit a v5, could you squash all commits that deal with lib/graph into a single patch? Including the public API to increment the nodes xstats? And a second patch that implements xstats in the in-built nodes. Thanks!