Allow changing cardinality notation in ERD to use Chen notation. #5832

This commit is contained in:
Aditya Toshniwal
2023-02-10 10:27:16 +05:30
committed by GitHub
parent 696cb0fa05
commit 1806866bf5
9 changed files with 116 additions and 30 deletions

View File

@@ -291,13 +291,6 @@ describe('ERDCore', ()=>{
]));
});
it('dagreDistributeNodes', ()=>{
spyOn(erdCoreObj.dagre_engine, 'redistribute');
erdCoreObj.dagreDistributeNodes();
expect(erdEngine.getLinkFactories().getFactory().calculateRoutingMatrix).toHaveBeenCalled();
expect(erdCoreObj.dagre_engine.redistribute).toHaveBeenCalledWith(erdEngine.getModel());
});
it('zoomIn', ()=>{
spyOn(erdEngine.getModel(), 'getZoomLevel').and.returnValue(100);
spyOn(erdCoreObj, 'repaint');