|
|
1.1 root 1: #include "draw_dag.h"
2: #include "dag.h"
3: #include "parsedag.h"
4: #include "defaults.h"
5:
6: DAG_edge_t::DAG_edge_t() : () {
7: color = Default_edge_color;
8: ink = Default_edge_ink;
9: pointsize = Default_edge_pointsize;
10: }
11:
12: void DAG_edge_t::setlabel(int intype, char *invalue) {
13: label.type = intype;
14: label.value = invalue;
15: }
16:
17: void DAG_edge_t::setcolor(char* incolor) {
18: color = incolor;
19: }
20:
21: void DAG_edge_t::setweight(int inweight) {
22: weight = inweight;
23: }
24:
25: void DAG_edge_t::setink(dag_ink_t inink) {
26: ink = inink;
27: }
28:
29: void DAG_edge_t::setpointsize(int inpointsize) {
30: pointsize = inpointsize;
31: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.