Commit graph

259 commits

Author SHA1 Message Date
donglixiaoche
a21f5ec438
fix: cr, calc labelPosition 2023-03-27 21:38:11 +08:00
donglixiaoche
77822318aa
fix: cr, use method instead of attribute 2023-03-27 21:38:11 +08:00
donglixiaoche
ebab91b043
fix: cr, delete redundant variable 2023-03-27 21:38:11 +08:00
donglixiaoche
4e4959f39b
fix: cr, delete redundant return value 2023-03-27 21:38:11 +08:00
donglixiaoche
7deb725252
chore: delete redundant code 2023-03-27 21:38:10 +08:00
donglixiaoche
df19311f9b
fix: ignore objects inside near container when calc boundingBox 2023-03-27 21:38:10 +08:00
donglixiaoche
17c4851618
fix: calc labelDimension 2023-03-27 21:38:10 +08:00
donglixiaoche
69532df6aa
fix: cr, integrate logic of construct sub graph inside WithoutConstantNears 2023-03-27 21:38:10 +08:00
donglixiaoche
3d32611a01
fix: cr delete extra blank line 2023-03-27 21:38:09 +08:00
donglixiaoche
115f46f428
feat: descendants now is allowed for container with near attribute 2023-03-27 21:38:08 +08:00
Alexander Wang
c3c60c5bab
fix elk container label 2023-03-17 21:46:57 -07:00
Alexander Wang
e36f2f946b
elk fit labels, center contents 2023-03-15 13:07:45 -07:00
Alexander Wang
7f9bc2b033
Merge branch 'master' into elk-shim 2023-03-14 18:38:43 -07:00
gavin-ts
6614000fe5
Merge pull request #1026 from gavin-ts/lint
lint for go 1.20
2023-03-14 18:21:38 -07:00
Alexander Wang
b4518cdb03
fix rounding hopefully 2023-03-14 17:54:05 -07:00
Alexander Wang
27870fc7d6
fix 2023-03-14 17:37:19 -07:00
Alexander Wang
f35be526c6
remove ladders 2023-03-14 15:29:50 -07:00
Gavin Nishizawa
9e31f83b7b
consider text containers as label-less when adjusting edges for dagre 2023-03-14 15:14:15 -07:00
Alexander Wang
05938bdef2
s-shape 2023-03-14 14:54:30 -07:00
Alexander Wang
73c35bb14b
implement s-shape 2023-03-14 14:11:51 -07:00
Alexander Wang
90a927131d
node edge spacing 2023-03-14 13:06:56 -07:00
Alexander Wang
330045f6a2
error handling 2023-03-14 12:49:56 -07:00
Gavin Nishizawa
8fe2eee56d
lint 2023-03-14 11:20:00 -07:00
Alexander Wang
a37c456dfc
fixed alignment 2023-03-14 11:08:29 -07:00
Alexander Wang
d6fee41e3b
make dagre inter-container connections better 2023-03-09 19:49:40 -08:00
Alexander Wang
412f53e229
ELK nodes grow to ensure port padding 2023-03-06 22:32:15 -08:00
Gavin Nishizawa
bacb22797c
fix 2023-03-03 22:31:09 -08:00
Gavin Nishizawa
13a3edc4ba
basic fix 2023-03-03 22:18:56 -08:00
Gavin Nishizawa
609b3e5eb3
move person labels to outside bottom 2023-03-02 14:57:13 -08:00
Gavin Nishizawa
d7ad0f39a9
shift whole edge down if horizontal between two non root nodes 2023-02-27 19:54:39 -08:00
Gavin Nishizawa
454196be9b
unless the dst is also on a container 2023-02-27 19:41:59 -08:00
Gavin Nishizawa
5844c54bcf
handle non-vertical directions when shifting nodes 2023-02-27 19:41:18 -08:00
Alexander Wang
25f6c84a3a
check for no actors in sequence diagram 2023-02-23 23:17:45 -08:00
Gavin Nishizawa
daadca15cd
pad label box, avoid short segments 2023-02-23 13:02:40 -08:00
Gavin Nishizawa
e3ac2a4170
move container edge back if it runs into the container's label 2023-02-23 11:35:56 -08:00
Alexander Wang
cd818defc3
add elk version 2023-02-22 18:22:15 -08:00
Alexander Wang
5ff1909935
container dimensions 2023-02-18 23:35:18 -08:00
Júlio César Batista
4b9fc8f7a1
fix near constant removal 2023-02-18 12:20:47 -03:00
Alexander Wang
ffea3c9ab2
fix 2023-02-14 11:34:18 -08:00
gavin-ts
305ed09632
Merge pull request #807 from gavin-ts/limit-oval-aspect-ratio
shapes: limit oval aspect ratio
2023-02-13 11:32:29 -08:00
Alexander Wang
aa1f123f71
more accurate 2023-02-13 11:23:54 -08:00
Gavin Nishizawa
4de1f76751
limit oval shape aspect ratio 2023-02-13 11:23:30 -08:00
Alexander Wang
f14326c334
ok 2023-02-13 10:48:55 -08:00
Alexander Wang
e37fc89bb1
icons in top left of containers 2023-02-13 10:42:47 -08:00
Alexander Wang
112558d901
changelog 2023-02-12 10:28:55 -08:00
Alexander Wang
281f163acf
tests 2023-02-12 10:25:28 -08:00
Alexander Wang
900e4bab83
fix note placement bug 2023-02-12 09:59:44 -08:00
Alexander Wang
019429edcf
try different value 2023-02-10 21:45:31 -08:00
Alexander Wang
0f9d98fa8a
Merge branch 'master' into tune-spacing 2023-02-10 21:27:10 -08:00
Alexander Wang
b30a72b2b3
merge 2023-02-10 21:25:28 -08:00