.png -files are not "editable" as is - they're bitmap files, so they just have pixels - no layers, vectors or diagrams. However, they can have metadata embedded into the file! At least draw.io / diagrams.net handles this very fluently. Your .png files work normally to end-users, but when opened with the app, they are editable. Very nice experience!