Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Updating with new Layer models #3

Open
mattgi opened this issue Nov 5, 2018 · 1 comment
Open

Updating with new Layer models #3

mattgi opened this issue Nov 5, 2018 · 1 comment

Comments

@mattgi
Copy link

mattgi commented Nov 5, 2018

I have to say that this is one of the cleanest APIs I have seen in a long time. TypeScript alone helps, but your adoption of it is first class - well done!

With that said, I am looking for an example of how to add a new model to a layer but cannot see how to retrieve the layer, or what to do once I have added a new model to the existing layer. (e.g. forceUpdate vs repaint, etc.).

Only really working from https://github.com/projectstorm/react-canvas/blob/master/demos/demo-standard/index.story.tsx though, so trying to make sense of things based on that.

Any guidance / further demos would be most appreciated.

(I realise I should expect to be flying blind based on the WIP flag, but as I'm starting on a new project this seemed like a more logical choice than react-diagrams).

@dylanvorster
Copy link
Member

Hi There

Thanks so much for your kind words :D Yeah unfortunately there is an incredible amount of work still to do on this :C and I myself have not had the time in the past 6 months even to get back onto this. Im hoping during the December holidays that i'll be able to invest a ton of time into it.

Until then I would not recommend using this project until it's gotten off the ground :| It is also more of a foundation for the rewrite that I started/want to continue with on react-diagrams. Theres also probably going to be a ton of changes to this architecture and API as I start to integrate the two together.

But seriously, thanks again for the kind words

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants