This plug-in is simply for the demonstration purpose. It creates two menus in VisANT. When the menus are selected, a window pops up with "Hello VisANT Plugin". The following figure shows the impact of this plug-in on VisANT and corresponding functions:



Here is the step-step explanation of the plug-in:



The implementation of about function will add an additional about menu for this plug-in, as shown in the figure at the beginning of this tutorial.


Compiling: Download HelloWorld.java, and put it in the same directory as VisAnt.jar, open a does/shell window and go to the directory where there is VisAnt.jar. use following command to compile:


javac -classpath .;VisAnt.jar HelloWorld.java


Packaging the plug-in: if you do not have a sub-directory named "plugins" under your current directory, create it. Then run the following command to package (the name of the package is your choice, we use MMM.jar here):


jar -cf plugins\MMM.jar HelloWorld.class


this command will create MMM.jar under plugins directory, Running VisANT: VisANT can be started by double-mouse-clicking. If that does not work, run following command to start (always using following command to run VisANT if you need to debug your plug-in) :


java -classpath  VisAnt.jar VisAntApplet


The HelloWorld plug-in should be automatically loaded into VisANT and you will find the corresponding menu as shown in the beginning of this tutorial.


For questions/suggestions about this tutorials, please email VisANT@zlab.bu.edu.


Network randomization is used to determine the statistical significance of network patterns. We implemented randomization as a plug-in to test of our plug-in architecture. To distinguish the plug-in of this tutorial, we remove the package information and rename the menu My Randomization


Here is the step-step explanation of the plug-in:



Compiling: Download RandomizationPlugin, and put it in the same directory as VisAnt.jar, open a does/shell window and go to the directory where there is VisAnt.jar, use following command to compile:


javac -classpath .;VisAnt.jar RandomizationPlugin.java


Packaging the plug-in: if you do not have a sub-directory named "plugins" under current directory, create it. Then run following command to package (the name of the package is your choice, we use rand.jar here):


jar -cf plugins\rand.jar RandomizationPlugin.class


This command will create rand.jar under plugins directory,


Running VisANT: VisANT can be started by double-mouse-clicking. If that does not work, run following command to start (always using following command to run VisANT if you need to debug your plug-in) :


java -jar VisAnt.jar


The RandomizationPlugin should be automatically loaded into VisANT and you will find the corresponding menu under Plugins menu in VisANT.


For questions/suggestions about this tutorials, please email VisANT@zlab.bu.edu.