Java graph library for dynamic visualisation [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
I am in need of Java library for graphs that supports dynamic visualization. I need to have objects moving between the vertices and this has to be shown. 3D is not needed, a 2D representation will suffice.
I am currently using JUNG but it is very limited, it is more for static graphs from what I can tell.
I have looked at this question but JGraphT doesn't seem to do it either.
Late Edit:
I waited to finish the project before awarding an answer. I ended up keeping JUNG, while also using UBIGraph (dead project since 2012) as a secondary library.

Take a look:
GEF - GUI components for graphical editing, including graphs, (Eclipse) SWT based
JGraphX - former JGraph, not actively developed since March 2020
Piccolo2D - (Eclipse) SWT based
JUNG - last released in 2010 (as of 2020); was very popular back then
yWorks - not open source, not free
JGraphT - data handling and algorithms only, no integrated visualizaiton, though supports JGraphX visualization

Take a look at GraphStream, as shown from their demo video you can do some fancy stuff with graphs using their library.

Prefuse is pretty and powerful. The website is no longer there so here is an archived version

Have you had a look at Processing, or Processing.js? There are some amazing vis projects being made with this.
Not strictly Java, but easy to integrate within a Java environment, if I recall correctly.

Another option if feasible is to construct text file in graphviz dot format and process it using various tools provided. Mostly helpful for generate static images
See graphviz gallery for more details

You may also want to have a look at wilmascope (or its project page). I used it a few years ago after full research and was quite happy with it, but it has not been updated since 2004 (as of 2020).

Related

Java API for Auto regression (AR), ARIMA, Time Series Analysis [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 am looking for either Opensource or Free Java API for Time Series Analysis using AR, ARIMA etc. I need this api for DDOS Attack analysis.
I googled around and found 2 solutions but both are not completely solving the problem:
1) This same question was asked earlier in stackoverflow and a solution was posted regarding SuanSu Api but this API is not free
2) Apache Math Library, but this API provides other forms of Regression like Simple, OLS, GLS etc but not Auto Regression.
I checked for Options in Machine Learning apis like Mahout but not luck yet. Please suggest an appropiate API
I spent my 4th year Computing project on implementing time series forecasting for Java heap usage prediction using ARIMA, Holt Winters etc, so I might be in a good position to advise you on this.
Your best option by far is using the R language, you can call on the forecasting libraries provided by R, through Java by using the JRI library found here. R is well documented, free and open source. You can even run R on a server and then make calls to it via command line using Rserve, which then returns forecasts over HTTP but JRI is the local equivalent if memory serves me correctly.
If you have any questions, let me know.
Have a look at spark-timeseries. The source code is mostly Scala, but it's relatively simple to use the library from within Java. If you're in a place where you are doing time series analysis on the JVM, then you should consider learning Spark/Scala anyways.
The library is young as of this writing and has room for improvement and growth, but as of version 0.3 it implements AR, ARIMA, simple exponential smoothing (EWMA), and Holt-Winters smoothing. It's areas for improvement are a better automatic ARIMA algorithm, support for seasonal ARIMA, and state space modeling, but it's already very useful.

Circuit Diagram visualization framework for Java [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 am looking for a framework to visualize Circuit Diagrams in Java application.
I have to show Diagrams like that:
For one of my previous projects (in 2008 year) I used Jung. It worked well, but maybe somebody could propose more suitable for my needs framework? Does anyone have a similar task or know a good tools?
Also one of my tasks is to try to layout elements, because there is only info about connections in DB, but there is no layout information. I want to try to minimize manual layout work and looking for layout algorithms.
Thank you in advance.
PS: It is very desirable that the framework will be free.
PPS: Also I am interested in frameworks which can help to show (and edit) such type of diagrams using web browser.
Prefuse is very similar to Jung. I haven't used it extensively but I evaluated both Jung and Prefuse for our graph application.
Another web based option is Protovis which I came across during my evaluation. You can draw interactive graphs with it but I suspect you might need layout information already available to use this tool. Anyway looks like the authors are moving to a new library named D3 so you can check that out.
Another option I see is graphviz.
Here is a big list of graph visualization tools. http://www.mkbergman.com/414/large-scale-rdf-graph-visualization-tools/
I found a java framework named circuit. I think it could help you fix your issue.
http://code.google.com/p/circuit-framework/

Java: GUI component for displaying diffs? [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 writing a programm in which I need to generate a diff and display the result. Is there any GUI component out there, with which I can easily accomplish this task, or do I need to hack something for myself?
I'd prefer using a Swing component, but any other technology will be fine, too.
There is a diff tool available if you are building on the NetBeans platform.
If you can't use that, I don't think it would be difficult to create a basic one that uses HTML in a JEditorPane to display the results.
As far as i know there is no component for this. Any modern IDE does this job today, also source control plugins have this function, many of them are open source so you can get the idea by viewing them. But it would be hard.
#madlep has a solution with Difference algorithm for Java check this topic:
Generate formatted diff output in Java
Take a look here .
I used Diff.java to create a JPanel that will show the differences between two files.
Hope it will help !
Maybe have a look at the JDiffPlugin for jEdit (it might be easier than digging Eclipse / NetBeans / IntelliJ source code).
Or have a look at the Java diff viewer Component? thread, it seems that someone had similar needs and you will find a solution based on incava.org's Diff implementation (the location of sources changed so I'm putting the new location below):
(For the Diff sources)
http://dawes.za.net/gitweb.cgi?p=rogan/webscarab/webscarab.git;a=tree;h=148dc26a7ff3ef6ff5ddc35b206
(For the DiffPanel sources)
http://dawes.za.net/gitweb.cgi?p=rogan/webscarab/webscarab.git;a=tree;h=f6b756fbe78c6f1be21a00cffbe
I know IntelliJ IDEA can do this, and they've recently released an open-source community edition, so the code is in there somewhere. It will probably taken a bit of digging to find the relevant code though!
check here
and The code is all available here (via GIT or on the web):
https://github.com/albfan/jmeld
JMeld, A visual diff and merge tool.

Learning resources and tutorials for using the Java Batik 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 7 years ago.
Improve this question
I am using the Batik library, which is very useful to display SVG graphics in Java. For the basic use case of displaying and rendering an SVG document is quite simple to use. However, I want to do some other advanced graphic manipulation and I am struggling as I don't find any good resource that will allow me to perform the following types of task:
Detecting the component under the mouse
Getting a component by id and changing the color used to render
Manipulate components
Adding new components
Detecting mouse clicks on components
Is there any good resource or tips to use this library that you know about?
You might like to read through the slides of a tutorial session on using Batik that I presented at SVG Open a couple of years ago.
It may be worth looking at Java™ Drawing with Apache Batik: A Tutorial. The contents list looks pretty comprehensive.
I wrote an SVG display ages ago which used Batik and handled mouse events / colour changes. IIRC I had to make the changes to the SVG via the DOM interface since Batik didn't support that at all. Things may have changed now, of course.
Have you looked through the W3C Doc on SVG?
It seems to list how to do most things; particularly look at Appendix A: DOM Enhancemenets, and if not in here, you can check the previous versions of the doc.
Hope it helps!
Maybe it will also helpful
http://code.google.com/p/svgweb/

Visualizing Data in Java [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 months ago.
Improve this question
Is there a good library on the web to visualize big data in Java? Perhaps a library for statistical outputs? I know the programming language R is used to visualize statistical data in R, and I have seen a solution to connect Java and R, but it would be better if I can have a pure Java solution.
might want to check out http://processing.org/
I've had success with visualizing graphs with a commercial tool called yFiles. For more general purpose statistical data visualization, you could try Mondrian, which is GPL licensed. These both are Java libraries.
Have to mention Piccolo2D -- using it very frequently. It does not provide the ready to use data structures as Prefuse does, but it surely scales and provides a great degree of freedom in how one would want to visualise the data.
JFreeChart is a good Option. I have tried it, and is easy to set up with Eclipse too. BIRT is also nice, but if you are using it for reporting that is.
Prefuse is a pretty nice library for Java, and even lets you publish animations in Flash using a layer called Flare:
prefuse visualization toolkit
prefuse visualization gallery
On the R side, you only need to browse the gallery to see what it's capable of:
R Graphics Gallery
There's a library for Clojure (not quite Java but still on the JVM) called Incanter.
It is built on Colt and JFreeChart. It may be possible that you can just use Colt directly, but I wouldn't know.
The Weka project might be able to help you. It's an open source library of data mining algorithms written in Java. If they don't have the visualization themselves, it might be in their "related projects" section.
http://www.cs.waikato.ac.nz/ml/weka/

Categories