Closed SebastianOpriel closed 5 years ago
@bastianleirpo I think that you mean it must be
var layoutOptT = typeof options.layoutBy;
if (layoutOptT != "string")
cy.layout({name: options.layoutBy});
else if (layoutOptT == "function")
options.layoutBy();
If so I realized this bug and fixed here (https://github.com/iVis-at-Bilkent/cytoscape.js-graphml/commit/026819924b43a9d84d2a508aae686b552ae0f66c#diff-30321755da65b185145ed63f223042a6R175) and we can close the issue.
I think this is not an issue anymore, so I'm closing.
Bug:
must be: