# \GraphDS\GraphGraph

Class defining a generic, extendable graph object.

## Summary

Methods
Properties
Constants
__construct()
getVertexCount()
getEdgeCount()
$vertices
$edges
$directed
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

File
  Graph/Graph.php
Package
  Default
Class hierarchy
  \GraphDS\Graph\Graph

## Tags

None found

## Properties

### $vertices

    $vertices : array

An array holding all vertices of the graph.

#### Type

array

#

## Tags

None found

### $edges

    $edges : array

An array holding all edges of the graph.

#### Type

array

#

## Tags

None found

### $directed

    $directed : boolean

Defines whether the graph is directed or not.

#### Type

boolean

#

## Tags

None found

## Methods

### __construct()

    __construct()

Constructor for general Graph object.

#

Inherited from
  \GraphDS\Graph\Graph

## Tags

None found

### getVertexCount()

    getVertexCount() : integer

Returns the number of vertices in the graph.

#### Returns

integer —

Number of vertices in the graph

#

Inherited from
  \GraphDS\Graph\Graph

## Tags

None found

### getEdgeCount()

    getEdgeCount() : integer

Returns the number of edges in the graph.

#### Returns

integer —

Number of edges in the graph

#

Inherited from
  \GraphDS\Graph\Graph

## Tags

None found

### Graph.php