正在加载视频...

视频加载失败

1. create a diagram from my code 2. ok, I updated the diagram, please update the code to match it

306,006 次观看 • 7 个月前 •via X (Twitter)

34 条评论

tldraw 的头像
tldraw7 个月前

Try it here:

Abhimanyu ARYAN ♡ 的头像
Abhimanyu ARYAN ♡7 个月前

Looks like a familiar language, "Mermaid"?

tldraw 的头像
tldraw7 个月前

just tldraw shapes

Fernando 的头像
Fernando7 个月前

We are kind of in this space and using react-flow, but are in search of design partners! Let us know if you want to talk! here is a rough old demo

Twlvone 的头像
Twlvone7 个月前

this is how non-engineers end up writing production code. sketch the architecture, AI handles the implementation. the abstraction layer just moved way up

Adrián Mato 🐙 的头像
Adrián Mato 🐙7 个月前

@steveruizok Worth a /skill or something on to of this back and forth

Strakyo 的头像
Strakyo7 个月前

This workflow is wild because code to diagram and diagram back to code makes iteration much faster.

sparks 的头像
sparks7 个月前

backend devs in 5yrs

Whq2001@ca 的头像
Whq2001@ca7 个月前

IBM RationalRose real-time could do this 20 years ago. Backward marching.

tldraw 的头像
tldraw7 个月前

time is a flat circle @whq2001

Yury Yakubchyk 的头像
Yury Yakubchyk7 个月前

Bidirectional diagram and code is the dream. This is it.

Pratyay Banerjee (নীল)  的头像
Pratyay Banerjee (নীল) 7 个月前

@sandipndey

Vlad 的头像
Vlad7 个月前

@DavidKPiano yes! also one of the best ways to help a non-programming person work on some moderately complex logic

Vladyslav Hunt 的头像
Vladyslav Hunt7 个月前

bidirectional sync between diagram and code is the workflow figma always promised but never delivered

Ravi Gummadi 的头像
Ravi Gummadi7 个月前

very nice. i was thinking about a similar idea. Can we also checkin the tldraw source files along with the github commits and keep it in sync with the code base? or alternatively using github actions to ensure that the tldraw master file is always in sync with the code base

tldraw 的头像
tldraw7 个月前

Yeah! Check out our vs code / cursor extensions too

Nikhil Rao 的头像
Nikhil Rao7 个月前

damn that will make things a lot easier

sycoms 的头像
sycoms7 个月前

This workflow is the future: spec as diagram, code as compilation target.

GEN-Z Invest 的头像
GEN-Z Invest7 个月前

@grok can I just use Obsidian Canvas (maybe connect with AI) instead of this?

Taha Ali Adil 的头像
Taha Ali Adil7 个月前

@mattpocockuk

Safta Catalin Mihai 的头像
Safta Catalin Mihai7 个月前

@disconcision isn’t this what visual basic did for the ui builder, without ai ?

velocity 的头像
velocity7 个月前

Cool.

AIxGeek 的头像
AIxGeek7 个月前

mark

Jakub Z 的头像
Jakub Z7 个月前

In case project is in JS/TypeScript, why not just use stateX?

XSpectreEdge 𝕏 的头像
XSpectreEdge 𝕏7 个月前

!!!

MikhailMits 的头像
MikhailMits7 个月前

Gow did you setup this?

ImoutoFan 的头像
ImoutoFan7 个月前

would have been faster to just code it yourself lmao

chester 的头像
chester7 个月前

Nice

Yury Yakubchyk 的头像
Yury Yakubchyk7 个月前

Diagram-as-code is the way. Version control becomes trivial, and you can generate docs programmatically. Nice to see it evolving.

pysolin 的头像
pysolin6 个月前

OG is back

Edu Wass 的头像
Edu Wass7 个月前

wait theres a desktop app now?!

tldraw 的头像
tldraw7 个月前

secretly

Edu Wass 的头像
Edu Wass7 个月前

👀

DreamCode 的头像
DreamCode7 个月前

Excellent functionality, bidirectional influence

相关视频