elkjs icon indicating copy to clipboard operation
elkjs copied to clipboard

Now that elk supports libavoid, will libavoid find its way into elkjs?

Open zsoerenm opened this issue 2 years ago • 6 comments

Now that elk supports libavoid (see https://github.com/eclipse/elk/pull/886), will libavoid find its way into elkjs? I know that libavoid is a separate C++ library and cannot be transpiled to Javascript, but maybe it can be compiled to WASM and used from there?

zsoerenm avatar Jan 25 '23 09:01 zsoerenm

Currently this is not planed. @spoenemann Do you have any plans for this?

soerendomroes avatar Jan 25 '23 09:01 soerendomroes

No plans but check out the discussion at https://github.com/mjwybrow/adaptagrams/issues/44

spoenemann avatar Jan 26 '23 11:01 spoenemann

Any update on this? I must say that the readme is quite misleading /confusing in the FAQs section- a short summary of the status of all the mentioned items would save people from a lot of digging through a web of related issue tags. For example, a list of currently supported algorithms ( I know there's a function for it...)

Thanks for your contributions however!

crystalthoughts avatar Apr 10 '24 11:04 crystalthoughts

We cannot transpile our libavoid wrapper from Java to Javascript.

soerendomroes avatar Apr 10 '24 11:04 soerendomroes

Are you aware of https://github.com/Aksem/libavoid-js I see they have a wasm module in the repo that I tested out. Perhaps integrating that into elk is not so easy though?

crystalthoughts avatar Apr 10 '24 13:04 crystalthoughts

I am aware of this but integrating this into elkjs might not be trivial, and I generally lack time.

soerendomroes avatar Apr 10 '24 13:04 soerendomroes