Open Huy-Ngo opened 3 years ago
parser probably doesn’t understand <<interface>>
property at the moment.
if you just need interface class, please use interface
instead of class
like this:
@startuml
skinparam classAttributeIconSize 0
interface Animal {
- name
- age
+ move()
}
class Dog {
- breed
+ bark()
}
Animal <|-- Dog
@enduml
This at least works: https://app.circleci.com/pipelines/github/jupe/puml2code/330/workflows/09bee73e-6967-485e-9bb9-cadc3dd97716/jobs/1030
is there reason to use class Animal <<interface>>
?
Description
Bug
puml2code version
Expected Behavior
The syntax used in PlantUML doc can be parsed.
Actual Behavior
Error:
Steps to Reproduce
npm install
class Dog {
Animal <|-- Dog @enduml