3 ms·
interactive tooltips are a wip, but to the larger point, D2 has a plugin system which enables extensions like this (https://github.com/terrastruct/d2/pull/91 ht
by alixanderwang 4y ago
interactive tooltips are a wip, but to the larger point, D2 has a plugin system which enables extensions like this (https://github.com/terrastruct/d2/pull/91 https://github.com/terrastruct/d2/pull/91). there's still some fleshing out to do with the API, but once it's up, it should be a straightforward plugin for custom handlers.
made an issue to track: https://github.com/terrastruct/d2/issues/134 https://github.com/terrastruct/d2/issues/134
- alixanderwang 4y agoActually, we'll give each node ID the ID you specify, and then you can just target it after render with DOM selectors. That should be the easiest way!