Commit graph

40 commits

Author SHA1 Message Date
Alexander Wang
ce40826d51
ensure unique diagram hash based on appearance 2025-01-29 16:29:32 -07:00
Alexander Wang
1f9e1ea2cf
change to interface{} 2024-10-15 15:45:17 -07:00
Alexander Wang
27ea8314e9
customize theme colors in vars-config 2023-12-14 11:35:49 -08:00
gavin-ts
68651810db
Merge pull request #1534 from BarryNolte/LanguageServer
d2-vscode LanguageServerChanges
2023-11-28 14:18:32 -08:00
Gavin Nishizawa
9c578b035f
lsp mode refactor 2023-11-28 14:12:15 -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
cee6a92722
cleanup 2023-09-21 21:02:33 -07:00
Gavin Nishizawa
8bb1e3c473
error handling 2023-09-21 19:52:50 -07:00
Gavin Nishizawa
9074b29f11
wip 2023-09-21 13:17:17 -07:00
Anmol Sethi
203953723e
d2parser: Autodetect UTF-16 based on BOM
Turns out I was wrong this is safe.
2023-08-02 11:10:24 -07:00
Alexander Wang
9122ce1c2b
robust hash 2023-07-29 11:31:03 -07:00
Alexander Wang
45b396c894
config vars 2023-07-20 16:08:08 -07:00
Alexander Wang
6e974daa74
pass in fs 2023-06-11 18:36:50 -07:00
Anmol Sethi
111759f6bd
d2cli: Pass path for imports correctly 2023-06-06 13:44:41 -07:00
Gavin Nishizawa
5543828020
fix layout of grid in constant near 2023-04-10 10:34:51 -07:00
donglixiaoche
b2f905efb8
Merge branch 'master' into near-keys-for-container
Conflicts:
	d2layouts/d2near/layout.go
2023-04-07 10:40:40 +08:00
donglixiaoche
e61629e692
fix: cr 2023-04-06 05:00:12 +08:00
donglixiaoche
c77590e5bf
fix: cr 2023-04-04 18:33:23 +08:00
Gavin Nishizawa
d139eeadad
layout with grids 2023-04-03 13:48:38 -07:00
donglixiaoche
a3268f2fd1
fix: cr, a clean spilit for temp graph 2023-03-30 20:31:42 +08:00
donglixiaoche
d85bb2d16f
fix: cr, redundant code 2023-03-28 16:55:06 +08:00
donglixiaoche
ebab91b043
fix: cr, delete redundant variable 2023-03-27 21:38:11 +08:00
donglixiaoche
4e4959f39b
fix: cr, delete redundant return value 2023-03-27 21:38:11 +08:00
donglixiaoche
69532df6aa
fix: cr, integrate logic of construct sub graph inside WithoutConstantNears 2023-03-27 21:38:10 +08:00
donglixiaoche
115f46f428
feat: descendants now is allowed for container with near attribute 2023-03-27 21:38:08 +08:00
Alexander Wang
4c8c2b1ab5
define new theme 2023-03-15 17:54:34 -07:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Vojtěch Fošnár
a81ab2d73e
support for prefers-color-scheme 2023-01-09 19:16:28 +01:00
Alexander Wang
590caa243c
works 2022-12-29 21:11:45 -08:00
Alexander Wang
c32bfdda34
constant nears 2022-12-25 16:33:32 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Alexander Wang
fff6637a03
fix empty file 2022-12-05 09:48:38 -08:00
Alexander Wang
fb53a546f0
remove cgo build tags 2022-12-03 12:34:38 -08:00
Júlio César Batista
c0e670bb2f
Fix 2022-12-01 14:32:54 -08:00
Júlio César Batista
f9f02015e6
Merge branch 'master' into nested-sequence-diagrams 2022-12-01 14:03:35 -08:00
Anmol Sethi
c4ef432daf
Move textmeasure into lib
It's not a d2renderer.
2022-12-01 06:51:17 -08:00
Anmol Sethi
f334ef5952
README: Cleanup examples to make them runnable and testable 2022-11-30 22:54:47 -08:00
Anmol Sethi
c55bf62438
d2: Move cmd to repo root
Closes #113
2022-11-30 21:16:02 -08:00