Brian Mearns
c9fe948b90
#530 Finished basic unit tests for flow shapes
2019-10-05 13:48:20 -04:00
Brian Mearns
cc731fe3c4
#530 Pull shape functions out to shorten functions
2019-10-05 09:38:03 -04:00
Christian Klemm
9da61ad562
added some documentation
2019-10-05 12:38:29 +02:00
Knut Sveidqvist
3b731282e3
#945Renabling support for descriptions
2019-10-05 12:15:14 +02:00
Knut Sveidqvist
cfc14ade2a
#945 Some more cleanup focusing on stateDb
2019-10-05 10:02:58 +02:00
Knut Sveidqvist
d4306e61c2
#945 Some cleanup
2019-10-05 09:02:20 +02:00
Brian Mearns
dcbcbf40a0
#530 Started adding some tests around how flowchart shapes are rendered in SVG
2019-10-04 22:38:27 -04:00
Brian Mearns
9a0a5ca804
#530 Add some unit tests for flowRenderer.addVertices
2019-10-04 22:03:20 -04:00
Brian Mearns
20b2866631
#530 Further encapsulation of common code
2019-10-04 21:21:00 -04:00
Christian Klemm
612df99c34
added tests + alt syntax
2019-10-04 23:49:58 +02:00
Christian Klemm
912e850db4
added grammar
2019-10-04 21:49:02 +02:00
Christian Klemm
96735dd543
Added rendering for annotations
2019-10-04 21:09:49 +02:00
Knut Sveidqvist
65cbfbdb40
#945 Tweaking
2019-10-03 19:54:07 +02:00
Knut Sveidqvist
7865fd4f02
#945 Rendering of composite state in a box
2019-10-03 19:08:15 +02:00
Brian Mearns
c9f84ccae5
#530 Testing Coverage
2019-10-03 06:41:36 -04:00
Brian Mearns
01fd54dd6f
#530 Encapsulate some redudant flow shape code
2019-10-02 22:51:12 -04:00
Brian Mearns
e1446ce38a
#530 Add unit test for hex nodes
2019-10-02 22:44:56 -04:00
Brian Mearns
550f91aa68
#530 Better shaping of hexagon
...
The "corner" triangles are a fixed ratio to the height,
so the triangles will always be mathemtically similar.
2019-10-02 22:36:02 -04:00
Brian Mearns
b300a4decb
#530 Fit hexagon to width and height
...
The hexagon shape in flow chart now fits
the width and height independently, so it can better fit
large content without taking up too much space.
2019-10-02 22:23:30 -04:00
Brian Mearns
51e902cd36
Added the hex shape to the renderer, and support for it in the flow parser.
...
Need to work on properly sizing it.
2019-10-02 22:11:02 -04:00
Knut Sveidqvist
f9f8785aef
#945 Recursive object from parsing and stateDb
2019-10-02 19:32:13 +02:00
Knut Sveidqvist
0abeaa4dc2
Merge branch 'feature/945_state_diagrams' into develop
2019-10-02 19:17:38 +02:00
Brian Mearns
9ca077b3dc
Add some test coverage for getBranchesAsObjArray
2019-10-01 22:29:07 -04:00
Brian Mearns
351dd3728e
#848 - Add Unit Test
2019-10-01 22:03:43 -04:00
Brian Mearns
054901cb79
Fixes #848 - Use more secure PRNG
...
Math.random() is not cryptogaphically secure, but the crypto-random-string
package provides what is needed with a cryptographically secure pseudo-random
number generator.
2019-10-01 21:29:42 -04:00
Knut Sveidqvist
94afcfb6f9
#945 Rendering of state descriptions
2019-09-29 15:50:43 +02:00
Volkan Unsal
682faa4f9d
Add useMaxWidth to flowRenderer
2019-09-29 09:31:41 -04:00
Knut Sveidqvist
3cffd1e3ed
#945 Rendering of labels and new label positioning algorithm
2019-09-28 13:31:10 +02:00
Marc Faber
095233e6cf
Flowchart parsing issue with CRLF #894
2019-09-27 01:05:25 +02:00
Knut Sveidqvist
13baa43081
#945 Rendering from diagram data
2019-09-25 21:29:32 +02:00
Knut Sveidqvist
fad76ad534
#945 Rendering of start & end node
2019-09-25 21:01:21 +02:00
Nacho
6110640fc2
Merge pull request #940
...
Use https in githu urls
2019-09-23 09:44:20 -04:00
nothingismagick
6c243488fa
revert to http
2019-09-23 12:06:22 +02:00
nothingismagick
4f218435e3
revert to http
2019-09-23 12:05:13 +02:00
nothingismagick
7ca13fd163
revert to http
2019-09-23 12:04:39 +02:00
knsv
2306534248
#945 Handling of dimples state definitions
2019-09-22 03:30:36 -07:00
knsv
2f0248e6d5
#945 Handling of note statements
2019-09-22 02:38:04 -07:00
knsv
3a8564de92
#945 Handling of fork statements
2019-09-21 23:19:03 -07:00
knsv
1aa8b9b804
#945 Handling recursive logn descriptions for states with quotes
2019-09-21 11:31:09 -07:00
knsv
921d5464a1
#945 Handling recursive logn descriptions for states with quotes
2019-09-21 09:12:02 -07:00
knsv
9993b90a20
#945 Handling recursive state statements
2019-09-21 08:54:18 -07:00
knsv
6f054519e7
#945 Handling simple state statements
2019-09-21 08:50:32 -07:00
knsv
51bf4a4c5c
#945 Parsing happy case and scale/hide statements
2019-09-21 08:19:55 -07:00
knsv
be2e467583
Release 8.3.1. Reseting the flow parser between parsings
2019-09-19 15:00:21 -07:00
knsv
f39e120952
#941 Fix for issue with directions iin flowchart
2019-09-19 13:56:41 -07:00
Daniel Thompson-Yvetot
f30f607b0c
feat(https): use https in SVGs
2019-09-19 20:53:42 +02:00
knsv
d8397f146b
#937 Handling direction keywords in node ids
2019-09-18 12:56:24 -07:00
Jan Verbeek
e192454f54
Correctly document htmlLabels as true by default
...
The "mermaidAPI configuration defaults" section in the documentation
listed `htmlLabels` as `false`, but the real default is `true`, as
seen in the code and elsewhere in the documentation.
2019-09-18 13:05:08 +02:00
knsv
7e5802e799
#931 Last code standard fixes
2019-09-12 12:59:13 -07:00
knsv
0e8164d805
#931 Compliacne with code standard
2019-09-12 12:58:57 -07:00