Alexander Wang
Alexander Wang
https://news.ycombinator.com/item?id=33729517
We have label placements avoiding obstacles in TALA, and we should adapt some of that to dagre/elk too. Because we don't control these layout engines, it'll have to happen post-layout....
Since the sizes are measured, we should only allow certain increments. e.g. 12, 16, 24, 28.
Open up something like `icons.d2lang.com`, which will be a searchable catalog of icons common to software architecture. All icons will need to be open-source licensed.
https://news.ycombinator.com/item?id=34079169
https://github.com/dagrejs/dagre/wiki#configuring-the-layout the attribute `align`. https://play.d2lang.com/?script=XJDNCsIwEITv-xRDjoIFrzkI_lwEfw4FrxJlkUKahnbjRfrukrTBklM2-80MyxxvFw1Vm9ZbxnV3x6FrfefYCWrpw0tCzwpfAvZBpHM6zcAz_bDeYvi8y403joCRCDg3g2SPTbMKVmV6Em7_lOY3Zjyq6KwmS8-ejSyomaQLUdzaJmcBZdMam5mU_WisEhnTUSP9AgAA__8%3D&layout=dagre&theme=0
E.g. width and height should be usable as sql table column keys. https://play.d2lang.com/?script=AvnbSiE4sypVoZpLQQHsaiuF4sKc-JLEpJxULgUFJbA6JSuFvNLcpNQikAgkoBBCtVyAAAAA__8%3D
Looks pretty cool