Overview

Namespaces

  • Chippyash
    • Math
      • Matrix
        • Attribute
        • Computation
          • Add
          • Div
          • Mul
          • Sub
        • Decomposition
        • Derivative
          • Strategy
            • Determinant
        • Exceptions
        • Formatter
          • DirectedGraph
        • Interfaces
        • Special
        • Traits
        • Transformation
          • Strategy
            • Invert

Classes

  • VertexDescription
  • Overview
  • Namespace
  • Class
  • Tree

Class VertexDescription

Describes a vertex in the diGraph produced by the DirectedGraph formatter

Namespace: Chippyash\Math\Matrix\Formatter\DirectedGraph
See: http://www.graphviz.org/content/attrs N class attributes
Located at Formatter/DirectedGraph/VertexDescription.php
Methods summary
public
# __construct( chippyash\Type\String\StringType $name )
public
# set( chippyash\Type\String\StringType $attr, chippyash\Type\Interfaces\TypeInterface $value )

Set a graphviz attribute for this vertex

Set a graphviz attribute for this vertex

Parameters

$attr
$value

Returns


$this

Throws

InvalidArgumentException
public boolean
# has( chippyash\Type\String\StringType $attr )

Does this description have an attribute?

Does this description have an attribute?

Parameters

$attr

Returns

boolean
public mixed
# get( chippyash\Type\String\StringType $attr )

Get a description attribute

Get a description attribute

Parameters

$attr

Returns

mixed

Throws

InvalidArgumentException
public array
# getAttributes( )

Return attributes as an array Key names will have 'graphviz.' prepended

Return attributes as an array Key names will have 'graphviz.' prepended

Returns

array
[name=>value, ...]
public string
# getName( )

Return vertex name

Return vertex name

Returns

string
Chippyash Math Matrix API documentation generated by ApiGen