Commit Graph

1860 Commits

Author SHA1 Message Date
Knut Sveidqvist 9d1f32cc0a Merge branch 'eslint-fix' of https://github.com/mmorel-35/mermaid into mmorel-35-eslint-fix 2021-11-18 18:05:15 +01:00
Knut Sveidqvist 95df8fa128 Version 8.13.4 bundles 2021-11-18 17:10:36 +01:00
Knut Sveidqvist 72d2045104 #2496 Unbreaking state diagrams 2021-11-17 22:30:30 +01:00
Knut Sveidqvist 3feff08d42 #2496 A more delicate fix for issue 2021-11-17 21:31:52 +01:00
Knut Sveidqvist fcbd8a5081 #2496 Fix for issue 2021-11-17 20:08:39 +01:00
MOREL Matthieu 5b8a4a0b7a fix conf table display 2021-11-15 09:58:47 +01:00
Yash-Singh1 e68ec31a8f Fix lint warnings 2021-11-11 10:37:50 -08:00
Yash-Singh1 2368ba4914 Merge github.com:mermaid-js/mermaid into eslint-fix 2021-11-11 10:31:08 -08:00
Knut Sveidqvist 0db5f9fea7
Merge branch 'develop' into develop 2021-11-11 19:09:12 +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
Yash-Singh1 0fb25ee749 Merge github.com:mermaid-js/mermaid into jsdoc 2021-11-06 19:48:34 -07:00
Yash-Singh1 d2d8c9bc8e Add jsdoc and refactor a bit of code 2021-11-06 19:36:06 -07:00
Knut Sveidqvist 69ecb02375 Merge branch 'develop'
Conflicts:
	dist/mermaid.core.js
	dist/mermaid.core.js.map
	dist/mermaid.esm.min.mjs
	dist/mermaid.js
	dist/mermaid.js.map
	dist/mermaid.min.js
	dist/mermaid.min.js.map
2021-11-04 21:23:29 +01:00
Yash-Singh1 dac542682d More code fence syntax highlighting 2021-11-01 19:43:54 -07:00
AlwinW 8b35745928 Corrected typos in documentation 2021-10-23 22:57:24 +11:00
Ashish Jain 24d18eb42a #2425 Unicode handling for HTML labels 2021-10-21 19:37:48 +02:00
Echo Chen d63b26efc2 feat: added includes; added excludes date background 2021-10-20 18:39:35 +08:00
Knut Sveidqvist ebe8b8d89f Allowing & and = in links 2021-10-14 21:08:42 +02:00
Ashish Jain 4a50995906 Sequence Diagram: Removed eval from popup handling 2021-10-14 21:02:18 +02:00
Michael Maier cd427ab8ba add shape `datastore` (for nodes of data flow diagram)
See https://github.com/mermaid-js/mermaid/issues/1893
2021-10-09 16:21:57 +02:00
Michael Maier cefafba062 add brackets [| and |] for datastore nodes of data flow diagrams
See https://github.com/mermaid-js/mermaid/issues/1893
2021-10-09 16:19:42 +02:00
Ashish Jain 18ecf479b1 Sequence Diagram Popup : Work _in_progress 2021-10-07 21:52:16 +02:00
Ashish Jain a06f6f9604 Add sanitize to properties and link in Sequence Diagram 2021-10-07 21:48:44 +02:00
Oleg Aksenov 626fbe6de8
Update src/diagrams/common/common.js
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2021-10-03 18:56:37 +03:00
Oleg Aksenov b22422f4b8
Comment console.log in sanitizeText
This is to avoid console window be flooded with 'security level' messages
2021-10-03 18:08:53 +03:00
Ashish Jain aa666d1829 Merge branch 'release/8.13.2' into develop 2021-09-29 20:22:57 +02:00
Ashish Jain 5d5808880f Merge branch 'release/8.13.1' into develop 2021-09-29 20:22:09 +02:00
Ashish Jain cb2294d6f2 Merge branch '2292_Class_Diagram_curly_brace_space_issue' into release/8.13.2 2021-09-29 20:06:32 +02:00
Knut Sveidqvist 7ad509cc7a Correct handling of the note object foir state diagrams when sanitizing it 2021-09-29 19:48:27 +02:00
Knut Sveidqvist dd088bc603 test commit 2021-09-29 18:48:09 +02:00
Knut Sveidqvist c5d091d445 Handling of svg labels for state diagrams 2021-09-29 18:29:39 +02:00
Ashish Jain 38ef061175 Reverting PR #2312 2021-09-29 18:22:35 +02:00
Ashish Jain 55eebd9309 2292 Fix for broken class diagram on space after the '{' curly brace 2021-09-29 17:13:14 +02:00
Knut Sveidqvist d45765dab5 Lint fixes + fix for unit tests 2021-09-29 09:35:14 +02:00
Knut Sveidqvist e4e8a00acc Test fix + empty relation 2021-09-29 08:57:54 +02:00
Knut Sveidqvist 35d8f33542 Merge branch 'master'
Conflicts:
	cypress/platform/xss7.html
