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

is there a way to include conditional formulas in code? #1630

Closed
ppalka-lingaro opened this issue Sep 28, 2023 · 2 comments
Closed

is there a way to include conditional formulas in code? #1630

ppalka-lingaro opened this issue Sep 28, 2023 · 2 comments

Comments

@ppalka-lingaro
Copy link

in plantuml there is a way to do Preprocessing where we can use some boolean and if then else

@startuml
!$a = 10
!$ijk = "foo"
Alice -> Bob : A
!if ($ijk == "foo") && ($a+10>=4)
Alice -> Bob : yes
!else
Alice -> Bob : This should not appear
!endif
Alice -> Bob : B
@enduml

@cyborg-ts cyborg-ts added this to D2 Sep 28, 2023
@bo-ku-ra
Copy link
Contributor

impossible #1539 and #1599 (comment)

@alixander
Copy link
Collaborator

correct, we will not be implementing a pseudo-scripting language, these will be done in embedded Go or Lua

@alixander alixander closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
@github-project-automation github-project-automation bot moved this to Done in D2 Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants