How I can convert open source library of js and ts to use with haxe-ui and openfl

I use many useful library in JS I want them to use with Haxeui and openfl so that I may target for cross platform.
example include

I think converting something huge like mermaid is going to be a tough one. Not saying its not possible, but its not a small task either. There is no silver bullet of “just do this”, you will either have to write externs (which means it will only be available for js) or rewrite using haxe (and some render lib like openfl) and as i mentioned its not going to be a small / quick task at all.

Probably not what you wanted to hear :slight_smile:

Cheers,
Ian

Then I will prefer to embed diagrams from Mermaid into program.

1 Like