implemented GraphFormat