Sidharth Vinod
4fc4d71350
chore: fix eslint warnings
2022-09-13 21:39:58 +05:30
Valentin Valls
ba4f7d2ceb
Rework 'parseDuration' as a pure duration parsing
2022-08-25 23:15:28 +02:00
Valentin Valls
3315ae8382
Supports duration in decimal
2022-08-25 23:15:28 +02:00
Valentin Valls
f7b8d1ac07
Create a more consistent 'parseDuration'
...
- Remove 'durationToDate' which was not a usable function
2022-08-25 23:15:28 +02:00
Valentin Valls
0583c4fa25
Added 'ms' duration
2022-08-24 22:26:39 +02:00
Knut Sveidqvist
b82b2d2b78
#3074 Using regular title as a fallback for the accessibility title when no dedicated accessibility title is present
2022-05-24 18:52:37 +02:00
Knut Sveidqvist
2ab1e162ea
#3074 Cleanup and fixes for issues with accessibility for gantt and journey diagrams
2022-05-24 18:20:05 +02:00
Knut Sveidqvist
a3878528c6
#3050 Renaming setTitle to setAccTitle
2022-05-17 20:23:45 +02:00
Knut Sveidqvist
ed56e4858a
Cleanup
2022-04-30 16:14:43 +02:00
Adam B
e5345f209c
Sanitize user input for accessibility nodes
...
* Adds accDescription to demos/gantt.html
2022-04-07 15:34:53 -04:00
Adam B
65b0b83625
Adds accDescription, draws tags to svg
2022-04-07 10:05:54 -04:00
Knut Sveidqvist
fa55b7c824
feat: add support for links in sanbox mode
2022-01-28 14:45:43 +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
Nishanth Aravamudan
2d0aab223c
gantt: add a topAxis directive to allow per diagram configuration
2021-04-01 15:45:36 -05:00
harshilparmar
7019a1149d
Change logger to log
2021-02-06 15:56:05 +05:30
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
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
b9fa2f4125
Added directive parsing to gannt
...
Ensured tests pass
2020-07-27 10:16:41 -04:00
Knut Sveidqvist
7e9ab546eb
Fix for broken build, issue with config use in flowcahart and gantt diagram
2020-07-02 22:34:13 +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
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
Toan
28dcc781b4
Chart Node click event support key-path value for function callback
2020-06-13 17:41:52 +07:00
Marc Faber
dcfa903176
#1290 Hide/style today marker in gantt diagram
2020-04-05 01:59:18 +02:00
Knut Sveidqvist
a1626927cc
Merge pull request #1136 from keenanjt33/feature/921_callback_params
...
Gantt: Add support for callback with parameters
2020-01-01 00:29:00 -08:00
Sophie Dankel
7b12c7a07d
Fix infinite loop caused by date iteration
2019-12-24 19:01:29 -08:00
Keenan Tullis
c7ec8190fb
Gantt callback: default to node id as callback arg
2019-12-10 15:25:28 -05:00
Itprdev
78e4fead49
Feature request 552. Gnatt chart task with multiple dependencies
2019-11-28 16:53:33 +02:00
Knut Sveidqvist
a5cc1e804b
#1031 Adding stricter code checks
2019-10-27 15:24:56 +01:00
knsv
cf05a8d8fa
#931 Updating code to align witn new code standard
2019-09-12 12:57:36 -07:00
knsv
7b335fb62e
#901 Fixed the issue with multiple calls to bind the click functions. Also sanitized the tooltips so that no tags are allowed in them for ( #847 ).
2019-08-11 03:26:44 -07:00
knsv
cf686c445c
Standard fixes
2019-07-22 05:23:03 -07:00
knsv
f11d1a6fa1
#847 Better sanitizing of urls
2019-07-22 02:18:09 -07:00
knsv
c33533082c
#847 Handling of embedded javascript in links
2019-07-21 07:39:36 -07:00
Knut Sveidqvist
c818dbb5a0
Setting default securityLevel to strict, updated docs in mermaidAPI
2019-07-14 06:07:27 -07:00
Knut Sveidqvist
31576f8f55
#847 Removing </> in text
2019-07-13 22:50:53 -07:00
Jason Würtz
047760ad4b
chore(ganttDb): export durationToDate so it can be tested
2019-07-07 17:17:05 -03:00
Jason Würtz
67bb5ffa73
refactor(ganttDb.js): extract durationToDate function
...
codeclimate was complaining about the getEndDate function so I split it up
2019-07-07 17:01:45 -03:00
Jason Würtz
660e0f3d8b
refactor(ganttDb): separate out the inclusive end date toggle
2019-07-07 16:27:28 -03:00
Jason Würtz
ee766ec88e
fix(ganttDb): change manual end time determination
...
now it just checks if a valid end time was provided and instead of the comparison that went on before.
This needed to be done in order to support manual end dates with inclusive set to true since they don't match anymore as the 'manually' supplied end date is increased by one
2019-07-06 12:28:56 -03:00
Jason Würtz
63096a5c26
feat(ganttDb.js): add 1 day to end dates if inclusive is set to true
...
This will essentially keep all old behavior the same while still allowing users to specify if they want inclusive end dates
2019-07-06 12:27:28 -03:00
Jason Würtz
6d20ccccd0
feat(ganttDb.js): add getters for excludes,sections and date format
2019-07-06 11:54:18 -03:00
Jason Würtz
6dce255393
fix(ganttDb.js): clear formats and excludes on clear
2019-07-06 11:30:13 -03: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
df7dc21893
Merge branch 'no-bloat'
2019-06-09 07:00:29 -07:00
Fabio Spampinato
9290aa2b61
Replaced “moment” with “moment-mini"
2019-06-04 03:14:35 +02:00
abzicht
63184d53c1
Argument processing now allows double quoted strings
2019-03-10 13:41:59 +01:00