escape newline in graph node names

close #424