Commit Graph

107 Commits

Author SHA1 Message Date
Knut Sveidqvist 6fce617284 3358 Adding types for blockArrowHelper 2024-01-30 17:48:46 +01:00
Knut Sveidqvist 10237976f3
Merge branch 'develop' into 3358-blocks-diagram 2024-01-30 13:21:47 +01:00
Knut Sveidqvist 37d7c7e2dd #3358 Second set of changes after review 2024-01-29 16:22:48 +01:00
Knut Sveidqvist c85b24862d Merge branch 'develop' into 3358-blocks-diagram 2024-01-22 14:19:30 +01:00
Knut Sveidqvist d96425d19e #3358 Reviving arrow heads after merging develop 2024-01-19 14:57:45 +01:00
Matheus Braga 223c8c92cb
Merge branch 'develop' into bug/5059_fix_external_connection_after_updating_edges 2024-01-18 20:59:24 -03:00
Knut Sveidqvist bf64509216 Merge branch 'develop' into 3358-blocks-diagram 2024-01-18 17:07:34 +01:00
Knut Sveidqvist a0d328d734 #3358 Removed logging, fixed som tests 2024-01-18 14:28:14 +01:00
Matheus B 96ac2369b6 Change string concatenation to template literal 2024-01-16 15:36:31 -03:00
Matheus Braga 8c7edebe93
Revert "Revert 5041 feature/4935 subgraph title margin config option" 2024-01-16 13:21:31 -03:00
Sidharth Vinod b46da49f85
Revert "Feature/4935 subgraph title margin config option" 2024-01-15 13:08:58 +05:30
Knut Sveidqvist d0eca268ad #3358 Multiple arrows 2024-01-04 16:05:19 +01:00
Knut Sveidqvist 2ed4469029 #3358 Adding arrows to rendering 2024-01-04 14:15:30 +01:00
Matheus Braga f5ef0b600e
Merge branch 'develop' into bug/5059_fix_external_connection_after_updating_edges 2023-12-22 21:49:21 -03:00
Matheus B 8bff32adab Modify algorithm to re-check for external connections after defining anchor nodes 2023-12-08 13:08:13 -03:00
Justin Greywolf 239fad94ee Grammar/rendering for setting style on class node 2023-12-04 13:28:31 -08:00
Matheus Braga 5718be50ee
Merge branch 'develop' into feature/4935_subgraph-title-margin-config-option 2023-11-27 22:17:32 -03:00
Matheus B a807a58a29 Modify margin logic to avoid creating unnecessary space in subgraph 2023-11-27 22:10:05 -03:00
Alois Klink 25e9bb354e
Merge pull request #4837 from mermaid-js/refactor/unifyEdgeMarkers
refactor: Unify the edgeMarker adding logic
2023-11-27 10:07:42 +00:00
Matheus B ce875c9a33 Move getConfig() call out of recursiveRender to its parent caller 2023-11-26 18:18:31 -03:00
Matheus B 3489fc49b9 Replace multiple calls of getConfig() for a single at top of the scope 2023-11-25 13:51:49 -03:00
Yuta Nakamura 1ff7218558 fix: flowchart image without text 2023-11-24 21:35:50 +09:00
Matheus B d61bfde167 Replace string concat with string templates 2023-11-20 21:06:38 -03:00
Matheus B 63c2d36232 Rename file and update imports 2023-11-20 20:49:00 -03:00
Matheus B c0a43f5d5a Change getSubGraphTitleMargins to accept config object as parameter 2023-11-20 20:40:30 -03:00
Knut Sveidqvist df858dc7b6 #3358 Adding arrows to syntax 2023-11-20 14:00:25 +01:00
Matheus B 453c16d08e Remove unnecessary code 2023-11-17 20:20:13 -03:00
Matheus B 56c3809b57 Add logic to add subgraph title margin on layout 2023-11-12 17:32:58 -03:00
Matheus B 8b0a5be6d9 Include subgraph margin into label positioning 2023-11-11 18:18:51 -03:00
Sidharth Vinod 09d9c31d53
chore: Reset mock in edgeMarker test 2023-11-09 11:36:45 +05:30
Sidharth Vinod e46626d3ed
Merge branch 'develop' into refactor/unifyEdgeMarkers
* develop: (155 commits)
  chore(deps): update all patch dependencies
  chore: release v10.6.1
  fix(flow): fix invalid ellipseText regex
  review fixes
  Update XYChart's nav link in the docs template
  add comment for ts ignore
  move decodeEntities to utils
  review fixes
  chore(deps): update all minor dependencies
  chore: Point to correct changelog
  add spec
  fix: getMessageAPI so it considers entity codes
  chore(deps): update all patch dependencies
  Update integrations-community.md
  docs: upate the list of tools with native support of mermaid
  Fix typo in build-docs.yml
  Updated mermaid version
  Limiting the number of edges that are allowed in the flowchart
  Update README.md
  Update README.md
  ...
