Skip to content

Commit 5cc4466

Browse files
committed
Prepare v0.2.2 release
1 parent d80a356 commit 5cc4466

File tree

3 files changed

+45
-19
lines changed

3 files changed

+45
-19
lines changed

CHANGELOG.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
1-
# CHANGELOG
1+
# Changelog
22

3-
This file is a manually maintained list of changes for each release. Feel free
4-
to add your changes here when sending pull requests. Also send corrections if
5-
you spot any mistakes.
3+
## 0.2.2 (2019-10-04)
4+
5+
* Feature: Omit root graph name unless explicitly assigned via `graphviz.name` attribute.
6+
(#28 by @rhelms and @clue)
7+
8+
```php
9+
$graph = new Graph();
10+
$graph->setAttribute('graphviz.name', 'g');
11+
```
12+
13+
* Feature: Remove unneeded dependency on `graphp/algorithms`.
14+
(#39 by @clue)
15+
16+
* Feature / Fix: Use UTF-8 encoding (Unicode) by default and respect charset attribute.
17+
(#27 by @Ithilias and @clue)
18+
19+
* Fix: Fix representing directed loop edges as directed edge
20+
(#37 by @clue)
21+
22+
* Add examples and documentation for GraphViz attributes, labels and record shapes.
23+
(#26 by @clue)
24+
25+
* Update test suite to support PHPUnit 6 and PHPUnit 5 and support running on legacy PHP 5.3 through PHP 7.2 and HHVM.
26+
(#24 by @clue)
627

728
## 0.2.1 (2015-03-08)
829

README.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# graphp/graphviz [![Build Status](https://travis-ci.org/graphp/graphviz.svg?branch=master)](https://travis-ci.org/graphp/graphviz)
22

3-
GraphViz graph drawing for mathematical graph/network
3+
GraphViz graph drawing for the mathematical graph/network library GraPHP.
44

55
The library supports visualizing graph images, including them into webpages,
66
opening up images from within CLI applications and exporting them
@@ -379,26 +379,31 @@ See also the [examples](examples/).
379379

380380
## Install
381381

382-
The recommended way to install this library is [through composer](http://getcomposer.org). [New to composer?](http://getcomposer.org/doc/00-intro.md)
382+
The recommended way to install this library is [through Composer](https://getcomposer.org).
383+
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
383384

384-
```JSON
385-
{
386-
"require": {
387-
"graphp/graphviz": "~0.2.0"
388-
}
389-
}
385+
This will install the latest supported version:
386+
387+
```bash
388+
$ composer require graphp/graphviz:^0.2.2
390389
```
391390

391+
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
392+
392393
This project aims to run on any platform and thus does not require any PHP
393394
extensions and supports running on legacy PHP 5.3 through current PHP 7+ and
394395
HHVM.
395396
It's *highly recommended to use PHP 7+* for this project.
396397

397-
In order to be able to use the [graph drawing feature](#graph-drawing) you'll have to
398-
install GraphViz (`dot` executable). Users of Debian/Ubuntu-based distributions may simply
399-
invoke `sudo apt-get install graphviz`, Windows users have to
400-
[download GraphViZ for Windows](http://www.graphviz.org/Download_windows.php) and remaining
401-
users should install from [GraphViz homepage](http://www.graphviz.org/Download.php).
398+
The graph drawing feature is powered by the excellent [GraphViz](https://www.graphviz.org)
399+
software. This means you'll have to install GraphViz (`dot` executable).
400+
The [Graphviz homepage](https://www.graphviz.org/download/) includes complete
401+
installation instructions for most common platforms, users of Debian/Ubuntu-based
402+
distributions may simply invoke:
403+
404+
```bash
405+
$ sudo apt install graphviz
406+
```
402407

403408
## Tests
404409

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "graphp/graphviz",
33
"type": "library",
4-
"description": "GraphViz graph drawing for mathematical graph/network",
5-
"keywords": ["GraphViz", "graph drawing", "graph image", "dot output"],
4+
"description": "GraphViz graph drawing for the mathematical graph/network library GraPHP.",
5+
"keywords": ["GraphViz", "graph drawing", "graph image", "dot output", "GraPHP"],
66
"homepage": "https://github.com/graphp/graphviz",
77
"license": "MIT",
88
"autoload": {

0 commit comments

Comments
 (0)