Forgot the meat.
3 * This file is a part of LEMON, a generic C++ optimization library
5 * Copyright (C) 2003-2006
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
27 #include <lemon/list_graph.h>
28 #include <lemon/graph_reader.h>
29 #include <lemon/graph_writer.h>
30 #include <lemon/graph_utils.h>
31 #include <lemon/maps.h>
32 #include <lemon/error.h>
33 #include <lemon/dim2.h>
35 enum {E_WIDTH, E_COLOR, E_TEXT, EDGE_PROPERTY_NUM}; // edge properties;
36 enum {N_RADIUS, N_COLOR, N_TEXT, NODE_PROPERTY_NUM}; // node properties;
37 enum {N_MAPS, E_MAPS, ARROWS, PAR, EPS_PROPERTY_NUM}; // eps properties;
38 enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, MAP_EDIT, TOOL_NUM}; // tools;
41 #define WIN_HEIGHT 600
42 #define MIN_EDGE_WIDTH 2
43 #define MAX_EDGE_WIDTH 40
44 #define MIN_NODE_RADIUS 2
45 #define MAX_NODE_RADIUS 80
48 extern std::vector <std::string> edge_property_strings;
49 extern std::vector <double> edge_property_defaults;
50 extern std::vector <std::string> node_property_strings;
51 extern std::vector <double> node_property_defaults;
52 extern int longest_property_string_length;
55 using namespace lemon;
57 typedef lemon::dim2::Point<double> XY;
58 typedef ListGraph Graph;
59 typedef Graph::Node Node;
60 typedef Graph::Edge Edge;
61 typedef Graph::EdgeIt EdgeIt;
62 typedef Graph::InEdgeIt InEdgeIt;
63 typedef Graph::OutEdgeIt OutEdgeIt;
64 typedef Graph::NodeIt NodeIt;
66 const std::string prog_name = "LEMON Graph Editor";
68 #endif // ALL_INCLUDE_H