Commit Graph

8447 Commits

Author SHA1 Message Date
Knut Sveidqvist 8596eb6091 Merge branch 'master' into issue416_link_style_fill_none 2017-01-09 08:02:08 +01:00
Knut Sveidqvist 7ff87fdac9 Merge pull request #447 from jawn/patch-1
Fix spelling
2017-01-09 07:58:36 +01:00
Knut Sveidqvist 4c04001637 Merge pull request #449 from bfriedz/circle-styles
Allow .node>circle to receive css styles
2017-01-09 07:58:07 +01:00
Joshua Colvin 8c6cfebc1c Add unit tests to check that 'fill:none' is being set by default.
Updated unit tests to include 'fill:none' in expect style array values.
2017-01-07 12:58:47 -05:00
Joshua Colvin ff0ab048df Add unit tests for isSubstringInArray utility function 2017-01-07 12:57:32 -05:00
Joshua Colvin 9b66b114cc Add conditional to add 'fill:none' to styles array if fill not present 2017-01-07 12:54:49 -05:00
Joshua Colvin 957244583c Add utilty function to check for substring in array 2017-01-07 12:53:49 -05:00
Rebecca Dreezer a124be71b1 Allow .node>circle to receive css styles 2017-01-05 22:02:38 -05:00
Bernard Vander Beken 345d460643 Fix spelling 2017-01-04 11:19:14 +01:00
Knut Sveidqvist 7f0d4fff1b Merge pull request #445 from whyzdev/flowchat_text
added tests and fix cli css style selector lowercase problem
2017-01-03 19:28:06 +01:00
Knut Sveidqvist 1903154d01 Merge pull request #441 from hetz/hetz-patch-gulp-uglify
Update d3.js
2017-01-03 19:27:18 +01:00
whyzdev 9558ebcb0b remove dups 2017-01-01 23:41:38 -05:00
whyzdev d63934637f remove dups 2017-01-01 23:36:42 -05:00
whyzdev 256c529de8 fix cli css style selector text lowercase problem by setting svg style content to commandline css content, if available -- this overwrites cloneCssStyles 2017-01-01 22:47:09 -05:00
whyzdev a56fe7a8fe add more tests in cli_test-samples: flowchart, sequence, gantt, gitgraph, load html in phantomjs and save screenshot png 2017-01-01 22:47:09 -05:00
贺天卓 be4bbed687 Update d3.js
fix gulp-uglify error.
2016-12-20 01:45:23 +08:00
Knut Sveidqvist 2d2f0b9281 Update .codeclimate.yml 2016-12-19 13:07:43 +01:00
Knut Sveidqvist dfd9622ce7 Merge pull request #439 from whyzdev/flowchat_text
adde tests to reproduce #434 in flowchart
2016-12-19 13:04:36 +01:00
whyzdev 71125e7b86 change " to ' per code climate 2016-12-19 00:40:29 -05:00
whyzdev 4a5bbe1791 added a flowchart cli test to reproduce #434 2016-12-18 23:17:24 -05:00
whyzdev 0ecbbf8ddf add tests 2016-12-18 22:52:41 -05:00
whyzdev b73698849d rename tests 2016-12-18 18:05:37 -05:00
whyzdev e13c939583 added cli_test_run-samples to test samples from commandline; added --outputSuffix option 2016-12-18 12:30:37 -05:00
whyzdev 96a25935ac fix warnings per code climate 2016-12-17 18:03:11 -05:00
Knut Sveidqvist 7d5c3144dc Merge pull request #437 from larkinscott/master
Code Climate config
2016-12-15 12:02:13 +01:00
Scott Larkin 2cf9a07bb2 Update .codeclimate.yml 2016-12-14 15:11:07 -05:00
Knut Sveidqvist 72718c14d1 Merge pull request #435 from whyzdev/issue428_fix_gantt_cli_cfg
fix gantt and sequence digram cli cfg
2016-12-14 12:43:50 +01:00
Knut Sveidqvist fbe64b21bc Fix for issue #311, mermaid will clear div used for rendering initially in the redner function. 2016-12-14 12:41:29 +01:00
Knut Sveidqvist d65741177a Fix for issue #311, mermaid will clear div used for rendering initially in the redner function. 2016-12-14 12:41:22 +01:00
Knut Sveidqvist 046b4fdae4 Fix for issue #311, mermaid will clear div used for rendering initially in the redner function. 2016-12-14 12:41:12 +01:00
Knut Sveidqvist a179212c60 Fix for issue #311, mermaid will clear div used for rendering initially in the redner function. 2016-12-14 12:40:44 +01:00
whyzdev 5d99e9c0b8 changed tspan as default of sequence actor text placement 2016-12-13 21:07:32 -05:00
whyzdev b426e600ce fix gantt chart cli configuration one more time missing }; make sequenceConfig cli configuration work; added guantt and sequence files in tape cli output tests 2016-12-13 21:07:32 -05:00
Knut Sveidqvist 66d7c00e84 Merge pull request #433 from whyzdev/issue428_fix_gantt_cli_cfg
fix gantt chart cli configuration broken
2016-12-13 09:28:37 +01:00
whyzdev 293c23ec52 fix gantt chart cli configuration broken #430; remove json quote around function in the config e.g. axisFormatter 2016-12-13 00:19:35 -05:00
Knut Sveidqvist 9e701b0fb3 Merge pull request #430 from whyzdev/issue428_fix_gantt_cli_cfg
fix gantt chart cli configuration parsing including functions
2016-12-11 14:01:56 +01:00
whyzdev 95a0cb53d3 fix gantt chart cli configuration parsing including functions 2016-12-10 16:21:21 -05:00
Knut Sveidqvist 3c03c84782 Merge pull request #427 from whyzdev/issue422_seq_actor_text_placement
use tspan via d3.textwrap to place actor text in sequence diagram
2016-12-10 10:05:18 +01:00
Knut Sveidqvist a3fa318edc Merge pull request #429 from daveaglick/master
Uses an empty text node instead of a string for svg group labels
2016-12-10 10:05:01 +01:00
Dave Glick 0187407cff Uses an empty text node instead of a string for svg group labels 2016-12-09 15:47:26 -05:00
whyzdev 1424ff7d22 fix karma tests where text.textwrap is undefined; added textPlacement parameters to some test cases 2016-12-07 21:46:58 -05:00
whyzdev db62447c98 fix logger to display exception stack includig message not just {} 2016-12-07 20:26:22 -05:00
whyzdev b96ae68aee added byTspan in _drawText candidate function, which uses d3textwrap and align middle vertically by setting text.y 2016-12-07 20:26:22 -05:00
Scott Larkin 7d3f0da75c Create .codeclimate.yml
Created a Code Climate config that uses your existing ESLint configuration (also, enabled our Duplication engine).
2016-12-05 16:06:17 -05:00
Knut Sveidqvist 4984f9e041 Merge pull request #423 from whyzdev/issue422_seq_actor_text_placement_by_fo
#422 use foreignObject/div to place actor label in sequence diagram
2016-12-02 13:25:59 +01:00
whyzdev 1e27238083 fix non-fo y position as before 2016-12-01 20:09:57 -05:00
whyzdev 1e41cea107 use foreignObject/div to place actor label in sequence diagram, enabled by config.textPlacement:fo 2016-12-01 01:00:53 -05:00
Knut Sveidqvist da99d3b15e Merge pull request #413 from sifb/patch-1
Clarify the need for a CSS stylesheet
2016-11-25 18:55:40 +01:00
sifb a0dafb4093 Clarify the need for a CSS stylesheet
Issue #273 says "the need for mermaid.css should be mentioned explicitly in the intro docs" - I ran into this problem as well, because I read `mermaid.min.js This bundle contains everything you need to run mermaid` very literally, but it doesn't contain everything and it needs a stylesheet as well.

This edit tries to make that more clear.
2016-11-24 21:26:07 +00:00
Knut Sveidqvist f5485c1265 Merge pull request #412 from sinedied/master
Added hads downstream project
2016-11-20 10:22:33 +01:00