GRAPH

## Name

graph — Used to query and manipulate properties of the graph that corresponds to the currently opened .g database.

## Synopsis

`graph` [show] [positions]

## DESCRIPTION

Used to query and manipulate properties of the graph that corresponds to the currently opened .g database. The "show" subcommand displays a list of names and types of the objects from the database along with the positions within the graph of their corresponding nodes and their connection edges. The "positions" subcommand displays for each object in the geometric database its name, type, and node and positions within the graph.

## EXAMPLES

The examples demonstrate the use of the graph command and subcommands to access information about the representation of the objects of a database.

Example 1. Displays a list with the name and type of the objects along with the nodes' and edges' positions.

`mged>``graph show`

  Displays a list with the name and type of the objects along with the nodes' and edges' positions.

Example 2. Lists the names, types, positions of the corresponding nodes within the graph for the objects in the .g database.

`mged>``graph positions`

  Lists the names, types, positions of the corresponding nodes within the graph for the objects in the currently opened .g database.

## AUTHOR

BRL-CAD Team

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to `<devs@brlcad.org>`