Introduction
The World map is created using the Mermaid scripted diagram tool. The map is created by writing text. We have installed a module for Mermaid in the MediaWiki server. The World map can be inserted into any page by writing the following tag
{{:World map}}
How to edit
- Go to World map
- Click "Edit"
- When ready to review, click "Show Preview"
- If ok, press "Save page"
Tips & tricks for Mermaid
- When adding a new box, the line becomes the default color (black). Change the line "linkStyle 0,1,2,3,4,5,..." and add one more number to make the line white.
- The diagram is a bottoms-up flowchart. We can't dictate exactly where the line will go. Below are tips how we can determine the line positions.
- To have the line more on the left side of a box, move the line higher up in the text.
- Lines can only go "upwards" or "downwards". The box on the left side (e.g. AA --- BB) will be the the bottom node and the box on the left side will be the top node. However "top" and "bottom" will be automatically adjusted by Mermaid depending on how many lines there are. See Meadowlands as an example.
- Sometimes, when forcing a line to be longer will make Mermaid show the diagram is a better way. Lines can be forced to be longer by adding more "line characters", e.g. AA ----- BB.