Обсуждение:PlantUML: различия между версиями

Материал из Поле цифровой дидактики
Нет описания правки
Метка: отменено
Строка 70: Строка 70:
@enduml
@enduml


</uml>
<uml>
@startjson
<style>
  .h1 {
    BackGroundColor green
    FontColor white
    FontStyle italic
  }
  .h2 {
    BackGroundColor red
    FontColor white
    FontStyle bold
  }
</style>
#highlight "lastName"
#highlight "address" / "city" <<h1>>
#highlight "phoneNumbers" / "0" / "number" <<h2>>
{
  "firstName": "John",
  "lastName": "Smith",
  "isAlive": true,
  "age": 28,
  "address": {
    "streetAddress": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "postalCode": "10021-3100"
  },
  "phoneNumbers": [
    {
      "type": "home",
      "number": "212 555-1234"
    },
    {
      "type": "office",
      "number": "646 555-4567"
    }
  ],
  "children": [],
  "spouse": null
}
@endjson
</uml>
</uml>

Версия от 23:06, 4 ноября 2023

Ссылки на ресурсы про PlantUML

https://www.youtube.com/watch?v=ScbZL5RX84E

Эксперименты

Long Notes

3


Diagrams error (with plantuml command): Apr 13, 2026 11:13:05 AM java.util.prefs.FileSystemPreferences$1 run WARNING: Couldn't create user preferences directory. User preferences are unusable. Apr 13, 2026 11:13:05 AM java.util.prefs.FileSystemPreferences$1 run WARNING: java.io.IOException: No such file or directory Error line 1 in file: /tmp/diagrams_indaedc6ec4ffa.plantuml Some diagram description contains errors Apr 13, 2026 11:13:07 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock User prefs. Unix error code 2. Apr 13, 2026 11:13:07 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.