Re:D2 is now open source – a new, modern language that turns...
by rahimnathwani on Tuesday November 22, 2022 @02:25PM
(#33710056)
Mermaid itself uses this fork (at least its npm link appears in one of the package.json files), which is still active;
Re:D2 is now open source – a new, modern language that turns...
by alixanderwang on Tuesday November 22, 2022 @02:21PM
(#33709996)
we maintain a wrapper around dagre, which adds functionality like supporting container to container connection. dagre is unmaintained, but it's also "complete", in that it implements the theoretical papers it set out to.
Re:D2 is now open source – a new, modern language that turns...
by tunesmith on Tuesday November 22, 2022 @06:19PM
(#33712937)
I'm wondering why you don't use elkjs? I recently moved my own side project from dagre to elkjs for exactly this reason.
Re:D2 is now open source – a new, modern language that turns...
by alixanderwang on Tuesday November 22, 2022 @06:26PM
(#33713010)
elkjs is an alternative! https://github.com/terrastruct/d2#plugins. we haven't gotten the defaults to look as good though
Re:D2 is now open source – a new, modern language that turns...
by tunesmith on Tuesday November 22, 2022 @06:43PM
(#33713154)
ah! I understand, I've spent a little too much time playing with way too many combinations of elk's configs.
Re:D2 is now open source – a new, modern language that turns...
by alixanderwang on Tuesday November 22, 2022 @06:54PM
(#33713220)
if you'd like to help, we're trying to figure some of these configs here in case something stands out to you! https://github.com/terrastruct/d2/pull/95
The project looks to be deprecated: https://github.com/dagrejs/dagre