Comments (6)
+1 to the feature. My use case is that I use D2 for producing event storming diagram. Event storming, having its roots in the physical world of sticky notes, uses colors rather than shapes for denoting different kinds of elements. And the current solution with d2 to dolor elements is to explicitly add the style to each element.
from d2.
thanks for the bump @iAdanos. i'll do classes this week
from d2.
@iAdanos unfortunately not. hopefully this weekend!
from d2.
+1 for this and #133
Complex diagrams with different entity types are much better with styling, but currently every shape and container must be styled separately, which makes the code completely unreadable.
from d2.
+1 to this from me as well - my use case is a sequence diagram where each span has the same customisations applied, and also each actor has a different colour for their spans.
from d2.
thanks for the bump @iAdanos. i'll do classes this week
@alixander, any updates?
from d2.
Related Issues (20)
- `animated: true` on shapes to make it blink
- Feature: make animated connections w/o dashed lines have icons HOT 11
- steps: Missing connection style inherit
- Unable to generate interaction for the given code
- positioning attributes for label & auto sizing for shapes don't work for style sequence_diagram HOT 2
- Is the installation path fixed to $HOME/.local/? HOT 4
- TALA API error HOT 1
- underlined markdown doesn't work HOT 2
- when label in sql_table is set to same as key, it doesn't work
- TALA crash
- Imports on Windows are not relative to diagram path
- removing edge should not set null
- node dimensions should expand by default to fit custom icon & label positions
- icon and label set to same position should not overlap HOT 3
- support directory to directory compilation HOT 1
- Extra padding bug
- e2e test automated run in production after deploys
- Move text labels above lines? HOT 1
- Animated connections don't honor prefers-reduced-motion
- Column name 'icon' in sql_table HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d2.