internal/v4: implement API endpoint for bundle diagram.svg