abandon sql calc in and out degree, loop better
bug setting flowdata...