public static ReplacedStep from ( Topology topology ) { ReplacedStep replacedStep = new ReplacedStep <> ( ) ; replacedStep . step = null ; replacedStep . labels = new HashSet <> ( ) ; replacedStep . topology = topology ; replacedStep . fake = true ; return replacedStep ; }
Used for SqlgVertexStepStrategy . It is a fake ReplacedStep to simulate the incoming vertex from which the traversal continues .