nadavrot / layout

Layout is a rust library and a tool that renders Graphviz dot files.
MIT License
656 stars 39 forks source link

Skip verification on DAG::set_validate(false) #21

Closed lucasvr closed 9 months ago

lucasvr commented 9 months ago

Introduce a new API set_validate(validate: bool) so that calls to DAG::verify() can be skipped. This has been observed to lead to time savings of more than two orders of magnitude on a graph with only 250 nodes (240 secs -> ~2 secs).

nadavrot commented 9 months ago

Thank you @lucasvr ; There was a formatting issue but I will fix it myself.