1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

add: hide as NOP

Similar as #800 but for JSON or YAML diagram.
This commit is contained in:
The-Lum 2021-11-25 21:52:21 +01:00 committed by GitHub
parent 160a356c68
commit 5c1eba25b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ public class StyleExtractor {
// Ignore
} else if (line.getString().trim().startsWith("!pragma ")) {
// Ignore
} else if (line.getString().trim().startsWith("hide ")) {
// Ignore
} else if (line.getString().trim().startsWith("title ")) {
this.title = line.getString().trim().substring("title ".length()).trim();
} else if (line.getString().trim().startsWith("skinparam ")) {