REBASEME: parameter 'graph' needs to be marked const

since member 'graph' was marked const in concurrent commit