Commit graph

478 commits

Author SHA1 Message Date
Alexander Wang
9cff0eeaa6
ta 2025-02-03 16:58:19 -07:00
Alexander Wang
b27235a476
d2near: constant nears avoid edge routes 2025-02-03 16:48:59 -07:00
Alexander Wang
b1262daad2
remove redundant elk 2025-01-15 18:24:30 -07:00
Alexander Wang
e723881dfe
migrate layout engines 2025-01-15 16:30:33 -07:00
Alexander Wang
fe36dbe515
d2sequence: fix notes with self messages 2024-12-28 20:35:26 -07:00
Alexander Wang
c680071a56
fix d2sequence tests 2024-11-24 09:57:06 -08:00
Alexander Wang
6035ec7d37
replace cdr.dev/slog dependency with stdlib slog 2024-10-04 15:58:44 -06:00
Alexander Wang
03687c785a
d2sequence: increase distance between label and endpoints 2024-09-14 17:51:39 -06:00
Alexander Wang
7c967954e0
d2sequence: ensure order for child boards 2024-09-11 11:26:37 -06:00
Alexander Wang
2a78e1e9b4
d2sequence: fix long self-reference edge labels 2024-08-07 02:28:18 +08:00
Alexander Wang
9a4125aa5e
d2sequence: fix multiline labels 2024-08-07 02:19:35 +08:00
Alexander Wang
5cbe1f8e28
d2sequence: fix self reference message alignment 2024-08-04 19:02:55 -07:00
Alexander Wang
95136eac4a
d2sequence: fix bounding box of sequence diagrams 2024-08-03 14:00:28 -06:00
Alexander Wang
99843cb9ae
d2sequence: remove global ystep 2024-08-03 10:58:21 -06:00
Alexander Wang
b0a6c01883
d2sequence: self-referential messages account for message height 2024-08-03 10:51:43 -06:00
Alexander Wang
ac25a3009f
d2sequence: edge groups account for edge label heights 2024-08-03 10:08:35 -06:00
Alexander Wang
353e1d767d
fix custom label positions for nodes with constrained widths 2024-05-02 11:55:23 -06:00
Alexander Wang
5abda40ca6
allow minimum dimensions to be less than label dimensions 2024-04-10 10:30:44 -07:00
Gavin Nishizawa
6ec931191f
shift edges endpoints that would become disconnected 2023-12-13 14:30:52 -08:00
Gavin Nishizawa
0aa4418921
cleanup 2023-12-12 17:39:45 -08:00
Gavin Nishizawa
7a5705e143
fix 2023-12-12 16:44:26 -08:00
Gavin Nishizawa
55d43f4800
fix 2023-12-12 16:44:26 -08:00
Gavin Nishizawa
9f63c305a9
hasIcon restore label+icon height adjustment 2023-12-12 16:44:26 -08:00
Gavin Nishizawa
eca0febf84
fix 2023-12-12 16:44:26 -08:00
Gavin Nishizawa
8075bdfa72
move edges with adjustments when cleaning up 2023-12-12 15:49:55 -08:00
Gavin Nishizawa
40e65da0f4
update adjustments 2023-12-12 15:49:54 -08:00
Gavin Nishizawa
a18ce57c51
update elk layout dimension adjustments 2023-12-12 12:47:42 -08:00
Gavin Nishizawa
2edcacffaa
Revert "elk label height"
This reverts commit 018b0d4fa0.
2023-12-12 12:44:57 -08:00
Alexander Wang
018b0d4fa0
elk label height 2023-12-12 12:14:54 -08:00
Alexander Wang
5cdeca30e0
layout, export: icons for special objects 2023-12-12 09:23:17 -08:00
Gavin Nishizawa
f9060a90d6
fix reconnecting nested edges through serialization 2023-11-28 10:26:46 -08:00
Gavin Nishizawa
0bf10f1634
add RoutingPlugin interface that plugins can implement for cross-graph edge routing 2023-11-21 12:47:26 -08:00
Gavin Nishizawa
b9a5dad820
save cloud innerbox aspect ratio 2023-11-16 18:37:37 -08:00
Gavin Nishizawa
ade01c8c54
update cloud shape innerBox selection according to content dimensions 2023-11-16 17:33:45 -08:00
Gavin Nishizawa
f132b3aed6
cleanup 2023-11-15 21:38:36 -08:00
Gavin Nishizawa
1786f57e66
account for shapes that need a larger innerBox 2023-11-15 21:38:36 -08:00
Gavin Nishizawa
f5a4e4f059
save 2023-11-15 21:38:36 -08:00
gavin-ts
6324d67516
Merge pull request #1729 from gavin-ts/fix-external-grid-cell-container-edge
fix panic with unrouted edge to grid cell container
2023-11-15 21:32:06 -08:00
Gavin Nishizawa
67358b72f3
center grid when growing for desired width/height 2023-11-14 11:06:49 -08:00
Gavin Nishizawa
b87cc8e7e1
update grid size with desiredWidth/Height after adjusting for label/icon 2023-11-14 10:51:52 -08:00
Gavin Nishizawa
ecad4e163b
actual fix: correct stale object references 2023-11-13 21:55:33 -08:00
Gavin Nishizawa
9e34e91d7d
fix panic with unrouted edge to grid cell container 2023-11-13 18:36:42 -08:00
Gavin Nishizawa
26df5a70f6
fix positioning 2023-11-08 20:29:07 -08:00
Gavin Nishizawa
5029f6ce34
cleanup refactor 2023-11-08 17:12:12 -08:00
Gavin Nishizawa
0571137e1d
positioning 2023-11-08 16:22:27 -08:00
Gavin Nishizawa
a363584245
position around grid label 2023-11-08 16:22:26 -08:00
Gavin Nishizawa
107b556c20
don't overwrite grid label position 2023-11-08 16:22:26 -08:00
Gavin Nishizawa
eb755db91c
use more efficient label position type 2023-11-07 16:27:45 -08:00
Michał Wieluński
b76eaa4433
Fix rowCenter calculation in ELK
Co-authored-by: gavin-ts <85081687+gavin-ts@users.noreply.github.com>
2023-10-25 08:53:54 +02:00
Michał Wieluński
28c04bbcb2
use ports in ELK plugin
fixes #1429
2023-10-22 13:46:06 +02:00