implement conversion between fbp and collocation graph