<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>edit_graph</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="edit_graph"> graph and network graphical editor</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>num=edit_graph()  </CALLING_SEQUENCE_ITEM>
    <CALLING_SEQUENCE_ITEM>num=edit_graph(file_name [,zoom [,wsize]])</CALLING_SEQUENCE_ITEM>
    <CALLING_SEQUENCE_ITEM>num=edit_graph(G [,zoom [,wsize]])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>file_name</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: character string. The path of a &quot;graph&quot; file</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>G</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: a <VERB> graph-list</VERB>data structure</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>zoom</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real positive scalar. The zoom factor, its default value is 1.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>wsize</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real positive vector <VERB> [width height]</VERB>. The initial
  window dimensions, its default value is <VERB>[600,400]</VERB>.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>num</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: integer scalar. The associated window number
  window dimension.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
   This function starts a network graphical editor.   Each time <VERB>edit_graph</VERB> is
  executed, a new editor window  is created.  The editor capabilities
   and menus are described in <LINK>edit_graph_menus</LINK></P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
 ta=[1 1 2 2 2 3 4 5 5 7 8 8 9 10 10 10 11 12 13 13 13 14 15 16 16 17 17];
 he=[2 10 3 5 7 4 2 4 6 8 6 9 7 7 11 15 12 13 9 10 14 11 16 1 17 14 15];
 g=make_graph('foo',1,17,ta,he);
 g('node_x')=[283 163 63 57 164 164 273 271 339 384 504 513 439 623 631 757 642];
 g('node_y')=[59 133 223 318 227 319 221 324 432 141 209 319 428 443 187 151 301];
 edit_graph(g)

 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>netclose</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>show_graph</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>netwindow</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>edit_graph_menus</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
