Commit Graph

856 Commits

Author SHA1 Message Date
Tyler Long f8da3c2e48 More padding to fix cutoff issue 2018-03-20 23:04:01 +08:00
Tyler Long 03f9264394 Update dependencies 2018-03-20 21:49:31 +08:00
Tyler Long 33da5bcee1 Fix flowchart cut off issue 2018-03-20 20:08:52 +08:00
Tyler Long 01541a3dc1 Fix a typo in flowRenderer. Fix #541 2018-03-19 09:31:29 +08:00
Tyler Long 13ec3f6c0d Support all d3 curves 2018-03-18 09:35:28 +08:00
Tyler Long a949c2aaec config.sequenceDiagram backwards compatibility 2018-03-18 09:08:05 +08:00
Tyler Long f1d2808594 Support flowchart curve as option 2018-03-17 23:05:14 +08:00
Tyler Long 52d0605066 Fix subgraph issue 2018-03-17 18:12:24 +08:00
Tyler Long 015b976c28 Fix CSS cannot select number ID issue 2018-03-17 09:10:10 +08:00
Tyler Long b777c8de15 Release 8.0.0-beta.3 2018-03-16 20:13:39 +08:00
Tyler Long 93201b2ded
Merge pull request #641 from sopherio/master
SequenceDiagram: Add support for multiple alt else statements
2018-03-16 20:03:44 +08:00
Tyler Long 9913bf654b Properly handle wrong theme name 2018-03-15 22:44:00 +08:00
Tyler Long 2d560861df Support Custom CSS 2018-03-15 21:47:53 +08:00
Stefan Sechelmann 274e9f3e42 add test:tdd script to package.json 2018-03-15 13:57:26 +01:00
Tyler Long 07d881cd5e Release 8.0.0-alpha.9 2018-03-14 21:40:26 +08:00
Tyler Long a8e49a0d2d Auto convert <br> to <br/> 2018-03-13 21:58:37 +08:00
Tyler Long 594847ba04 Release 8.0.0-alpha.7 2018-03-13 21:18:09 +08:00
Tyler Long 011220180c Release 8.0.0-alpha.6 2018-03-13 19:31:04 +08:00
Tyler Long 7df9dea72a Fix sequence diagram note text y position issue 2018-03-13 13:23:38 +08:00
Tyler Long 37076d3d1f Support global config of gantt axisFormat 2018-03-12 21:33:02 +08:00
Tyler Long edde501d54 Inline window.getComputedStyle(svg) so you can save the svg. 2018-03-11 23:47:45 +08:00
Tyler Long 35c0e2cea2 Release 8.0.0-alpha.2 2018-03-11 23:26:37 +08:00
Tyler Long 2ed515091f Add id as css scope 2018-03-11 21:36:59 +08:00
Tyler Long 003e5575b9 Setup code coverage 2018-03-10 08:54:28 +08:00
Tyler Long d904574ea8 Replace Karma + Jasmine with Jest 2018-03-10 08:42:59 +08:00
Tyler Long cbb884edae Simplify webpack config 2018-03-09 20:49:12 +08:00
Tyler Long 0a7829fcfe Replace less with scss 2018-03-09 16:23:35 +08:00
Tyler Long 048b39ae16 Remove coveralls 2018-03-09 14:23:37 +08:00
Tyler Long bb9d5e38fa Fix coveralls issue 2018-03-09 14:11:51 +08:00
Tyler Long bb365ca1b5 Replace CodeClimate with coveralls 2018-03-09 14:01:53 +08:00
Tyler Long c251270633 Release 8.0.0-alpha.1 2018-03-09 09:35:11 +08:00
Tyler Long cf2b415cd3 Update todo list 2018-03-08 22:26:30 +08:00
Tyler Long 6a9bd22904 Remove d3-textwrap 2018-03-08 21:33:23 +08:00
Tyler Long d4ac9f8114 Try to upgrade d3 to v4 2018-03-06 16:32:29 +08:00
Tyler Long 4bc2f4d26d Add husky 2018-03-06 16:11:36 +08:00
Tyler Long 7dd174642c Use graphlibrary 2018-03-06 16:04:40 +08:00
Tyler Long 89f3de169c Upgrade more dependencies 2018-03-06 16:00:14 +08:00
Tyler Long bc04bb28fe Update karma 2018-03-06 15:27:12 +08:00
Tyler Long 9df8d319c3 Update puppeteer to latest version 2018-03-06 15:06:23 +08:00
Tyler Long 3f55200737 Update some dependencies 2018-03-06 14:37:27 +08:00
Tyler Long 8848203d90 Fix issues of last PR 2017-12-26 20:58:54 +08:00
Tyler Long b093fc8a55 Update webpack config 2017-12-20 22:20:56 +08:00
Tyler Long 7e01b2b3fb Get rid of babel-preset-es2015 2017-12-20 22:10:58 +08:00
Tyler Long 26eaaa8c79 Update dependencies 2017-12-20 22:02:21 +08:00
Tyler Long 77f1a8ecac Remove mermaid CLI from main project. Release 7.1.0 2017-09-14 11:26:21 +08:00
Tyler Long a4348f1963 Inline svg font 2017-09-13 10:15:35 +08:00
Tyler Long fe0434cb16 Release 7.0.17 2017-09-12 23:13:49 +08:00
Tyler Long a6f992ce5b Allow user to configure theme 2017-09-12 22:54:50 +08:00
Tyler Long 04fc5e51fc Release 7.0.15 2017-09-12 22:21:10 +08:00
Tyler Long 0a828ee67f Load less tyle as string 2017-09-12 21:33:39 +08:00
Tyler Long 5424092189 Use puppeteer and sourcemap 2017-09-12 16:08:03 +08:00
Tyler Long 75d9e7bc59 webpack fs: 'empty' 2017-09-11 23:06:34 +08:00
Tyler Long c5a7eeaa0f Remove 'fs' as dependency 2017-09-10 23:16:35 +08:00
Tyler Long 4947c75ff7 Release 7.0.12 2017-09-10 23:00:20 +08:00
Tyler Long c53c679c6b jest --runInBand 2017-09-10 11:56:53 +08:00
Tyler Long 2d91daf858 Replace tape with jest 2017-09-10 11:42:39 +08:00
Tyler Long fc5c07027c No manual global mermaid 2017-09-09 21:47:21 +08:00
Tyler Long e0f5f10215 Release 7.0.10 2017-09-09 00:58:41 +08:00
Tyler Long 11a949b78e Release 7.0.9 2017-09-06 11:12:21 +08:00
Tyler Long 81007f841a Use babel-plugin-lodash 2017-09-05 21:19:53 +08:00
Tyler Long 84f592c417 Update dagre-d3-renderer 2017-09-05 20:57:13 +08:00
Tyler Long 21c91a8408 Release 7.0.8 2017-09-03 22:20:00 +08:00
Tyler Long 3fbb5f08b8 Remove live-server 2017-09-03 20:07:40 +08:00
Tyler Long 973f5b2591 Minor change to package.json scripts 2017-09-03 12:21:42 +08:00
Tyler Long a9c23f205b Remove jison_legacy 2017-09-03 12:15:58 +08:00
Tyler Long 2565b47637 Update karma config 2017-09-03 09:09:58 +08:00
Tyler Long 73eb98c4c3 Remove babel-plugin-transform-remove-strict-mode 2017-09-03 08:26:57 +08:00
Tyler Long 894616bef9 Release 7.0.7 2017-09-02 23:44:00 +08:00
Tyler Long 1cfd6b67b3 Remove unused dependencies 2017-09-01 21:54:58 +08:00
Tyler Long 5e4d8a1034 Remove unused dependencies 2017-09-01 21:20:40 +08:00
Tyler Long 00785daac9 Remove useless dependencies 2017-09-01 21:14:33 +08:00
Tyler Long 12bfc9570a Remove useless dependencies 2017-09-01 21:10:26 +08:00
Tyler Long f6b5c704e8 Make build faster 2017-09-01 18:34:10 +08:00
Tyler Long 6fe62060c6 Update config 2017-09-01 18:05:46 +08:00
Tyler Long a18179e6db Remove editor 2017-09-01 17:35:13 +08:00
Tyler Long 89e1da4780 Update build scripts 2017-09-01 16:15:41 +08:00
Tyler Long 47be3df96a Remove docs 2017-09-01 15:46:40 +08:00
Tyler Long b077918832 Update library 2017-09-01 15:33:20 +08:00
Tyler Long 73a66b8206 Update libries 2017-09-01 14:52:27 +08:00
Tyler Long 4017628630 Release 7.0.4 2017-08-17 00:00:26 +08:00
Tyler Long d596b58895 Update dependencies 2017-08-16 23:57:43 +08:00
Tyler Long 1076d67137 Disable amd parse for lodash 2017-06-04 12:13:22 +08:00
Tyler Long 5f5c8a2df0 package.json specify files 2017-06-01 13:38:08 +08:00
Tyler Long 0c4bab2966 Release 7.0.1 2017-06-01 13:19:03 +08:00
Tyler Long a6ab0a5742 Update libraries 2017-05-31 21:46:09 +08:00
Tyler Long 22ad977349 Disable Chrome headless mode because it's not supported by stable version of Chrome 2017-05-31 20:58:50 +08:00
Tyler Long 1dcb6cd390 Update travis config 2017-04-26 10:45:12 +08:00
Tyler Long 391149dbd8 Refactor webpack config code 2017-04-22 17:12:12 +08:00
Tyler Long 73027d5cec yarn dist generates minified css files 2017-04-22 16:04:16 +08:00
Tyler Long c52a8fc442 Webpack compile less to css 2017-04-22 15:40:35 +08:00
Tyler Long a4d06742c3 Remove jshint because we are using standard style based on ESLint 2017-04-21 11:21:42 +08:00
Tyler Long 95712ea357 Update package.json 2017-04-19 18:37:55 +08:00
Tyler Long d5178f61f1 Remove gulp-uglify 2017-04-19 00:02:38 +08:00
Tyler Long 941a7f9ff5 Get rid of browserify 2017-04-18 23:35:52 +08:00
Tyler Long 0ccc216a2c Replace karma-browserify with karma-webpack 2017-04-18 23:20:38 +08:00
Tyler Long f0dc7f89e4 Replace phantomjs with phantomjs-prebuilt 2017-04-18 22:20:49 +08:00
Tyler Long 332ceb0da6 Replace karma + PhantomJS with karma + Chrome headless 2017-04-18 22:14:02 +08:00
Tyler Long 5d68359eb6 First working version of babel 2017-04-17 22:34:25 +08:00
Tyler Long 0ebf162673 Try babel 2017-04-17 16:47:26 +08:00
Tyler Long 166acad749 Remove some dependencies 2017-04-17 00:52:23 +08:00
Tyler Long 15bfc12cbe Remove useless dependencies 2017-04-17 00:37:01 +08:00
Tyler Long 6a7a5b9249 Format code of src/d3.js 2017-04-16 22:49:59 +08:00
Tyler Long e16e501b93 mermaidAPI should target node 2017-04-16 21:38:48 +08:00
Tyler Long e17ec3e299 Don't use d3-textwrap before it's for d3 v4 only 2017-04-15 16:44:25 +08:00
Tyler Long 869a64e457 Generate all the dist files using webpack 2017-04-15 16:09:30 +08:00
Tyler Long 9d56595d48 Update libraries to latest version 2017-04-15 15:34:23 +08:00
Tyler Long ea11f8bff1 Use external d3-textwrap 2017-04-15 14:49:35 +08:00
Tyler Long fd5b3083dd Update d3 to 3.5.17 2017-04-15 13:26:58 +08:00
Tyler Long 58a787b660 Upgrade D3 to 3.5.12 2017-04-15 13:22:26 +08:00
Tyler Long 173899fc76 First fully working version of webpack 2017-04-15 12:38:24 +08:00
Tyler Long 7166ade310 Debug flowchart 2017-04-15 12:28:16 +08:00
Tyler Long 7b935823da First working version of webpack 2017-04-15 10:28:37 +08:00
Tyler Long e945bf884e First try of webpack 2017-04-14 17:43:53 +08:00
Tyler Long d87da684a9 eslint watch 2017-04-13 22:35:27 +08:00
Tyler Long 15bdaca2f9 Use yarn install of npm 2017-04-13 22:21:09 +08:00
Tyler Long dc4edf775d Fix style issue of logger.js 2017-04-11 23:46:11 +08:00
Tyler Long 413162dfad Fix some code style issues 2017-04-11 22:57:57 +08:00
Tyler Long d46fda537d Use JavaScript Standard Style for lint 2017-04-11 22:02:50 +08:00
Tyler Long 546e766fd9 Add JavaScript Standard Style 2017-04-10 21:15:12 +08:00
Tyler Long 82220638a0 package.json scripts test should do dist 2017-04-10 20:51:01 +08:00
Tyler Long 19212eb4aa Upgrade all libraries except d3 2017-04-10 18:10:30 +08:00
Tyler Long 176ffa8e7c Update phantomjs 2017-04-10 17:52:19 +08:00
Tyler Long 3caa755b28 Update some libraries 2017-04-10 17:46:52 +08:00
Tyler Long e48ff4c7e9 Update chalk, he and lodash 2017-04-10 17:43:02 +08:00
Tyler Long 2deacb8e97 Format files in root folder 2017-04-10 16:36:54 +08:00
Knut Sveidqvist c7c077c21c Fix for issue #501
Added heko request to readme
2017-04-01 13:51:03 +02:00
Knut Sveidqvist fb70b9742a New release 2017-01-29 12:14:02 +01: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
Knut Sveidqvist 165d43b0cd New release 2016-05-29 19:22:10 +02:00
Raghu Rajagopalan 65140f6b3f WIP - able to draw circles now. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 2fee6e62aa WIP - scaffolding for rendering gitgraph. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 8befe916fb WIP - pretty print commit on console 2016-04-25 11:35:44 +05:30
Knut Sveidqvist bda1aaa5db Draft fix for issue #304 2016-03-23 20:34:44 +01:00
Knut Sveidqvist 6ee298dc7d New release 2016-01-27 15:02:41 +01:00
knsv f005c72669 Fix for issue #281, support for Chrome v 48 2016-01-25 18:59:03 +01:00
knsv 8c8f5928f5 Changes to build environment for windows compatability 2015-12-26 10:59:44 +01:00
knsv 989ff03e43 Set version to 0.5.6
Removed logging
One more iteration in handling of parser API
2015-11-22 18:10:38 +01:00
knsv 64b0517bac Added missing karma dependencies 2015-11-21 12:20:37 +01:00
knsv f52fa46326 Added missing karma dependencies 2015-11-21 11:58:16 +01:00
knsv 51858c02eb Fix for issues #249. Adding configuration option for when to use absolute references for arrow heads. Default is off.
Jasmine tests running in browser via karma.
2015-11-21 11:51:15 +01:00
knsv 4a5828c732 Version change of d3 to 3.5.6 2015-11-11 20:15:02 +01:00
knsv 774ebfe671 Version change of babelify 2015-11-11 18:37:53 +01:00
knsv 7a58e8261f Simple rendering of class diagrams 2015-10-30 10:47:25 +01:00
knsv 01ddfea478 1st version parsing for class diagrams, parsing draft completed, starting rendering work 2015-10-29 07:49:08 +01:00
knsv d68323d7bb Using the latest jison in build 2015-10-24 20:45:42 +02:00
knsv a583daf712 Using the latest jison in build 2015-10-24 20:33:52 +02:00
knsv cf1912523b Using the latest jison in build 2015-10-24 20:27:54 +02:00
knsv c9d29c16e2 New release 2015-10-21 21:14:41 +02:00
knsv ecb12ae2a8 New release 2015-10-19 22:08:17 +02:00
knsv b43e695da2 Fix for issue #204, added width option to the CLI. Default value for width is 1200.
Added logger using es6 syntax
2015-10-19 21:36:55 +02:00
knsv a8ef091cd6 Fixed uglify command 2015-10-17 15:12:59 +02:00
knsv 315923d1d3 Modernization of build environment, better linting, adjustment after stricter static rules, cleanup of package.json 2015-10-17 12:46:36 +02:00
knsv 632a564158 Modernization, better linting, adjustment after stricter static rules 2015-10-17 10:39:20 +02:00
knsv 658ed3d790 Modernization of build environment. Less gulp, more npm. Eslint. 2015-10-12 07:37:02 +02:00
knsv 16906ee242 New version 2015-10-04 23:28:37 +02:00
knsv a611ff3abd New version 2015-10-04 23:09:00 +02:00
knsv 8bc3bdd300 Added styling for mermaid tooltips
Adjustments of tooltip positioning for large documents

