kevincobain2000 / laravel-erd

Automatically generate ERD Diagrams from Model's relations in Laravel
https://medium.com/web-developer/laravel-automatically-generate-interactive-erd-from-eloquent-relations-83fe65440716
138 stars 25 forks source link

Makes routing property configurable #13

Closed nie7321 closed 2 years ago

nie7321 commented 2 years ago

This PR turns the routing property into a configurable parameter in the package.

The AvoidsNodes option has extremely bad performance for my ER diagram. That seems like it might be something people run into often, so maybe this will be helpful? :-)

Although I don't know if you'd prefer to have folks customize the view that gets put in their app instead of making a bunch of config options. I'm also finding that I need to change the layout to LayeredDigraphLayout to make the diagram usable for my app.