chris moran
2ffb2988bf
One small refactor to fix activation starty
...
Ensure a minimum amount of space between wrapped / non-wrapped title text and the next element
2020-07-01 05:34:53 -04:00
chris moran
fda1d7c4c5
Merge remote-tracking branch 'upstream/feature/1483_long_messages' into feature/1483_long_messages
2020-07-01 04:49:15 -04:00
Chris Moran
19519ac74e
Merge pull request #1 from mermaid-js/develop
...
Merge upstream
2020-07-01 04:47:47 -04:00
Chris Moran
eb3f62fd90
Merge pull request #1517 from cmmoran/feature/1483_long_messages
...
Feature/1483 long messages
2020-07-01 04:46:27 -04:00
Neil Cuzon
891b362e7d
Update mermaidAPI.js
...
-Added tables into the comments from mermaidAPI.md, to reflect documentation that I had added through a previous PR, #1509
-as per @knsv 's directions, added comments here.
-also found a list of parameters, who's documentation do not come out in the markdown file. I left them alone, but will be raising a separate issue, for others to review.
2020-07-01 01:35:25 -07:00
chris moran
cbb69bd3cb
() => is not the same as function() {} smh
...
Fixed a few of the text rendering issues
2020-07-01 04:34:29 -04:00
Knut Sveidqvist
200a3e5e8c
Merge pull request #1498 from mermaid-js/feature/1424_dark_mode_in_docs
...
Feature/1424 dark mode in docs
2020-06-30 16:54:06 +02:00
Knut Sveidqvist
0fab2dc24f
Merge pull request #1499 from maiconschmitz/patch-1
...
Update README.md
2020-06-30 16:34:34 +02:00
Knut Sveidqvist
a48654f195
Merge pull request #1503 from NeilCuzon/patch-4
...
Update sequenceDiagram.md
2020-06-30 16:31:20 +02:00
chris moran
174b098724
loop/opt/alt/etc titles should always wrap
2020-06-30 07:54:51 -04:00
Chris Moran
ecb4671e0d
Merge pull request #1513 from cmmoran/feature/1483_long_messages
...
conf.messageFont() would have a different cacheKey based on the cache…
2020-06-30 07:21:39 -04:00
chris moran
6c6f6838ee
conf.messageFont() would have a different cacheKey based on the cacheKey calculations done in this particular branch. This will be normalized with the memoize PR about to be created.
2020-06-30 07:18:28 -04:00
Chris Moran
b4414758a7
Merge pull request #1512 from cmmoran/feature/1483_long_messages
...
math is hard sometimes?
2020-06-30 06:47:50 -04:00
chris moran
5b37536ce5
math is hard sometimes?
2020-06-30 06:42:29 -04:00
Chris Moran
3365fa174d
Merge pull request #1511 from cmmoran/feature/1483_long_messages
...
Fixed config *font helpers
2020-06-30 06:24:36 -04:00
chris moran
d42b95bab9
messageFont, noteFont, and actorFont getConfig() calls were not specifying the sequence object
...
take into account width of message over single actor for actors' max message width
2020-06-30 06:20:45 -04:00
Chris Moran
6a3aaf360e
Merge pull request #1510 from cmmoran/feature/1483_long_messages
...
Feature/1483 long messages
2020-06-30 03:51:25 -04:00
chris moran
083d0c90e2
Merge branch 'develop' into feature/1483_long_messages
2020-06-30 03:50:04 -04:00
chris moran
fed142dad2
Merge branch 'mermaid-js-develop' into develop
2020-06-30 03:34:55 -04:00
chris moran
fcd2126330
Getting closer
2020-06-28 08:37:26 -04:00
Neil Cuzon
e5cd0ced53
Update sequenceDiagram.md
2020-06-26 22:46:09 -07:00
Chris Moran
06dad7865c
Merge pull request #1502 from cmmoran/develop
...
Missed `activationWidth` new configuration option for sequence diagrams
2020-06-26 10:19:02 -04:00
chris moran
6915634729
Missed activationWidth
new configuration option for sequence diagrams
2020-06-26 10:17:13 -04:00
Chris Moran
d3647e2e8a
Merge pull request #1501 from cmmoran/develop
...
Fixes
2020-06-26 09:33:57 -04:00
chris moran
217bd1f4bf
Fixed test cases for sequence diagrams
...
Updated config to match a conversation knut and i had about the relationship between global, site, and integrator configuration
(Will update docs)
Renamed wrapEnabled to wrap
Poor man's caching for calculateTextDimensions, wrapLabel, and breakString (actually makes a huge difference)
2020-06-26 09:26:56 -04:00
Maicon Schmitz
75fe500305
Update README.md
...
Correction off CLI link, in Related projects section
2020-06-25 11:24:45 -03:00
Ashish Jain
1e400624e0
Adjusting classDiagram marker styling
2020-06-24 21:46:59 +02:00
Ashish Jain
b190a0eaba
Added support for classDiagram relation arrow markers
2020-06-24 21:45:19 +02:00
Knut Sveidqvist
afc779440a
#1424 Setting proper loglevel for docs
2020-06-24 21:28:12 +02:00
Knut Sveidqvist
7f71717a9f
#1424 Setting dark mode in docs based un user preferences
2020-06-24 21:26:55 +02:00
Knut Sveidqvist
b9931da241
1465 Marking edges witrh new schema for arrow heads
2020-06-24 19:47:12 +02:00
Knut Sveidqvist
eaf0d5e0a0
Merge branch 'feature/Issue-1465_Class_migration' of github.com:mermaid-js/mermaid into feature/Issue-1465_Class_migration
2020-06-24 19:43:00 +02:00
Knut Sveidqvist
832206ef80
Adjust flowchart-v2 to use new arrot type handling
2020-06-24 19:42:56 +02:00
Ashish Jain
85d4f2843e
Initial commit for classDiagram v2
2020-06-24 19:34:12 +02:00
Knut Sveidqvist
0849aa3f03
Merge pull request #1488 from abhijeet-pathak/1005_gantt_sequnce_creation_order_change
...
Fix for the issue 1005
2020-06-24 18:33:01 +02:00
Knut Sveidqvist
4cdeb214a7
Merge pull request #1486 from zwpaper/develop
...
gitGraph dot and minus should be valid branch name
2020-06-24 18:25:56 +02:00
abhijeet-pathak
3c727bc46f
Corrected the test case description
2020-06-24 14:51:08 +05:30
Miika Kankare
955ccfae88
Make gitGraph commit IDs out of hexadecimal chars
2020-06-24 09:28:58 +03:00
GDFaber
e13662dd2c
Merge pull request #1492 from NeilCuzon/patch-5
...
Update flowchart.md
2020-06-23 19:27:15 +02:00
Abhijeet Pathak
2840c98bb0
Added test case for preserving creation order
...
of tasks
2020-06-23 22:32:49 +05:30
chris moran
7d9bf83f66
addition: added bounds models for bounds checking in unit tests.
...
addition: bounds.init will clear models
addition: added loop model widths id instead of using title as the id
removed parseMessage debug message
addition: added configuration labelBoxWidth and labelBoxHeight for loop label box width/height
change: adjusted svgDraw drawText to support anchor and valign and whether to output a tspan
change: drawText returns an array regardless of array size
change: hardcoded label width/height uses conf.labelBoxWidth and conf.labelBoxHeight
change: Math.round() on many of the calculations to clean up bounds values
change: getTextObj anchor, width, height start as undefined
2020-06-22 16:59:07 -04:00
GDFaber
d2c47bb153
Merge pull request #1491 from NeilCuzon/patch-4
...
Update faq.md
2020-06-22 08:04:03 +02:00
Neil Cuzon
9da3402997
Update flowchart.md
...
-added a few workarounds, I found for writing "end" as a node name alongside the workaround found in the FAQ.
-also made a few minor edits to the contents.
2020-06-21 15:19:45 -07:00
Neil Cuzon
e7784e3c34
Update faq.md
2020-06-21 11:41:46 -07:00
Neil Cuzon
224d6dc93f
Update faq.md
2020-06-21 10:03:21 -07:00
Chris Moran
f95b5d05d7
Merge pull request #1489 from cmmoran/develop
...
noteModel generated during calculation of loop bounds
2020-06-20 20:56:29 -04:00
chris moran
ee109c2279
noteModel generated during calculation of loop bounds
...
msgModel generated during calculation of loop bounds
simplifies draw messages loop
2020-06-20 18:15:24 -04:00
Abhijeet Pathak
e515c7beb1
Fxed liniting issues.
2020-06-20 18:39:19 +05:30
Abhijeet Pathak
5f56db6f6e
Fix for the issue 1005
...
(https://github.com/mermaid-js/mermaid/issues/1005 )
A new attribute 'order' has been introduced in the task which records
the serial number of task in the script.
In ganttRenderer.js, the tasks are sorted by stratTime attribute.
The function which calculates 'y' for task rectangles, lables etc.
has been modified to correctly position it.
2020-06-20 18:03:48 +05:30
zwPapEr
c00b204259
gitGraph: 🔨 dot and minus should be valid branch name
2020-06-20 11:58:38 +08:00