iVis-at-Bilkent / cytoscape.js-fcose

fCoSE: a fast Compound Spring Embedder
MIT License
134 stars 25 forks source link

Add validity check for constraints #54

Open hasanbalci opened 2 years ago

hasanbalci commented 2 years ago

We currently assume the user does not specify any conflicting constraints (e.g., node a will be on the left of node b and node b will be on the left of node a). However, layout currently throws error if fed with conflicting constraints. To prevent possible errors, we can add a validity check and warn the user if he/she specify conflicting constraints.