esteinberg / plantuml4idea

Intellij IDEA plugin for PlantUML
Apache License 2.0
633 stars 113 forks source link

Less graphics #423

Open 66Coding opened 6 months ago

66Coding commented 6 months ago

In my thesis project, many graphics are missing, such as the system architecture diagram, non-organizational structure diagram; use case diagram, the one the user wants should be the same as in Visio; entity-relationship (ER) diagram, it's incorrect; entity attribute diagram, missing; flowchart, can it be made to look the same as Visio, not in black, white, and gray, but just black and white, with the option to choose the default format. image image image image

As shown in the figure, the font should also follow the requirements of the paper, with Times New Roman for English text and possibly Songti for Chinese text, or users can modify the font themselves.

dlussky commented 2 months ago

You can adjust style for every block using skinparam. There is also predefined themes: https://plantuml.com/theme

If you need to use specific fonts for different types of blocks - keep in mind, that you can use variables like this:

@startuml
!$FONT_MAIN ?= "Roboto"
!$FONT_SECONDARY ?= "Roboto Light"
skinparam defaultFontName $FONT_MAIN
skinparam NoteFontName $FONT_SECONDARY
...