Comments (5)
Can you provide an example of the puml source that fails to execute? That way I can fix your case and add your case to the integration tests.
from plantcode.
This is from plantuml's samples:
@startuml
class User {
.. Simple Getter ..
+ getName()
+ getAddress()
.. Some setter ..
+ setName()
__ private data __
int age
-- encrypted --
String password
}
@enduml
And so is this:
@startuml
class Object << general >>
Object <|--- ArrayList
note top of Object : In java, every class\nextends this one.
note "This is a floating note" as N1
note "This note is connected\nto several objects." as N2
Object .. N2
N2 .. ArrayList
class Foo
note left: On last defined class
@enduml
from plantcode.
I added the first example to the tests file and updated the grammar to parse it properly.
Will get to the notes one soon.
from plantcode.
Thank you very much for the quick response (and action!). I will test it soon with my real class diagram.
from plantcode.
I added support for the notes file you provided and added it as a test. I will close this issue time being. If you find any more issues feel free to post the sample input file.
https://github.com/bafolts/plantuml-code-generator/blob/master/tests/notes-file.pegjs
from plantcode.
Related Issues (20)
- Parser doesn't support interfaces or headers HOT 5
- Opposite Way HOT 6
- Broken on https://www.planttext.com/ HOT 5
- Suggestion: create XMI output to open the way to use other tools
- [Feature request] Add support for Python
- npx not working due to missing dependencies HOT 2
- "end class" isn't valid plantuml?
- Cannot find module './Aggregation' HOT 3
- Class Properties are Not Converted HOT 2
- AccessType is not working in templates HOT 3
- Package is an unknown type HOT 2
- Implements is not supported HOT 1
- Extends does not work if right hand side of connection is not present
- Property name and type are reversed in Typescript HOT 2
- Create example for running the converter client side instead of from node. HOT 3
- Move from PEG.js to Peggy.js HOT 1
- Failed on skinparam HOT 2
- Does dot accept numbers on field/method names HOT 2
- plantuml-code-generator can't handle comments HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plantcode.