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

Supporting entity and struct #102

Open
alexshelkov opened this issue Feb 9, 2024 · 3 comments
Open

Supporting entity and struct #102

alexshelkov opened this issue Feb 9, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexshelkov
Copy link

@startuml db
title Database 

entity QuestionType {
}
@enduml

or


@startuml db
title Database 

struct QuestionType {
}
@enduml

So this variation of class diagram throws an error. I am wondering is it possible to support them?

@alexshelkov alexshelkov added the enhancement New feature or request label Feb 9, 2024
@Enteee
Copy link
Owner

Enteee commented Feb 11, 2024

sure that would be perfectly possible to support. Do you want to create a pull request for this?

@alexshelkov
Copy link
Author

Sorry not sure that I know the best approach for this

@Enteee
Copy link
Owner

Enteee commented Mar 12, 2024

@alexshelkov as far as I understood it, those are grouping types. So you probably just need to add the keywords "entity" and "struct" to the possible group types around here: https://github.com/Enteee/plantuml-parser/blob/master/src/plantuml.pegjs#L169

Maybe I would also add a few tests for it.

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

No branches or pull requests

2 participants