Commit graph

257 commits

Author SHA1 Message Date
Alexander Wang
00e9f5dd2d
remove padding from tooltip/link standalone 2024-10-31 05:51:50 -06:00
Alexander Wang
1f9e1ea2cf
change to interface{} 2024-10-15 15:45:17 -07:00
Alexander Wang
09cf9ae7d1
d2render: support gradient values 2024-09-27 15:49:10 -06:00
Alexander Wang
0eb465bdc5
d2compile: fix ordering substitutions 2024-09-24 21:17:05 -06:00
Alexander Wang
de518f5c5e
d2fmt: lowercase reserved keywords 2024-09-15 10:46:47 -06:00
Alexander Wang
021011afbd
d2render: class headers can render multiple lines correctly 2024-08-13 22:36:38 +08:00
Alexander Wang
5abda40ca6
allow minimum dimensions to be less than label dimensions 2024-04-10 10:30:44 -07:00
Alexander Wang
b0d27a1948
add 'none' to fill-pattern options 2024-03-25 14:41:15 -07:00
Alexander Wang
823f6dc82f
treat hierarchy same as rect 2024-03-15 14:55:18 -07:00
Alexander Wang
a098ba80ec
validate 2023-12-14 11:35:49 -08:00
Gavin Nishizawa
9f63c305a9
hasIcon restore label+icon height adjustment 2023-12-12 16:44:26 -08:00
Gavin Nishizawa
40e65da0f4
update adjustments 2023-12-12 15:49:54 -08:00
Alexander Wang
5cdeca30e0
layout, export: icons for special objects 2023-12-12 09:23:17 -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
5029f6ce34
cleanup refactor 2023-11-08 17:12:12 -08:00
Gavin Nishizawa
61f8e67454
render unfilled triangle arrowhead 2023-11-07 17:46:26 -08:00
Gavin Nishizawa
9d9afcdfe3
unfilled triangle arrowhead 2023-11-07 16:57:43 -08:00
Gavin Nishizawa
eb755db91c
use more efficient label position type 2023-11-07 16:27:45 -08:00
Gavin Nishizawa
2a9acd06aa
cleanup validation 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
b41a9e4e96
update validation and test 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
b7791c83ea
wip 2023-09-21 19:35:50 -07:00
Gavin Nishizawa
799311877a
refactor 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
c9a6e65c6b
shift edges with grid 2023-09-13 20:27:31 -07:00
Gavin Nishizawa
3e08f51c66
consider root level of extracted subgraph 2023-09-05 19:04:17 -07:00
Alexander Wang
bae5705674
setup imports with tests 2023-08-04 20:16:25 -07:00
Alexander Wang
85cf491d74
quotes 2023-07-11 14:56:09 -07:00
Alexander Wang
2cce7a89c8
Revert "portal keyword"
This reverts commit 92cfc5c40a.
2023-07-01 20:31:45 -07:00
Alexander Wang
92cfc5c40a
portal keyword 2023-07-01 16:36:33 -07:00
gavin-ts
aa321c2066
Merge pull request #1438 from gavin-ts/set-label-icon-position
use specified label/icon position
2023-06-26 11:15:18 -07:00
Alexander Wang
80ddea94fa
set on edge. fix arrowhead setting case 2023-06-25 11:51:21 -07:00
Gavin Nishizawa
af32907a8a
user-specified label/icon positions 2023-06-22 19:17:56 -07:00
Alexander Wang
6f9e478f59
label and icon position attributes 2023-06-22 16:13:08 -07:00
Alexander Wang
a1df49c21e
cleanup 2023-06-20 18:56:04 -07:00
Alexander Wang
21d2c44413
set wip 2023-06-20 18:56:03 -07:00
Alexander Wang
1ff119d803
baseAST 2023-06-20 18:56:02 -07:00
Gavin Nishizawa
14300dc9f8
update leading/trailing accounting 2023-06-19 17:09:36 -07:00
Gavin Nishizawa
14afd8c433
improve code measurement and rendering 2023-06-19 17:09:36 -07:00
Gavin Nishizawa
4a9a5119ed
fix grid label font size in tala 2023-06-15 14:35:36 -07:00
Alexander Wang
8b8afb2638
fix idval edge case 2023-06-12 11:26:51 -07:00
Alexander Wang
d2d78b68c5
make Texts() find recursively 2023-06-11 18:34:12 -07:00
Alexander Wang
b5f8a0223e
[ci-force] fix 2023-06-05 11:46:38 -07:00
Alexander Wang
4147c4506c
tests 2023-06-05 11:33:34 -07:00
satoqz
78995c38bd
Merge branch 'terrastruct:master' into master 2023-06-03 13:57:52 +02:00
satoqz
430ff4cab9
join constraints with comma 2023-06-03 13:54:06 +02:00
Alexander Wang
69f40ae9fb
fix 2023-05-31 23:28:33 -07:00
Alexander Wang
e998a95b96
d2ir: prevent illegal non-tail keywords 2023-05-31 23:04:09 -07:00
Gavin Nishizawa
0a78ee87eb
factor out d2graph/layout.go 2023-05-31 11:03:43 -07:00
Gavin Nishizawa
6d8dde153e
adjust grid for outside top labels 2023-05-30 11:08:05 -07:00
Gavin Nishizawa
182af8dc39
comments, renaming 2023-05-26 12:37:51 -07:00