Chris Moran
4a253a7760
Merged with mainline develop
2020-06-08 14:58:42 -04:00
Chris Moran
bd11663e0a
Added auto wrap option (and grammar) for sequenceDiagrams
...
Added inline config and init(ialization) grammar
Added reinitialize functionality to mermaidAPI (not to be confused with initialize)
Added actorFontWeight, noteFontWeight, messageFontWeight, wrapEnabled, wrapPadding
Added wrapLabel and breakWord functions to intelligently wrap text based on a pixel-based width instead of column-based
- The implementation is largely from Carys Mills: https://medium.com/@CarysMills/wrapping-svg-text-without-svg-2-ecbfb58f7ba4
- Made slight modifications for mermaid-js
Fixed dark theme color inconsistencies for sequence diagrams
Removed !important from sequence scss as this prevents any client overrides
Fixed various invalid css values in sequence scss which prevented proper rendering of various elements
Added detectInit to utils for initialization json detection
Updated detectType to support the existence or absence of the intialization configuration
Updated calculateTextWidth to include fontWeight
2020-06-08 14:48:03 -04:00
Knut Sveidqvist
85a8feec9d
Also fix for error handling when setting mermaid.parseError
2020-06-06 12:42:35 +02:00
Knut Sveidqvist
0aede618ec
#1295 Adding support for multiline descriptions for states
2020-04-25 17:01:20 +02:00
Knut Sveidqvist
b646672d3e
#1295 Fix for statediagram labels
2020-04-25 14:12:35 +02:00
Knut Sveidqvist
59f3d2a11e
#1295 Fix for edges in subgraphs and handling of concurrent states in statediagram-v2
2020-04-22 20:03:41 +02:00
Knut Sveidqvist
240077ffe8
#1295 Adding note support to state diagrams
2020-03-29 14:20:49 +02:00
Knut Sveidqvist
5fbb69e7c5
#1295 Styling of composite states
2020-03-28 17:34:23 +01:00
Knut Sveidqvist
85f47e1693
#1295 Styling of start/end nodes, arrows and regular states
2020-03-28 13:59:41 +01:00
Knut Sveidqvist
159a3a3706
#1295 Start shape and handling of setting a unique start id per cluster level
2020-03-25 20:16:27 +01:00
Knut Sveidqvist
37ae863443
Merge pull request #1170 from jgreywolf/1064-ClickEventInClassDiagram
...
1064 click event in class diagram
2020-01-05 12:07:34 +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
Ashish Jain
f2a5d92398
#1146 Added stroke-dasharray style for Dependency relation
2020-01-02 19:29:17 +01:00
Marc Faber
bc59d015e6
#1154 Flow diagram DB shape request
2019-12-31 16:30:03 +01:00
erinleck@gmail.com
028d9a2667
changes tick contrast for gantt chart
2019-12-19 09:52:46 -07:00
Knut Sveidqvist
94e768dd01
#1110 Cleanup and removal of loggings
2019-12-04 18:04:56 +01:00
Knut Sveidqvist
7adb80b35b
Fixes after verification, font-family set to label of transitions in statediagram
2019-10-19 14:43:26 +02:00
Knut Sveidqvist
3709d9d5c8
Merge pull request #996 from edekadigital/bug-783
...
#783 Hard to customize font-size for gantt charts
2019-10-15 19:38:20 +02:00
Kolja Markwardt
96c86fd4b2
#783 Hard to customize font-size for gantt charts
...
- deselect theme style if font-size is set on the taskText element (e.g. via gantt-config)
2019-10-15 15:59:36 +02:00
Knut Sveidqvist
047ce2949a
#989 Added font styling classes to diagrams lacking then
2019-10-13 19:16:35 +02:00
Knut Sveidqvist
53bdfee057
#989 Font configuration
2019-10-12 16:53:21 +02:00
Knut Sveidqvist
2da55993e0
Test of font-settings for correct image snapshots
2019-10-12 09:16:33 +02:00
Knut Sveidqvist
a258eda035
#945 Setting up stylesheet, classes and colors
2019-10-11 18:12:24 +02:00
Christian Klemm
96735dd543
Added rendering for annotations
2019-10-04 21:09:49 +02:00
Ashish Jain
398d66bda9
#22 Update SCSS for pie chart specific title class
2019-09-11 21:39:39 +02:00
Ashish Jain
42fc23cff2
#22 Basic Pie Chart
2019-09-11 21:20:28 +02:00
Knut Sveidqvist
e679556975
Merge pull request #886 from stanhu/sh-fix-flowchart-label
...
Fix text label colors for flow charts. Thanks for the fix!
2019-07-21 09:28:12 -07:00
Stan Hu
c6502fb03b
Style the flow chart labels via SCSS
2019-07-21 08:51:44 -07:00
Knut Sveidqvist
5fd803d479
Fix merge changes for pr 722 and issue #782
2019-06-30 16:14:59 +02:00
Knut Sveidqvist
e0a70bd352
Merge of latest changesin to pr #804
2019-06-09 12:40:37 -07:00
Knut Sveidqvist
3e6396cc4b
Merged in recent updates
2019-06-09 10:53:46 -07:00
Knut Sveidqvist
23693bd57e
Merge pull request #845 from Qix-/style-subgraph
...
Support styling of subgraphs
2019-05-28 22:22:45 +02:00
Josh Junon
f51596eb61
Support styling of subgraphs
2019-05-24 17:08:45 +02:00
Jonathan Newnham
c1d252afe0
fix dark theme loop labels not visible
...
* fix loop label text forced to black, ignoring styles
* fix styles that were being ignored
2019-05-14 11:23:37 +10:00
abzicht
0a7b8840a4
Added css for clickable when task text is outside of task
2019-03-15 20:34:26 +01:00
abzicht
d2eb507e7d
Adding styles for clickable tasks
2019-03-10 13:43:20 +01:00
abzicht
4587f5a73d
Added 'clickable' class to all elements with interactivity. This allows css styling for clickable elements
2019-03-09 20:08:52 +01:00
Gijs van Dam
48f8c3f85a
Add custom rendering of milestone tasks
...
If a task is a milestone, the rect shape will be square in the center of
the original width of the rectangular calculated if it weren't a
milestone. The placement of the label text is adjusted accordingly.
Both the rect and the text get a 'milestone' and 'milestoneText' class
accordingly.
The scss rotates the square and scales it a bit down, so that it's a
diamond, which appears to be the defacto standard for milestone icons.
The label text is put in italics.
The rotational transform is done in the scss, so that it's easy for
users to create their own milestone icon-style.
2019-02-01 12:34:55 +08:00
Tyler Long
2914d4975b
Fix arrowhead style issue
2018-12-18 13:55:14 +08:00
Tyler Long
2a0fcd99e4
Merge pull request #720 from paulbland/add-activation-class
...
Add nested activation classes
2018-12-18 13:39:18 +08:00
Gerrit-Jan Lubbertsen
ba2f2cb284
Fix issue with marker-end.
...
I had issues with marker-end. Assuming that CSS got more strict over time.
2018-11-13 16:32:26 +01:00
Bland, Paul
80c7c9a86e
added ability to style nested activations
2018-08-24 11:56:28 -04:00
Bland, Paul
228b832bed
moved hard-coded fill and stroke colors from svgDraw.js to scss files, and added defaults to all themes
2018-08-22 10:22:50 -04:00
Bland, Paul
5903b33016
typo in word "sequence"
2018-08-16 16:55:28 -04:00
Bland, Paul
47bad33949
change all occurences of node number to "sequence number"
2018-08-16 16:53:30 -04:00
Bland, Paul
fb79b133e9
added sequence numbers
2018-08-16 13:44:59 -04:00
Tyler Long
d6085fcdb9
Rename flow.scss to flowchart.scss
2018-03-13 14:49:46 +08:00
Tyler Long
ecf7870b3e
Refactor scss
2018-03-12 20:21:19 +08:00
Tyler Long
30fcab1c63
Rename scss files
2018-03-12 20:10:33 +08:00
Tyler Long
2ed515091f
Add id as css scope
2018-03-11 21:36:59 +08:00