Commit Graph

35 Commits

Author SHA1 Message Date
Knut Sveidqvist 1e6ed7be02 #2029 Adding option to configure default renderer 2021-04-30 17:27:05 +02:00
Knut Sveidqvist 8955e0a6b1 Fix for first case 2021-04-29 18:50:12 +02:00
Mr.Hope 68d0002d6b docs: update setup config 2021-04-24 13:13:49 +08:00
Knut Sveidqvist 4e7ecb3f30 Merge branch 'master' into develop 2021-03-13 16:45:27 +01:00
Neil Cuzon 8dae33e9ba
Update Setup.md 2021-03-10 20:24:36 -08:00
Neil Cuzon 835508a6b2
Update Setup.md 2021-03-06 00:30:53 -08:00
Neil Cuzon b20569a3fb
Update Setup.md 2021-03-06 00:19:40 -08:00
Josh Sharpe 45518580a4 Small bug fix with requirement diagram naming. 2021-02-25 21:25:38 -05:00
Knut Sveidqvist 562390dbb6 Test commit 2021-01-28 20:55:58 +01:00
Knut Sveidqvist 740a86609f Mermaid version 8.8.4 2020-12-05 14:47:45 +01:00
Neil Cuzon fff29fcd69
Update Setup.md 2020-11-08 01:29:00 -08:00
NeilCuzon 445daaeba2 Switching to Docsify and adding search 2020-10-25 00:30:20 -07:00
saowang d003f9c6fd Update auto generated Setup.md with front matter 2020-08-26 01:38:51 +08:00
Knut Sveidqvist 0cbd002667 #1607 Using correct config when to decide about sanitizing text 2020-08-23 20:02:51 +02:00
saowang 9e8c6aed4d Update documents to compatible jekyll-rtd-theme 2020-08-21 01:01:06 +08:00
Mattéo Delabre 01344a991d
Add support for changing the length of edges
Resolves #637, resolves #1495.

The syntax for edges is extended to allow for extra
dashes/equals signs/dots (depending on the edge type). Each added
character increases the length of the edge by one rank level, as
follows:

Length            |    1   |    2    |     3    |
------------------|:------:|:-------:|:--------:|
Normal            |  `---` |  `----` |  `-----` |
Normal with arrow |  `-->` |  `--->` |  `---->` |
Thick             |  `===` |  `====` |  `=====` |
Thick with arrow  |  `==>` |  `===>` |  `====>` |
Dotted            |  `-.-` |  `-..-` |  `-...-` |
Dotted with arrow | `-.->` | `-..->` | `-...->` |

This features leverages the `minlen` property exposed by Dagre which was
not previously available when using Mermaid.
2020-08-14 00:15:26 +02:00
Justin Greywolf 5e72416478 1592-SVG syntax error with links
Added xlink namespace to svg definition
2020-08-12 13:47:21 -07:00
Knut Sveidqvist a4bf85b1b6 #1542 Making sure config and directives works for overriding theme variables using initialize call or directives + tests 2020-07-29 18:38:59 +02:00
chris moran e7ca6c16ff
Tweaked PIE (got rid of some parsing conflicts) 2020-07-27 14:15:38 -04:00
Knut Sveidqvist 4e12f959fc Updated after 8.6.4 merge 2020-07-26 22:38:55 +02:00
Knut Sveidqvist a526386fbb
Merge pull request #1579 from NeilCuzon/release/8.6.0
Release/8.6.0
2020-07-26 13:37:39 +02:00
Neil Cuzon 718ba719ca
Update Setup.md 2020-07-25 21:36:15 -07:00
Neil Cuzon f53a2f1b94
Update Setup.md 2020-07-25 09:52:03 -07:00
Knut Sveidqvist c5b55fa476 Some small interim changes, adding theming.doc 2020-07-24 08:25:57 +02:00
Knut Sveidqvist da8e75f98a Merge from master with doc updates 2020-07-16 12:27:03 +02:00
Knut Sveidqvist b6b76eb137 Docs updated from code 2020-07-16 12:17:21 +02:00
Knut Sveidqvist 3a9306a9c2 #1485 Setting proper font settings in the root css 2020-07-15 12:12:57 +02:00
Knut Sveidqvist 686ee1e349 Relase 8.6.0 2020-07-13 16:39:52 +02:00
Knut Sveidqvist 8255088508
Merge pull request #1534 from 72636c/feature/er_use_max_width
Add `er.useMaxWidth` config option
2020-07-12 10:51:00 +02:00
Ryan Ling 3e38da2120
Document er defaults 2020-07-11 20:50:36 +10:00
Ryan Ling 13225faa9e
Update docs 2020-07-11 18:59:43 +10:00
Ryan Ling 99cb752c71
Add `er.useMaxWidth` config option
This restores the option of rendering an ERD with an absolute width,
which is consistent with the approach taken with the other diagram
types.

This logic was lost in #1324, which was probably just a small oversight:

9199546dca (diff-7c38d27acbe0676d923bf19283671616L397-L409)

The option defaults to true for backwards compatibility.
2020-07-11 18:54:26 +10:00
Ryan Ling 5da4ced8c1
Add `flowchart.diagramPadding` config option
This option lets you customise the padding around the whole flowchart.
It is equivalent to `er.diagramPadding` and defaults to 8px for
backwards compatibility with the current hardcoded value.
2020-07-11 16:54:00 +10:00
Neil Cuzon 09efbaf621
Update Setup.md 2020-07-09 11:15:50 -07:00
Knut Sveidqvist 5242672efb Adding configuration docs to setup.md and bumping version to 8.6.0 2020-07-04 14:25:14 +02:00
Renamed from docs/mermaidAPI.md (Browse further)