extern int graph_contains_xy(struct graph *p, int x, int y);
extern void graph_set_base_offset(struct graph *g, unsigned int base_offset);
extern int graph_contains_xy(struct graph *p, int x, int y);
extern void graph_set_base_offset(struct graph *g, unsigned int base_offset);