Skip to content

Commit 6c58fd4

Browse files
committed
Use TrivialGraphFormat (TGF) as default exporter
1 parent 015849b commit 6c58fd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Fhaculty/Graph/Graph.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Fhaculty\Graph;
44

55
use Fhaculty\Graph\Exporter\ExporterInterface;
6-
use Fhaculty\Graph\Exporter\Dot;
6+
use Fhaculty\Graph\Exporter\TrivialGraphFormat;
77
use Fhaculty\Graph\Exception\BadMethodCallException;
88
use Fhaculty\Graph\Exception\UnexpectedValueException;
99
use Fhaculty\Graph\Exception\InvalidArgumentException;
@@ -476,14 +476,14 @@ public function setExporter(ExporterInterface $exporter)
476476
* get current exporter to use to export graph to its output format
477477
*
478478
* If no other exporter has been set previously, this will lazy-load
479-
* the (current default) Dot exporter.
479+
* the (current default) TrivialGraphFormat exporter.
480480
*
481481
* @return ExporterInterface
482482
*/
483483
public function getExporter()
484484
{
485485
if ($this->exporter === null) {
486-
$this->exporter = new Dot();
486+
$this->exporter = new TrivialGraphFormat();
487487
}
488488
return $this->exporter;
489489
}

0 commit comments

Comments
 (0)