From 5316077e5a7e96dec7b6e5a7982e351c04f3cddc Mon Sep 17 00:00:00 2001 From: tgdwyer Date: Mon, 13 Feb 2006 05:17:03 +0000 Subject: [PATCH] Make our own simple_point --- src/graphlayout/graphlayout.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/graphlayout/graphlayout.cpp b/src/graphlayout/graphlayout.cpp index 7ece03600..e6b0173f8 100644 --- a/src/graphlayout/graphlayout.cpp +++ b/src/graphlayout/graphlayout.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +//#include #include #include #include @@ -31,12 +31,17 @@ #include using namespace boost; + +struct simple_point { + double x; + double y; +}; // create a typedef for the Graph type typedef adjacency_list > Graph; typedef property_map::type WeightMap; typedef graph_traits::vertex_descriptor Vertex; -typedef std::vector > PositionVec; +typedef std::vector PositionVec; typedef iterator_property_map::type> PositionMap; bool isConnector(SPItem *i) { -- 2.30.2