Pure Java reimplementation of GraphViz? [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there an Open Source java alternative to GraphViz? I'm aware of the existence of Grappa which basically wraps the Graph interface to GraphViz as an JavaAPI. However the layouting is still done by the GraphViz binaries.
I'm looking for a pure-java, open source library providing the same functions and layouting algorithms as GraphViz.

You can have a look at JUNG (Java Universal Network/Graph Framework) which has visualization and analytics functions. It's open source.

Interestingly, the Eclipse project has an SWT/JFace component/framework capable of displaying and generating (import/export) Graphviz's 'DOT' format, in pure Java:
ZEST (home page & download links)
See http://wiki.eclipse.org/Graphviz_DOT_as_a_DSL_for_Zest for usage examples.
Although ZEST is touted as an Eclipse plugin, it does seem that the DOT-manipulation API's can be used standalone and external to an Eclipse installation.
To clarify, the DOT functionality is a part of the ZEST 2 functionality, which itself is a sub-component of the GEF4 project.
Cheers
Rich
Update (May 2017) https://github.com/nidi3/graphviz-java

You could look at JGraph though I have never used it so cannot comment on now it compares to GraphViz.

yFiles seems to provide all this, but it's not free and not really cheap either. But then again it seems to be a very professional product (haven't used it, except in yEd, which can be used for free).

I guess ZGRViewer is what you want. I really like ZGRViewer and AJaPaD.

I worked with yFiles about four years ago, and it was excellent. It's costly (though less than JGraph, apparently) but I work in a CS research lab and had access to their generous academic pricing.

Related

Open source JavaFX 2.0 component libraries [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there any good component libraries / repositories for JavaFX 2.0?
In particular I'm looking for open source projects that I might be able to use, learn from and contribute to.
The best place to start looking is the open source of the platform itself. Currently, just controls are open sourced, but over time more items will be added. Join the mailing list on the linked page to get involved.
Next, you could try the the JFXtras project. Which aims to develop and incubate controls, components and extra bits in addition to, or as an alternative to, what is available in JavaFX.
Then, you also have projects like DataFX which examine interfacing JavaFX with various data source providers, Grezi which is an experimental presentation framework using JavaFX, or you might want to checkout JFX Flow which is a framework for developing JavaFX applications.
If you prefer programming the JavaFX API in other languages, you could look into the open source ScalaFX or GroovyFX projects.
The JavaFX sample applications such as Ensemble are sourced under a BSD license, so feel free to create your own JavaFX samples based on the frameworks those applications provide.
I am sure there are a bunch of other such projects which I have missed or will be formed over time.
JavaFX itself is partially open-source and welcome for contribution.
See http://openjdk.java.net/projects/openjfx/
Here are a few that I found...
controlsfx
JideFx
JFxtras
And this is the official Oracle summary page for third party JavaFX tools.

Java Control Flow Graphs Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need to manipulate control flow graphs for Java code in a project. What might be a good java library to generate control flow graphs in Java. So far I have found a couple eclipse plugins (heavily dependent on eclipse APIs) and standalone tools (cannot embed in my code).
A tool to do this stuff is Soot, and this questions is a duplicate of Tool for generating control flow in Java
I'll throw another tool into the mix.
Atlas is an Eclipse plugin that enables program analysis. It has a querable graph database that includes the control flow graph (as well as data flow and other relationships).
jSonde will create sequence diagrams from your actual running code (which is arguably more useful than from source, since source analysis will not show implementation-specific functionality).
javacalltracer does something similar.
Most tools are integrated into Eclipse/similar so they have access to the AST, which makes such things pretty trivial.
It's actually not ridiculously complex to pull the information from byte code yourself (and it's an interesting exercise). Or instrument using AspectJ and create the runtime information yourself.
Edit Original answer, still valid.
JGraph is open-source, and pretty cool.
JDiagram is a Swing component, commercial product.

