If default value of a new map is constant, the newly created elements will get that value as well. Documentation is added to BrokenEdge, MapStorage and GraphDisplazCanvas classes.
1 #include "gui_writer.h"
3 #include "mapstorage.h"
7 std::string GuiWriter::header()
12 void GuiWriter::write(std::ostream& os)
15 std::map<int, xy<double> > m;
16 for (EdgeIt e(mapstorage->graph); e != INVALID; ++e)
18 int edgeid = (int)(*(mapstorage->edgemap_storage["id"]))[e];
19 m[edgeid] = mapstorage->arrow_pos[e];
24 GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms)