DRAWGRAPH Draw a graph, given as a set of vertices and edges.

   drawGraph(NODES, EDGES) 
   Draws a graph specified by a set of nodes (array N-by-2 or N-by-3,
   corresponding to coordinate of each node), and a set of edges (an array
   NE-by-2, containing for each edge the first and the second node).
   Default drawing is a red circle for nodes and a blue line for edges.

   drawGraph(NODES, EDGES, FACES)
   Also draws faces of the graph as patches.

   drawGraph(GRAPH)
   Passes argument in a srtucture with at least 2 fields named 'nodes' and
   'edges', and possibly one field 'faces', corresponding to previously
   described parameters.
   GRAPH can also be a cell array, whose first element is node array,
   second element is edges array, and third element, if present, is faces
   array.


   drawGraph(..., SNODES)
   drawGraph(..., SNODES, SEDGES)
   drawGraph(..., SNODES, SEDGES, SFACES)
   Specifies the draw mode for each element, as in the classical 'plot'
   function. To not display some elements, uses 'none'.


   H = drawGraph(...) 
   Returns handle to the set of edges.
   
   [HN, HE] = drawGraph(...) 
   Returns handle to the set of nodes and to the set of edges.

   [HN, HE, HF] = drawGraph(...)   
   Also returns handle to the set of faces.
   
   See Also
   graphs, drawGraphEdges, fillGraphFaces, clipGraph, clipGraphPolygon

Package: matgeom