Fix dep graph string helpers
Added example of using new interface