Binary support for Graph