I noticed that the getSourceIndex and getTargetIndex functions assume a numeric id. Why is this necessary? I've been using non-numeric id's in my project and while I could convert them all to some number, seems like it'd be nice if I didn't need to do that.
https://github.com/micahscopes/WebCola/blob/4aa06a7af9919a1dde3d79f9f0636573aa7df4fa/src/layout.ts#L781-L783
I noticed that the
getSourceIndexandgetTargetIndexfunctions assume a numeric id. Why is this necessary? I've been using non-numeric id's in my project and while I could convert them all to some number, seems like it'd be nice if I didn't need to do that.https://github.com/micahscopes/WebCola/blob/4aa06a7af9919a1dde3d79f9f0636573aa7df4fa/src/layout.ts#L781-L783