# Isomorphic

class
**Isomorphic**

Functions for comparing two graphs with each other

Based on rdf-isomorphic.rb by Ben Lavender: https://github.com/ruby-rdf/rdf-isomorphic

## Methods

Check if one graph is isomorphic (equal) to another graph

Returns an associative array of bnode identifiers representing an isomorphic bijection of one EasyRdf\Graph to another EasyRdf\Graph's blank nodes or null if a bijection cannot be found.

## Details

###
at line 64
```
static bool
```**isomorphic**(Graph $graphA, Graph $graphB)

**isomorphic**(Graph $graphA, Graph $graphB)

Check if one graph is isomorphic (equal) to another graph

For example: $graphA = EasyRdf\Graph::newAndLoad('http://example.com/a.ttl'); $graphB = EasyRdf\Graph::newAndLoad('http://example.com/b.ttl'); if (EasyRdf\Isomorphic::isomorphic($graphA, $graphB)) print "Equal!";

###
at line 79
```
static array|null
```**bijectionBetween**(Graph $graphA, Graph $graphB)

**bijectionBetween**(Graph $graphA, Graph $graphB)

Returns an associative array of bnode identifiers representing an isomorphic bijection of one EasyRdf\Graph to another EasyRdf\Graph's blank nodes or null if a bijection cannot be found.