Commit graph

336 commits

Author SHA1 Message Date
Alexander Wang
f0cc4ee320
implement edge groups 2022-12-04 14:55:25 -08:00
Alexander Wang
8543420544
fix tests 2022-12-04 13:58:38 -08:00
Alexander Wang
c2825e401f
fix notes identifying as spans 2022-12-04 13:40:46 -08:00
Alexander Wang
a86de8694c
messageYStep -> yStep 2022-12-04 09:51:18 -08:00
Alexander Wang
105e9ad083
implement notes in sequence diagrams 2022-12-04 00:11:03 -08:00
Alexander Wang
3b94fabb0b
add label masks over all connections 2022-12-03 16:36:11 -08:00
Alexander Wang
d1bc498b0f
fix label and icon being placed over each other in dagre/elk 2022-12-03 16:30:44 -08:00
Alexander Wang
c975ddcd03
use goja for elk 2022-12-03 12:09:22 -08:00
Alexander Wang
7cf2a4996e
switch dagre to goja 2022-12-03 11:43:33 -08:00
Júlio César Batista
e53c97ebec
Handle edges to/from descendants 2022-12-03 10:02:45 -08:00
Júlio César Batista
9776d856fa
Handle self edges 2022-12-02 21:49:51 -08:00
Alexander Wang
c4dc93faee
Merge pull request #273 from alixander/self-referential-connections
self referencing connections
2022-12-02 20:07:03 -08:00
Alexander Wang
2781d904be
self referencing edges 2022-12-02 19:53:36 -08:00
Júlio César Batista
a2f7abc316
Fix actor font size 2022-12-02 19:15:04 -08:00
Júlio César Batista
b2e310d6ac
Add title padding 2022-12-02 18:40:59 -08:00
Júlio César Batista
bf6a79f136
Merge branch 'master' into beautify 2022-12-02 17:18:16 -08:00
Júlio César Batista
94895ab693
min object width 2022-12-02 17:08:04 -08:00
Júlio César Batista
4c41794ea2
Fix edge padding 2022-12-02 16:04:29 -08:00
Alexander Wang
557e097a42
fix dagre node ordering 2022-12-02 15:55:33 -08:00
Júlio César Batista
1c3a73207f
update actor and edge distance 2022-12-02 15:49:40 -08:00
Júlio César Batista
1a87a188b6
Fix label position for image and person actors 2022-12-02 15:40:18 -08:00
Júlio César Batista
6b467095ae
lifelines 2022-12-02 13:59:12 -08:00
Júlio César Batista
641850cf5e
change spans base size and growth factor 2022-12-02 13:54:40 -08:00
Júlio César Batista
2fdc1e7c76
Remove messages horizontal pad 2022-12-02 13:46:26 -08:00
Alexander Wang
3adb843afa
comments 2022-12-02 11:53:40 -08:00
Alexander Wang
ca23f30817
Revert "messages inside label"
This reverts commit b64008d4f9c55f387c40ed67e571c3c12a32b983.
2022-12-02 11:11:11 -08:00
Alexander Wang
0ca7246db4
messages inside label 2022-12-02 11:11:11 -08:00
Júlio César Batista
df0c98ba39
lint 2022-12-02 10:51:24 -08:00
Júlio César Batista
be21a957ff
Update message zindex 2022-12-02 10:27:32 -08:00
Júlio César Batista
7fcf62ca67
Change isActor 2022-12-02 10:26:07 -08:00
Júlio César Batista
f918991550
Fix tests 2022-12-02 10:23:11 -08:00
Júlio César Batista
11d29facb8
extract function to restore graph state 2022-12-02 10:09:06 -08:00
Júlio César Batista
7c2d9cf26d
extract function to layout sequence diagram 2022-12-02 09:29:29 -08:00
Júlio César Batista
ce88184e31
Remove sequence diagram mock object 2022-12-02 09:11:02 -08:00
Júlio César Batista
de34747035
Fix lint 2022-12-01 18:33:01 -08:00
Júlio César Batista
8621512739
Handle layout with binaries 2022-12-01 18:30:14 -08:00
Júlio César Batista
b2ec5970e5
Skip layout engine for root sequence diagrams 2022-12-01 17:11:41 -08:00
Júlio César Batista
c0e670bb2f
Fix 2022-12-01 14:32:54 -08:00
Júlio César Batista
f9f02015e6
Merge branch 'master' into nested-sequence-diagrams 2022-12-01 14:03:35 -08:00
Júlio César Batista
3684a1e770
Add sequence diagram 2022-12-01 13:40:19 -08:00
Júlio César Batista
2841b8b9fa
Keep g.Objects in order 2022-12-01 13:39:48 -08:00
Júlio César Batista
8d79f28412
Split sequence diagram and layout 2022-12-01 13:27:53 -08:00
Anmol Sethi
d116889fc9
Switch fully to util-go 2022-12-01 11:48:49 -08:00
Júlio César Batista
21083910e5
Rename to Layout 2022-12-01 11:47:27 -08:00
Anmol Sethi
a05ba67a36
go2: rm -rf 2022-12-01 10:49:15 -08:00
Júlio César Batista
7f26540d64
Layout sequence diagrams before running the layout engine 2022-12-01 10:47:46 -08:00
Júlio César Batista
30cd28fd39
Handle nested sequence diagrams 2022-11-30 16:11:02 -08:00
Júlio César Batista
062ee76b61
Merge branch 'master' into nested-sequence-diagrams 2022-11-30 14:03:01 -08:00
Júlio César Batista
e533aeeed5
Add nested test 2022-11-30 14:01:16 -08:00
Júlio César Batista
641c809464
Fix span rendering order 2022-11-30 13:41:20 -08:00
Júlio César Batista
a86bfc0b9b
Rename edges -> messages 2022-11-30 12:09:29 -08:00
Júlio César Batista
5a5240b73b
Remove objectDepth 2022-11-29 21:38:19 -08:00
Júlio César Batista
de58624f06
Rename span box 2022-11-29 21:38:19 -08:00
Júlio César Batista
68638899bf
Span boxes -> spans 2022-11-29 21:38:19 -08:00
Júlio César Batista
82f2cd37f5
Rename activation box to span box 2022-11-29 21:38:19 -08:00
Júlio César Batista
8c84ed0378
Refactor 2022-11-29 21:38:19 -08:00
Júlio César Batista
d002531768
Add vertical pad to activation boxes 2022-11-29 21:38:19 -08:00
Júlio César Batista
a0c0546059
Add padding to edges 2022-11-29 21:38:19 -08:00
Júlio César Batista
9c0df4ebdb
tests 2022-11-29 21:38:19 -08:00
Júlio César Batista
94d74d4ddf
Add some comments 2022-11-29 21:38:19 -08:00
Júlio César Batista
a9b8b3c0b1
Vertical pad 2022-11-29 21:38:19 -08:00
Júlio César Batista
ebac99e3db
Minor refactor 2022-11-29 21:38:19 -08:00
Júlio César Batista
a79da2db56
rename lifespan to activation box 2022-11-29 21:38:19 -08:00
Júlio César Batista
77b1166abd
Handle nested lifespan 2022-11-29 21:38:19 -08:00
Júlio César Batista
f22580d9ed
Route to proper lifespan box sides 2022-11-29 21:38:19 -08:00
Júlio César Batista
341db70e9d
remove labels from lifespan 2022-11-29 21:38:19 -08:00
Júlio César Batista
b3dfd8548d
Add lifespan 2022-11-29 21:38:19 -08:00
Júlio César Batista
b8355c7fa9
Add sequenceDiagram to hold values required to layout the diagram 2022-11-29 21:38:19 -08:00
Alexander Wang
edff033308
src change 2022-11-29 17:57:17 -08:00
Alexander Wang
d45aa3f5c4
2022-11-29 04:08:36PM 2022-11-29 16:08:36 -08:00
Alexander Wang
a39bfce697
2022-11-29 04:02:37PM 2022-11-29 16:02:37 -08:00
Alexander Wang
b1cfeb19e6
2022-11-28 09:39:36PM 2022-11-28 21:39:36 -08:00
Júlio César Batista
48195e9d5c
Distribute long labels across actors 2022-11-28 13:18:33 -08:00
Júlio César Batista
918ad5d96e
constants 2022-11-28 13:08:52 -08:00
Júlio César Batista
909f9fc6c9
Move constants to a file 2022-11-28 11:41:44 -08:00
Júlio César Batista
b415c6c858
Use user define object order 2022-11-28 11:32:56 -08:00
Júlio César Batista
7bf32ff33b
Rename object to actor 2022-11-28 11:13:23 -08:00
Júlio César Batista
f3b7453c8a
Add comment to addLifelineEdges 2022-11-25 22:41:11 -08:00
Júlio César Batista
a430cc6e60
Add d2sequence layout and OS env for testing purposes 2022-11-25 22:32:04 -08:00
Alexander Wang
d974e85c72
2022-11-21 01:55:22PM 2022-11-21 13:55:22 -08:00
Alexander Wang
6f8017d16c
2022-11-21 01:25:14PM 2022-11-21 13:25:14 -08:00
Alexander Wang
bded5b13fa
[ci-base] cleanup 2022-11-14 19:05:23 -08:00
Alexander Wang
4c23fa7320
[ci-base] notices 2022-11-14 17:00:23 -08:00
Alexander Wang
136faa0d1a k 2022-11-11 20:47:03 -08:00
Gavin Nishizawa
155e4d40ea don't pass node/edge labels to dagre 2022-11-07 11:14:16 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00