\GraphDS\PersistenceImportGraph

Class defining the graph importer methods.

Summary

Methods
Properties
Constants
__construct()
fromGraphML()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Constructor for the graph importer.

fromGraphML()

fromGraphML(string  $file) : \GraphDS\Graph\Graph

Returns GraphDS graph represented by GraphML.

Parameters

string $file

File containing the GraphML markup

Returns

\GraphDS\Graph\Graph

The graph reconstructed from the GraphML