There is a custom hack in components/mermaid.tsx so the diagram can be wider than it's parent (and still centered and part of the flow)
This can be useful for anything else (images, code blocks etc)
Make it a separate component that you can use in mdx