|
1 | 1 | # graphp/graphviz [](https://travis-ci.org/graphp/graphviz)
|
2 | 2 |
|
3 |
| -GraphViz graph drawing for mathematical graph/network |
| 3 | +GraphViz graph drawing for the mathematical graph/network library GraPHP. |
4 | 4 |
|
5 | 5 | The library supports visualizing graph images, including them into webpages,
|
6 | 6 | opening up images from within CLI applications and exporting them
|
@@ -379,26 +379,31 @@ See also the [examples](examples/).
|
379 | 379 |
|
380 | 380 | ## Install
|
381 | 381 |
|
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) |
383 | 384 |
|
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 |
390 | 389 | ```
|
391 | 390 |
|
| 391 | +See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades. |
| 392 | + |
392 | 393 | This project aims to run on any platform and thus does not require any PHP
|
393 | 394 | extensions and supports running on legacy PHP 5.3 through current PHP 7+ and
|
394 | 395 | HHVM.
|
395 | 396 | It's *highly recommended to use PHP 7+* for this project.
|
396 | 397 |
|
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 | +``` |
402 | 407 |
|
403 | 408 | ## Tests
|
404 | 409 |
|
|
0 commit comments