Skip to content
Assertions for graphology.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE.txt
README.md
index.js
package.json
test.js

README.md

Build Status

Graphology Assertions

Assertions to be used with graphology.

Installation

npm install graphology-assertions

Usage

#.sameNodes

Returns whether two graphs have the same nodes.

import {sameNodes} from 'graphology-assertions';

sameNodes(G, H);

#.sameDeepNodes

Returns whether two graphs have the same nodes & whether those nodes have the same attributes.

import {sameDeepNodes} from 'graphology-assertions';

sameDeepNodes(G, H);
You can’t perform that action at this time.