samples

MuLaViTo Demonstrators

The MuLaViTo source code contains some samples to demonstrate its features. All demos can be found within package mulavito.samples.

The easiest way to run a demo is

  1. Download and unpack MuLaViTo-src.zip
  2. Run ant
  3. Run, e.g.,

    • on Linux (separated by colon)
java -cp MuLaViTo.jar:JUNG2.jar:Batik.jar mulavito.samples.PaneledGuiDemo
* or on Windows (separated by semicolon)
java -cp MuLaViTo.jar;JUNG2.jar;Batik.jar mulavito.samples.PaneledGuiDemo

Multi-Layer Graph Panel Demo

  • When pressing "New Graph", this demo shows a multi-layer graph with 45 layers.
  • All graphs will be auto-zoomed whenever the window is resized.
  • Zoom the graphs by holding CTRL and using the mouse wheel
    • in synchronized mode, all graphs of the multi-layer graph is zoomed
    • in unsynchronized mode, only the graph under the mouse cursor is zoomed

Paneled GUI Demo

This demo shows how an application on top of MuLaViTo could look like. In fact, this is how MuLaNEO designed. In the middle, there is the GraphPanel, as in the GraphPanelDemo. On the bottom, there is the FloatingTabbedPane which allows to dock/undock FloatablePanels. On the right is a JFloatingTabbedPane which can contain e.g. MuLaViTo's SelectionPanel.

Progress Bar Demo

This demo illustrated the flexibility of IAlgorithm and AbstractAlgorithmStatus. It contains a sample algorithm implementing the IAlgorithm interface including three status. When clicking on "Run algorithm", the algorithm is run in a separate thread and shows the updates of the algorithm's status.

k-Shortest and Disjoint Paths Algorithms Demo

This demo allows to create different random single-layer graphs and run k-shortest path algorithms (Eppstein, Yen) as well as disjoint paths algorithms (Suurballe-Tarjan) on it.

Search Bar Demo

This demo shows an example for the QuickSearchBar which can be used to find elements using regular expressions. In this demo, a JList is filtered when entering test in the search field.


Monday.com Logo