There’s a feature request for this (not specifically related to the graph.
I believe there is also a plugin. I don’t remember it’s name, but you could search the plugin store or the comments of the feature request where it’s probably mentioned (if I’m remembering right that it exists),