author | ladanyi |
Tue, 14 Jun 2005 23:21:31 +0000 | |
changeset 1491 | 340514805e40 |
parent 1468 | d0ccb2fdeeff |
child 1501 | 39d59aee2a1a |
permissions | -rw-r--r-- |
ladanyi@1442 | 1 |
// -*- C++ -*- // |
ladanyi@1442 | 2 |
|
ladanyi@1442 | 3 |
#ifndef ALL_INCLUDE_H |
ladanyi@1442 | 4 |
#define ALL_INCLUDE_H |
ladanyi@1442 | 5 |
|
ladanyi@1442 | 6 |
#include <fstream> |
ladanyi@1442 | 7 |
#include <iostream> |
ladanyi@1442 | 8 |
|
ladanyi@1442 | 9 |
#include <vector> |
ladanyi@1442 | 10 |
|
ladanyi@1442 | 11 |
#include <lemon/list_graph.h> |
ladanyi@1442 | 12 |
#include <lemon/graph_reader.h> |
ladanyi@1442 | 13 |
#include <lemon/graph_writer.h> |
ladanyi@1442 | 14 |
#include <lemon/graph_utils.h> |
ladanyi@1442 | 15 |
#include <lemon/maps.h> |
ladanyi@1442 | 16 |
#include <lemon/error.h> |
ladanyi@1442 | 17 |
#include <lemon/xy.h> |
ladanyi@1442 | 18 |
|
hegyi@1468 | 19 |
enum {WIDTH, COLOR, TEXT, PROPERTY_NUM}; // edge properties; |
hegyi@1485 | 20 |
enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, TOOL_NUM}; // tools; |
ladanyi@1442 | 21 |
#define RANGE 3 |
ladanyi@1442 | 22 |
#define WIN_WIDTH 900 |
ladanyi@1442 | 23 |
#define WIN_HEIGHT 600 |
ladanyi@1442 | 24 |
|
ladanyi@1442 | 25 |
|
ladanyi@1442 | 26 |
#ifndef MAIN_PART |
ladanyi@1442 | 27 |
extern std::string * property_strings; |
ladanyi@1442 | 28 |
extern double * property_defaults; |
ladanyi@1442 | 29 |
#endif //MAIN_PART |
ladanyi@1442 | 30 |
|
ladanyi@1442 | 31 |
using namespace lemon; |
ladanyi@1442 | 32 |
|
ladanyi@1442 | 33 |
typedef xy<double> Coordinates; |
ladanyi@1442 | 34 |
typedef ListGraph Graph; |
ladanyi@1442 | 35 |
typedef Graph::NodeMap<Coordinates> CoordinatesMap; |
ladanyi@1442 | 36 |
typedef Graph::Node Node; |
ladanyi@1442 | 37 |
typedef Graph::EdgeIt EdgeIt; |
ladanyi@1442 | 38 |
typedef Graph::NodeIt NodeIt; |
ladanyi@1442 | 39 |
|
ladanyi@1442 | 40 |
#endif // ALL_INCLUDE_H |