All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docs.javahelp.manual.common_tasks.using_popup_menus.html Maven / Gradle / Ivy

There is a newer version: 7.6.6
Show newest version



    
    Graph



Popup Menus

If you right click on any box in the session workbench (a Graph box, a Data box, etc.), a popup menu will be displayed with a number of options. The options are as follows.

  1. Create Model.
  2. Edit Model.
  3. Destroy Model.
  4. (Re)create Descendant Models.
  5. Rename Box.
  6. Clone Box.
  7. Delete Box.
  8. Set Repetitions for Simulation
  9. Run Simulation.
  10. Info for this Box.

Create Model.

"Create" does the same thing as double clicking on the Graph box the first time--if you have not yet created a graph. Otherwise it does nothing.

Edit Model.

"Edit" does the same thing as double clicking on the Graph box after you have already created a graph--it opens a graph editing window.

Destroy Model.

Removes the model that the box contains and lets you create another one from scratch. Any models downstream will be destroyed as well, since they depend on the model being destroyed.

(Re)create Descendant Models.

Allows you to quickly create (or recreate if they already exist) a model and all of the models downstream of it. This is helpful if you're just playing around with random models but can be frustrating if you accidentally overwrite models you're spent a long time creating. Therefore, a warning is displayed before any changes are made to make sure you really want to make the changes.

Rename Box.

This lets you rename the session box you right-clicked on. This is useful if you have a number of similar session boxes on the workbench and would like to keep track of which is which.

Clone Box.

Clones the box you've right-clicked on so you can edit the copy separately.

Delete Box.

Deletes the box you've right-clicked on, destroying its model and removing it from the session altogether. Cannot be undone.

Set Repetitions for Simulation

Sets the number of times a node is "executed" (i.e., destroyed and randomly recreated) in simulation. Each time a node is destroyed and recreated, all of the children of the node are executed as well.

Run Simulation.

Executes (i.e. destroys and recreates) the node right-clicked on. This starts a cascade of nodes being destroyed and recreated downstream. This can be useful if you'd like to know how well a particular search performs on graphs with 10 nodes in them, with 20 edges selected randomly, for instance.

Info for this Box.

Lets you choose which of the models for the box being right-clicked on you'd like help for, and which of the possible parent combinations of that box you're interested in.

Three things are important: 

1. The "Unoriented" and "Half-Oriented"  buttons are for creating theoretical graphical objects of various kinds. Do not use these buttons for ordinary modeling. Currently, none of the statistical procedures in the program work for graphs with such edges. 

2. If you create a model with a latent variable, if you later use the model to generate data, values for the latent variables will not be shown.

3. If you have introduced any boxes that depend on a Graph box, changing the graph will alter the contents of all boxes downstream in the flowchart from the Graph box. Often it is easier to simply create a new Graph box in the same main workspace window--there is no limit to how many graph or other boxes you can have at the same time.

The menu at the top of the Graph window has two options, "File" and "Edit".  "Edit" currently does nothing. "File" gives three options: You can save a graph in a file--but there is no point because we have not yet implemented a facility to paste the saved graph into a new window. You can introduce the ALARM network,  a fairly complex graph standardly used as a test for search algorithms, and you can save any graph you create as an image file that can be introduced into text documents, e.g., into Microsoft World.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy