logGraph implemented