as i remember you need to install https://graphviz.org/
also you can download whole doc files from https://docs.opencv.org/