Comments (6)
That shouldn't be too difficult. Would be nice to be able to take a large typescript (or java) project and generate a UML diagram. I have never dug into the internals of typescript but the tool would just have to find every class and public function and write the UML syntax, shouldn't be too complicated. If I have time during the holidays I can take a shot at this, or feel free to create a pull request.
from plantcode.
what, you are going to build your own tool that converts typescript into plantUML?? :)
I would think there is something that does that out there already, but I can't find anything. :/
from plantcode.
There are existing libraries for single languages. Plantuml-depend for java, NPlant for C#, and perhaps one or two for other languages. It is built into some continuous integration applications as well, but not all languages in one peice of software...that I can find anyway. So, this would be spectacular if it was built. I would love to use it on the free planttext.com website as a free service.
I use NPlant in my company Build/CI environment to generate Class diagrams dynamically and it works very well. But I definitely need a single library for all common languages.
from plantcode.
If there is none specifically for typescript I can look into it, can name it TPlant or something. I may make it a separate repository as it is opposite of the goals of this project. Guessing it shouldn't be too hard to write with a spin-off of tslint
which already examines class structure.
from plantcode.
@bafolts yes that would be awesome if you could. Let me know if you make a new repo. :)
from plantcode.
I have created (started) tplant
which supports typescript. For now it generates a sample basic class I posted as a starting point. Plan on improving it from here. Can move issues to tplant
.
https://github.com/bafolts/tplant
from plantcode.
Related Issues (20)
- Class Properties are Not Converted HOT 2
- Create example for running the converter client side instead of from node. HOT 3
- Failed on skinparam HOT 2
- Does dot accept numbers on field/method names HOT 2
- plantuml-code-generator can't handle comments HOT 3
- Add support for plantuml notes HOT 5
- Parser doesn't support interfaces or headers HOT 5
- 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
- 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
- Move from PEG.js to Peggy.js HOT 1
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.