[PR #5666] [CLOSED] Diagram Rendering #6545

Closed
opened 2026-02-05 10:35:11 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5666
Author: @ssddanbrown
Created: 6/19/2025
Status: Closed

Base: developmentHead: drawio_rendering


📝 Commits (1)

  • a9f5e98 Drawings: Added class to extract drawio data from png files

📊 Changes

4 files changed (+185 additions, -0 deletions)

View changed files

app/Exceptions/DrawioPngReaderException.php (+7 -0)
app/Uploads/DrawioPngReader.php (+122 -0)
tests/Uploads/DrawioPngReaderTest.php (+56 -0)
tests/test-data/test.drawio.png (+0 -0)

📄 Description

Test to see if we can provide a hybrid approach to drawings, by using png images as we do now, but extract and display their contents in a viewer for interactive convenience.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/5666 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 6/19/2025 **Status:** ❌ Closed **Base:** `development` ← **Head:** `drawio_rendering` --- ### 📝 Commits (1) - [`a9f5e98`](https://github.com/BookStackApp/BookStack/commit/a9f5e98ba9308c134eb5c5a72745086009bbfe88) Drawings: Added class to extract drawio data from png files ### 📊 Changes **4 files changed** (+185 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `app/Exceptions/DrawioPngReaderException.php` (+7 -0) ➕ `app/Uploads/DrawioPngReader.php` (+122 -0) ➕ `tests/Uploads/DrawioPngReaderTest.php` (+56 -0) ➕ `tests/test-data/test.drawio.png` (+0 -0) </details> ### 📄 Description Test to see if we can provide a hybrid approach to drawings, by using png images as we do now, but extract and display their contents in a viewer for interactive convenience. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:35:11 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6545