package layoutguard

Import Path
	github.com/pancsta/d2/d2layouts/internal/layoutguard (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 2 packages

Involved Source Files Package layoutguard protects layout engines that cannot be interrupted once their native layout call begins.
Package-Level Functions (only one)
CheckGraph rejects malformed, oversized, or dense graphs before passing control to a layout engine that cannot observe context cancellation during its native layout call.