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

[Smetana] Frame title missing and links to the frame missing #863

Open
nbauma109 opened this issue Jan 15, 2022 · 2 comments
Open

[Smetana] Frame title missing and links to the frame missing #863

nbauma109 opened this issue Jan 15, 2022 · 2 comments

Comments

@nbauma109
Copy link

nbauma109 commented Jan 15, 2022

I understood smetana is an experimental port of graphviz to java.
This issue happens when I use a frame enclosing states.
See in the images attached how it shows with Smetana:

  • missing frame title
  • missing links from/to the frame / isolated states

Diagram text file :
diagram.txt

diagram_screenshot

@The-Lum
Copy link
Collaborator

The-Lum commented Jan 15, 2022

Hello all,

Here is a minimal example:

- With GraphViz layout (by default)

@startuml
state state_1
state state_6
state state_7 {
[*] --> state_2
}

[*] --> state_1
state_1 --> state_7 : next
state_7 --> state_6 : next
@enduml

- With Smetana layout

@startuml
!pragma layout smetana

state state_1
state state_6
state state_7 {
[*] --> state_2
}

[*] --> state_1
state_1 --> state_7 : next
state_7 --> state_6 : next
@enduml

If that can help, for debug...
Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants