News for hackers. Stuff that matters.
Re:D2 is now open source – a new, modern language that turns... by Veuxdo on Tuesday November 22, 2022 @07:57AM (#33705248)
Have you taken a look at Ilograph [0]? It's also a "next gen" diagrams-as-code alternative that goes in a different direction: interactive, model-based, and multi-perspective. It also has in an IDE for autocomplete.

[0] https://app.ilograph.com/demo.ilograph.Ilograph

Re:D2 is now open source – a new, modern language that turns... by alixanderwang on Tuesday November 22, 2022 @08:19AM (#33705423)
feel free to submit a PR to make comparisons against tools on text-to-diagram.com, happy to include you!
Re:D2 is now open source – a new, modern language that turns... by michael_j_ward on Tuesday November 22, 2022 @08:57AM (#33705803)
Is Ilograph open source?
Re:D2 is now open source – a new, modern language that turns... by Veuxdo on Tuesday November 22, 2022 @09:06AM (#33705889)
Only a small part of it: the standard diagramming libraries (or, presently, library): https://github.com/billy-pilger/ilograph-standard-libraries
Re:D2 is now open source – a new, modern language that turns... by afandian on Tuesday November 22, 2022 @10:44AM (#33706967)
It looks amazing for exploring arbitrary graphs. Do you have plans to open any part of the diagramming engine?
Re:D2 is now open source – a new, modern language that turns... by vladsanchez on Tuesday November 22, 2022 @09:06AM (#33705880)
It's not!
Re:D2 is now open source – a new, modern language that turns... by vladsanchez on Tuesday November 22, 2022 @09:05AM (#33705876)
Ilograph is what all these diagram-as-code tools should aspire to. It's ability to contextualize is unlike anything I've seen.
Re:D2 is now open source – a new, modern language that turns... by philsnow on Tuesday November 22, 2022 @01:08PM (#33708809)
wow, I'm just walking through the demo linked by Veuxdo and that's exactly what I was thinking: each step in the walkthrough drills context down deeper or widens context in a very clear way.

I've tried to do similar things in graphviz but pulling out individual subgraphs or subsets of nodes + edges isn't easy and I always end up with multiple files for each view that I want to show and they get out of sync.

Re:D2 is now open source – a new, modern language that turns... by stavros on Tuesday November 22, 2022 @05:49PM (#33712671)
This looks great, but I'm not terribly jazzed about having my diagrams permanently hosted on a third-party site. I know it's hard to make self-hosted interactive diagrams like this, but I'd like my documentation to last longer than this site.
Re:D2 is now open source – a new, modern language that turns... by Veuxdo on Tuesday November 22, 2022 @06:34PM (#33713078)
Yeah, self-hosting is a bit of a nightmare. There is a Desktop version that allows you to export diagrams to HTML, which you then can be host or share.
Re:D2 is now open source – a new, modern language that turns... by stavros on Tuesday November 22, 2022 @06:43PM (#33713158)
Oh, that's actually an excellent solution, thanks!
Re:D2 is now open source – a new, modern language that turns... by infogulch on Tuesday November 22, 2022 @09:01PM (#33714192)
Very interesting project! Could you render Ilograph yaml files to HTML in a CI job?
Re:D2 is now open source – a new, modern language that turns... by Veuxdo on Tuesday November 22, 2022 @09:55PM (#33714582)
Thanks! Yes, you can using the export API (paid): https://www.ilograph.com/export-api/

The Desktop version can also export diagrams when called via CLI, though that is less suitable for CI/CD.

Re:D2 is now open source – a new, modern language that turns... by tarasglek on Wednesday November 23, 2022 @02:58AM (#33716405)
This looks amazing, thank you