Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stereotype char by style #1174

Open
grivo opened this issue Oct 30, 2022 · 0 comments
Open

stereotype char by style #1174

grivo opened this issue Oct 30, 2022 · 0 comments

Comments

@grivo
Copy link

grivo commented Oct 30, 2022

it'd be great to have a chance for setting char-related style for <> and classes in common

sort of

@startuml
<style>
classDiagram {
'    also, may be applied on interface, metaclass, stereotype, custom stereotypes like .myStereotype
    class {
        header {
            charSpot {
                BackgroundColor : str
                LineColor ; int
'                probably, varchar(3) has sense since sometimes user may have heed to use more than 1 char for char spot
                Char : varchar(3)
                CharColor : str
            }
        }
    }
}
</style>

' in case multiple stereotypes are applied on entity - settings are merged, where last applied stereotype style has precedence over those which go earlier in the entity's stereotypes list
abstract X <<interface, mystereotype>>
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant