C language code to illustrate graphs and map their paths into an OLAP cube, useful to analyze cost models