Alexander Wang

Results 443 comments of Alexander Wang

yeah scratch the plugin part. maybe `d2 convert my_schema.csv schema_diagram.d2`?

``` we need another to fit to window width as well. so two keybinds. maybe a UI element too? like some settings gear in the corner that you click to...

ah interesting, in that case we should still detect it on our side if possible. do you know if other socket opening apps work for you? e.g. webpack, IDE debuggers,...

will do for sure, thanks for bearing with the early iterations of D2 and rly appreciate the debug logs! @McUsr

no, there is no required chrome extension. You can see the whole Javascript stuff here: https://github.com/terrastruct/d2/blob/master/cmd/d2/static/watch.js . Very straightforward websocket listen. Is the SVG changing? I.e. if you inspect it...

yes, this is in the works! thanks for the feedback

Maybe related: https://github.com/terrastruct/d2/issues/210

are you using dagre/elk layout engines? If so, there's a ticket to track automatic layout placement so you won't need to specify. https://github.com/terrastruct/d2/issues/203

ah i see. in that case, this is indeed a different issue. i'd be curious to know if this is generally desirable. E.g. if you had arrows coming into icon...

https://github.com/devicons/devicon is a potential starting point. we'll need to curate further though and dedupe