2021-09-29 08:51:54 +02:00
Knut Sveidqvist 75b79e1b23 State diagram sanitization 2021-09-29 08:45:07 +02:00
Knut Sveidqvist b62d0d974f
Merge pull request #2312 from cm-wada-yusuke/bug/2160-fixed-height-useMaxWith
configureSvgSize should make height 100% when useMaxWidth is true.
2021-09-23 19:32:43 +02:00
Knut Sveidqvist 83d3b31a1a Merge branch 'release/8.13.0' 2021-09-23 18:59:51 +02:00
Knut Sveidqvist b2fb9f421a Merge branch 'master' of github.com:mermaid-js/mermaid 2021-09-23 18:52:57 +02:00
Knut Sveidqvist 004e7e376d
Merge branch 'develop' into feature/2249_sequence_diagram_popup_menus 2021-09-18 10:19:07 +02:00
Knut Sveidqvist 432267c811 #2315 Fix for broken tests 2021-09-18 10:05:53 +02:00
Knut Sveidqvist 0fcabfae05 #2315 Fixing issue with padding between actors and content in sequence diagram 2021-09-18 08:26:49 +02:00
Knut Sveidqvist 9faa5acb21 #2315 Adding docs and integration tests 2021-09-18 08:03:34 +02:00
Knut Sveidqvist 6ce1c80a47 #2315 Adding the possibility to add actor figures as participants 2021-09-16 20:43:10 +02:00
eajenkins 96977e70b3 Cleaned up remaining prettier errors. 2021-09-14 14:26:43 -07:00
Yusuke Wada a448af2897 add spec 2021-09-14 18:41:51 +09:00
Yusuke Wada 20aaf644fa useMaxWidth should make height 100% too. 2021-09-14 18:28:15 +09:00
Knut Sveidqvist 8bd830c991
Merge branch 'develop' into feature/field-classifier 2021-09-13 21:45:47 +02:00
eajenkins 85d33ecccd Added support for a new link syntax per recommendation:
link <actor>: <label> @ <link-url>

Removed documentation for class/icon definitions until we can finalize the design for this.

Fixed prettier errors.
2021-09-10 16:27:07 -07:00
Knut Sveidqvist b6ba4b2fd8
Merge pull request #2237 from RonaldZielaznicki/2070_more_columns_for_entity_relationship_diagrams
2070: Update ER Diagram to have keys and comments.
2021-09-09 17:50:38 +02:00
eajenkins b3210ed2ef Added sanitization of the links to prevent script injection attacks. 2021-09-02 11:59:43 -07:00
E Jenkins ce6d8576ae
Merge branch 'develop' into feature/2249_sequence_diagram_popup_menus 2021-08-27 15:02:11 -07:00
eajenkins 291bec7e90 Initial implementation for Issue#2249.
Includes changes to sequence diagram code to enable popup menus and individualized styling of actors
Includes unit and e2e tests.
Includes updates to the md file for sequencediagrams.
2021-08-27 10:56:56 -07:00
Xavier Stouder 5997227997 chore: add the static field to the new renderer 2021-08-27 09:14:20 +02:00
Ashish Jain 296a64f465 Updated the version id 2021-08-26 19:32:05 +02:00
Ashish Jain f07a777194
Merge pull request #2271 from mermaid-js/2270_direction_class
2270 Adding support for direction statements in class diagrams.
2021-08-26 18:30:12 +02:00
Ashish Jain 2e02f843ad
Merge pull request #2246 from reetghosh1/bug/1794_Unequal_Arrowhead_bug
Fixed Unequal Arrow Bug
2021-08-26 18:22:47 +02:00
Ashish Jain d32fb0e4c0 Fix for classDiagram-v2 support for cardinality label positioning 2021-08-26 17:18:05 +02:00
Knut Sveidqvist 0658a363cb #2270 Add support for direction statements for classDiagrams 2021-08-26 17:05:10 +02:00
Xavier Stouder 8db827e429 chore: fix regexp 2021-08-26 11:37:14 +02:00
Xavier Stouder 8a8f792d4b fix: abstract field doesnt make any sense 2021-08-26 11:00:39 +02:00
Xavier Stouder c0c978bbdf feat: add the possibility to use classifiers on fields of class diagrams
fix #1953
2021-08-26 10:53:03 +02:00
Knut Sveidqvist b80ebb4fcb Merge branch '2256_class_switch_to_ng_renderer' of github.com:mermaid-js/mermaid into 2256_class_switch_to_ng_renderer 2021-08-19 21:16:31 +02:00
Knut Sveidqvist fd6e59174e Fix for dark theme, class diagrams (v2) 2021-08-19 21:16:26 +02:00
Ashish Jain 54ef5b0bee Fix for classDiagram-v2 support for cardinality where HTML label is true 2021-08-19 21:15:21 +02:00
Knut Sveidqvist b0c09a5b0f #2256 Switch default renderer for class diagrams to the next generation renderer 2021-08-19 20:11:11 +02:00
Ashish Jain 719de71de4 Fix for broken Pie Diagram for d3 v6 upgrade 2021-08-19 19:50:20 +02:00
Ashish Jain 2dfc9a7973 Lint fixes 2021-08-19 19:37:24 +02:00
Ashish Jain 798a0ad783 Fix for broken Pie Diagram for d3 v6 upgrade 2021-08-19 19:04:14 +02:00
Ashish Jain 5ef2ad5536 Fix for classDiagram-v2 support for cardinality 2021-08-19 18:48:19 +02:00
Ashish Jain 0276a67417 Fix for classDiagram-v2 support for generics using '~' & method emphasis 2021-08-19 18:00:49 +02:00
Ashish Jain 46a3d10e8a Fix for classDiagram-v2 support for generics using '~' 2021-08-19 17:51:22 +02:00
Reet Ghosh d9a9eb56a7
Fixed Unequal Arrow Bug 2021-08-17 22:52:10 +05:30
Knut Sveidqvist a251848ba1 #2240 Reversing order of calls 2021-08-15 16:57:26 +02:00
RonaldZielaznicki 3383da514a Update ER Diagram to have keys and comments.
Update ER Diagrams to have keys and comments.
2021-08-12 16:18:54 -04:00
Knut Sveidqvist 8af36b742e Merge branch 'master'
Conflicts:
	dist/mermaid.core.js
	dist/mermaid.core.js.map
	dist/mermaid.js
	dist/mermaid.js.map
	dist/mermaid.min.js
	dist/mermaid.min.js.map
