remojansen / tsuml Goto Github PK
View Code? Open in Web Editor NEWGenerates UML diagrams from TypeScript source code
License: MIT License
Generates UML diagrams from TypeScript source code
License: MIT License
I tried to use on Angular CLI project and it pickups only 1 file to display
Hi,
I want to compile it, but i got error follow:
error TS2339: Property 'Export' does not exist on type 'typeof NodeFlags'.
occur in /src/core/parser.ts (108,44)
my npm version is v5.3.0
node version is v8.6.0
tsc version is v2.6.1
tsd version is v0.6.5
thank you very mush.
by Gelis
How can I delete a generated diagram? I was trying this out and didn't realize that an outline of my code was going to be shipped to a third party. This is proprietary information and must be removed immediately.
After digging around it seems near impossible to take down diagrams. The issue has been raised with yUML
This package absolutely needs a disclaimer regarding sending data to a third party. While yUML.me is mentioned in the readme, it needs to be abundantly clear that the diagram generation is not being performed locally and can potentially be accessed by others.
Hello, this is very nice.
Can you please support the diagrams at the project level like so
Export/Save Image or HTML to disk
No longer maintained sadly https://github.com/lucalanca/grunt-angular-architecture-graph, but some help
It would be great if it could add "return type" and "data type" as well.
It would be better if it can generate the diagram locally.
Below are some benefits:
tsuml --glob ./src/**/*.ts
****C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\tsuml\dist\core\io.js:71
var svgFileName = body.replace(".png", ".svg");
^
TypeError: Cannot read property 'replace' of undefined**
at Request._callback** (C:\Users\927390\AppData\Roaming\npm\node_modules\tsuml\dist\core\io.js:71:48)
at self.callback (C:\Users\927390\AppData\Roaming\npm\node_modules\tsuml\node_modules\request\request.js:186:22)
at Request.emit (events.js:182:13)
at Request.onRequestError (C:\Users\927390\AppData\Roaming\npm\node_modules\tsuml\node_modules\request\request.js:878:8)
at ClientRequest.emit (events.js:182:13)
at ClientRequest.onConnect (C:\Users\927390\AppData\Roaming\npm\node_modules\tsuml\node_modules\tunnel-agent\index.js:168:23)
at Object.onceWrapper (events.js:273:13)
at ClientRequest.emit (events.js:182:13)
at Socket.socketOnData (_http_client.js:474:11)
at Socket.emit (events.js:182:13)
Got the error while running the following statement in angular project
tsuml --glob ./src/**/*.ts
TypeError: Cannot read property 'replace' of undefined
at Request._callback (C:\User\AppData\Roaming\npm\node_modules\tsuml\dist\core\io.js:71:48)
at self.callback (C:\Users\AppData\Roaming\npm\node_modules\tsuml\node_modules\request\request.js:186:22)
at Request.emit (events.js:182:13)
at Request.onRequestError (C:\Users\AppData\Roaming\npm\node_modules\tsuml\node_modules\request\request.js:878:8)
at ClientRequest.emit (events.js:182:13)
at TLSSocket.socketErrorListener (_http_client.js:375:9)
at TLSSocket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
Thanks for the module. Would be great to output to file instead of uploading to your server. That way, we can integrate it into a build system.
Beside all other issues in this repo:
only interface implementations/extrentions are shown which is.. nice.. but not the reason why you would want to use this.
UML-diagrams should show connections between classes.
This is the whole reason why you (me) would want this and you don't get that
or am i missing something/ doing something wrong.
the example does not show class-class connections either
I tried with a couple of folders to run the command with the glob pattern in quotes.
tsuml --glob "./src/**/*.ts"
After showing on my terminal the list of files the glob matched, my browser automatically opens an address "https://yuml.me/diagram/plain/class/.svg". But the page merely shows this message in red characters: "We're sorry, but something went wrong."
There is no error message on the terminal.
I am using [email protected], and I am logged in to yUML.
How to delete class diagram on yuml.me, why not warn people ?
When attempting to install this package via npm, the install fails with the following message:
npm install -g tsuml
npm WARN deprecated [email protected]: NOTICE: ts-simple-ast has been renamed to ts-morph and version reset to 1.0.0. Switch at your leisure...
npm ERR! code E404
npm ERR! 404 Not Found: [email protected]
is this project dead or it still in progress?
I have the SVG, want to add to it. How do we do that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.