PHPackages                             edno/graphyed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. edno/graphyed

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

edno/graphyed
=============

Extension of the GraphML library for supporting yEd GraphML files

0.2.1(7y ago)322111MITPHPPHP &gt;=7.1

Since Apr 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/edno/graphyed)[ Packagist](https://packagist.org/packages/edno/graphyed)[ Docs](https://github.com/edno/graphyed)[ RSS](/packages/edno-graphyed/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (1)

edno/graphyed
=============

[](#ednographyed)

[![Packagist](https://camo.githubusercontent.com/134694aec760f8b3a9e79a758a9f5faf3b743fa16e4657e312fb594b4ba4ebe1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65646e6f2f67726170687965642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edno/graphyed)[![Latest Version](https://camo.githubusercontent.com/82c5ed739ebe1a960fa126822298755e61d524ecd25ce4be3a17c40698dd10c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65646e6f2f67726170687965642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edno/graphyed)[![Build Status](https://camo.githubusercontent.com/0a2ea85735f00663ef4c4599788d53b23798200c333f85870b3a4588e6aac1c5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f65646e6f2f67726170687965642e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/edno/graphyed)[![Coverage Status](https://camo.githubusercontent.com/a2869a9a5567d9c0432960d5542b7ab69fe85a7883bab70f4b313a6e2e0adec9/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f65646e6f2f67726170687965642e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/edno/graphyed?branch=master)[![GitHub license](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://raw.githubusercontent.com/edno/graphyed/master/LICENSE)[![FOSSA Status](https://camo.githubusercontent.com/02184345d196c8e383e0d1e296fa623db3d2cb25f135bb3e08cff44725261fb3/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d25324665646e6f25324667726170687965642e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fedno%2Fgraphyed?ref=badge_shield)

GraphYEd extends [graphp/graphml](https://github.com/graphp/graphml) for supporting [yEd](https://www.yworks.com/products/yed) file format for [GraphML](http://graphml.graphdrawing.org/).

It provides access to the vertices (or nodes) and edges labels :

- `$vertex->getAttribute('labels')`
- `$edge->getAttribute('labels')`

> Please refer to [GraPHP](https://github.com/graphp/graph) library for more details on how to manipulate graphs.

Installation
------------

[](#installation)

The recommended way to install this library is through [Composer](http://getcomposer.org).

```
$ composer require edno/graphyed
```

Usage
-----

[](#usage)

The method `getAttribute('labels')` will return an **array of type string**.

```
