Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 156863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:24:06+00:00 2026-05-11T10:24:06+00:00

Having seen some suggestions for graphs, I wonder what’s the optimum for my problem.

  • 0

Having seen some suggestions for graphs, I wonder what’s the optimum for my problem.

I want to render a directed graph to a servlet/picture that is displayed in the browser. There should be some kind of optimization of position. No dependency to Swing would be preferred. Algorithms are not important, since the structure of the graph is determined by business logic. It would be desired to be able add labels to edges as well. it would be optimal if i can serve this as png/svg.

Which library/service would you recommend?

clarifications:

1) The question is all about Graphs – like Directed Acyclic Graph – NOT – Charts.

2) flot, Google Charts – cannot plot graphs, only charts, or have i missed something?

3) no i do not need interactivity

4) graphviz would be nice, but the grappa java library is quite outdated and is built upon swing/awt. while it may be theoretically possible to render swing to images, it would not be my favorite way to to so in a server-app.

5) it would be fine to use an online service where the images are not hosted locally.

edit: added links to Wikipedia to clarify graph/chart term

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:24:06+00:00Added an answer on May 11, 2026 at 10:24 am

    As well as waiting weeks to hear about the Magic Framework that’s going to solve all your problems in one line of code, there is also the other option of just Writing Some Code yourself to do exactly what you want… (I’m not saying it’s 10 minutes’ work, but it’s probably one or two days, and you posted your question over two weeks ago…)

    Have you had a look, for example, at the Wikipedia entry on Force-based algorithms— it has pseudocode and a few links that might be helpful.

    I’m assuming it is the layout algorithm that’s the issue, and not the matter of creating a BufferedImage, drawing to its graphics context, PNG-encoding it and sending it down the socket. You really don’t need a framework for that bit, I don’t think.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen on the web some domain names having prefix of ww2 or
Problem with arithmetic using logarithms to avoid numerical underflow (take 2) Having seen the
I have seen some applications having such a rich layout that a person starts
Having seen this interpreter comparison graph , I wondered the reasons behind the MRI's
Having seen a question here on SO, about joining strings I have done some
Seen some references, but its old Rails 2 solutions. Having a hard enough time
I have seen some answers to this but I think I am actually having
Having seen the advantages of metaprogramming in Ruby and Python, but being bound to
Having recently seen a presentation of Clojure Protocols, I was quite impressed by the
I have seen new computers having two processors on same motherboard . How can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.