Add write support for mixed undirected/directed graphs
Merge pull request #2 from virtuald/master

Add write support for mixed undirected/directed graphs