Sugiyama's, after brief study, seems to be the algorithm you want—if not exactly, it's still damned close. At first glance, the problem seems rather difficult. I'm not ready to say NP-complete, but it ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果