COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
06/15/05 15:05:09 (14 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1978
Message:

Broken edges are appearing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.cc

    r1496 r1497  
    11#include <graph_displayer_canvas.h>
     2#include <broken_edge.h>
    23#include <math.h>
    34
     
    2324    coos.push_back(Gnome::Art::Point(cm[g.target(i)].x,cm[g.target(i)].y));
    2425   
    25     edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);
     26    //edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);
     27    edgesmap[i]=new BrokenEdge(displayed_graph, coos);
    2628    *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green");
    2729    edgesmap[i]->property_width_pixels().set_value(10);   
Note: See TracChangeset for help on using the changeset viewer.