Knut Sveidqvist
fa55b7c824
feat: add support for links in sanbox mode
2022-01-28 14:45:43 +01:00
Knut Sveidqvist
06834eb383
feat: adding new security level sandbox, diagram updates
2022-01-21 17:17:31 +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
Echo Chen
d63b26efc2
feat: added includes; added excludes date background
2021-10-20 18:39:35 +08:00
Knut Sveidqvist
5399214ad8
Update of prettier, eslint and rules
2021-07-15 11:35:12 +02:00
Knut Sveidqvist
f7750e5f04
Style fix for topAxis and added integration test
2021-04-25 10:41:59 +02:00
Knut Sveidqvist
adab9819bd
Merge pull request #1954 from nacc/gantt-top-xaxis
...
Gantt: add top xaxis
2021-04-25 10:16:46 +02:00
Nishanth Aravamudan
b558d67fcd
ganttRenderer: put top axis, if configured at the top
2021-04-01 15:45:36 -05:00
Nishanth Aravamudan
f78d4b13eb
gantt: only display topAxis if configured or directive is set
2021-04-01 15:45:36 -05:00
Nishanth Aravamudan
6629061abd
gantt/ganttRenderer: add top x-axis for large Gantt charts
...
I am leveraging a Gantt chart to generate a years-long Roadmap from text.
This is for a large team, so it is quite large. A request I get from my
stakeholders is for a top labelling axis in parallel to the current bottom
one, so that the dates are labelled no matter where we are scrolled on
the screen.
2021-04-01 15:45:36 -05:00
Nishanth Aravamudan
79b30153ba
gantt/ganttRenderer: rename xAxis to bottomXAxis
2021-04-01 15:45:36 -05:00
Knut Sveidqvist
f2e75e730b
Merge branch '1903_journey_config' into 1906_gantt_font
2021-02-27 13:09:23 +01:00
Knut Sveidqvist
b1d21b0e3f
Merge branch 'develop' into 1906_gantt_font
2021-02-27 13:07:02 +01:00
Rutorai
b9859a1e57
The vertical position was based on index in sorted array. It must be done by stored order
2021-02-26 07:58:23 +01:00
Knut Sveidqvist
021bc5f011
Making the font size being configurable and addting the ability set the section font size
2021-02-25 10:06:13 +01:00
Knut Sveidqvist
9d8c867de8
#1676 Adding click support to the new rendering engine and classDiagram-v2
2020-09-10 20:58:16 +02:00
Guillaume Grossetie
99844b4ca3
Add e2e tests on all diagrams
2020-08-25 17:17:52 +02:00
Guillaume Grossetie
184fcab0b7
resolves #1490 consistent SVG height and width between diagrams
2020-08-25 15:46:10 +02: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
Adrian Hall
053a86c0d4
Do explicit imports for d3 instead of wildcards
2020-05-11 07:10:04 +01:00
Danny Shemesh
22dd50a047
Extracted out the commonly used line break regex
...
This commit extract the commonly used /br\s*\/?>/gi regex to common.js,
in order to keep the code more DRY.
2020-04-23 07:20:47 +03:00
Marc Faber
dcfa903176
#1290 Hide/style today marker in gantt diagram
2020-04-05 01:59:18 +02:00
Marc Faber
1cfd93640c
#743 handle multiline section titles in gantt diagrams
2020-01-08 13:50:58 +01:00
Knut Sveidqvist
a5cc1e804b
#1031 Adding stricter code checks
2019-10-27 15:24:56 +01:00
Knut Sveidqvist
53bdfee057
#989 Font configuration
2019-10-12 16:53:21 +02:00
knsv
cf05a8d8fa
#931 Updating code to align witn new code standard
2019-09-12 12:57:36 -07:00
knsv
c33533082c
#847 Handling of embedded javascript in links
2019-07-21 07:39:36 -07:00
Knut Sveidqvist
5667694652
info diagram to show version of mermaid, bugfixes for gantt chart
2019-06-15 14:29:26 +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
abzicht
6fd790570a
Removed <a> tag, moved id attribute to text section
2019-03-09 23:14:28 +01:00
abzicht
d169641c99
Fixed lint issue
2019-03-09 22:19:08 +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
abzicht
67ee649d99
Added setLink and setClickEvent to gantt
2019-03-08 00:19:53 +01:00
João Paulo Poffo
6e846ac3e5
Defined a renderEndDate
2019-02-12 17:29:38 -02:00
Gijs van Dam
901df242b7
Replace multiple returns with single return
2019-02-01 13:28:12 +08:00
Gijs van Dam
5565d36ef2
Fix lint issues
2019-02-01 12:41:03 +08: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
015b976c28
Fix CSS cannot select number ID issue
2018-03-17 09:10:10 +08:00
Tyler Long
f62736c749
Support customization of gantt diagram xAxis format using diagram code
2018-03-13 14:01:44 +08:00
Tyler Long
37076d3d1f
Support global config of gantt axisFormat
2018-03-12 21:33:02 +08:00
Tyler Long
e9f3ad63c6
Remove local d3 file
2018-03-08 21:42:39 +08:00
Tyler Long
197671960d
Fix gantt diagram xAxis format
2018-03-07 22:05:54 +08:00
Tyler Long
e434ac9a1f
Improve gantt diagram code
2018-03-06 19:11:55 +08:00
Tyler Long
1d7589abb9
Try to fix gantt diagram
2018-03-06 18:41:06 +08:00
Tyler Long
3f55200737
Update some dependencies
2018-03-06 14:37:27 +08:00
Tyler Long
20b43d8ad1
Get rid of var
2017-09-14 20:59:58 +08:00
Tyler Long
4fc082b526
Add export default to diagram files
2017-09-10 22:03:10 +08:00