Merge pull request #5 from pondering/master

parallel
Merge pull request #6 from pondering/master

add graph model