Comments (4)
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.
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.
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.
Perhaps it's helpful to break this problem down into smaller components.
- Allow attributes and methods to be classified within a parent classifier
- 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)
- Request: when sharing shareable links in Slack, autogenerate preview image HOT 1
- Underline a single attribute HOT 1
- ES6 imports HOT 2
- Add href to element HOT 2
- New parser compile error when greater than or less than utilized HOT 3
- New parser gives "expected ] but got end of file" HOT 2
- Weird spacing on simple layout HOT 1
- any guess for when the new 1.6.0 version will get published? HOT 4
- Using <span> css in table definitions HOT 3
- Add 'doubled' shape style HOT 2
- following snippet does not work with the new parser but works with the old one HOT 4
- Is it possible modify the table contents. HOT 1
- missing <end>e label in homepage sample
- support drag-and-drop and custom positioning of individual items? HOT 1
- Labels overlapping
- PNG export resolution is low HOT 1
- Classifier Style Problem with <frame> Visual HOT 3
- Support Google Fonts usage HOT 1
- Delegation connector for component internals HOT 1
- What happened to the formal grammar? HOT 4
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 nomnoml.