Neriderc / GVExport

Repository for GVExport module for Webtrees
GNU General Public License v2.0
15 stars 6 forks source link

Hello, is it possible to limit the maximum value of Max levels? #500

Open xiaoyang2013 opened 1 month ago

xiaoyang2013 commented 1 month ago

Hello, can you add a function to limit the maximum value of "Include ancestors" and "Include descendants" Max levels in the background? For example, in the background, limit "Visitor" to 5 levels, "Member" to 10 levels, "Editor" to 15 levels, "Moderator" to 20 levels, and "Manager" to 25 levels, because GVExport will take up a lot of resources when generating multi-level graphics.

捕获

Neriderc commented 1 month ago

This isn't currently possible, but shouldn't be too hard to implement. Currently I'm trying to avoid making changes while another contributor is working on a change, but I will plan to add this into the next version when it's released.

xiaoyang2013 commented 1 month ago

Thank you very much for your adoption