public static function loadString(string $string): Graph
    {
        $loader = new FbpParser($string);
        $definition = $loader->run();

        return self::loadDefinition($definition);
    }
public static function loadString(string $string): Graph
    {
        $loader = new FbpParser($string);
        $definition = $loader->run();

        return self::loadDefinition($definition);
    }
public static function loadString ( string $ string ) : Graph { $ loader = new FbpParser ( $ string ) ; $ definition = $ loader -> run ( ) ; return self :: loadDefinition ( $ definition ) ; }
Load PhpFlo graph definition from string.

@param string $string FBP defnition string
@throws InvalidDefinitionException
@return Graph
Load PhpFlo graph definition from string .