Server rendering and strict CSP
Draw the diagram on the server, so the page shows it before any script runs, and keep it working under a strict Content Security Policy.
Draw the diagram on the server, so the page shows it before any script runs, and keep it working under a strict Content Security Policy.