class EasyRdf_Serialiser_GraphViz

Class to serialise an EasyRdf_Graph to GraphViz

Depends upon the GraphViz 'dot' command line tools to render images.

See http://www.graphviz.org/ for more information.

@package EasyRdf @copyright Copyright (c) 2012 Nicholas J Humfrey @license http://www.opensource.org/licenses/bsd-license.php

Hierarchy

Expanded class hierarchy of EasyRdf_Serialiser_GraphViz

1 string reference to 'EasyRdf_Serialiser_GraphViz'

File

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

View source

Members

Namesort descending Modifiers Type Description Overrides
EasyRdf_Serialiser::$prefixes protected property
EasyRdf_Serialiser::addPrefix protected function Keep track of the prefixes used while serialising @ignore
EasyRdf_Serialiser::checkSerialiseParams protected function Check and cleanup parameters passed to serialise() method @ignore
EasyRdf_Serialiser::reversePropertyCount protected function Protected method to get the number of reverse properties for a resource If a resource only has a single property, the number of values for that property is returned instead. @ignore
EasyRdf_Serialiser_GraphViz::$attributes private property
EasyRdf_Serialiser_GraphViz::$dotCommand private property
EasyRdf_Serialiser_GraphViz::$onlyLabelled private property
EasyRdf_Serialiser_GraphViz::$useLabels private property
EasyRdf_Serialiser_GraphViz::escape protected function Internal function to escape a string into DOT safe syntax
EasyRdf_Serialiser_GraphViz::escapeAttributes protected function Internal function to escape an associate array of attributes and turns it into a DOT notation string
EasyRdf_Serialiser_GraphViz::getAttribute public function Get an attribute of the GraphViz graph
EasyRdf_Serialiser_GraphViz::getDotCommand public function Get the path to the GraphViz 'dot' command
EasyRdf_Serialiser_GraphViz::getOnlyLabelled public function Get the state of the only Only Labelled option
EasyRdf_Serialiser_GraphViz::getUseLabels public function Get the state of the use labels option
EasyRdf_Serialiser_GraphViz::nodeName protected function Convert an EasyRdf object into a GraphViz node identifier
EasyRdf_Serialiser_GraphViz::renderImage public function Internal function to render a graph into an image
EasyRdf_Serialiser_GraphViz::serialise public function Serialise an EasyRdf_Graph into a GraphViz dot document. Overrides EasyRdf_Serialiser::serialise
EasyRdf_Serialiser_GraphViz::serialiseDot protected function Internal function to serialise an EasyRdf_Graph into a DOT formatted string
EasyRdf_Serialiser_GraphViz::serialiseRow protected function Internal function to create dot syntax line for either a node or an edge
EasyRdf_Serialiser_GraphViz::setAttribute public function Set an attribute on the GraphViz graph
EasyRdf_Serialiser_GraphViz::setDotCommand public function Set the path to the GraphViz 'dot' command
EasyRdf_Serialiser_GraphViz::setOnlyLabelled public function Turn on/off the option to only display nodes and edges with labels
EasyRdf_Serialiser_GraphViz::setUseLabels public function Turn on/off the option to display labels instead of URIs.
EasyRdf_Serialiser_GraphViz::__construct public function Constructor