Moved graph FDL code here