Commit graph

63 commits

Author SHA1 Message Date
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Gavin Nishizawa
fd72e10dbc
rename lastGroup to prevGroup 2023-01-27 10:09:38 -08:00
Gavin Nishizawa
74b0ed2064
only add message offset after loops in another group 2023-01-26 18:02:32 -08:00
Gavin Nishizawa
576c8df2c8
update message offset for self messages 2023-01-26 18:02:32 -08:00
Anmol Sethi
5af31670d1
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:32 -08:00
Anmol Sethi
c9ef6ab9c9
d2graph: Implement deep copying a graph 2023-01-24 02:56:30 -08:00
Alexander Wang
f595aafcc4
fix self-span in sequence diagrams 2023-01-19 18:09:32 -08:00
Alexander Wang
745900b137
fix group label position 2022-12-23 13:16:33 -08:00
Alexander Wang
5f1bf2c897
fix sequence edge identify 2022-12-18 20:06:36 -08:00
Alexander Wang
c4483523bf
fix sequence diagram with no messages 2022-12-11 16:35:27 -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
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
f179d8f3cd
Merge branch 'master' into fix-sequence_layout 2022-12-05 13:58:20 -08:00
Alexander Wang
72b6101fbf
fix shifting 2022-12-05 13:55:00 -08:00
Júlio César Batista
69385e016f
Fix actor padding for long notes 2022-12-05 13:43:05 -08:00
Júlio César Batista
f99cf98864
Tests 2022-12-05 11:36:20 -08:00
Júlio César Batista
a5b713673b
Handle case without edges between actors 2022-12-05 10:59:44 -08:00
Júlio César Batista
c2f516b490
Merge branch 'master' into actors-distance 2022-12-05 10:36:00 -08:00
Júlio César Batista
04ba174fe5
Handle different actor distances 2022-12-05 10:27:55 -08:00
Júlio César Batista
edb6b857b3
Space actor centers 2022-12-05 10:19:26 -08:00
Alexander Wang
d7a2e1ac45
fix group padding 2022-12-05 09:54:45 -08:00
Alexander Wang
de3c0518f5
group nesting padding 2022-12-04 23:38:47 -08:00
Alexander Wang
83118fb076
no aspect ratio 2022-12-04 22:40:45 -08:00
Alexander Wang
d93833a4f1
nvm 2022-12-04 22:38:43 -08:00
Alexander Wang
0b614b79b3
no aspect ratio actor height 2022-12-04 22:37:42 -08:00
Alexander Wang
dab9865ae3
increase self connection width 2022-12-04 22:34:38 -08:00
Alexander Wang
df81a5aeaa
fix span width 2022-12-04 22:31:37 -08:00
Alexander Wang
c765298e39
nested group styling 2022-12-04 21:57:59 -08:00
Alexander Wang
823c788307
lifeline z index 2022-12-04 21:19:40 -08:00
Alexander Wang
9bf1fb7b72
refactor group check 2022-12-04 21:12:59 -08:00
Alexander Wang
47201373a7
wip: z-indexing group <-> span 2022-12-04 20:53:31 -08:00
Alexander Wang
d5b66d87f0
refactor 2022-12-04 20:26:37 -08:00
Alexander Wang
0f5b14c76a
reduce distance between actors 2022-12-04 20:05:25 -08:00
Alexander Wang
77a87668a7
fix message offset 2022-12-04 19:38:01 -08:00
Alexander Wang
c896b826a9
fix span adjustments 2022-12-04 19:21:13 -08:00
Alexander Wang
11d37cc448
fix messages going over notes 2022-12-04 19:12:49 -08:00
Alexander Wang
b5ff448189
Merge branch 'master' into sequence-diagram-self-edges 2022-12-04 19:04:25 -08:00
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
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
Júlio César Batista
b2e310d6ac
Add title padding 2022-12-02 18:40:59 -08:00