__call()
__construct()
__toString()
create()
getName()
setName()
$attributes
$name
Class representing a node / element in a graph.
| category | phpDocumentor |
|---|---|
| package | GraphViz |
| author | Mike van Riel |
| copyright | 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) |
| license | MIT |
| link | http://phpdoc.org |
__call(string $name, \mixed[] $arguments) : \phpDocumentor_GraphViz_Attribute[] | \phpDocumentor_GraphViz_Node | null
Using this method we make sure that we support any attribute without too much hassle. If the name for this method does not start with get or set we return null.
Set methods return this graph (fluent interface) whilst get methods return the attribute value.
stringMethod name; either getX or setX is expected.
\mixed[]List of arguments; only 1 is expected for setX.
__construct(string $name, string | null $label)
stringName of the new node.
stringnullOptional label text.
__toString() : string
stringcreate(string $name, string | null $label) : \phpDocumentor_GraphViz_Node
See the examples for more details.
stringName of the new node.
stringnullOptional label text.
getName() : string
stringsetName(string $name) : \phpDocumentor_GraphViz_Node
Not to confuse with the label.
stringName for this node.
$name : string