Penrose – Create diagrams by typing notation in plain text
21–30 of 124 posts
Re: Penrose – Create diagrams by typing notation in plain text
#22Penrose looks great. Beautiful diagrams and readable code. What are some other text-driven diagramming languages / tools? I know of: https://mermaid.js.org/ https://graphviz.org/ https://flowchart.fun/
Re: Penrose – Create diagrams by typing notation in plain text
#23Re: Penrose – Create diagrams by typing notation in plain text
#24Does this require a browser (or browser engine) for rendering (like Mermaid.js)? Or can it render (esp. to SVG) without a browser (like Graphviz)? Penrose appears to be written in TypeScript, so my assumption is that it needs a browser.
It looks like the CLI tool (@penrose/roger) just depends on a few npm packages with no browser engine and supports SVG export.
This is great! I wanted something I could compile (the native code) to WebAssembly for use in a Deno-based SSG, and this looks promising.
Re: Penrose – Create diagrams by typing notation in plain text
#25Re: Penrose – Create diagrams by typing notation in plain text
#26I have always found "diagrams as code" tools to be limiting. There will be that scenario where the generated diagram is not what you expected. The flexibility you get by using code is outweighed by these limiting scenarios. I switched to Mermaid.js but ended up switching back to normal diagramming tools because of these limitations.
Re: Penrose – Create diagrams by typing notation in plain text
#27I have always found "diagrams as code" tools to be limiting. There will be that scenario where the generated diagram is not what you expected. The flexibility you get by using code is outweighed by these limiting scenarios. I switched to Mermaid.js but ended up switching back to normal diagramming tools because of these limitations.
Re: Penrose – Create diagrams by typing notation in plain text
#28I have always found "diagrams as code" tools to be limiting. There will be that scenario where the generated diagram is not what you expected. The flexibility you get by using code is outweighed by these limiting scenarios. I switched to Mermaid.js but ended up switching back to normal diagramming tools because of these limitations.
What’s a “normal” tool in this case?
Re: Penrose – Create diagrams by typing notation in plain text
#29How do I see the notation? The diagrams sure look beautiful, but I must be missing something obvious… Thanks!
This seems too hard to use by person, but I look forward to seeing this plugged into chatgpt
Re: Penrose – Create diagrams by typing notation in plain text
#30For example, how does one make an image similar to this? https://math.stackexchange.com/questions/1109967/problem-inv...