mxResources.loadDefaultBundle = false;
var bundle = mxResources.getDefaultBundle(RESOURCE_BASE, mxLanguage) ||
mxResources.getSpecialBundle(RESOURCE_BASE, mxLanguage);
// Ensures synchronous requests are handled properly
mxUtils.getAll([bundle, STYLE_PATH + '/default.xml'], function(xhr)
{
// Incorporates bundle text into resources
mxResources.parse(xhr[0].getText());
// Sets up the default graph theme
var themes = new Object();
themes[Graph.prototype.defaultThemeName] = xhr[1].getDocumentElement();
// Main
new EditorUi(new Editor(urlParams['chrome'] == '0', themes));
}, function()
{
document.body.innerHTML = '<center style="margin-top:10%;">Error loading resource files. Please check browser console.</center>';
});
})();`
I am undertaking the implementation of an Orgchart in Angular 4 using TypeScript and HTML. I have explored mxgraph and drawio without success. Any assistance would be greatly appreciated.