public bool bidirectional ;

描述

如果为 true,则可以从两个方向遍历链接,否则只能按照从起点到终点位置的方向遍历链接。