Comments (9)
Yes, via branding, which is a child of views.
Example:
workspace {
model {
user = person "User"
}
views {
branding {
font Courier
}
}
}
You can also set it via Java, as shown in the unit test.
Feel free to submit a docs PR if you think an example is needed.
from export.
The branding font will now be used as the default font for the two PlantUML exporters.
(please note that you will need to build from source to use this library until it's released onto Maven Central)
from export.
Thanks! How is the default font specified? Could you please add a note in the dsl reference, or provide an example?
Is using the branding
body the only way to specify the font? Because I didn't find any other place where font <name>
could be
specified, not even in themes nor element
.
from export.
Last question, aligned with my previous question here, what is the default font name in Linux? IIUC, unless I explicit the font, I will still get different defaults in Linux and Mac, right?
from export.
Sorry, I think I can answer myself, the default is given by plantUML, not by structurizr.
from export.
@simonbrowndotje any news about when this will be available in docker hub?
from export.
ping? any update when this will be released?
from export.
This particular code change was released onto Maven Central last week; see https://github.com/structurizr/export/releases for more details.
from export.
Hi @simonbrowndotje, would it be possible that these changes aren't available yet in the Docker image? We've updated our project with the branding
instruction, and we moved from 1.25.0
to the current latest 1.27.0
, and it didn't work... could you help me?
from export.
Related Issues (20)
- Internal property 'structurizr.dsl.identifier' on exported diagrams should be hidden HOT 2
- shadow property for both plantuml exporters HOT 2
- Export workspace as DSL.json
- link to further down diagram HOT 1
- Multiple groups with same name not rendered correctly (PlantUML) HOT 3
- Support for C4-PlantUML's ComponentDb and ComponentQueue in C4PlantUMLExporter?
- C4PlantUMLExporter mistakes container and component description for technologies when only description is present HOT 1
- Export the model to DSL or JSON format HOT 1
- support c4plantuml sequence diagrams HOT 1
- Export PlantUML Sequence Diagram for Dynamic View not working
- How I can rewrite tags autofilling in C4PlantUMLExporter?
- Add support for skinparam svgLinkTarget for C4PlantUML Exporter HOT 3
- Support C4PlantUML borderStyle and borderThickness HOT 2
- Syntax error in WebSequence diagrams HOT 1
- Export relationships as a list HOT 1
- Mermaid render error when description contains `(` HOT 1
- Asynchronous relation rendering with c4plantumlexporter
- C4Plantuml export renders url property in wrong format
- Allow plantuml.includes property to be defined in individual views
- Sequence Diagram Export For PlantUML is no more working HOT 1
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 export.