diagram fixes
Merge branch 'master' into refactor-styles