You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am starting to see the need to: Adapt the styling for some (specific or indiviual) views.
Example: For the landscape view, I would like to do some specific styling, to make it less cluttered. I might want to remove some texts (metadata and description false) for this view, and perhaps adjust font sizes, etc...
Is there a way to accomplish this? AFAIK styles are always applied globally, to whatever elements that the style is set to apply to. I guess, what my mind got stuck on was the ability to somehow set styles for certain tags, to be applied for an individual view or a certain set of views.
Perhaps there is a different way to accomplish this?
Illustrative code snippets
Some code showing an example of what I conceptually would like to accomplish:
systemContext ss "Diagram1" {
include *
autolayout lr
styles {
metadata false
}
}
But, it could ofc also be something like expressing a filter/scope in terms of views on the styles declaration. Stupidly (not an actual suggestion), for illustration purposes:
styles {
element "generaldatastore" {
view systemContext
background #5A6064
color #ffffff
shape Folder
metadata false
}
}
And again, I am very open to any ideas on how to accomplish this. Maybe a script or plugin could solve this, I cant see it right now.
(Our approach, currently: We are working towards one joint enterprise workspace, which in turn is composed of shared contents from team workspaces, all described using code in their individual repos)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I am starting to see the need to: Adapt the styling for some (specific or indiviual) views.
Example: For the landscape view, I would like to do some specific styling, to make it less cluttered. I might want to remove some texts (metadata and description false) for this view, and perhaps adjust font sizes, etc...
Is there a way to accomplish this? AFAIK styles are always applied globally, to whatever elements that the style is set to apply to. I guess, what my mind got stuck on was the ability to somehow set styles for certain tags, to be applied for an individual view or a certain set of views.
Perhaps there is a different way to accomplish this?
Illustrative code snippets
Some code showing an example of what I conceptually would like to accomplish:
But, it could ofc also be something like expressing a filter/scope in terms of views on the styles declaration. Stupidly (not an actual suggestion), for illustration purposes:
And again, I am very open to any ideas on how to accomplish this. Maybe a script or plugin could solve this, I cant see it right now.
(Our approach, currently: We are working towards one joint enterprise workspace, which in turn is composed of shared contents from team workspaces, all described using code in their individual repos)
Beta Was this translation helpful? Give feedback.
All reactions