2023-11-09 02:39:54 +05:30
Sidharth Vinod 8f572021af
chore: Add test for invalid marker 2023-11-09 02:38:48 +05:30
Sidharth Vinod 4952b13ad0
fix: Ignore unknown arrow type values
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-11-09 02:37:38 +05:30
Aakansha Doshi 58bad981be move decodeEntities to utils 2023-11-03 13:25:26 +05:30
Knut Sveidqvist 7198fe55a9 Parsing of block arrows with directions, creating a dedicated new node for this. 2023-10-26 22:01:44 +02:00
Knut Sveidqvist f3f25c7874 #3358 Adding support for space blocks and different shapes 2023-10-20 12:30:25 +02:00
Sidharth Vinod 7eac75c15c
Merge pull request #4928 from mribeirodantas/fix-minor-typos
fix(typos): Fix minor typos in the source code
2023-10-16 14:00:27 +00:00
Hans Blankenhaus 846fb3f8f8 making consitent config imports from diagramAPI 2023-10-08 14:17:45 +02:00
Marcel Ribeiro-Dantas 30b3e6213f
fix(typos): Fix minor typos in the source code
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
2023-10-07 22:16:11 -03:00
Knut Sveidqvist f00871a6b4 #3358 Recursive positioning 2023-10-03 14:19:08 +02:00
Sidharth Vinod faa1fda7ba
refactor: Unify the edgeMarker adding logic 2023-09-14 15:25:52 +05:30
Sidharth Vinod 29e5e66481
refactor: Unify the edgeMarker adding logic 2023-09-14 15:20:21 +05:30
Knut Sveidqvist 836d3a87be WIP 2023-09-14 10:11:43 +02:00
Sidharth Vinod 983cf45b2f
Merge branch 'develop' into pr/chadfawcett/4825
* develop:
  chore: Fix type in 'getLineFunctionsWithOffset'
  refactor: Add getLineFunctionsWithOffset function
  refactor: Move EdgeData to types
  fix: PointStart marker refX
  chore(deps): update all patch dependencies
  refactor: Fix typings in utils.ts
  chore: Add @internal to createCSSStyles
  chore: Bump version
  refactor: Remove unused variables
  fix: #4818 support `getClasses` in external diagrams.
2023-09-14 13:06:35 +05:30
Sidharth Vinod 3c34fbaacd
refactor: Add getLineFunctionsWithOffset function 2023-09-12 14:08:02 +05:30
Sidharth Vinod 6b7a0e1d8e
fix: PointStart marker refX 2023-09-12 14:04:54 +05:30
Chad Fawcett 552d3ec2e1 Give markers unique id's per graph 2023-09-08 15:28:41 -07:00
Knut Sveidqvist ccdb803501 Rendering, interim 2023-09-05 15:15:08 +02:00
Knut Sveidqvist 3cf7649682
Merge pull request #4788 from mermaid-js/sidv/classEdgeMarkers
fix: Allow hollow markers on edges
2023-09-05 12:47:22 +00:00
Knut Sveidqvist 1e864a508d Rendering, tmp commit before refactoring 2023-09-05 11:13:27 +02:00