Can you generate an application from a diagram?
Yes, provided the diagram is typed rather than a picture: nodes that know whether they are a service, a table or a route, connected by edges with meaning. An image of a diagram carries none of that, which is why photographing a whiteboard does not give you anything a machine can build from.
From From whiteboard sketch to working software, published 9 August 2026. That article is where the reasoning behind this answer is set out, including what it does not cover.