Composition
 

Homepage

Download
CVS
Interface
Composition
Simulation
Analysis
Example
Bugs
Support
Links
API (Javadoc)

Jarp on SourceForge

Place creation

To create a place, clic on the menu/button "Insert new place" Place creation tool icon and clic on the workspace. A new place will appear on the spot you clicked.

If you keep 'Shift' pressed, you can create several places at a time.

Changing the name of a place

Double clic on the name of the place with the selection tool Selection tool icon. A text box will appear. Type the new name and clic elsewhere to validate the change.

Changing the number of tokens for a place

Select the place with the selection tool Selection tool icon and:

To add tokens: Press "+" key;
To remove tokens: Press "-" key;

Transition creation

To create a transition, clic on the menu/button "Insert new transition" Transition creation tool icon and clic on the workspace. A new transition will appear on the spot you clicked.

If you keep 'Shift' pressed, you can create several transitions at a time.

Changing the name of a transition

Double clic on the name of the transition with the selection tool Selection tool icon. A text box will appear. Type the new name and clic elsewhere to validate the change.

Arc creation

To create an arc, you need first to select the originating component (place/transition) with  the selection tool Selection tool icon. When selected, net components look like the figures below:

Selected place Selected place    Selected transition Selected transition

When selected, net components display blue handles. Those handles are the connectors of each component. You can drag and drop arcs from and to them. When you move the mouse cursor over a connector, the mouse cursor takes the shape of a hand, to indicate the possibility of linking components.

To drag an arc means pressing the mouse button on the blue handle and dragging it outside the component. To drop an arc means releasing the arc inside another component. The following picture represents a drag and drop:

Drag and drop creation of an arc Drag and drop creation of an arc

Changing the weight of an arc

Select the arc with the selection tool Selection tool icon and:

To increase the weight: Press "+" key;
To reduce the weight: Press "-" key;

Add "nodes" in an arc

Select the arc with the selection tool Selection tool icon and double clic in the location on the arc where you want to create the new node. If you double clic on an existing node, it's removed. You may have to reselect the arc to activate the change - see the known bugs.

Once activated, nodes can be dragged anywhere, by dragging the white handles. See an example of an arc with nodes below::

Arc with nodes Arc with nodes    Same arc, selected Same arc, selected

http://jarp.sourceforge.net

06/12/2001 08:23:50 -0300