Comments (3)
I'm not on this project but a prerequisite is probably understanding a bit more about the D2 parser :) If that means learning a bit more Go, that's an entry point.
Disregarding gen-ai for now, maybe a good short term goal is to compile D2 into a target that runs the services you want? You can do that by any quick and dirty means you like, you don't necessarily need to use the Go parser.
I like the idea, it just needs a bit more legwork.
from d2.
I've been thinking about it and i think if i can understand a json structure I could get out of the parser, then, i could do a lot of the work and treat the go/parser part as a solvable problem.
I also was thinking about it and the d2 spec doesn't quite have enough information. It's so close, though. For example with the database tables, i can't tell which column points to which table. I know that two tables are related, and I know that a column is a foreign key, but i don't know which col points to which table. i might be able to derive it from the name in some cases....
I almost wonder if I should treat D2 as an inspiration for a diagrammable prototype DSL, instead of thinking of it as the literal DSL i want. Like maybe i make a new DSL that can compile to D2 but that I have more control over.
from d2.
Which spec are you looking at? I had a quick search and couldn't find it.
Since this project has goals around extensibility, a JSON representation from the parser doesn't seem too far-fetched.
Happy to help as I'm keen to learn more about D2.
from d2.
Related Issues (20)
- fix sequence diagram lines
- [v0.6.5] stderr: bad usage: unrecognized command: routeedges HOT 2
- [v0.6.5]minimum height is not character height HOT 2
- Local icons are not resolved correctly by cli HOT 5
- d2oracle: set vars
- d2 playground - export to png missing texts in layout ELK HOT 5
- Canvas small HOT 4
- user reported d2 hanging when playwright could not be installed
- option to add bridges/arcs to crossings/intersections HOT 8
- globs: `**.` should match root items
- bidirectional connection animation HOT 12
- Combining circle shape for arrowheads with sketch mode removes all arrowheads HOT 6
- Nulling globbed connections in scenarios is not working as expected
- bidirectional connection animation in sketch mode HOT 2
- Newlines in class shape title affect box size but not text wrap
- unexpected glob behavior
- `animated: true` on shapes to make it blink
- Feature: make animated connections w/o dashed lines have icons HOT 11
- steps: Missing connection style inherit
- Unable to generate interaction for the given code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d2.