public function 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

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/GraphViz.php, line 134

Class

EasyRdf_Serialiser_GraphViz
Class to serialise an EasyRdf_Graph to GraphViz

Code

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