This package allows to visually preview your nestedset graph.
migda/laravel-nestedset-visualisation is a Laravel package for this package allows to visually preview your nestedset graph..
It currently has 1 GitHub stars and 5 downloads on Packagist (latest version 1.0.1).
Install it with composer require migda/laravel-nestedset-visualisation.
Discover more Laravel packages by migda
or browse all Laravel packages to compare alternatives.
Last updated
Extension for Laravel Nestedset.
You can install the package via composer:
composer require migda/laravel-nestedset-visualisation
An artisan command for generating an image of a given graph is included.
It accepts the fully qualified name of the model as an argument, eg. App\Models\Category
If you want to run this command, you need to have installed dot - Part of graphviz package (http://www.graphviz.org/).
php artisan laravel-nestedset:visualize {model? : Nestedset model} {property? : model property as node label} {--output=./graph.jpg} {--format=jpg} {--direction=TB} {--dot-path=/usr/local/bin/dot}
Example:
php artisan laravel-nestedset:visualize "\App\Models\Category" name --output=categories_graph.jpg --format=jpg --direction=LR
or just:
php artisan laravel-nestedset:visualize

composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
Winzou State Machine service provider for Laravel
The MIT License (MIT). Please see License File for more information.