Refactor nodePrinter to nodeWriter (we don't 'print' to file (only PDF), we 'write' to file, so bit misleading)
Rename edgePrinter to edgeWriter (see previous commit for explanation)