added trivial graph format support