Hi,
I am trying to write a C4 Model, with icons, as shown here
Entities can also be decorated with icons using the last parameter, for example:
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
!define DEVICONS https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons
!define FONTAWESOME https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5
!include DEVICONS/angular.puml
!include DEVICONS/java.puml
!include DEVICONS/msql_server.puml
!include FONTAWESOME/users.puml
LAYOUT_WITH_LEGEND()
Person(user, "Customer", "People that need products", "users")
Container(spa, "SPA", "angular", "The main interface that the customer interacts with", "angular")
Container(api, "API", "java", "Handles all business logic", "java")
ContainerDb(db, "Database", "Microsoft SQL", "Holds product, order and invoice information", "msql_server")
Rel(user, spa, "Uses", "https")
Rel(spa, api, "Uses", "https")
Rel_R(api, db, "Reads/Writes")
@enduml
However, when I try the same document, the AsciiDoc plugin to PyCharm shows the diagram without images, and trying to compile it with asciidoctor --failure-level ERROR -r asciidoctor-diagram --backend=html5 gives the error below
Hi, I am trying to write a C4 Model, with icons, as shown here
However, when I try the same document, the AsciiDoc plugin to PyCharm shows the diagram without images, and trying to compile it with
asciidoctor --failure-level ERROR -r asciidoctor-diagram --backend=html5
gives the error below