Currently the docs on displaying graphs with napari are broken. myst-nb lets us build documentation examples from live code, but the docs build whether or not the code is correct. sybil tests the examples to make sure they work correctly.
https://sybil.readthedocs.io/en/latest/quickstart.html
Alternatively there might be myst-nb options that we're not taking advantage of.