GithubHelp home page GithubHelp logo

tsuml's People

Contributors

remojansen avatar zangai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tsuml's Issues

Pickups only 1 file

I tried to use on Angular CLI project and it pickups only 1 file to display

Delete generated diagrams and add third-party disclaimer

  1. 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

  2. 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.

suggest to generate locally

It would be better if it can generate the diagram locally.
Below are some benefits:

  1. It will work offline
  2. It will be useful for private projects

Error

I am getting below error when I run the

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)

Error for generating the UML

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)

Output to file

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.

UML-diagrams should show connections between classes

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

The browser only shows "We're sorry, but something went wrong."

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.

npm install failure

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.