Goethe Center for Scientific Computing (G-CSC)

Goethe University Frankfurt

Personal tools

ConnectionViewer

ConnectionViewer 3.32

Screenshot of Java ConnectionViewer 1.1
 JConnectionViewer 3.0 screenshot

 

ConnectionViewer sources now also on GitHub .

 

Mac OS: [ ConnectionViewer 3.3x Mac Bundle ]  (notes on [ damaged files ])

All OS & VRL Plugin: [ ConnectionViewer 3.3x ]

 for using the VRL Plugin, copy file to VRL-Studio/bin/custom-lib/

Here's also a MIME file for mat/pmat/vec/pvec files: [ ConnectionViewer MIME file ] . You can copy that to ~/.local/share/mime/packages and then doing a update-mime-database of that dir when using GNOME. As exec command you'd enter java -jar <enterPathHere>/ConnectionViewer.jar  %f .

Comments/Suggestions? martin.rupp@gcsc.uni-frankfurt.de

LICENSE

Copyright (c) 2011-2014, Martin Rupp, University Frankfurt
All rights reserved.

THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY FRANKFURT ''AS IS'' AND ANY

EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY FRANKFURT BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

For PDF output, ConnectionViewer contains [ VectorGraphics2D ] by Erich Seifert licenced under the LGPL.

 

You may download ConnectionViewer for free for non-commercial use.

Version Changes: See [ Connection Viewer Versions ]

 

ConnectionViewer uses a very easy ASCII file format for Coordinates, Matrices and Vectors, which is implementable in every programming language in a couple of minutes, a description is here:

mat File Format Description ]

 

Here's also a sample gallery : [ samples ]

 

Some documentation:

Connections: Turning this on/off will display / not display the connections between nodes in the window. sometimes displaying a lot of connections can be slow.

Connections   as arrows: will display the connections as arrows. slower, but sometimes more clear than the normal way (since these are "directed")

Diffusion: Will color the connections depending on the ruge/stueben strength of connection. i.e. you can see anisotropic diffusion in one direction.

Convection: Will show an arrow pointing into the direction of "algebraic convection". That is: if you have a connection -1.9 to left, +2 to mid, and -0.1 to right, convection is to headed to the left.

Parallel Nodes: enabling this will color each file from a pmat file differently.

re-move: when using pmat files, you can move the nodes of one processor by holding shift, clicking the mouse and move it around. re-move will move all nodes in the original position.

Clip… : Will open up a window so you can clip some axes (X, Y, Z clipping). Useful especially in 3d.

Export…: Export the current view to PDF or tex (as tikzpicture). See galery.

reopen: Reopen the current file. Automatic reload: automatic reload if file changes.

Arrow Size, Font Size: Change arrow/font size.

all nodes / N1 / N2 …: display all nodes or neighborhood 1 / 2 / 3 etc. of the currently selected node(s). useful in 3d.

all comp: show different components. 

recenter: recenter the loaded file.

Search node: enter a node you want to see. This node is selected then. Use 2.234 to select node 234 from parallel file 2. Use to selection to zoom to the selected node.

 

Command Line Export:

You can script your export from command line now. Example:

 java -cp ConnectionViewer.jar connectionviewer.ConnectionViewer Stiffness.mat -scaleZoom 0.99 -height 700 -width 950 -drawConvection 1 -drawConnections 1 -exportPDF myfile.pdf -quit

options are (D double, i integer, B 0 or 1)

-width i -height i -arrowSize i -fontsize i -zcompression i 

 -scaleZoom D

-arrowConnections B -automaticReload B -drawConnections B -drawConvection B -drawDiffusion B -showParallelNodes B

 -exportPDF filename.pdf

 -exportTex filename.tex

 -quit (quit after exporting)