You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The headers have been moved around a bit, causing the digraphs build to fail when an external libplanarity (4.x) is used. Here's the lazy version of the patch:
I've spent a bit of time trying to update to edge-planarity 4 today. The patch you've suggested above doesn't currently work unfortunately. I could update the vendored version of planarity to v4 without too much trouble. However,
it seems that the conda version of planarity is still v3, and so any changes to Digraphs that we might try to include now, would have to detect what version of planarity is available. Because of the wholesale renaming of files in the v4 release, and the fact that in planarity-3.x there is no macro defining the version number, this is more work than I'm willing to undertake at the present time.
I'll happily revisit this when conda includes planarity v4.
No problem, I understand. I could have done it properly myself if not for lack of time.
I've used the patch above on Gentoo where I have the luxury of being able to force external libplanarity >= 4.0. The old header paths like planarity/graphK23Search.h no longer exist in 4.x, so checking for planarity-3.x should be as easy as checking for those headers, and then defining some constant to indicate whether the 3.x or 4.x paths should be used.
There's a new version of planarity out:
The headers have been moved around a bit, causing the digraphs build to fail when an external libplanarity (4.x) is used. Here's the lazy version of the patch:
No other changes are required though, so it should be possible to support both versions by trying both sets of headers.
The text was updated successfully, but these errors were encountered: