how to draw a graph (nodes and arcs)?

A

_andrea.l

I'd like to draw a graph using a different pictures for each node.
How can I do?
I'd like to link the nodes and the arcs.
There is a library for doing that?
if it not exists what is the best algorithms for doing that?
Thank you in advance,
Andra.
 
O

Oliver Wong

_andrea.l said:
I'd like to draw a graph using a different pictures for each node.
How can I do?
I'd like to link the nodes and the arcs.
There is a library for doing that?
if it not exists what is the best algorithms for doing that?
Thank you in advance,
Andra.

Did you try googling for "Java graph"?

- Oliver
 
F

Francesco Devittori

_andrea.l said:
I'd like to draw a graph using a different pictures for each node.
How can I do?
I'd like to link the nodes and the arcs.
There is a library for doing that?
if it not exists what is the best algorithms for doing that?
Thank you in advance,
Andra.

Keep it simple, output a simple text file and use dot (www.graphviz.org).
I suspect that the algorithms are quite difficult if you want a nice output.


Francesco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top