GithubHelp home page GithubHelp logo

syntax: classes about d2 HOT 6 CLOSED

terrastruct avatar terrastruct commented on August 18, 2024 11
syntax: classes

from d2.

Comments (6)

orsinium avatar orsinium commented on August 18, 2024 3

+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.

alixander avatar alixander commented on August 18, 2024 2

thanks for the bump @iAdanos. i'll do classes this week

from d2.

alixander avatar alixander commented on August 18, 2024 1

@iAdanos unfortunately not. hopefully this weekend!

from d2.

iAdanos avatar iAdanos commented on August 18, 2024

+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.

robertlagrant avatar robertlagrant commented on August 18, 2024

+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.

iAdanos avatar iAdanos commented on August 18, 2024

thanks for the bump @iAdanos. i'll do classes this week

@alixander, any updates?

from d2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.