954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

network visualization

hi,
I want to make an application in java to visualize on graphic the network (the name and addresses of local servers of the company ... for example) using the tracert command, if any one can enlighten me that idea, because Internet is a wide world.

kalcio
Light Poster
25 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

I recomend you to use GraphViz , it is a really simple to use graph toolkit I used it to represent codeblocks withing thre address code in order to run some optimizations.

then you run the tracert like:

Process p;
p =Runtime.getRuntime().exec("tracert <options>");
readResult(p.getInputStream());
p.destroy();


where readResult is where you handle the inputstream and draw the graph by parsing the results.

Hope it helps

RicardoE
Junior Poster in Training
73 posts since Jan 2010
Reputation Points: 21
Solved Threads: 7
 

oh by the way, you will need the graphviz java api

http://www.loria.fr/~szathmar/off/projects/java/GraphVizAPI/index.php

and if you want a pure java implementation you can use JGraph but this one is a little harder to use but it looks awesome when done :)

RicardoE
Junior Poster in Training
73 posts since Jan 2010
Reputation Points: 21
Solved Threads: 7
 

thanks a lot RicardoE ^_^

kalcio
Light Poster
25 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 
hi, I want to make an application in java to visualize on graphic the network (the name and addresses of local servers of the company ... for example) using the tracert command, if any one can enlighten me that idea, because Internet is a wide world.


Suggest look at www.codimatech.com they are visulizing networks you may even want to contact the developers in that company as they have spent 10 years+ on your subject

cmattsson
Newbie Poster
1 post since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

thanks a lot cmattsson :D

kalcio
Light Poster
25 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You