João Paulo Poffo
9f1c37ecb3
Codeclimate - Complexity
2019-02-06 17:24:20 -02:00
João Paulo Poffo
8e8651a0e1
Comments
2019-02-06 17:12:05 -02:00
João Paulo Poffo
a8e9f21035
Standard
2019-02-06 17:09:59 -02:00
João Paulo Poffo
997cdfffb4
Doc HTML
2019-02-06 17:00:51 -02:00
João Paulo Poffo
5a9c57ec0f
Docs
2019-02-06 16:59:57 -02:00
João Paulo Poffo
418ac501aa
Added excludes weekdays to gantt
2019-02-06 16:54:09 -02:00
Philipp A
12b58a17e1
SVG link rendering
2019-02-06 10:53:26 +01:00
Gijs van Dam
7ca9df9357
Refactor ganttDb tests
2019-02-04 11:33:24 +08:00
Gijs van Dam
f912f8582d
Remove MomentJS dependency from Gantt Jest test cases
...
To reduce the dependencies of the Jest test cases, the moment dates in
both Jest test files are replaced with native javascript. Also the
physical file gantt.spec.js is moved to be in the same folder as
gantt.js
2019-02-04 10:21:58 +08:00
Gijs van Dam
a211b6d55d
Use it.each in test cases to prevent code repetition
2019-02-01 17:04:43 +08:00
Gijs van Dam
c84c154603
Add tests for all possible task tags
2019-02-01 16:16:28 +08:00
Gijs van Dam
f903090e0f
Refactor tag parsing of tags
...
The allowed tags are now a const at the top of the code.
Adding a tag there, automatically assigns the property to the
javascript object, if the tag is present in the data.
2019-02-01 14:21:25 +08:00
Gijs van Dam
901df242b7
Replace multiple returns with single return
2019-02-01 13:28:12 +08:00
Gijs van Dam
9dbb3767e2
Extract tag parsing in separate function
2019-02-01 13:27:42 +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
Gijs van Dam
a3eef7298e
Add milestone to ganttDb
2019-01-31 15:33:35 +08:00
Tyler Long
7d3578b31a
Merge pull request #721 from paulbland/right-angles
...
Add option for right angles
2018-12-18 14:04:19 +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
Tyler Long
d7e0e4afc5
Fix code style issue
2018-12-18 13:32:36 +08:00
Tyler Long
de78bb5ffe
Merge pull request #688 from imma90/master
...
add comments about CSS in config
2018-12-17 17:37:25 +08:00
Tyler Long
9ecee6b163
Generate jison files
2018-12-17 17:31:22 +08:00
Tyler Long
e25e8af135
Support latest version of font awesome
2018-12-17 16:27:46 +08:00
Tyler Long
4ab2fed8d2
Merge pull request #757 from gjlubbertsen/master
...
Fix issue with marker-end.
2018-12-17 15:56:49 +08:00
Tyler Long
3e8fea6533
Merge pull request #764 from watsoncj/master
...
Support Multi-line Actor Descriptions
2018-12-17 15:53:20 +08:00
Tyler Long
a57b90809b
Merge pull request #765 from flying-sheep/links
...
Render nodes as real links
2018-12-17 15:30:13 +08:00
Tyler Long
b097b8bb34
Merge pull request #768 from znxkznxk1030/master
...
Remove duplicate code
2018-12-17 15:06:00 +08:00
Tyler Long
349aeb5a26
Upgrade dependencies
2018-12-17 14:56:26 +08:00
Tyler Long
e8aebb00ee
Fix typos in test cases
2018-12-17 14:42:52 +08:00
ysKim
6ece2838bd
Remove duplicate code
2018-12-05 22:45:03 +09:00
Philipp A
bcd3aa7d61
Improved docs, split setClickEvent and setLink
2018-12-01 15:31:57 +01:00
Philipp A
aca80726d7
Render nodes as real links
2018-11-28 17:09:34 +01:00
Casey Watson
2fc5745c58
Support Multi-line Actor Descriptions
...
- Add support for <br/> delimiter in actor descriptions.
- Add actorFontFamily and actorFontSize options to sequence diagram.
- Change default actor description font from times to sans.
Fix #384 #702 #755
2018-11-26 11:49:33 -07: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
Adam Wulf
ac2a4b54e7
Adjust the spacing of the trapezoid
2018-10-11 13:46:47 -05:00
Adam Wulf
9326e91832
Adding trapezoid and inverse trapezoid vertex options.
2018-10-10 02:25:44 -05:00
Bland, Paul
06aa4a5c07
prevent deeply nested activations from calling classes that don't exist (by limiting to 3)
2018-08-29 14:24:42 -04:00
Bland, Paul
80c7c9a86e
added ability to style nested activations
2018-08-24 11:56:28 -04:00
Bland, Paul
0fdddfe548
make default sequence numbers a little smaller
2018-08-23 14:30:47 -04:00
Bland, Paul
42d66fd3d9
tweak for lint
2018-08-23 11:53:04 -04:00
Bland, Paul
ae8dde981b
make path a bit wider
2018-08-22 15:30:12 -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
8035572fac
make default node number a little smaller
2018-08-17 13:37:44 -04:00
Bland, Paul
7fcccb4ab2
fixing formatting for lint
2018-08-17 11:07:04 -04:00
Bland, Paul
b80bad0a93
created option for right angle arrows
2018-08-17 10:56:15 -04:00
Bland, Paul
f87c503d5e
fixed issue where some sequence number would be skipped
2018-08-17 10:25:06 -04:00
Bland, Paul
568c0318be
centered two-digit sequence numbers
2018-08-17 09:37:49 -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