next up previous contents
Next: Selecting nodes by type Up: Making Selections Previous: Selecting nodes by attribute

Selecting nodes by structure

 

Nodes can be selected based on their node type and the arc type, direction, and number of arcs incident to them.

To select nodes by matching on their incident arc structure in the active window:

  1. Choose By Structure ... from the Select menu.

    A Select by Structure dialog appears.

    tex2html_wrap5138

  2. Toggle on the desired set of node types from the Node types popup menu of the dialog.

    The any choice in the popup menu matches any node type.

  3. Toggle on the desired set of arc types from the Arc types popup menu of the dialog.

    The any choice in the popup menu matches any arc type.

    Since composite arcs may contain (elided) non-composite arcs of the specified arc type, the search may pass through these composite arcs to select the matching nodes. The composite arc type choice matches only composite arcs.

    tex2html_wrap_inline4844 Note: The arc type set must be non-empty.

  4. Select an arc direction from the Direction popup menu.

    The in choice specifies incoming, the out choice specifies outgoing, and the any choice specifies any direction.

  5. Enter an arc count in the Count: entry field.
  6. Select the type of arithmetic comparison to the arc count from the Comparison popup menu of the dialog.

    The five comparison operators are: lt (less than), le (less than or equal), eq (equal), ge (greater than or equal), and gt (greater than).

  7. Click Select to start the search.

    Nodes with the specified node types are selected if the count of the incident arcs of the specified arc type and direction match according to the comparison operator.

    A series of searches is possible; if you hold down the shift key while clicking Select, the matching nodes are added to the current selection (rather than replacing it).


next up previous contents
Next: Selecting nodes by type Up: Making Selections Previous: Selecting nodes by attribute

James Uhl
Wed Jul 10 14:13:22 PDT 1996