Commit graph

478 commits

Author SHA1 Message Date
Gavin Nishizawa
40e8cc8530
cleanup 2023-10-20 16:21:41 -07:00
Gavin Nishizawa
9ab1971d54
elk: don't grow node if there is a width/height input 2023-10-20 16:13:54 -07:00
Gavin Nishizawa
00a3d32d81
cleanup, comment 2023-10-16 20:37:56 -07:00
Gavin Nishizawa
bd6c1d1af1
update sizing adjustments pre/post grid layout 2023-10-16 17:34:30 -07:00
Gavin Nishizawa
514bb89472
improve margin adjustments for outside labels 2023-10-16 16:45:18 -07:00
Gavin Nishizawa
c647c6fb2e
update grid cell label/icon positioning 2023-10-16 16:45:18 -07:00
Gavin Nishizawa
aca528c9e1
fix typo bug 2023-10-05 18:48:59 -07:00
Gavin Nishizawa
2f71d575df
handle lifeline edges 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
2fe494f678
re-associate edge references after nested layout 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
ef70843c83
implement simple edge routing across nested graphs 2023-10-02 11:05:18 -07:00
Gavin Nishizawa
7b28c9290c
update strategy for nested grid cell layout 2023-09-27 17:00:58 -07:00
Gavin Nishizawa
c9d5003343
fix 2023-09-27 17:00:57 -07:00
Gavin Nishizawa
5ddfdd42a1
cleanup 2023-09-27 17:00:05 -07:00
Gavin Nishizawa
e55075fc37
cleanup 2023-09-26 18:07:49 -07:00
Gavin Nishizawa
d3721fd4f0
refactor, fix 2023-09-26 18:07:49 -07:00
Gavin Nishizawa
69405167be
account for icons 2023-09-26 18:07:49 -07:00
Gavin Nishizawa
b9c139de59
layout grid including outside label sizes 2023-09-26 18:07:49 -07:00
gavin-ts
ae128ac435
Merge pull request #1619 from gavin-ts/fix-dagre-id-registration
Fix dagre id registration
2023-09-25 21:56:50 -07:00
Gavin Nishizawa
09d6245269
fix dagre id registration 2023-09-25 16:33:23 -07:00
Gavin Nishizawa
86de2cd414
fix 2023-09-25 16:04:13 -07:00
Gavin Nishizawa
2d00cb4bef
object.Children map may no longer exist 2023-09-25 16:04:13 -07:00
Gavin Nishizawa
e40ef6dfb1
fix stale *Object pointers after coreLayout 2023-09-25 16:04:13 -07:00
Gavin Nishizawa
451f0e0208
create object_mapper.go 2023-09-25 10:25:13 -07:00
Gavin Nishizawa
412ad4a6db
create dagre object mapper to manage ids for dagre to use 2023-09-25 10:23:00 -07:00
Gavin Nishizawa
31252e6752
cleanup 2023-09-22 20:12:20 -07:00
Gavin Nishizawa
cee6a92722
cleanup 2023-09-21 21:02:33 -07:00
Gavin Nishizawa
9ecbc61945
cleanup 2023-09-21 20:41:06 -07:00
Gavin Nishizawa
0129ec4497
fix sequence in grid cell 2023-09-21 20:34:47 -07:00
Gavin Nishizawa
1baac61711
fix multiple sequence diagram inject order 2023-09-21 19:52:50 -07:00
Gavin Nishizawa
d6a543219c
empty sequence 2023-09-21 19:52:50 -07:00
Gavin Nishizawa
8ea2d96821
fix order of added sequence edges 2023-09-21 19:52:50 -07:00
Gavin Nishizawa
8bb1e3c473
error handling 2023-09-21 19:52:50 -07:00
Gavin Nishizawa
593bea6982
fix root grid shift 2023-09-21 19:52:50 -07:00
Gavin Nishizawa
a5dec20dd4
fix queue 2023-09-21 19:52:49 -07:00
Gavin Nishizawa
596cd5ed06
maintain order 2023-09-21 19:52:49 -07:00
Gavin Nishizawa
6d39f96a73
fix empty grid 2023-09-21 19:52:49 -07:00
Gavin Nishizawa
538d6920c8
icon position 2023-09-21 19:52:49 -07:00
Gavin Nishizawa
0fbc921248
fix extracting near subgraphs 2023-09-21 19:52:49 -07:00
Gavin Nishizawa
1c8df051b9
refactor, fix 2023-09-21 19:43:24 -07:00
Gavin Nishizawa
4385e63edd
fix containers in grid layout 2023-09-21 19:40:46 -07:00
Gavin Nishizawa
2cb2b406e6
cleanup 2023-09-21 19:40:29 -07:00
Gavin Nishizawa
bff1e0b066
cleanup 2023-09-21 19:38:40 -07:00
Gavin Nishizawa
96254b56ed
fix 2023-09-21 19:37:47 -07:00
Gavin Nishizawa
e253ab80bb
wip 2023-09-21 19:36:01 -07:00
Gavin Nishizawa
37351436a4
wip 2023-09-21 19:35:54 -07:00
Gavin Nishizawa
b7791c83ea
wip 2023-09-21 19:35:50 -07:00
Gavin Nishizawa
e83ac4c3ac
seq wip 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
9074b29f11
wip 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
477015d408
inject nested graph, fit, spacing 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
dc6e0644b9
extract nested graph from container 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
799311877a
refactor 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
37adab4803
nested graph types 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
140f3c77fc
add nested layout design 2023-09-21 13:17:16 -07:00
Gavin Nishizawa
e44ac23c84
cleanup warning 2023-09-20 12:18:47 -07:00
Gavin Nishizawa
4ce32e7d05
fix empty grid 2023-09-20 12:18:47 -07:00
Gavin Nishizawa
9ac8f34216
fix scenario with only center nears 2023-09-18 21:18:56 -07:00
Gavin Nishizawa
99bae24435
fix check for center near constants 2023-09-18 21:01:48 -07:00
Gavin Nishizawa
c9a6e65c6b
shift edges with grid 2023-09-13 20:27:31 -07:00
Gavin Nishizawa
f4b153d059
cleanup 2023-09-12 22:04:57 -07:00
Gavin Nishizawa
46bd6aeee5
edge case of edges on grid container 2023-09-12 17:08:34 -07:00
Gavin Nishizawa
a17013a323
update grid layout with simple edge routing 2023-09-12 16:54:42 -07:00
Gavin Nishizawa
189edf552a
add check for nodes that need to move with edges even if they start behind the original node 2023-07-28 08:54:23 -07:00
Alexander Wang
45b396c894
config vars 2023-07-20 16:08:08 -07:00
Gavin Nishizawa
fbda3e8873
add some extra space between overlapping 2023-07-20 11:31:40 -07:00
Gavin Nishizawa
a18eae7158
consider edges close to collapsing edge as being on it 2023-07-19 19:26:19 -07:00
Gavin Nishizawa
09174c17b8
check for overlaps with children 2023-07-19 17:42:21 -07:00
Gavin Nishizawa
92b8c2c877
check for internal edges and their labels 2023-07-17 15:13:21 -07:00
Gavin Nishizawa
874696da3d
fix 2023-07-14 16:12:11 -07:00
Gavin Nishizawa
5d7b0af127
account for child 3d/multiple in bounding box 2023-07-14 12:02:06 -07:00
Gavin Nishizawa
8cce0aa54c
don't shrink padding past edges on side 2023-07-14 11:59:03 -07:00
Gavin Nishizawa
f99405eaa3
fit container padding 2023-07-14 11:59:03 -07:00
Gavin Nishizawa
180a444ca0
fix grid diagram shift 2023-07-13 13:56:12 -07:00
Gavin Nishizawa
a32319d598
fix dagre_broken_arrowhead 2023-07-13 13:56:12 -07:00
Gavin Nishizawa
2c5c395315
handle merging multiple different child margins and container padding in rank direction 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
b6795e65e1
fixes 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
d25d1a3bf0
deduplicate cross rank margin adjustments 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
14917b7531
handle rank direction ending container padding 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
81db10d67e
adjust parent heights 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
27f66c8d72
get parent rank ranges 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
8e18103ffd
calculating object ranks
adusting spacing for each rank
2023-07-13 13:56:11 -07:00
Gavin Nishizawa
de8406d124
dagre container label adjustments with phantom node 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
3ebc557ee8
cleanup 2023-07-12 15:40:21 -07:00
Gavin Nishizawa
d85c1e9f3b
fix 2023-07-12 15:39:02 -07:00
Gavin Nishizawa
e2289fb13f
account for shape growth 2023-07-12 15:38:44 -07:00
Gavin Nishizawa
b6263a4955
left right 2023-07-12 15:38:25 -07:00
Gavin Nishizawa
b3713d1fa7
fix 2023-07-12 15:38:25 -07:00
Gavin Nishizawa
42988d5f90
update padding for label and icons 2023-07-12 15:38:24 -07:00
Gavin Nishizawa
3431c70c30
adjust parent padding for child outside icons 2023-07-12 15:38:24 -07:00
Gavin Nishizawa
5979628a17
update 2023-07-12 15:38:24 -07:00
Gavin Nishizawa
95156063d2
update, refactor, cleanup 2023-07-12 15:38:24 -07:00
Gavin Nishizawa
1926ec1be9
elk adjust padding for inner labels 2023-07-12 15:38:24 -07:00
Gavin Nishizawa
c4d9a6231f
adjust elk layout for outside labels 2023-07-12 15:38:24 -07:00
Gavin Nishizawa
90e2fcf4e2
cleanup 2023-06-22 19:26:49 -07:00
Gavin Nishizawa
af32907a8a
user-specified label/icon positions 2023-06-22 19:17:56 -07:00
Alexander Wang
d1f7e23aff
done 2023-06-08 17:56:09 -07:00
Gavin Nishizawa
07390c7ae0
also trace in elk 2023-06-08 14:20:37 -07:00
Gavin Nishizawa
8d2636a147
cleanup 2023-06-08 14:06:43 -07:00
Gavin Nishizawa
fe52f1a659
check shape type 2023-06-08 14:00:32 -07:00
Gavin Nishizawa
3cef43cc34
also trace with edge source 2023-06-08 13:55:50 -07:00
Gavin Nishizawa
35fd624ead
trace to outside labels 2023-06-08 13:50:29 -07:00