You are here

public function EasyRdf_Serialiser_GraphViz::setDotCommand in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/GraphViz.php \EasyRdf_Serialiser_GraphViz::setDotCommand()

Set the path to the GraphViz 'dot' command

Default is to search PATH for the command 'dot'.

Parameters

string $cmd The path to the 'dot' command.:

Return value

object EasyRdf_Serialiser_GraphViz

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/GraphViz.php, line 73

Class

EasyRdf_Serialiser_GraphViz
Class to serialise an EasyRdf_Graph to GraphViz

Code

public function setDotCommand($cmd) {
  $this->dotCommand = $cmd;
  return $this;
}