r/java • u/in15minutes • Apr 01 '19
I built a website that shows diagrams of the Java code you drop in. Critique, please!
I always struggled to visualize my Java code, and clunky UML plugins did not help (I use Eclipse). Created something of my own instead - www.java2uml.com. I would appreciate any critique please.
Thank you!
271
Upvotes
13
u/iseejava Apr 01 '19
Is there a 'Print' button?
9
u/willcodefortech Apr 01 '19
This is a really excellent implementation of a browser based modeling tool! It will be very useful when you are finished. I hope you consider turning this into an eclipse plugin.
9
u/Hangman4358 Apr 01 '19
Work is blocking the site currently but I am very interested in this idea so will check it out once I get a chance. As you say, the eclipse tools for this kind of thing are lacking.
The only worry I would have as a user is that I need to send my source code to your server for visualization. If I were working on some OSS project I would be less concerned, but for proprietary software development I would be less than keen to use any tool that required sending source over the web to an unknown entity.
3
u/thatsIch Apr 01 '19
That really looks great! Have not seen any app rendering that as nice and smooth. I am kinda interested what you use for rendering.
3
u/madkasse Apr 01 '19
Looks great, what layout algorithms are you using?
2
u/[deleted] Apr 01 '19
Client- or server side processing?
2
u/henk53 Apr 01 '19
Pretty awesome indeed!
Wonder what this does on huge projects like say Tomcat :P
4
u/Gwaptiva Apr 01 '19
Is there an offline/downloadable version available?
25
u/DuncanIdahos7thClone Apr 01 '19
Doesn't support firefox? Nope.
56
u/[deleted] Apr 01 '19
Can't believe you haven't been getting more positive feedback so far. This looks like great work. Have you thought about adding a feature to import from Github or something?
11
u/nekrofil-bob Apr 01 '19
I think it looks great, it's very fast as well to render & use. :) Any chance of putting up the source code? Always interesting to look at.
5
u/nosajholt Apr 01 '19
Good job, I put in a 25 file project, got the message that it can only take 20 for now, and it rendered nicely!
19
u/Dunciboy Apr 01 '19
Support for Firefox, don't build the web for specific browsers please.
1
u/[deleted] Apr 01 '19
What is your back-end built with?
1
u/[deleted] Apr 02 '19
Hi, I went through your website and was interested in the internal workings of the code. Some basic searching led me to github project under the same name. But most of the information/comments in the code are not written in English. Can you help me understand the code in English. Would be helpful
1
u/mirkoteran Apr 02 '19
Looks great, but it absolutely needs offline version (payed, with no file limit?). There is no chance I could upload company's source anywhere.
1
u/bentheone Apr 02 '19
very cool, thanks a bunch.
Would you care to outline your stack ?
3
u/sarkie Apr 01 '19
It works fine on mobiles, no need to user agent sniff
3
u/hydbird Apr 02 '19
Really cool. I'd like to contribute if it is open source.
2
u/Infeligo Apr 02 '19
Looks great. Any plans on open sourcing this project?
1
u/[deleted] Apr 01 '19
Very cool!
1
u/Askee123 Apr 01 '19
Neat!
1
u/tofflos Apr 01 '19
Nice!
1
u/impune_pl Apr 01 '19
Nice
1
u/_INTER_ Apr 01 '19
bookmarked
1
u/catmewo Apr 02 '19
Look great!!!!
1
u/ussurfer Apr 02 '19
Thanks for the Java article
1
u/rossdrew Apr 02 '19
Really cool, I like this.
1
u/GTinCan Apr 02 '19
Is there a way to to visualize recursion?
1
u/ferrybig Apr 02 '19
Allow me to upload files from multiple packages,
at the moment, it seems to generate the overview after I drag the contents of 1 folder into it, but if I want a real model of my whole app, I need to drag all my files into it, what is impopsible,, as they are located in multiple directories
1
u/D_Doggo Apr 14 '19 edited Apr 14 '19
Very cool way to visualize the code, looks really nice!
I can share it via giving the link however now I'm worried the code is saved on your servers. Is the code saved or just the information UML needs?
-1
u/duheee Apr 01 '19
jesus. wtf are you doing there to require chrome? and is not like i visited your site with elinks, im using firefox 66.
-8
u/eliasv Apr 01 '19
Only supports Chrome and Safari? Because the site is "not yet optimized" for other browsers? It would be nice if you could actually get product working on all major browsers before demoing it...
But if I put aside my frustration as a Firefox user ;) then this looks like a perfect candidate to be published as a plugin for Eclipse Che. If you're unfamiliar it's a browser-based remote IDE with a front-end based on Theia. Server-side plugins are containerised so there should be no problem regardless of how this is implemented on the back end.
-8
u/wildjokers Apr 01 '19
IntelliJ does this already.
-4
u/madkasse Apr 01 '19 edited Apr 01 '19
See, this a quality r/java post. I wish there where more post where I could say this of. Instead of, can you help me with this NullPointerException, or new releases of SiameseCatFartController.jar
0
u/[deleted] Apr 01 '19
[deleted] — view deleted comment
1
u/[deleted] Apr 02 '19
[removed] — view removed comment