File:  [Research Unix] / researchv10no / cmd / dag / edge_t.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

#include "draw_dag.h"
#include "dag.h"
#include "parsedag.h"
#include "defaults.h"

DAG_edge_t::DAG_edge_t() : () {
	color	=	Default_edge_color;
	ink		=	Default_edge_ink;
	pointsize	=	Default_edge_pointsize;
}

void DAG_edge_t::setlabel(int intype, char *invalue) {
	label.type 		= intype;
	label.value 	= invalue;
}

void DAG_edge_t::setcolor(char* incolor) {
	color			= incolor;
}

void DAG_edge_t::setweight(int inweight) {
	weight			= inweight;
}

void DAG_edge_t::setink(dag_ink_t inink) {
	ink				= inink;
}

void DAG_edge_t::setpointsize(int inpointsize) {
	pointsize = inpointsize;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.