Documentation of tooltips
2015-10-03 16:30:50 +02:00
knsv bae1e80ac0 Updated package.json 2015-09-24 18:41:38 +02:00
Nicholas Bollweg 4777fe0d91 doing build before test 2015-07-22 01:15:05 -04:00
Nicholas Bollweg feddb6d048 fixing weird sort, travis bait 2015-07-22 01:00:45 -04:00
Nicholas Bollweg 1a36ed9786 adding failing test for requirejs 2015-07-22 00:36:31 -04:00
knsv 0dc983d04a New release 2015-06-21 17:26:19 +02:00
knsv 4ed345101a Fix for issue #178, auto-line wrap of notes in sequence diagrams 2015-06-20 20:58:58 +02:00
knsv eb555f7da6 Deleted dead code and unused code 2015-06-14 09:51:42 +02:00
knsv 0703292fb9 Bumped up version and removed logging 2015-06-07 16:51:56 +02:00
knsv 08fa19bc83 Updated conf handling
Added initialize function
Moved genric configuration as clonseCssStyles till conf root
Added parse funtion to the mermaidAPI api
2015-06-07 09:21:19 +02:00
knsv b2e489b689 Fix for issue #161 concering nested subgraphs and correct labels for each subgraph. 2015-05-28 23:02:41 +02:00
knsv b4a96c9b21 Render function as mentioned in issue #146, only works in browser context
Updated build scripts
New way for bundling content in dist, tobe tested, currently to be considered beta
2015-05-26 20:41:53 +02:00
knsv 3781dea498 Removed duplicate code 2015-03-15 14:55:16 +01:00
knsv bc5f73daa2 Fix for issue #37
Updated dependencies to dagre/dagre-d3
2015-03-07 12:28:52 +01:00
knsv cc1a4be15a Added default stylesheet and less structure to create new themes as described in issue #122 2015-03-01 16:48:16 +01:00
knsv ead74558ea Added default stylesheet and less structure to create new themes 2015-03-01 16:29:41 +01:00
knsv 4078cf3aed Removed semantic-ui form package 2015-02-20 20:42:59 +01:00
knsv 2512666f49 New release 2015-02-15 19:34:18 +01:00
knsv 074a819ca8 New release 2015-02-15 18:11:46 +01:00
knsv c211434c38 Draft parser for gantt diagrams. 2015-02-08 20:07:15 +01:00
knsv 5452be9fed New release 2015-01-25 16:41:43 +01:00
Mark Dalgleish 50d285bc49 Require d3 directly to better support Node usage 2015-01-20 16:59:58 +11:00
knsv 911cd09dd8 New release 2015-01-11 15:02:35 +01:00
knsv 222a6e0682 New release 0.3.1 2015-01-05 15:32:39 +01:00
knsv f9943b6b82 Support for different arrow types in sequence diagrams: no arrow head, cross head and regular arrow head. 2015-01-04 17:56:58 +01:00
knsv 96b12e876e New release 2014-12-22 13:49:38 +01:00
knsv 307c599a0e Inclusion of tape tests in new test target for travis 2014-12-21 11:25:31 +01:00
fardog f349ddd796 Adds CLI tests 2014-12-20 17:40:58 -08:00
fardog c703c9a0d3 Adds CLI for rendering mermaid files 2014-12-20 17:18:38 -08:00
knsv 5712c6de7b Release 0.2.16 2014-12-15 19:35:09 +01:00
knsv 3f3e23b419 Fixes for issues #47 and #55 including new test cases. 2014-12-13 08:43:25 +01:00
Jason Kim bd2633acf4 Settig up a linting task for src/ 2014-12-09 22:17:07 -08:00
knsv 9aeff6be2d * Changed the license in package json to the correct license (MIT).
* Changed the link style from the pointed one to a more triangle formed style as default style for links
* Updated the readme file regarding linkStyles to explain the magic number 3a s described in issue #41
2014-12-09 20:42:31 +01:00
knsv 6988dea353 Release 0.2.15 2014-12-05 10:50:47 +01:00
Guy Ellis 76d48db219 Fixed reference to Git repo. 2014-12-04 15:16:40 -05:00
knsv dd26960852 New release 2014-12-03 19:35:00 +01:00
knsv fe2f3b403d Patch release 2014-12-03 19:29:44 +01:00
knsv 1e53b588fc Exposing parser in API as requested in issue #21 2014-12-03 18:12:33 +01:00
knsv ab78295faf Preparation for npm package 2014-12-02 19:05:09 +01:00
knsv 540c614c88 Preparation for npm package 2014-12-02 18:36:16 +01:00
IamanimalXI 225560dcdf initial setup for editor page to generate graph through textarea input 2014-12-01 20:50:58 +01:00
knsv fe1c78ca29 Updated shape syntax
Coverage instrumentation in tests
2014-11-27 18:21:15 +01:00
knsv 6382fe07ab Fix for br tags within nodes for new line 2014-11-25 23:16:44 +01:00
knsv 9c31ac8aa6 Fix for br tags within nodes for new line 2014-11-25 22:58:57 +01:00
Knut Sveidqvist 31883e02e7 Support for default styles 2014-11-22 17:53:02 +01:00
knsv d61da879d8 Using browserify for module management, updated build scripts
mermaid_config can be used to config start on load.
2014-11-21 08:03:43 +01:00
knsv eac94e5370 First steps on work with sequence diagrams. 2014-11-20 20:46:51 +01:00
knsv 512b333658 Style in place for edges
dependency on requirejs removed
dist in place
2014-11-13 19:51:05 +01:00
knsv 89093922ed Draft test shell with karma and jasmine 2014-11-04 07:45:23 +01:00
knsv d9b9288da9 Initial commit with draft parser inplace. 2014-11-03 00:02:29 +01:00