Change comment:
There is no comment for this version
Summary
-
Objects (2 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -1,19 +1,57 @@ 1 1 {{extensionToc/}} 2 2 3 - Withthis applicationyoucan edit and view diagrams inXWiki,using thejgraph/draw.iointegration.3 +This is a simple application that integrates ##jgraph/draw.io## in XWiki, adding support for editing and viewing diagrams. Each diagram is stored in a wiki page. It doesn't require any external services in order to work properly. 4 4 5 - Youcan create a big arrayof diagrams, such as: wireframes, mockups, UML, charts, BPMN, mind maps, tree & networkdiagramsetc.5 +== Creating a new diagram == 6 6 7 - Eachdiagram isstored ina wiki page. Therevisionsofthediagrams are synched in XWiki.7 +To create a new diagram click on ##Diagrams## in the Applications panel. 8 8 9 - Theapp provides intuitivefunctionalities forboth beginnersandadvanced users.You can:9 +{{image reference="DiagramPanel.png" width="200"/}} 10 10 11 -* add and edit new diagrams 12 -* import existing diagrams 13 -* export diagrams as PDF and images 14 -* view the diagrams as images attached to wiki pages 15 -* include diagrams in other wiki pages 11 +Click on the ##Create## button, fill in the diagram name and select the ##Diagram## template, then click ##Create## again. 16 16 13 +{{image reference="DiagramsHome.png" width="920"/}} 14 + 15 +{{image reference="CreateDiagram.png" width="920"/}} 16 + 17 +Use the editor to create your diagram, then click ##Save & View##. 18 + 19 +{{image reference="DiagramEdit.png" width="920"/}} 20 + 21 +{{image reference="DiagramView.png" width="920"/}} 22 + 23 +== Including a diagram in another wiki page == 24 + 25 +=== Using the WYSIWYG editor === 26 + 27 +If you wish to display an existing diagram on another page you should use the Diagram Macro. Go to the wiki page where you'd like to include the diagram. In edit mode, click on the ##XWiki Macro## icon. 28 + 29 +{{image reference="DiagramMacro.png" width="670"/}} 30 + 31 +Select the Diagram Macro from the list of macros. 32 + 33 +{{image reference="AddDiagramMacro.png" width="620"/}} 34 + 35 +Fill in the path to the diagram you wish to include and click ##Submit##. 36 + 37 +{{image reference="EditDiagramMacro.png" width="620"/}} 38 + 39 +You will be able to see the included diagram both in edit mode and in view mode. 40 + 41 +{{image reference="DiagramMacroEditMode" width="670"/}} 42 +//Included diagram in edit mode.// 43 + 44 +{{image reference="DiagramMacroViewMode" width="920"/}} 45 +//Included diagram in view mode.// 46 + 47 +=== Using the Wiki editor === 48 + 49 +If you're more inclined to write code directly, you can write the following directly in wiki mode: 50 + 51 +{{code language="none"}} 52 +{{diagram reference="Path.To.DiagramPage" cached="true" /}} 53 +{{/code}} 54 + 17 17 == A few diagram examples == 18 18 19 19 {{gallery}} ... ... @@ -22,4 +22,3 @@ 22 22 image:viewDiagram.png 23 23 image:viewDiagramMacro.png 24 24 {{/gallery}} 25 -
- Store.Code.PayingAppsClass[0]
-
- Documentation
-
... ... @@ -1,50 +1,1 @@ 1 -== Creating a new diagram == 2 - 3 -To create a new diagram click on ##Diagrams## in the Applications panel. 4 - 5 -{{image reference="DiagramPanel.png" width="200"/}} 6 - 7 -Click on the ##Create## button, fill in the diagram name and select the ##Diagram## template, then click ##Create## again. 8 - 9 -{{image reference="DiagramsHome.png" width="920"/}} 10 - 11 -{{image reference="CreateDiagram.png" width="920"/}} 12 - 13 -Use the editor to create your diagram, then click ##Save & View##. 14 - 15 -{{image reference="DiagramEdit.png" width="920"/}} 16 - 17 -{{image reference="DiagramView.png" width="920"/}} 18 - 19 -== Including a diagram in another wiki page == 20 - 21 -=== Using the WYSIWYG editor === 22 - 23 -If you wish to display an existing diagram on another page you should use the Diagram Macro. Go to the wiki page where you'd like to include the diagram. In edit mode, click on the ##XWiki Macro## icon. 24 - 25 -{{image reference="DiagramMacro.png" width="670"/}} 26 - 27 -Select the Diagram Macro from the list of macros. 28 - 29 -{{image reference="AddDiagramMacro.png" width="620"/}} 30 - 31 -Fill in the path to the diagram you wish to include and click ##Submit##. 32 - 33 -{{image reference="EditDiagramMacro.png" width="620"/}} 34 - 35 -You will be able to see the included diagram both in edit mode and in view mode. 36 - 37 -{{image reference="DiagramMacroEditMode" width="670"/}} 38 -//Included diagram in edit mode.// 39 - 40 -{{image reference="DiagramMacroViewMode" width="920"/}} 41 -//Included diagram in view mode.// 42 - 43 -=== Using the Wiki editor === 44 - 45 -If you're more inclined to write code directly, you can write the following directly in wiki mode: 46 - 47 -{{code language="none"}} 48 -{{diagram reference="Path.To.DiagramPage" cached="true" /}} 49 -{{/code}} 50 - 1 + - Hero images
-
... ... @@ -1,1 +1,0 @@ 1 -viewDiagram.png