Holy mother of jesus. It now works for general graphs and custom picklers.