Loading...
 

PluginDiagram


The PluginDiagram is one of the features of Tiki that came with svn 19, it allows you to create and manipulate different types of diagrams like UML, BPMN General, Flow charts, and more.

The PluginDiagram is based on mxGraph (https://github.com/jgraph/mxgraph), an open source diagram library developed in JavaScript, launched in 2005, which works on most browsers and touch devices.

The power of this tool is such that it is very suitable for small projects as well as complex and large-scale projects.

Parameter

Introduced in Tiki 19.
Preferences required: wikiplugin_diagram
Parameters Accepted Values Description Default Since
fileId int Id of the file in the file gallery. A xml file containing the graph model. 19.0


Install and mxGraph and use PluginDiagram


The installation and use of the Plugin is very simple.

Installation of mxGraph


The first step is to make sure to install mxGraph (if this has not been done beforehand), for this you must go to the Admin Control Pannel in the Packages menu.

You can directly attach this link snippet /tiki-admin.php?page=packages after the name of your installation folder or your domain name to get there or you can follow the numbered steps of the 3 screenshots that follow.

Image

Image

Image

Once in the Packages menu, you will be in the very first tab (Packages Installed) which informs you about the installed packages, if mxGraph does not go to the second tab (Install Other Packages) as shown in the following picture.

Image

Once on the second tab of the Packages menu, you will have a list of packages ready to be installed, you will also find mxGraph there ... Click on Install .

Image

Note: It may happen that mxGraph is not available on this list, so to add it to your Tiki installation, follow this link https://packages.tiki.org/, it contains all the information you will need to add a package if it is not available for installation through the graphical interface.

Once the installation of the Package is complete, you will get a message that looks like the following capture.

Image

If you return to the first tab of the Packages menu, you will notice that mxGraph has been successfully installed. Well done !!!!!

Image

Enable PluginDIagram


The second step consists in activating the PluginDiagram to be able to use it.

To do this, you will go to the Editing and Plugin menu and then to the second tab (Plugins) as shown in the following two captures.

Image

Image

Or you can simply attach this link fragment ' /tiki-admin.php?page=textarea&cookietab=2 ' after the name of your installation folder or your domain name.

Once in the right place, look for the Diagrams plugin and activate it. You can use your browser's search tool to find it faster. The following capture illustrates the action to be performed.

Image

DOCUMENTATION IN PROGRESS...

How to use tiki PluginDiagram


It's very easy first go to the Admin Control Panel, Packages (tiki-admin.php?page=packages).
Click on the "Install Other Packages" tab and install the "mxgraph-editor" package.

In your file gallery upload your xml file containing the graph model.
You can test using this file : https://doc.tiki.org/dl1452
Or files from : https://github.com/jgraph/mxgraph/tree/master/javascript/examples/editors/diagrams

Go to the Admin Control Panel, Editing and Plugins (tiki-admin.php?page=textarea&cookietab=2).
Enable the Diagram plugin and set it on a Wiki page.

If the file Id of the model you've just uploaded is 7 this is how it should look

{diagram fileId="7"}


This is how the page should look:
Diagram Sample

You can edit the model using the GraphEditor integrated into Tiki by clicking on the "Edit diagram" link.
Diagram Edit Sample

doc.tiki.org

Bootstrap AdminGuide UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Trackers
Transitions
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show PHP error messages