\begin{flushleft}
\begin{minipage}[t]{\textwidth}
\hrulefill

\vspace*{-5mm}

\begin{verbatim}
#include<fstream.h>
#include<LINK/graph/UBinGraph.h>
#include<LINK/graph/Attribute.h>

void main()
{
        UBinGraph g1;
        if (newAttribute((Graph*)&g1, "test_attr", 1.0) != LINK_OK)
                error("Attr.cc: error creating test_attr");
        g1.addVertices(2);
        Vertex** vertices = g1.vertexStart();
        setAttribute((GraphObject*)vertices[1], "test_attr", 8.0);
        ofstream fout;
        fout.open("g1.g", ios::out);
        g1.saveToFile(&fout);
        ifstream fin;
        fin.open("g1.g", ios::in);
        char ch;
        while (fin.get(ch))   cout.put(ch);
}
\end{verbatim}

\vspace*{-7mm}

\hrulefill

\vspace*{-5mm}

\begin{verbatim} 
27
AttributeElementOps<V*>::display
 { Graph UBinGraph 
 (
  graph_name("Graph0")
  name("")
  direction(0)
  width(1)
  size(10)
  weight(1.00000)
  x(0.500000)
  y(0.500000)
  color("black")
  label("")
  mark(0)
  type(0)
  starttime(0)
  finishtime(0)
  back(0)
  low(0)
  distance(0.00000)
  pred(0)
  open(1)
  test_attr(1.00000)
 )
 Vertices [
   0 ( name("0") )
   1 ( name("1") test_attr(8.00000) )
 ]
 Edges {
 }
 }
\end{verbatim}

\vspace*{-6mm}

\hrulefill
\end{minipage}
\end{flushleft}
