demo/reader_writer_demo.cc
changeset 1573 b76a0af36f44
parent 1530 d99c3c84f797
child 1583 2b329fd595ef
equal deleted inserted replaced
1:334d97e67403 2:5d1f8cfdcbb8
    22       std::endl;
    22       std::endl;
    23 
    23 
    24 
    24 
    25     GraphWriter<SmartGraph> writer(std::cout, graph);
    25     GraphWriter<SmartGraph> writer(std::cout, graph);
    26     writer.writeEdgeMap("multiplicity", cap);
    26     writer.writeEdgeMap("multiplicity", cap);
    27 //     writer.writeNode("source", s);
       
    28 //     writer.writeNode("target", t);
       
    29     writer.run();
    27     writer.run();
    30      
    28      
    31   } catch (DataFormatError& error) {
    29   } catch (DataFormatError& error) {
    32     std::cerr << error.what() << std::endl;
    30     std::cerr << error.what() << std::endl;
    33   }
    31   }