handle nodes w/ multiple outputs properly (add a key for each of them to graph.nodes)
quote values properly in $out and $in, handle trailing space in vars (still needs tests)