Last change
on this file since 1498:352b1ee13bc0 was
1485:3a1c6678fa23,
checked in by Hegyi Péter, 20 years ago
|
Erasing from graph would be possible, if erasing from graph would be possible... (Afternoon has become timewasting...)
|
File size:
867 bytes
|
Rev | Line | |
---|
[1442] | 1 | // -*- C++ -*- // |
---|
| 2 | |
---|
| 3 | #ifndef ALL_INCLUDE_H |
---|
| 4 | #define ALL_INCLUDE_H |
---|
| 5 | |
---|
| 6 | #include <fstream> |
---|
| 7 | #include <iostream> |
---|
| 8 | |
---|
| 9 | #include <vector> |
---|
| 10 | |
---|
| 11 | #include <lemon/list_graph.h> |
---|
| 12 | #include <lemon/graph_reader.h> |
---|
| 13 | #include <lemon/graph_writer.h> |
---|
| 14 | #include <lemon/graph_utils.h> |
---|
| 15 | #include <lemon/maps.h> |
---|
| 16 | #include <lemon/error.h> |
---|
| 17 | #include <lemon/xy.h> |
---|
| 18 | |
---|
[1468] | 19 | enum {WIDTH, COLOR, TEXT, PROPERTY_NUM}; // edge properties; |
---|
[1485] | 20 | enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, TOOL_NUM}; // tools; |
---|
[1442] | 21 | #define RANGE 3 |
---|
| 22 | #define WIN_WIDTH 900 |
---|
| 23 | #define WIN_HEIGHT 600 |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | #ifndef MAIN_PART |
---|
| 27 | extern std::string * property_strings; |
---|
| 28 | extern double * property_defaults; |
---|
| 29 | #endif //MAIN_PART |
---|
| 30 | |
---|
| 31 | using namespace lemon; |
---|
| 32 | |
---|
| 33 | typedef xy<double> Coordinates; |
---|
| 34 | typedef ListGraph Graph; |
---|
| 35 | typedef Graph::NodeMap<Coordinates> CoordinatesMap; |
---|
| 36 | typedef Graph::Node Node; |
---|
| 37 | typedef Graph::EdgeIt EdgeIt; |
---|
| 38 | typedef Graph::NodeIt NodeIt; |
---|
| 39 | |
---|
| 40 | #endif // ALL_INCLUDE_H |
---|
Note: See
TracBrowser
for help on using the repository browser.