You can always share diagrams with people outside of Confluence using a pdf export. But if you also like to share editable diagram files, an export via URL is the best way to do so. Diagrams are transferred from draw.io to the open-source web client diagrams.net, enabling people to view and instantly keep working with it.
Get your 30-day trial – draw.io is available on the Atlassian Marketplace (https://drawio.link/marketplace)
Or learn more about diagramming with draw.io at https://drawio-app.com/learning. You can also take a look at our blog (https://drawio-app.com/blog) to always stay up-to-date on new draw.io features in Confluence.