PHP Class Clue\GraphComposer\Graph\GraphComposer

Show file Open project: clue/graph-composer Class Usage Examples

Public Methods

Method Description
__construct ( string $dir, Graphp\GraphViz\GraphViz $graphviz = null )
createGraph ( ) : Fhaculty\Graph\Graph
displayGraph ( )
getImagePath ( )
setFormat ( $format )

Private Methods

Method Description
setLayout ( Fhaculty\Graph\Attribute\AttributeAware $entity, array $layout )

Method Details

__construct() public method

public __construct ( string $dir, Graphp\GraphViz\GraphViz $graphviz = null )
$dir string
$graphviz Graphp\GraphViz\GraphViz

createGraph() public method

public createGraph ( ) : Fhaculty\Graph\Graph
return Fhaculty\Graph\Graph

displayGraph() public method

public displayGraph ( )

getImagePath() public method

public getImagePath ( )

setFormat() public method

public setFormat ( $format )