Page MenuHomePhorge

README.md
No OneTemporary

README.md

draw.io integration in phorge
=============================
Installation
============
1) `git clone` this repository somewhere safe: `</somewhere/safe/diagrams>`
2) CD to `</somewhere/safe/diagrams>` and `git clone https://github.com/jgraph/drawio.git && cd drawio && git switch v24.2.5`
3) In Phorge's `conf/local/local.json` add the path to the `src/` dir to the entry `load-libraries`,
something like this:
```
...
"load-libraries": [
"/somewhere/safe/diagrams/src/"
],
...
```
4) `<phorge>/bin/storage upgrade`
5) Diagrams application is available under "More Applications" in Phorge.
You may add it to your navigator menu via "Edit Menu"
Usage
=====
When you start the Diagrams application, you will see the embedded version of [draw.io](https://app.diagrams.net/).
You can reference the diagrams in your wiki pages or maniphest tasks by means of the DIAG token.
E.g. {DIAG123}
When you doubleclick on a diagram, the editor will open the corresponding diagram in new browser tab.
You can create diagrams with multiple pages, but only the first one will be visualized.
When you modify an existing diagram, a new version will be created.
You can select older versions in the editor by means of the dropdown in the topright corner.
If you don't see a dropdown, your diagram has only 1 version.
Extra info
==========
https://github.com/jgraph/drawio-integration
#diagrams_extension

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 14:02 (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114469
Default Alt Text
README.md (1 KB)

Event Timeline