Simple open source DHT implementation in Java for learning purposes [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for recommendations for a simple open source implementation of a Distributed Hash Table in Java to play around with. No fancy features, just for learning purposes, no production functionality needed. It should be simple to set up (e.g. 1 physical machine with n-JVMs) and well documented preferably with some examples, tutorials or starting guides.
Research yields these candidates: FreePastry and OpenChord but I'm not fully convinced they meet my criteria simplicity-wise.
Have you got any experience with these or other implementations? Recommendations?
Thanks & adios
There is TomP2P on Github.
Maybe JDHT will fit the bill. I haven't checked it out myself, but it's written at a university, sometimes that means it's simple and used for teaching. :-)
I have been working on an implementation of Kademlia lately. It's very simple to setup and use and it's well documented. There are several tests written that demonstrate the different functionality as well as a starting guide in the Readme.md file itself.
You can use openkad
I started with free pastry..I've had a great experience with it. It was very simple to set up and run a ring of nodes. I've been mainly using PAST (File storage) and its been quite easy to get running. I'd suggest having a look at the PAST tutorial here. https://trac.freepastry.org/wiki/tut_past
The code is over simplified in my opinion but you say that is all you need so I guess thats ok.

Looking for (free) Java code editor (IDE) for Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Not to be open-ended I will list my requirements.
Must have native UI (or at least .net the backend can be Java I don't care)
Must work with Ant (basic functionality is enough, as long as it shows Ant's output and double-clicking on [javac] errors inside ant outputs jumps to the referenced line)
Must have code completion (including my source code and third party .jars, no just JFC classes)
Extras (function which would help a lot):
Showing my classes and methods in a treeview
Alert for undefined symbols before compiling
Unicode support
Some form of integration with javadoc style documentation (reading JFC and other on-line documentation which was made by javadoc)
I think these are pretty down-to earth requirements.
Why don't you just use Eclipse? Then you could've listed about 200 more extras in your requirements...
Eclipse?! http://www.eclipse.org
Eclipse IDE is the best free Java IDE that I have used.
Visual J++ was an IDE from Microsoft that was shipped with Visual Studio until it was discontinued a few years ago. You might be able to get your hands on it and it should be able to follow your requirements to a certain point, but it is a discontinued product. (I don't think you mentioned it has be free.)
There has been Borland's JBuilder and possibly several other IDE's but I do concur with previous posters that Eclipse, Netbeans or IntelliJ will most likely do the job very well.
There's also Oracle's JDeveloper but since it's been rewritten I think it's also written in Java.
The only requirement that will be hard to meet is 'must have native UI'.
I long for the responsiveness of a native app
I doubt that you would settle for an online IDE then :-)
Googling for 'native java IDE' brings up (among others) Optistic. Might be worth a visit.
Lots of choices but not so many 'native UI' ones. Good luck making the right choice :-)
All the most popular IDEs should do what you have listed and a lot more. I prefer IntelliJ CE which is more productive for me. Eclipse and Netbeans are also excellent free IDEs.
In terms of screen update, I use a 2100x1600 window, sometimes locally and sometimes via VNC on our LAN and screen update speed is not an issue. Sometimes I have projects with a total of over 10,000 classes open. ;)
Update: I now use a 4K screen with over 30K classes in project with IntelliJ.
That would be either Netbeans or Eclipse if you are looking for something featurefull with nice graphical stuff, of vim or emacs if you are looking for something slimmer (with a much steeper learning curve)

Getting Java and TWAIN to play together nicely [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of Morena and JTwain, but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done this as a FOSS tool.
Is anyone familiar with a free tool that can get a Java applet to read directly from a TWAIN scanner?
Calling the TWAIN API from anything except C/C++ is going to be a major pain, it relies entirely on complicated C structures that you have to replicate exactly in memory. If you need only fairly basic scanning, you could use something like GitHub site to call my old free 'EZTwain Classic' DLL (google for eztw32.dll)
hm. I might have some homebrew available for it somewhere I could check, but for now: At our company, we basically gave up on this issue and implemented an (unfortunately win only) ActiveX solution: Site Link
I've actually purchased the chestysoft activeX control. Been using it for about 3 years. Works great but as with all ActiveX you are restricted to IE. And this one is 32-bit only.
I'm looking into a flash approach now. Since flash can capture from a camera why not from a scanner. If I remember I'll report back what I find.

Categories

Resources