3.1.21.2.1. waf_tools.drawio.drawio_hook
- waf_tools.drawio.drawio_hook(self: task_gen, node: Node) None
Create a
drawioToSvgtask for a.drawiosource node.Registered as an extension handler for
.drawiofiles. When a task generator includes a.drawiosource, this hook automatically creates a conversion task that produces an SVG file with the same base name.- Parameters:
self – The task generator instance.
node – The
.drawiosource node that triggered this handler.