You are here

public function EasyRdf_Serialiser_GraphViz::setOnlyLabelled in Zircon Profile 8.0

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

Turn on/off the option to only display nodes and edges with labels

When this option is turned on, then only nodes (resources and literals) and edges (properties) will only be displayed if they have a label. You can use this option, to create concise, diagrams of your data, rather than the RDF.

This option is turned off by default.

Parameters

bool $onlyLabelled A boolean value to enable/display only labelled items:

Return value

object EasyRdf_Serialiser_GraphViz

File

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

Class

EasyRdf_Serialiser_GraphViz
Class to serialise an EasyRdf_Graph to GraphViz

Code

public function setOnlyLabelled($onlyLabelled) {
  $this->onlyLabelled = $onlyLabelled;
  return $this;
}