2021-08-05 20:08:37 +02:00
Knut Sveidqvist b6648283c2 Removed some log statements 2021-08-05 19:53:11 +02:00
Knut Sveidqvist b29979bfd9 Fix for broken test 2021-08-05 18:58:42 +02:00
Knut Sveidqvist 7e346a56ff Lint fix 2021-08-05 18:18:18 +02:00
Knut Sveidqvist c0831ecef6 Using Whitelist in all places 2021-08-05 17:35:28 +02:00
Knut Sveidqvist 88e195408c Lint fixes 2021-08-05 01:13:13 +02:00
Knut Sveidqvist 655ff2675e #2219 Excluding using a black list as well 2021-08-05 01:07:35 +02:00
Knut Sveidqvist 37fae09ce4 #2219 Validating directives agains list of legal configuration keys 2021-08-05 01:05:34 +02:00
Knut Sveidqvist 711fb7d748 #2219 UnFrezing object to not cause other downstream issues 2021-08-05 00:52:10 +02:00
Knut Sveidqvist f8891beb0a #2219 Frezing object to protect the prototype 2021-08-05 00:40:21 +02:00
Knut Sveidqvist eb4ac5c103 Merge 2021-08-04 20:02:16 +02:00
Knut Sveidqvist 73ff972789 #2219 Moving check earlier in the chain for better effect 2021-08-03 20:10:15 +02:00
Matthieu MOREL 1d32307a71
use Object.entries instead of d3.entries as it is deprecated (#35) 2021-07-29 22:08:01 +02:00
Knut Sveidqvist 7d802a71c1 Fix for tests 2021-07-29 18:11:48 +02:00
Knut Sveidqvist 69a1bb99ac #2209 Combining sanitasion approaches 2021-07-29 18:05:13 +02:00
Knut Sveidqvist 5399214ad8 Update of prettier, eslint and rules 2021-07-15 11:35:12 +02:00
Knut Sveidqvist 896c7eca57 Fix for issue with updated stylis 2021-07-15 10:58:22 +02:00
Knut Sveidqvist 1034e1a301 #2177 Jets upgrade 2021-07-15 10:14:35 +02:00
Knut Sveidqvist 30de90e4f0 #2177 Updating sanitize-url, dagre, graphlib, khroma, moment-mini, stylis 2021-07-07 18:06:09 +02:00
Knut Sveidqvist 30a02adfe3
Merge branch 'develop' into fix/entity-decode 2021-07-07 14:01:30 +02:00
Sidharth Vinod ed6abb6d92
Merge branch 'develop' of github.com:sidharthv96/mermaid into fix/entity-decode
* 'develop' of github.com:sidharthv96/mermaid:
  Update flowchart.md
  Added new theme user journey diagram specific theme variables
  fix typo
  2122 Blöockling javascript urls
  fix: Assign proper namespaces to foreignObject children
  Small positoining fix for parallell processes and nested composite states
  Version update in the docs
  Updated version in package.json and recompile
  Lint fix
  fix typo
  Fix for styling
  Fox fr keeping the label background in state diagrams
  Removed  unused dependency "he"
  Ensuring "minify" is only listed as a dev dependency
  Update n00b-syntaxReference.md
  Update _sidebar.md
  [docs] Update default log level value
2021-07-07 02:02:42 +05:30
Sidharth Vinod 862330a576
Fix #1603 Remove entity-decode Dependency. 2021-07-07 02:00:44 +05:30
Knut Sveidqvist c447262764 Testcommit 2021-07-05 12:05:33 +02:00
Knut Sveidqvist b468065c6b Adding dompurify 2021-07-05 11:38:24 +02:00
Knut Sveidqvist 67050e4d6d #2170 Adjusting tests 2021-07-05 11:10:26 +02:00
Knut Sveidqvist 5437ab7057 #2170 Lint fix 2021-07-05 10:27:15 +02:00
Knut Sveidqvist 2f73fd3a9d #2170 Adding dompurify 2021-07-05 10:21:11 +02:00
Knut Sveidqvist 6b9462f606 Preventing xss manipulation using onerror with the antiscript setting. 2021-06-27 00:24:19 +02:00
Knut Sveidqvist 9cc4f73cab
Merge pull request #2151 from mermaid-js/2125_switch_state_renderer
#2125 Switching default renderer for state diagrams
2021-06-25 12:06:25 +02:00
Knut Sveidqvist d0d87497c5 #2125 Switching default renderer for state diagrams 2021-06-25 11:08:57 +02:00
Knut Sveidqvist db049f9c8e
Merge pull request #2119 from lishid/develop
fix: Assign proper namespaces to foreignObject children
2021-06-25 10:30:50 +02:00
Knut Sveidqvist c1335955f4
Merge pull request #2133 from mermaid-js/2132_style_journey_diagram
FIX: Added new theme user journey diagram specific theme variables
2021-06-25 10:28:00 +02:00
Knut Sveidqvist 62c6b9d886
Merge pull request #2109 from fabiospampinato/no-useless-prod-deps
Removed some non-production dependencies from the list of production dependencies
2021-06-25 10:27:17 +02:00
Ashish Jain 8b55b83256 Added new theme user journey diagram specific theme variables 2021-06-15 14:21:25 +02:00
Knut Sveidqvist 3d22fa5d24 2122 Blöockling javascript urls 2021-06-08 20:08:04 +02:00
lishid e0652539fb fix: Assign proper namespaces to foreignObject children 2021-06-06 16:57:47 -04:00
Knut Sveidqvist 26ede9b015 Small positoining fix for parallell processes and nested composite states 2021-06-06 11:37:23 +02:00
Knut Sveidqvist e6e94ad57e
Merge pull request #2115 from mermaid-js/2111_placeholder
2111 placeholder
2021-06-05 12:11:13 +02:00
Knut Sveidqvist e0c3b8e269 Lint fix 2021-06-04 07:27:44 +02:00
Yusuke Wada 9861c081db fix typo 2021-06-04 13:56:11 +09:00
Knut Sveidqvist 916df3ff4f Fix for styling 2021-06-03 21:41:29 +02:00
Knut Sveidqvist c0b65e9304 Fox fr keeping the label background in state diagrams 2021-06-03 21:27:53 +02:00
Knut Sveidqvist aa2596b457 #2111 Handling 'false' as false 2021-06-03 20:47:24 +02:00
Fabio Spampinato 359ea05680 Removed unused dependency "he" 2021-06-03 13:23:26 +01:00
Knut Sveidqvist bf21aa8cd6 #2088 Add the possibility to theme forks and joins using theme variables 2021-05-23 10:42:07 +02:00
Knut Sveidqvist 529824e2b3 #2088 Add the possibility to theme forks and joins using theme variables 2021-05-23 08:12:32 +02:00
Knut Sveidqvist 6e6ced2cee #2088 Add the possibility to theme forks and joins using theme variables 2021-05-22 20:13:31 +02:00
Knut Sveidqvist 4c92592aa1 #2050 Updating tests and adding docs 2021-05-18 22:34:24 +02:00
Knut Sveidqvist 0bbefdc48f #2050 Adjusted default value for direction in subgraphs 2021-05-18 21:36:04 +02:00
Knut Sveidqvist 09569301f1 #2050 Adding possibility to render subgrapgs in different directions 2021-05-18 21:15:06 +02:00
Knut Sveidqvist cea1441eeb #2072 fix for composite states 2021-05-17 18:49:53 +02:00
Knut Sveidqvist 84941607df Fix for links between composie states 2021-05-16 10:44:34 +02:00
Knut Sveidqvist af4930e3f3 Expandingh with of subgraphs whith title 2021-05-16 08:21:28 +02:00
Knut Sveidqvist 0a4f16737a #2072 Handle width of clusters with wide titles 2021-05-15 18:52:06 +02:00
Knut Sveidqvist 417428acea Removed some console statememnts and updated version 2021-05-10 18:14:47 +02:00
Knut Sveidqvist d208f58084 SMall styling fix for choices in state diagrams 2021-05-10 07:44:28 +02:00
Knut Sveidqvist 6dcc538777 2021-05-09 16:24:36 +02:00
Knut Sveidqvist 75769c46de 2021-05-09 15:42:31 +02:00
Knut Sveidqvist d3d0df59cb 2021-05-09 15:34:02 +02:00
Knut Sveidqvist 43f6ae7ba0 Add the directive state ment for change rendering direction in composite states 2021-05-09 15:25:51 +02:00
Knut Sveidqvist e3164d8d44 #2055 Fix for how ids are set to notes 2021-05-09 11:12:22 +02:00
Knut Sveidqvist 4720ede442 #2045 name change of state diagram specific theme variable 2021-05-09 10:56:39 +02:00
Ashish Jain 37136c9bef #1648, #1656 Making Pie Chart more configurable 2021-05-07 17:02:08 +02:00
Ashish Jain fb5970d4db
Merge pull request #2038 from mermaid-js/2017_std_req_diagrams
2017 std req diagrams
2021-05-07 02:49:32 +02:00
Knut Sveidqvist 2de9d491c3 #2045 Small fix for alt ackground in state diagrams 2021-05-06 22:16:31 +02:00
Knut Sveidqvist 30909bd6fe #2045 Fix for text color in state diagram v1 in dark 2021-05-06 20:43:34 +02:00
Knut Sveidqvist 2104c983e9 #2045 Fix for default value 2021-05-06 20:29:07 +02:00
Knut Sveidqvist 30faf7bfad #2045 Adjusted styling css to make use of state diagram theme variables 2021-05-06 20:26:00 +02:00
Knut Sveidqvist 785e5552ae Merge branch 'pie_chart_themeing' into state-diagram-themeing 2021-05-06 07:52:09 +02:00
Knut Sveidqvist a1cd398e4d 2021-05-06 07:50:24 +02:00
Ashish Jain edb06b12e9 #2043 Added PieChart theme variable support 2021-05-06 03:09:36 +02:00
Ashish Jain 1337ffe9e5 #2043 Added PieChart theme variable support 2021-05-06 01:41:24 +02:00
Ashish Jain 5157b2eff4 #2017 Fix for theme variable border size for requirement title line 2021-05-03 16:22:54 +02:00
Ashish Jain 257ed8dc92 #2017 Added useage of theme variable requirementTextColor 2021-05-03 16:22:25 +02:00
Ashish Jain ea12f5b2ec #2017 Fix for theme variable border size for requirement box 2021-05-03 16:21:47 +02:00
Ashish Jain 34bd9b58e8 #2017 Fix for theme variable border size for requirement box 2021-05-03 16:19:00 +02:00
Ashish Jain 83754410f3 #2017 Fix for clearing diagram data (helpful for live editor) 2021-05-03 16:17:38 +02:00
Ashish Jain ae36704b66 #2017 Fix for missing docRef 2021-05-03 16:16:18 +02:00
Knut Sveidqvist aa39dcc34f #2035 Growing composite state width with title 2021-05-02 08:44:28 +02:00
Knut Sveidqvist 6dc71122b8 #2032 Adding new statement to add choice shape in state diagrams 2021-05-01 18:09:42 +02:00
Knut Sveidqvist b20f8668be Fix for test 2021-04-30 19:34:25 +02:00
Knut Sveidqvist d8d624870d Adjustments 2021-04-30 19:25:45 +02:00
Knut Sveidqvist 1e6ed7be02 #2029 Adding option to configure default renderer 2021-04-30 17:27:05 +02:00
Knut Sveidqvist 973369e7f1 Lint fix 2021-04-30 17:20:53 +02:00
Knut Sveidqvist 0185d75b05 Reversal of simple fix for grap directions flips 2021-04-30 17:18:50 +02:00
Knut Sveidqvist 2240333df1 #2026 Fix for descriptions of composite states 2021-04-30 13:50:21 +02:00
Knut Sveidqvist 11f3cbdb36 #1958 Handling multiple edges from and to the same node tuple 2021-04-30 10:34:50 +02:00
Knut Sveidqvist 4e6b9ec947 Removed debug code from label 2021-04-30 10:05:20 +02:00
Knut Sveidqvist de8bdb96bd Final tweaks 2021-04-30 09:04:09 +02:00
Knut Sveidqvist ce84278f10 Better track of the order of the edge and removing debug code 2021-04-29 19:24:07 +02:00
Knut Sveidqvist 8955e0a6b1 Fix for first case 2021-04-29 18:50:12 +02:00
Knut Sveidqvist 8f09514dd7 #2017 Standardization of requirement diagrams 2021-04-26 19:08:16 +02:00
Knut Sveidqvist 8c57df1945
Merge pull request #1997 from Mister-Hope/develop
docs: update setup config
2021-04-25 11:07:02 +02:00
Knut Sveidqvist 62b8f78937 Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2021-04-25 10:48:39 +02:00
Knut Sveidqvist 1b66b3c3fb
Merge pull request #1982 from ahmadnassri/develop
fix: re-write id generator
2021-04-25 10:45:27 +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
Mr.Hope a6dfaa0076 docs: fix a wrong value in mermaidAPI docs 2021-04-24 16:03:32 +08:00
Mr.Hope 97563c1f2a docs: update defaultConfig docs 2021-04-24 15:56:26 +08:00
Mr.Hope 68d0002d6b docs: update setup config 2021-04-24 13:13:49 +08:00
Ahmad Nassri f78d8b3e5e
fix(lint): correct lint errors 2021-04-12 16:28:14 -04:00
Ahmad Nassri 84f664de14
fix(id-generator): re-write generator to allow it to function properly after compiling in cli 2021-04-12 15:56:17 -04: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 120b89041b gantt: add a toplevel topAxis configuration option 2021-04-01 15:45:36 -05:00
Nishanth Aravamudan 2d0aab223c gantt: add a topAxis directive to allow per diagram configuration 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 1b3971d6da
Merge pull request #1967 from mermaid-js/1966_journey_padding
Journet diagrams handling of right margin
2021-04-01 08:52:26 +02:00
Knut Sveidqvist f86bdd648a Setting better height 2021-03-28 10:17:12 +02:00
Knut Sveidqvist f47b83235a
Merge pull request #1937 from Rutorai/feature/1802_notes_remain_bright
Feature/1802 notes remain bright
2021-03-24 07:36:22 +01:00
Knut Sveidqvist a18543862f #1995 Adding circle and ellipse 2021-03-23 21:57:15 +01:00
Knut Sveidqvist 30dfbbbd68 #1995 Adding polygons 2021-03-23 21:48:49 +01:00
Knut Sveidqvist 4339fadd50 #199 Handling path as well as rect when htmlLabels are off 2021-03-23 21:33:39 +01:00
Knut Sveidqvist 1ae074d05f #1955 Fix for non htmlLabels 2021-03-23 21:13:52 +01:00
Knut Sveidqvist 84c9dd0dad #1955 Fix for non htmlLabels 2021-03-23 20:51:16 +01:00
Knut Sveidqvist 87458657f8 #1955 Different selector in order to make it possible to change the text color for flowcharts vis classDef statements 2021-03-23 19:22:10 +01:00
Knut Sveidqvist b789d44fd6
Merge pull request #1935 from ahmadnassri/develop
fix: correct method calls for deterministic ids
2021-03-18 21:01:19 +01:00
Knut Sveidqvist c269dc822c UPdated default curve for flowcharts to basis 2021-03-15 20:57:07 +01:00
Knut Sveidqvist 4e7ecb3f30 Merge branch 'master' into develop 2021-03-13 16:45:27 +01:00
Knut Sveidqvist 0f31471b2e #1940 Fix 2021-03-11 20:57:45 +01:00
Justin Greywolf 407996b00b
Merge pull request #1907 from TreyE/better_class_name_literals
Better class name literals
2021-03-11 10:35:10 -08:00
Knut Sveidqvist 10b002889c An update to the theme natural 2021-03-11 18:34:51 +01:00
Knut Sveidqvist b50eea26ed A theme change for neutral and new default value for curve to natural 2021-03-11 18:33:59 +01:00
Rutorai 76da6598c6 Use of secondary background, textcolor and border for notes when using the dark theme 2021-03-10 21:25:58 +01:00
Ahmad Nassri 395bf25e1a
style: correct lint errors 2021-03-10 13:50:49 -05:00
Ahmad Nassri ba8b49c703
fix: correct method calls for deterministic ids
Fixes #1870
2021-03-10 11:39:51 -05:00
Trey Evans 438884b866 Add class name literals, with less conflicts. 2021-03-01 14:14:23 -05:00
Knut Sveidqvist 749f16d875 Lint fix 2021-02-28 11:44:51 +01:00
Knut Sveidqvist 82618f0184 #1920 Making flocharts adhere to the curve configuration also changing the default configuration for grpah and flowchart 2021-02-28 11:29:56 +01:00
Knut Sveidqvist 623056fe20 Reverting unintentional config change 2021-02-27 13:24:54 +01:00
Knut Sveidqvist f2e75e730b Merge branch '1903_journey_config' into 1906_gantt_font 2021-02-27 13:09:23 +01:00
Knut Sveidqvist 5e8b8ab3e3 Merge branch '1903_journey_config' into 1906_gantt_font 2021-02-27 13:08:35 +01:00
Knut Sveidqvist b1d21b0e3f Merge branch 'develop' into 1906_gantt_font 2021-02-27 13:07:02 +01:00
Knut Sveidqvist 184351c932 Lint fix, removed unsued variable 2021-02-27 13:05:12 +01:00
Knut Sveidqvist c0d0e80fe0 Merge branch 'develop' into 1903_journey_config 2021-02-27 13:03:55 +01:00
Knut Sveidqvist 0646b43144
Merge pull request #1911 from Rutorai/bug/1651_milestone_incorrect_vertical_position
The vertical position was wrongly based on index in sorted array.
2021-02-27 12:52:30 +01:00
Knut Sveidqvist ef63a0661b
Revert "#1317 : Add state id to state diagram. Move description below separa…" 2021-02-27 10:51:36 +01:00
Knut Sveidqvist 1293850a09
Merge pull request #1912 from hopoverflow/patch-1
#1317 : Add state id to state diagram.  Move description below separa…
2021-02-27 10:39:37 +01:00
Knut Sveidqvist 30b265a425 Removed configuration not used 2021-02-27 10:28:15 +01:00
Knut Sveidqvist 62e196e802
Merge pull request #1910 from JoshSharpe/feature/requirement_diagram
Feature/1909_requirement diagram
2021-02-27 10:26:22 +01:00
hopoverflow 7cc7a8f47c
#1317 : Add state id to state diagram. Move description below separator.
Fix issue #1317
2021-02-26 13:16:00 -08: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
Josh Sharpe 45518580a4 Small bug fix with requirement diagram naming. 2021-02-25 21:25:38 -05: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
Josh Sharpe 55251e1024 First pass at a requirement diagram. 2021-02-23 23:27:13 -05:00
Knut Sveidqvist 693de2996a #1903 Use central configuration tools 2021-02-23 20:56:01 +01:00
Knut Sveidqvist 9677aaa715
Revert "Add class name literals." 2021-02-18 20:26:58 +01:00
Harshil Parmar 0728533676
Merge branch 'develop' into enhancement/standardized_naming 2021-02-06 16:04:14 +05:30
harshilparmar 7019a1149d Change logger to log 2021-02-06 15:56:05 +05:30
harshilparmar edd7bc7197 remove eslint comment 2021-02-03 16:01:32 +05:30
harshilparmar 8b191f038e resolve eslint issue 2021-02-02 13:02:55 +05:30
harshilparmar eb206cb687 Standardized naming in the log functionality 2021-02-02 08:33:44 +05:30
Trey Evans b974b3df3e Add class name literals. 2021-02-01 13:21:49 -05:00
Knut Sveidqvist 1b9d9fe12c #1874 #1865 Fix for regression issue - flowchart 2021-01-28 20:51:11 +01:00
Knut Sveidqvist fc5693067c #1874 #1865 Fix for rgression issue 2021-01-28 07:52:17 +01:00
Knut Sveidqvist 177cd30854 #1874 Protecting the original configuration 2021-01-27 22:23:33 +01:00
Knut Sveidqvist 2e5771b9e8 Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2021-01-27 21:24:53 +01:00
Marc Faber 1514ef18ec #1620 Fix arrow heads to be visible for all flowchart node shapes 2021-01-24 21:33:15 +01:00
Knut Sveidqvist a6cfb315f2 Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2021-01-24 08:33:03 +01:00
Knut Sveidqvist 9ec76f7ecb #1865 Additional styling fixes 2021-01-24 08:31:16 +01:00
Marc Faber 03edd00014 #1865 Making title color woitk when htmnlLabels are used (separated css rules for cluster text and span) 2021-01-23 22:36:20 +01:00
Marc Faber bf8e7a3590 #1783 Apply styles to all types of flowchart node shapes 2021-01-23 20:17:36 +01:00
Knut Sveidqvist ea9a893c24 #1865 Making title color woitk when htmnlLabels are used 2021-01-23 16:07:25 +01:00
Knut Sveidqvist 5d24a2b7d9 #1528 Adding async arrow type in sequence diagrams 2021-01-11 23:09:37 +01:00
Knut Sveidqvist e08ae8ed4a Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2020-12-17 20:50:41 +01:00
Ashish Jain 3e042f63e6
Merge pull request #1822 from ileler/develop
Fix for when the br tag is used
2020-12-17 20:49:26 +01:00
Knut Sveidqvist 1c0b167c95 Merge branch 'develop' of https://github.com/designsforhealth/mermaid into designsforhealth-develop 2020-12-17 20:44:23 +01:00
Ashish Jain 4da5df9c9b
Merge pull request #1823 from Yash-Singh1/patch-1
Removed 0% on pie chart
2020-12-17 20:39:48 +01:00
Ashish Jain 032d8781dc Updated the click_security_loose test case for classDiagram and classDiagram-v2 for new callback function arg 2020-12-17 20:26:12 +01:00
Johnny Walker 0fe1fb76d1 test: add tests for sequence diagram text wrap updates 2020-12-12 02:01:40 -05:00
ileler 8aa030539b fix e2e error 2020-12-12 09:52:39 +08:00
Johnny Walker 469a726285 fix: calculate text dimensions after wrapping message text 2020-12-11 20:43:12 -05:00