Gavin Nishizawa
54f34d72ad
extend previous segment to target if last segment is very short
2023-01-12 11:23:23 -08:00
Gavin Nishizawa
25e37fd0c4
handle straight line
2023-01-12 11:23:23 -08:00
Alexander Wang
bb92a1c0fa
ok
2023-01-07 19:46:10 -08:00
Alexander Wang
4b12be7974
Revert "remove inferior stub"
...
This reverts commit 0db3a193b8 .
2023-01-06 12:24:45 -08:00
Alexander Wang
0db3a193b8
remove inferior stub
2023-01-06 12:23:47 -08:00
Alexander Wang
4657542def
labelpos
2023-01-06 12:21:47 -08:00
Alexander Wang
2b3faf8f64
fix dagre edge label overlaps
2023-01-06 12:18:26 -08:00
Alexander Wang
87e05bcdd0
fix near overlapping labels
2023-01-06 11:13:52 -08:00
Alexander Wang
8708bceef0
Merge pull request #563 from alixander/layout-configs
...
Pass layout configs
2022-12-30 14:31:05 -08:00
Alexander Wang
26be278934
fix elk
2022-12-30 14:28:52 -08:00
Alexander Wang
115d6e4147
default layouts
2022-12-30 13:36:49 -08:00
Alexander Wang
1831af5308
add tags to dagre
2022-12-30 13:26:01 -08:00
Alexander Wang
4b99bc30a7
elk/dagre name consistency
2022-12-30 12:25:33 -08:00
Alexander Wang
eccec7afdd
elk
2022-12-29 22:43:01 -08:00
Alexander Wang
590caa243c
works
2022-12-29 21:11:45 -08:00
Gavin Nishizawa
f8482ee96a
fix elk panic with empty label
2022-12-29 00:00:56 -08:00
Andreas Deininger
7860114515
Fixing typos
...
Signed-off-by: Andreas Deininger <adeininger@gmail.com>
2022-12-28 20:51:19 +01:00
Alexander Wang
31564f1487
exercise serde
2022-12-26 20:51:37 -08:00
Alexander Wang
849012b9fd
cleanup
2022-12-25 17:43:43 -08:00
Alexander Wang
9eaa4e98c4
cleanup
2022-12-25 16:49:19 -08:00
Alexander Wang
c32bfdda34
constant nears
2022-12-25 16:33:32 -08:00
Alexander Wang
462d22a75f
don't round
2022-12-24 13:39:45 -08:00
Alexander Wang
03e27abb54
elk force order
2022-12-24 13:34:23 -08:00
Alexander Wang
745900b137
fix group label position
2022-12-23 13:16:33 -08:00
Gavin Nishizawa
707f5b9dd7
set dagre ranksep according to max edge label size
2022-12-20 16:05:35 -08:00
Gavin Nishizawa
eed6eadd58
have elk place edge labels on the edge
2022-12-20 15:31:13 -08:00
Gavin Nishizawa
6bb39115d4
place elk edge labels on right with more padding
2022-12-20 15:10:45 -08:00
Gavin Nishizawa
243df4b8e1
use elk layout's edge label position
2022-12-20 14:03:40 -08:00
Gavin Nishizawa
e2b510a1c8
improve label placement for shapes with icons
2022-12-19 20:48:01 -08:00
Gavin Nishizawa
45162a5f6e
update images for elk
2022-12-19 20:15:35 -08:00
Gavin Nishizawa
90846c6599
update label positions for images
2022-12-19 20:02:00 -08:00
Alexander Wang
b5fb81bbb0
Merge branch 'master' into elk-trace-to-shape-border
2022-12-18 20:15:05 -08:00
Alexander Wang
5f1bf2c897
fix sequence edge identify
2022-12-18 20:06:36 -08:00
Gavin Nishizawa
801d307807
trace elk edges to shape border
2022-12-17 20:40:56 -08:00
Alexander Wang
c4483523bf
fix sequence diagram with no messages
2022-12-11 16:35:27 -08:00
Anmol Sethi
b704c6684b
ci: Update [ci-force]
2022-12-07 23:41:33 -08:00
Anmol Sethi
b72959a91f
fmt
2022-12-07 23:22:20 -08:00
Anmol Sethi
d4d6c760e5
d2dagrelayout: Fix regexp
...
See https://github.com/terrastruct/d2/pull/394#discussion_r1042504655
2022-12-07 19:21:56 -08:00
ejulio-ts
cb414e5382
Merge pull request #397 from ejulio-ts/gh-391-spans
...
sequence_diagram: Fix span size
2022-12-07 09:48:04 -08:00
Toyam Cox
a1b192723f
fix builds on 32bit systems
...
@alixander says: This is the highest number we go to:
```
d2/lib/imgbundler/imgbundler.go
Line 25 in 3f62eed
const maxImageSize int64 = 1 << 25 // 33_554_432
```
This is several shy of 64 bits, and even shy of 32 bits, so let's just
choose 32 bits.
2022-12-07 10:55:46 -05:00
Júlio César Batista
37ff40a3d0
Fix span size
2022-12-06 14:19:50 -08:00
Júlio César Batista
8764dfb78b
Fixes issues with special chars in dagre ids
2022-12-06 13:44:59 -08:00
Alexander Wang
845219d60d
fix sequence distancing
2022-12-05 22:45:11 -08:00
Júlio César Batista
e1685ac09e
Merge branch 'master' into page-render
2022-12-05 19:47:42 -08:00
Júlio César Batista
c6e389ee9a
Set sequence diagrams note to shape: page
2022-12-05 19:39:59 -08:00
Alexander Wang
80d59be429
fix empty sequence panic
2022-12-05 14:51:01 -08:00
Alexander Wang
d0659439af
Merge pull request #364 from alixander/fix-sequence_layout
...
fix sequence layout placements
2022-12-05 14:46:10 -08:00
Alexander Wang
d90eb355d3
prs
2022-12-05 14:30:40 -08:00
Alexander Wang
f179d8f3cd
Merge branch 'master' into fix-sequence_layout
2022-12-05 13:58:20 -08:00
gavin-ts
213912f476
Merge pull request #360 from gavin-ts/fix-dagre-id-with-newline
...
fix dagre id with newline
2022-12-05 13:57:39 -08:00