Commit Graph

531 Commits

Author SHA1 Message Date
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
Knut Sveidqvist 62260aa30b Merge branch '1592-IncorrectSVGytntax' of git://github.com/jgreywolf/mermaid into jgreywolf-1592-IncorrectSVGytntax 2020-08-13 20:26:47 +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 50a0c93cce Updated theming docs 2020-08-09 14:22:54 +02:00
Knut Sveidqvist e06cf70615 Using mermaid 8.7.0 in docs 2020-08-09 14:05:10 +02:00
Knut Sveidqvist 2743681392 Merge branch 'develop' into release/8.7.0 2020-08-09 13:36:09 +02:00
Knut Sveidqvist aacf84f78a Some documentation updates 2020-08-09 07:45:37 +02:00
Knut Sveidqvist 77541102af Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2020-08-08 10:59:59 +02:00
Knut Sveidqvist b99c14b910
Merge pull request #1599 from jgreywolf/1181-AssignCssClass
1181 assign css class
2020-08-05 20:40:07 +02:00
ryenus 067b495212
update mermaid-cli repo url
new url: https://github.com/mermaid-js/mermaid-cli
2020-08-05 05:46:48 +08:00
Justin Greywolf 9a86accc62 1181-Minor update to regex 2020-08-04 12:05:56 -07:00
Knut Sveidqvist 77be268a70
Merge pull request #1596 from NeilCuzon/develop
Changes to ReadMe.md, Addition of versionUpdates.md for version tracking.
2020-08-04 20:08:44 +02:00
Justin Greywolf 1f051d7a9f 1181-Css for class diagrams
Initial change for supporting custom CSS for use with classDiagrams.
updated `LABEL` regex for specificity
2020-08-03 12:47:50 -07:00
Neil Cuzon 1b56a8b696
Update theming.md 2020-07-31 23:45:56 -07:00
Neil Cuzon 5a5d2c770c
Update _sidebar.md 2020-07-31 22:54:47 -07:00
Neil Cuzon a5d06bde03
Update theming.md 2020-07-31 21:22:18 -07:00
Neil Cuzon 15103ac7fb
Update theming.md 2020-07-31 21:20:55 -07:00
Neil Cuzon 7f5df308ad
Update README.md 2020-07-31 21:20:26 -07:00
Neil Cuzon 2f97baadc6
Update README.md 2020-07-31 21:16:33 -07:00
Neil Cuzon c2863156cd
Update versionUpdates.md 2020-07-31 21:12:31 -07:00
Neil Cuzon 75762d64c6
Update theming.md 2020-07-31 21:10:43 -07:00
Neil Cuzon 8209cffcd0
Update versionUpdates.md 2020-07-31 21:10:04 -07:00
Neil Cuzon 70976460ff
Update _sidebar.md 2020-07-31 20:59:27 -07:00
Neil Cuzon 954155b090
Update theming.md 2020-07-31 20:52:06 -07:00
Neil Cuzon 5265bc20f1
Update theming.md 2020-07-31 20:49:35 -07:00
Knut Sveidqvist 87f12c7d5a Updated with a small example of a custom theme 2020-07-31 16:04:12 +02:00
Knut Sveidqvist e9e9b13df0 Added themeVariable references and som adjustments in base theme calculations. 2020-07-31 15:05:51 +02:00
Neil Cuzon 7ee9c4fb30
Update n00b-overview.md 2020-07-31 00:56:32 -07:00
Neil Cuzon e43fd0c48a
Update README.md 2020-07-31 00:55:21 -07:00
Neil Cuzon 8abe138150
Update versionUpdates.md 2020-07-30 23:46:13 -07:00
Neil Cuzon dccb23bb80
Update theming.md 2020-07-30 13:50:39 -07:00
Knut Sveidqvist 36e421eb5f
Merge pull request #1586 from mermaid-js/1542_take_two
1542 take two
2020-07-30 08:58:56 +02:00
Knut Sveidqvist a5b01c3f6f #1542 Adding gantt to showcases 2020-07-30 08:34:41 +02:00
Neil Cuzon 292289d16d
Update README.md 2020-07-29 23:06:16 -07:00
Marc Faber b17475f013 #1366 Flowchart documentation: Fix code example for styling nodes 2020-07-30 01:18:58 +02: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
Knut Sveidqvist d215d31349
Merge pull request #1585 from GDFaber/feature/1460_add_link_target_to_flowchart_click
Add link target option to flowchart click
2020-07-29 15:13:35 +02:00
Neil Cuzon e4e24399d9
Update theming.md 2020-07-28 19:10:14 -07:00
Neil Cuzon 8f9d132ed6
Update theming.md 2020-07-28 19:06:34 -07:00
Neil Cuzon e651511c35
Update theming.md 2020-07-28 19:01:01 -07:00
Neil Cuzon 2ecda17618
Update theming.md 2020-07-28 18:56:17 -07:00
Neil Cuzon db03b5b102
Update theming.md 2020-07-28 18:28:52 -07:00
Neil Cuzon 9fd9a7bc10
Update 8.6.0_docs.md 2020-07-28 16:42:08 -07:00
Knut Sveidqvist cf70678188
Merge branch 'develop' into feature/1460_add_link_target_to_flowchart_click 2020-07-28 13:21:31 +02:00
Knut Sveidqvist b23988c947
Merge pull request #1582 from cmmoran/develop
Directive support for many diagrams, config bugfix
2020-07-28 13:17:35 +02:00
Marc Faber d04d8c3a1d #1460 Add link target option to flowchart click 2020-07-28 10:49:54 +02:00
chris moran e7ca6c16ff
Tweaked PIE (got rid of some parsing conflicts) 2020-07-27 14:15:38 -04:00
Knut Sveidqvist 5a7d770a58 #1542 Setting up base theme for custom theming 2020-07-27 10:01:34 +02:00
Neil Cuzon 336793b2a1
Update versionUpdates.md 2020-07-26 23:28:51 -07:00
Neil Cuzon c29ea2e679
Update README.md 2020-07-26 23:28:24 -07:00