GithubHelp home page GithubHelp logo

Comments (4)

skanaar avatar skanaar commented on June 23, 2024

Thank you 😊

I try to support as much of the UML standard as possible - something which is in conflict with the drive to keep the syntax as straight-forward as possible. I guess this part of the standard sort of fell on the wrong side of that line.

I value the universality of UML. The concept of Types with Relations can be applied to pretty much anything. Parts of the standard that relates to specifics of some languages, such as the concept of an abstract method or template type parameters are much less universal. I will not dismiss the idea completely but I would not prioritize abstract method formatting.

from nomnoml.

palra avatar palra commented on June 23, 2024

So, what can be done in order to render the method underlined or in italic ? I should use the directives, but I didn't understood how to use them.

from nomnoml.

skanaar avatar skanaar commented on June 23, 2024

Ah, sorry. It is not supported.
The directives affect the entire diagram, in a last-one-wins fashion. And classifier types abstract are only processed when they appear right after a [ and they affect the styling of the entire classifier.

If this is a much requested feature perhaps someone out there would like to submit a pull request?

from nomnoml.

chishaku avatar chishaku commented on June 23, 2024

Perhaps it's helpful to break this problem down into smaller components.

  1. Allow attributes and methods to be classified within a parent classifier
  2. Allow custom and arbitrary styling within a parent classifier

The second part regarding more granular control over styling is probably in the same scope of #11.

I'm partial to the simplicity and universality of the current syntax but I could see myself wanting to modify styles within a classifier.

from nomnoml.

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.