add graph package
Merge branch 'master' into java
add DigraphAdapter