graph construction with Boost GBL