Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render diagram image with !include <C4/C4_Sequence> #1687

Open
maryams009 opened this issue Jan 9, 2024 · 1 comment
Open

Cannot render diagram image with !include <C4/C4_Sequence> #1687

maryams009 opened this issue Jan 9, 2024 · 1 comment
Labels
❔ question Further information is requested

Comments

@maryams009
Copy link

Hi there!
I want to use bundleled directives in my project instead of static .puml files.
Kroki is not rendering Plantuml code into an image when I am using a sequence diagram; !include <C4/C4_Sequence>.
But it is working well with a component diagram; !include <C4/C4_Component>.
I got to know from documentation that kroki has a support for <C4/C4_Component> but it does not support <C4/C4_Sequence> yet.
When I am using !include <C4/C4_Sequence>, It is giving the following error in the pipeline pages;

Untitled design

Questions:

  • Does kroki provides support for <C4/C4_Sequence>?
  • If yes! How can I solve above mentioned problem?
  • If No! Can you provide support for <C4/C4_Sequence> too?
    PS: I am calling a local instance of kroki, and not kroki.com
@ggrossetie
Copy link
Member

Hello @maryams009

Are you using the latest version? I cannot reproduce on https://kroki.io

!include <C4/C4_Sequence>

Container(c1, "Single-Page Application", "JavaScript and Angular", "Provides all of the Internet banking functionality to customers via their web browser.")

Container_Boundary(b, "API Application")
  Component(c2, "Sign In Controller", "Spring MVC Rest Controller", "Allows users to sign in to the Internet Banking System.")
  Component(c3, "Security Component", "Spring Bean", "Provides functionality Related to signing in, changing passwords, etc.")
Boundary_End()

ContainerDb(c4, "Database", "Relational Database Schema", "Stores user registration information, hashed authentication credentials, access logs, etc.")

Rel(c1, c2, "Submits credentials to", "JSON/HTTPS")
Rel(c2, c3, "Calls isAuthenticated() on")
Rel(c3, c4, "select * from users where username = ?", "JDBC")

SHOW_LEGEND()

https://kroki.io/c4plantuml/svg/eNpdkk1vGjEQhu_8iimnpaKJ2nJsU8GCmlRtgrJRc0Sz3mHXqne8Hdsg_n1tBxrIzfZ8vM-8nnealQkNwZdydl3ONhX9DcSKbkaj0rJHzSSF-jiFcaW5NfRhjS3BfBiMVui15XEM_cAdVkr04AG5gTm3waCkyFrsTjfkAI0BuwXfEdyxJ2HyUCP_iU1hG1ilVmi0P4C3oILztidxsNOYarTAnmqoxe4dydV4cka3WdjADcqhqKPgfH13QTcZAZS2HywT-0J9yoO0HCEgdRBrDGXSapDE8ut3CY_k_Jvo3JgoDcElqEjoUg_N6Xgx0uI4UnVwnvqrt_KfkxCpIGnQ_-9n8gtCvvDt0ptHMuipORGkCs1TUB1ymy4DOre30rgpkFdJ_mTOZsVNcW7bsi7ULCot0WONjpJqbp_F4PQMleqox4zordCLByDUauclZ0eErZU-n6fQoesiIYboC_vjN4ASatIVTURDpcg5MLZ95RxF7bxnL18U6l57d14WZ86rVj3cX98-Pa2rWJRrYn72tYwr5kC7-asyxZEhL0HOjFl5ZEeGlIf3sBXbH_9035FQPjP2BF_hW1ZbLsoEV90-PG9-rr6v7pfF5B8sRxJy

@ggrossetie ggrossetie added the ❔ question Further information is requested label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❔ question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants