Refactoring DocDiagram as a trait to line up with HTMLView refactoring in dataviews.js
Merge branch 'master' of https://github.com/foam-framework/foam