harshilparmar
7019a1149d
Change logger to log
2021-02-06 15:56:05 +05:30
Guillaume Grossetie
184fcab0b7
resolves #1490 consistent SVG height and width between diagrams
2020-08-25 15:46:10 +02:00
Justin Greywolf
5e72416478
1592-SVG syntax error with links
...
Added xlink namespace to svg definition
2020-08-12 13:47:21 -07:00
Adrian Hall
053a86c0d4
Do explicit imports for d3 instead of wildcards
2020-05-11 07:10:04 +01:00
Justin Greywolf
08e015a951
1234-RefactorDiagramScaling
...
Changed implementation to ensure that viewport is aligned correctly, rather than increasing size
2020-04-26 06:10:18 -07:00
Justin Greywolf
ef17f4eacb
1274-adjust diagram viewbox
2020-04-26 05:51:03 -07:00
Justin Greywolf
c825b37cc6
1240-refactor for class renderer
...
prep for future functionality work
2020-02-03 16:04:59 -08:00
Knut Sveidqvist
963a0fcd77
Merge branch 'develop' into 1179-SupportGenericTypesForMembers
2020-01-29 21:08:31 +01:00
Justin Greywolf
0921007d92
1058-Set diagram dimensions appropriately
...
Make sure height and width are set so that all of the diagram is displayed
2020-01-27 10:27:05 -08:00
Justin Greywolf
587592449a
1179 Add ability to use generics for members
...
Created new class to handle parsing of members with regex to handle determining type of member and the different elements within. Also moved addTSpan in drawClass method to this new file. Finally, I added a "catch all" section in case something fails in the regex to make sure everything gets formatted correctly.
Added more tests and documentation
updating gitignore
Tired of constantly having to ignore files and stash/pop when switching between branches
2020-01-24 16:01:04 -08:00
Justin Greywolf
0e02cf5c86
Merge pull request #1195 from fgrandel/bug/1193_allow_multiple_relations
...
fix(#1193 ): render multiple relations
2020-01-15 09:29:02 -08:00
Justin Greywolf
fa1331ffd5
Fix after removing other code
2020-01-10 10:24:04 -08:00
Justin Greywolf
57b5b9a7a6
Added conditional to fallback to old style
2020-01-10 09:50:21 -08:00
Justin Greywolf
58fbfc3c38
1119 Support method return types
...
Small refactor to split out logic for determining method display text and style. Updated documentation
Used regex to parse method statements in class diagrams to extract discrete elements to set display appropriately. Added tests and updated docs
2020-01-10 09:50:21 -08:00
Justin Greywolf
0af5e0b795
Address code style issues
2020-01-10 09:50:21 -08:00
Justin Greywolf
d7771eb4b6
1119 Add ability to define return type for methods
...
Updated ClassRenderer to check for `[]` to indicate return type for method. Small refactor to split out logic for determining method display text and style. Updated documentation
2020-01-10 09:50:21 -08:00
Florian Grandel
75890f88fa
fix( #1193 ): render multiple relations
2020-01-09 17:00:34 +01:00
Ashish Jain
48c345a403
#1092 Fix for mangling of multiple classDiagrams
2020-01-08 20:48:57 +01:00
Knut Sveidqvist
37ae863443
Merge pull request #1170 from jgreywolf/1064-ClickEventInClassDiagram
...
1064 click event in class diagram
2020-01-05 12:07:34 +01:00
Justin Greywolf
38097c9095
code style
2020-01-02 11:27:56 -08:00
Justin Greywolf
7f31e624ca
Addressing code style issues
2020-01-02 11:24:06 -08:00
Justin Greywolf
e6fbfcb1e8
1064 Adding tooltip and function calls to click evens in class diagrams
2020-01-02 11:06:29 -08:00
Ashish Jain
b14c768fa2
#1146 Fix for dashed line (Dependency) support for classDiagram
2020-01-02 19:25:31 +01:00
Justin Greywolf
d63eb396e1
Fix code style issues
2020-01-02 07:59:36 -08:00
Justin Greywolf
2decf94ad0
1064- Add click functionality to class diagrams
...
modified interaction functionality from flowcharts to work with class diagrams
2019-12-30 17:27:20 -08:00
Justin Greywolf
de8c6d5572
Merge branch 'develop' into 1104(b)-SupportForAbstractMethodInClassDiagram
2019-12-11 10:31:27 -08:00
Justin Greywolf
2eaa7f1ab6
Generic Type support for classes
...
Fixed typos after refactor
2019-12-10 11:39:25 -08:00
Justin Greywolf
5b2f9351c7
Add support for abstract methods
...
Added logic to allow rendering of a method name with italics or underline based on modifier at beginning of name to set css style
2019-12-09 18:13:06 -08:00
Justin Greywolf
6fdf30357c
1104-Add support to designate a method as abstract
...
Added logic to allow rendering of a method name with italics or underline based on modifier at beginning of name to set css style
2019-12-09 17:41:26 -08:00
Justin Greywolf
6a9b251be1
Fix code style errors
2019-12-06 20:35:22 -08:00
Justin Greywolf
2a41280076
Add support for Generic class definitions
...
Added support in parser to translate characters surrounded by `~` into generic type definition ie: `Class01~T~` would turn into `Class01<T>`
2019-12-05 12:59:22 -08:00
MATSUDA Takashi
aac915b285
#1044 fix: Multiple class diagrams are not rendered correctly
2019-11-05 18:00:52 +09:00
Knut Sveidqvist
a5cc1e804b
#1031 Adding stricter code checks
2019-10-27 15:24:56 +01:00
Knut Sveidqvist
c87637c6f4
#1024 Removal of leftover loggings
2019-10-23 18:47:41 +02:00
Pirate Praveen
ca5e60b38b
Use dagre-d3 master branch (for d3v5)
2019-10-21 22:46:20 +05:30
Ashish Jain
f8f52c4587
Fix for viewport in classDiagram and stateDiagram renndering
2019-10-09 21:15:17 +02:00
Ashish Jain
35ddf9235f
#949 Added rendering of cardinality for class diagrams
2019-10-08 21:43:58 +02:00
Christian Klemm
9da61ad562
added some documentation
2019-10-05 12:38:29 +02:00
Christian Klemm
912e850db4
added grammar
2019-10-04 21:49:02 +02:00
Christian Klemm
96735dd543
Added rendering for annotations
2019-10-04 21:09:49 +02:00
knsv
f9b30bdb43
#931 Reformatting for compliacne with code standard
2019-09-12 12:58:32 -07:00
Dan Shai
f057bd1e89
fixed class diagram 2nd pr
2019-06-14 08:01:51 +03:00
Dan Shai
1e7e719dbf
fixed class diagram 2nd pr
2019-06-14 07:37:16 +03:00
Dan Shai
5b6e9747b7
fixed class diagram 2nd pr
2019-06-14 01:22:46 +03:00
Dan Shai
ec298185a3
fix class diagram mermaid
2019-02-12 10:27:05 +02:00
Tyler Long
015b976c28
Fix CSS cannot select number ID issue
2018-03-17 09:10:10 +08:00
Tyler Long
3e9215b27d
Rename folders
2018-03-13 15:28:48 +08:00