Open cmnstmntmn opened 2 weeks ago
I'm using Github gists for documentation, and i would like to have a way to allow animation between the notes.
I was trying to add custom css, but keyframes are not supported.
Possible solutions:
^ pin operator will mark that:
^
keyframesDef
I think adding support for keyframes like keyframesDef, the same way like classDef
classDef
graph RL A:::className -.-> B classDef className fill:green; keyframesDef animationName 0% stroke-dashoffset: 0, 100% stroke-dashoffset: 0 color: red linkStyle 0 animation: animationName 1s linear infinite;
https://d2lang.com/tour/style#animated
No response
Proposal
I'm using Github gists for documentation, and i would like to have a way to allow animation between the notes.
I was trying to add custom css, but keyframes are not supported.
Possible solutions:
Add new char for lines to mark that that link is animated
Current implementation - no animation
How to mark a line for having an animated behaviour
Proposed implementation - with animation (preferred)
Add a new
keyframesDef
propertyI think adding support for keyframes like
keyframesDef
, the same way likeclassDef
Example
https://d2lang.com/tour/style#animated
Screenshots
No response