Knut Sveidqvist
a401e44180
Updated pie parsing with the new syntax + fix for flowDb
2022-04-30 15:13:28 +02:00
Knut Sveidqvist
85e157f0d3
Updated flowcharts with the new syntax
2022-04-30 11:36:00 +02:00
Lindsey Wild
e2ec7fd653
feat: adds text sanitization, refactors function
2022-04-07 14:58:36 -04:00
Lindsey Wild
7a5149e39e
feat: adds title and description to flowchart
2022-04-07 14:42:13 -04:00
Michael Maier
c2db1d4d44
add missing semicolon
2021-11-28 12:44:22 +01:00
Michael Maier
9e8c03cb49
Merge branch 'develop' into feature/1893_data_flow_diagrams
2021-11-28 12:26:39 +01:00
Michael Maier
0550e4a899
add props
to vertex
2021-11-28 12:11:50 +01:00
Matthieu MOREL
57671b2b78
enable prettier-plugin-jsdoc
2021-11-10 08:41:52 +01:00
Matthieu MOREL
4d103c14f7
enable eslint fix and eslint-plugin-jsdoc
2021-11-09 11:01:49 +01:00
Knut Sveidqvist
5399214ad8
Update of prettier, eslint and rules
2021-07-15 11:35:12 +02:00
Knut Sveidqvist
0bbefdc48f
#2050 Adjusted default value for direction in subgraphs
2021-05-18 21:36:04 +02:00
Knut Sveidqvist
09569301f1
#2050 Adding possibility to render subgrapgs in different directions
2021-05-18 21:15:06 +02:00
harshilparmar
7019a1149d
Change logger to log
2021-02-06 15:56:05 +05:30
Matthieu MOREL
2d100197c8
rollback changes on class Diagram
2020-12-06 15:23:05 +01:00
Matthieu MOREL
4debc2dffb
partial rollback on config factorization
2020-12-06 14:58:22 +01:00
Matthieu MOREL
b1bb2dce16
config factorization
2020-12-06 14:44:40 +01:00
Matthieu MOREL
7126d215b0
format
2020-12-06 10:45:13 +01:00
Matthieu MOREL
7b953ffefb
Arguments handling for flow chart functions
2020-12-06 10:27:54 +01:00
Marc Faber
7ea18f5462
#1742 narrow down console logging when flowchart subgraphs are added
2020-11-18 00:02:10 +01:00
Knut Sveidqvist
582a045457
#1704 Test and lint
2020-10-07 20:43:52 +02:00
Knut Sveidqvist
4b2d98129e
#1704 handling of subgraph data
2020-10-07 20:43:31 +02:00
Knut Sveidqvist
c691ef1899
Removing console.logs
2020-09-30 18:47:50 +02:00
Knut Sveidqvist
c9ff70b3cc
#1657 Handling class definitions for flowchart beta
2020-09-20 12:14:04 +02:00
Ashish Jain
a26c9fca1e
#1676 Fix for additonal usecases for flowchart
2020-09-16 21:53:17 +02:00
Knut Sveidqvist
2a6372cabe
#1676 Handling vertices starting with a number
2020-09-16 20:09:02 +02:00
Knut Sveidqvist
c8c4554299
#1676 Adding click support and tooltip support for flowchart
2020-09-12 10:56:23 +02:00
Knut Sveidqvist
9106c6ad52
#1602 Update of handling of nested subgraphs
2020-09-02 20:34:24 +02:00
Knut Sveidqvist
0cbd002667
#1607 Using correct config when to decide about sanitizing text
2020-08-23 20:02:51 +02: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
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
f1836c281c
#1542 Fix for secirity config
2020-07-30 08:20:27 +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
cf70678188
Merge branch 'develop' into feature/1460_add_link_target_to_flowchart_click
2020-07-28 13:21:31 +02:00
Marc Faber
d04d8c3a1d
#1460 Add link target option to flowchart click
2020-07-28 10:49:54 +02:00
chris moran
771bf78576
Fixed parsers to use the correct type name in close_directive
...
Added directive support to pie
(Refactored pie parsing to be a bit more clear)
Added more unit tests to pie
2020-07-27 13:24:23 -04:00
chris moran
c4ad95760a
Fixed a regression in sequence diagram parsing.
...
Added the parser as the first argument to parseDirective to support custom directive handling (for now delegated within mermaidAPI but should probably discriminate based on type for delegation)
2020-07-27 06:50:54 -04:00
chris moran
38d4b5be1a
Fixed an issue with flowchart rendering. Remember to render html, securityLevel='loose' must be set by the siteConfig. The default securityLevel as of now is 'strict'. This causes html to be url encoded.
2020-07-27 05:33:41 -04:00
Knut Sveidqvist
06d80032fe
#1578 Fetching updated configuration before use
2020-07-26 08:00:43 +02:00
Knut Sveidqvist
2af1f9a9d3
Fix for broken build, issue with config use in flowcahart and gantt diagram
2020-07-02 22:27:03 +02:00
Toan
28dcc781b4
Chart Node click event support key-path value for function callback
2020-06-13 17:41:52 +07:00
Toan
44675739a1
when window scroll, the tooltip show incorrect position coz its missing offset of window.scrollXY
2020-06-11 16:01:36 +07:00
Adrian Hall
053a86c0d4
Do explicit imports for d3 instead of wildcards
2020-05-11 07:10:04 +01:00
Knut Sveidqvist
215e930da4
#1295 Markers implmented, the gereric pattern and diagram specific for flowcharts.
2020-03-16 07:55:02 +01:00
Knut Sveidqvist
963a0ce6ef
#1295 Edges between subgraphs
2020-03-14 17:38:35 +01:00
Justin Greywolf
6d74c5663f
1169- break out getRows
...
Moved getRows function from `state/stateRenderer.js` and `state/shapes.js` into `common/common.js`. Broke out section into small one line functions for replacing line breaks, then moved the `sanitize` function from `utils.js` to this new module as there is shared functionality
2020-02-21 13:49:05 -08:00
Knut Sveidqvist
89c1853977
#1261 Removed calls to console.log
2020-02-21 09:50:04 +01:00
Knut Sveidqvist
822df37f8c
#1224 Possibility to style text color of nodes and subgraphs as well as apply classes to subgraphs
2020-02-05 19:39:50 +01:00
Marc Faber
b1bfdec473
#1196 Keep flowchart node label text (if already defined) when a style is applied
2020-01-14 23:37:30 +01:00
Justin Greywolf
e6fbfcb1e8
1064 Adding tooltip and function calls to click evens in class diagrams
2020-01-02 11:06:29 -08:00
Knut Sveidqvist
4e6aad5115
#834 Using & as a separator for the multiple nodes
2020-01-02 18:52:50 +01:00