public function goToFunction() { $this->addMethod('repeat(__.in(' . $this->linksDown . ')).until(and(hasLabel("Function"), where(__.out("NAME").not(hasLabel("Void")) )))'); return $this; }