The Diagram Application bundles the draw.io library so you don’t need to host it. External draw.io service is used only for:
- PDF export from the diagram editor
- PNG export on Internet Explorer 11 and below
Besides that everything is included in the Diagram Application you install with the Extension Manager on top of XWiki.