Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a graph from Umple code #3

Open
vtrlx opened this issue Feb 9, 2016 · 1 comment
Open

Generate a graph from Umple code #3

vtrlx opened this issue Feb 9, 2016 · 1 comment

Comments

@vtrlx
Copy link
Contributor

vtrlx commented Feb 9, 2016

The plugin needs a way to visually show the user the model they're working with.

This could be implemented in one of two ways:

  • Generate the graph whenever the user edits the Umple model (Like in UmpleOnline, but somewhat taxing on resources)
  • Generate on compile or with the press of a "generate" button (more involved but less frequent)

The way I see it, the choice will most likely depend on whether or not the generation of the graphs will be done server-side (favoring automatic generation) or client-side (favoring manual generation, really needed for low-end setups). A third choice could be a setting that allows the user to pick and choose how they want it done (client vs server, and auto vs manual), but there is still the problem of what the plugin uses by default.

Generation frequency aside, the method of generation should also be determined, but that will most likely just borrow from UmpleOnline.

@vtrlx vtrlx self-assigned this Feb 9, 2016
@TimLethbridge
Copy link
Member

UmpleOnline does most of the computation on the server side. An ajax call to the same API can be done. In Umpleonline it can be toggled between manual redraw and auto-redraw. Auto-redraw is done after 3s of no typing, but a check is done client side to ensure that the changes are not just spaces or comments ... in the latter case the diagram is unchanged. I suggest starting with manual redraw. And I suggest generating the graphviz class diagram and graphviz state diagram.

@vtrlx vtrlx mentioned this issue Feb 19, 2016
5 tasks
@vtrlx vtrlx removed their assignment Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants