Topic on Extension talk:Cognitive Process Designer

Displaying non editable diagrams ?

4
Nicolas NALLET (talkcontribs)

Hello Tobias,

I have tested your extension and it's very powerful, thank you ! I wanted to know how we can display diagrams without being on the Special Page Cognitive Process Edit ?

I would like to have just a diagram in a wiki page where nodes and edge are clickable.

Thanks, see U

Tobias Weller (talkcontribs)

Hello

Thank you very much. Currently, you cannot display the Diagrams on the wiki pages. It is only possible on the Cognitive Process Edit Special page.

However, i also have the same request from a project partner. So i will implement this circumstance in the following.

Thanks!

Cheers

Tobi

Tobias Weller (talkcontribs)

Hey Nicolas,

i just updated the Extension to allow displaying BPMN diagrams on the wiki pages. Please download the latest version (v. 0.7) and insert the code, which is described in Section "Remarks", in the MediaWiki:Common.js to display BPMN diagrams on the wiki page. It has been tested on two Wiki instances and with Firefox, Chrome and Safari Browser, and it worked.

Thanks for your Feedback!

Cheers Tobi

Jamal22066 (talkcontribs)

Hi,

I have added the code to the Common.js file. At the moment, when I attempt to add the diagram to a page using the xml code that is generated, it gives me the following error:

Diagram may not render correctly due to import warnings

There is a 'show details' link at the end of this message which takes you back to the top of the page if you click on it without displaying any additional information. Do you happen to know what is wrong? Am I not copying and pasting the xml code correctly or is something else the case?

Reply to "Displaying non editable diagrams ?"