How to dynamically display a simulated network topology in Java

1.8k views Asked by At

Specifically, I am working on a network simulation tool written in Java (JNS). Topology objects are Nodes (names, IPHandlers and IP addresses) and DuplexLinks (IP addresses for each end, bandwidth and delay).

I am looking for a way to dynamically display certain topology objects (star, ring, etc.) given differing numbers of nodes. Are there any existing libraries that can do this already?

I want to achieve this without manually entering canvas locations during the simulation configuration. I plan on animating events over the drawn topology using JNam (adjusted to work with JNS instead of ns-2).

1

There are 1 answers

1
Khinsu On

I used this: jgraph There is also: JUNG This maybe helpfull: link