Properties
$nodeCache Line 36
private$nodeCache : array<string,?\phpDocumentor\GraphViz\Node>
$namespaceCache Line 39
private$namespaceCache : \phpDocumentor\GraphViz\Graph[]
Methods
create() Line 44
Creates a class inheritance diagram.
publiccreate(ProjectDescriptor $project, string $filename) : void
buildNamespaceTree() Line 212
Builds a tree of namespace subgraphs with their classes associated.
protectedbuildNamespaceTree(Graph $graph, NamespaceInterface $namespace) : void
checkIfGraphVizIsInstalled() Line 120
Checks whether GraphViz is installed and throws an Exception otherwise.
privatecheckIfGraphVizIsInstalled() : void
Throws
- \RuntimeException
If graphviz is not found.
createEdge() Line 137
Creates a GraphViz Edge between two nodes.
privatecreateEdge(string $fromName, string|ClassDescriptor|InterfaceDescriptor|TraitDescriptor $to) : Edge|null