Set lang attribute with lang-specfic attribute
Set the dir attribute with lang-specific attribute
Replace hard coded lang and dir attribute with lang-specific
Add invertOrder config to dagre-d3