Add Pyreverse option to exclude standalone nodes from diagrams with `--no-standalone`. Closes #8476