doc/migration.dox
changeset 388 0a3ec097a76c
parent 314 2cc60866a0c9
child 440 88ed40ad0d4f
equal deleted inserted replaced
4:f93d8ab2cc94 5:03c80d11d2cc
    23 
    23 
    24 This guide gives an in depth description on what has changed compared
    24 This guide gives an in depth description on what has changed compared
    25 to the 0.x release series.
    25 to the 0.x release series.
    26 
    26 
    27 Many of these changes adjusted automatically by the
    27 Many of these changes adjusted automatically by the
    28 <tt>script/lemon-0.x-to-1.x.sh</tt> tool. Those requiring manual
    28 <tt>lemon-0.x-to-1.x.sh</tt> tool. Those requiring manual
    29 update are typeset <b>boldface</b>.
    29 update are typeset <b>boldface</b>.
    30 
    30 
    31 \section migration-graph Graph Related Name Changes
    31 \section migration-graph Graph Related Name Changes
    32 
    32 
    33 - \ref concepts::Digraph "Directed graphs" are called \c Digraph and
    33 - \ref concepts::Digraph "Directed graphs" are called \c Digraph and
    51   must be done by hand.</b>
    51   must be done by hand.</b>
    52   \n Of course, you can still use <tt>source()</tt> and <tt>target()</tt>
    52   \n Of course, you can still use <tt>source()</tt> and <tt>target()</tt>
    53   for <tt>Arc</tt>s (directed edges).
    53   for <tt>Arc</tt>s (directed edges).
    54 
    54 
    55 \warning
    55 \warning
    56 <b>The <tt>script/lemon-0.x-to-1.x.sh</tt> tool replaces all instances of
    56 <b>The <tt>lemon-0.x-to-1.x.sh</tt> script replaces the words \c graph,
    57 the words \c graph, \c digraph, \c edge and \c arc, so it replaces them
    57 \c ugraph, \c edge and \c uedge in your own identifiers and in
    58 in strings, comments etc. as well as in all identifiers.</b>
    58 strings, comments etc. as well as in all LEMON specific identifiers.
       
    59 So use the script carefully and make a backup copy of your source files
       
    60 before applying the script to them.</b>
    59 
    61 
    60 \section migration-lgf LGF tools
    62 \section migration-lgf LGF tools
    61  - The \ref lgf-format "LGF file format" has changed,
    63  - The \ref lgf-format "LGF file format" has changed,
    62    <tt>\@nodeset</tt> has changed to <tt>\@nodes</tt>,
    64    <tt>\@nodeset</tt> has changed to <tt>\@nodes</tt>,
    63    <tt>\@edgeset</tt> and <tt>\@uedgeset</tt> to <tt>\@arcs</tt> or
    65    <tt>\@edgeset</tt> and <tt>\@uedgeset</tt> to <tt>\@arcs</tt> or