Basic compareGraph and compareArc functionality