cytoscape / cytoscape.js-dagre

The Dagre layout for DAGs and trees for Cytoscape.js
MIT License
250 stars 83 forks source link

Use Weaver.js #27

Closed Prophet32j closed 7 years ago

Prophet32j commented 7 years ago

Is it possible to use Weaver with the dagre layout? I don't see it as an option in the code, and I would like to be able to offload the work into a thread to not block the main thread.

maxkfranz commented 7 years ago

Not possible. Can't control dagre internals

On Aug 28, 2017, at 15:41, Josh Hardy notifications@github.com wrote:

Is it possible to use Weaver with the dagre layout? I don't see it as an option in the code, and I would like to be able to offload the work into a thread to not block the main thread.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Prophet32j commented 7 years ago

Is there any way to not block the main thread then? Allow for some sort of progress bar?

maxkfranz commented 7 years ago

Not without real threads