Sample from C4-PlantUML does not render (Function not found)
See original GitHub issueI’ve embedded the following sample into a markdown file https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/samples/C4_Container Diagram Sample - bigbankplc-icons.puml and kroki will not render. It complains that `Function not found Container (line: 275)" as in:
@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
' uncomment the following line and comment the first to use locally
' !include C4_Container.puml
!include DEVICONS/angular.puml
!include DEVICONS/dotnet.puml
!include DEVICONS/java.puml
!include DEVICONS/msql_server.puml
!include FONTAWESOME/server.puml
!include FONTAWESOME/envelope.puml
' LAYOUT_TOP_DOWN()
' LAYOUT_AS_SKETCH()
LAYOUT_WITH_LEGEND()
title Container diagram for Internet Banking System
Person(customer, Customer, "A customer of the bank, with personal bank accounts")
System_Boundary(c1, "Internet Banking") {
Container(web_app, "Web Application", "Java, Spring MVC", "Delivers the static content and the Internet banking SPA", "java")
Container(spa, "Single-Page App", "JavaScript, Angular", "Provides all the Internet banking functionality to cutomers via their web browser", "angular")
Container(mobile_app, "Mobile App", "C#, Xamarin", "Provides a limited subset of the Internet banking functionality to customers via their mobile device", "dotnet")
ContainerDb(database, "Database", "SQL Database", "Stores user registraion information, hased auth credentials, access logs, etc.", "msql_server")
Container(backend_api, "API Application", "Java, Docker Container", "Provides Internet banking functionality via API", "server")
}
System_Ext(email_system, "E-Mail System", "The internal Microsoft Exchange system", "envelope")
System_Ext(banking_system, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.")
Rel(customer, web_app, "Uses", "HTTPS")
Rel(customer, spa, "Uses", "HTTPS")
Rel(customer, mobile_app, "Uses")
Rel_Neighbor(web_app, spa, "Delivers")
Rel(spa, backend_api, "Uses", "async, JSON/HTTPS")
Rel(mobile_app, backend_api, "Uses", "async, JSON/HTTPS")
Rel_Back_Neighbor(database, backend_api, "Reads from and writes to", "sync, JDBC")
Rel_Back(customer, email_system, "Sends e-mails to")
Rel_Back(email_system, backend_api, "Sends e-mails using", "sync, SMTP")
Rel_Neighbor(backend_api, banking_system, "Uses", "sync/async, XML/HTTPS")
@enduml
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Use the preprocessor - PlantUML
The PlantUML preprocessor provides features close to the C preprocessor. You can include files, define constant and macros. It's also possible to use ......
Read more >Diagramming software architecture using C4 model and C4 ...
You might not know which tool to choose or where to start. Even after you find a tool and start working on it,...
Read more >C4 - Model Helper
@startuml Basic Sample !include ... PlantUML is not so good at big complex diagrams. ... The tool is well documented and sample C4...
Read more >2. Using PlantUML Stdlib C4 Lightweight Software ...
The C4 Model is a lightweight software architecture description method. ... It is not formal UML e.g. the UML actor stickman is deliberately...
Read more >PlantUML Integration - IntelliJ IDEs Plugin | Marketplace
PlantUML diagramming tool integration. ... Comment on any line, not just the diffs. ... 'Cache size' = 0 - disables multipage rendering optimizations....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like it’s working. Thanks!
Maybe you are using an “outdated” version of Node? Could you please run
/usr/bin/node --version
? Anyway, you can skip tests to build the distribution:And then:
If you are using HTTPie: