Prepared for documentation (node attributes added, layout modified)