Commit graph

3 commits

Author SHA1 Message Date
Alexander Wang
9e26318b42
ta 2024-12-14 23:25:06 -07:00
Anmol Sethi
2fcc9ed140
d2ir: Compile imports
Works as so:

index.d2:
```d2
x: @x
```

x.d2:
```d2
label: meow
shape: circle
```

TODO:

- [ ] Correctly import into fields by handling the scenarios/steps overlay.
      - And links.
- [ ] Test every kind of import.
2023-06-04 23:31:18 -07:00
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -07:00