color-of-code / dokuwiki-plugin-bpmnio Goto Github PK
View Code? Open in Web Editor NEWRenders BPMN and DMN diagrams using the bpmn.io js library within dokuwiki
Home Page: https://www.dokuwiki.org/plugin:bpmnio
License: Other
Renders BPMN and DMN diagrams using the bpmn.io js library within dokuwiki
Home Page: https://www.dokuwiki.org/plugin:bpmnio
License: Other
Since the new upgrade of Dokuwiki an error pops up.
Take some of the official plugin's implementation as an example like the edittable plugin
While there is a big chart in the page, I can not navigate the chart in touch screen mode. Is it possible to apply a scroll bar for big chart?
During edits the xml is shown but not the correct preview of the diagram.
https://bpmn.io/toolkit/cmmn-js/
Development of that component has been put on-hold:
https://camunda.com/blog/2020/08/how-cmmn-never-lived-up-to-its-potential/
Vendor code coming from https://github.com/bpmn-io shall be
vendor
directoryThis ensures things are clearly separated and easier to grasp what parts of code are
Add feature to edit the diagram in-place within the dokuwiki page
Check the pull request in details and adjust the code to fit-in.
This will also allow the re-use of diagrams across pages.
The syntax can be
<bpmnio src="a:wikified:link:to:media"> </bpmnio>
The source could also be an external resource in the internet.
Thanks for the comment! I plan to add the editor alike the table editor for example. The plugin would not bypass normal page rules, that means people without write rights won't be able to change things. But you are right, if the editor is too easily accessible someone might inadvertently modify things. Maybe adding an optional flag like read-only
to the options will mute the editor. I think that is a good idea.
Originally posted by @jdehaan in #5 (comment)
I recently switched from DokuWiki app to Dokuwiki in Docker in Synology https://hub.docker.com/r/linuxserver/dokuwiki
Unfortunately, the bpmnio extension for DokuWiki no longer works there.
Please update to make it work again.
Adjust styles to hide buttons etc for printing
Installing the extension via the Extension Manager on Dokuwiki "Hogfather" results in the following error message:
Parse error: syntax error, unexpected end of file in [...]/dokuwiki/lib/plugins/bpmnio/action/editor.php on line 107
Afterwards, not a single page of my wiki can be accessed and only the error message appears on every page. I had to manually delete the bpmnio
folder in the plugins
directory to be able to access my wiki again.
I would like to link my process steps to DokuWiki pages. Do you have any idea how this could be implemented?
Any page with a diagram rendering takes ~12 seconds to load in Safari (OS X). Using Safari's timeline recording, it looks all of that time is spent in JQuery.ready, triggered by DOM Content Loaded Event Dispatched.
I've tested on IE, FF, and Chrome and they all load pages with diagrams as fast as any other page.
I can send additional information if you are interested in checking it out, though at this point I'm just going to use another browser
The project has made many releases since last time and improved a lot of aspects
Make sure the new release does not break dokuwiki integration
Idea from pull request #5
Title.
Option to specify a scaling factor should be implemented
Check what needs to be changed inside the plugin first
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.