From c9256e9a181721930440df5fa8ad28bcb6f34c61 Mon Sep 17 00:00:00 2001 From: Tim Dwyer Date: Mon, 13 Feb 2006 05:17:03 +0000 Subject: Make our own simple_point (bzr r128) --- src/graphlayout/graphlayout.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/graphlayout/graphlayout.cpp') 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) { -- cgit v1.2.3