fcnyp

Results 11 comments of fcnyp

@alyssaxuu Any assistance you can provide would be great! The above seems to work but it doesn't account for two things. 1. The arrow placement doesn't account for canvas scroll...

See update. Scroll position addressed. Only one issue left - Arrows are not routed around blocks if the arrow must pass through multiple levels between the parent and child. Not...

I believe, per the comments in #48 if I were to disable deletes by drag all together and add a trash can icon it would flow a little better. What...

I added a new method: ``` flowy.getBlocks = function() { return blocks; }; ``` Using that in combination with Lodash I'm accessing different blocks. ``` const BLOCKS = flowy.getBlocks(); const...

Different use case based on my understanding. Output is great for import/export (i.e., JSON). I'm using it to access attributes in the array and to manipulate the attributes, this way...

This should work to remove a block and its children, I would error check me =) Would be nice to add some easing, as it seems jumpy and may need...

I see, that would be good to have as well. You could use this method and pass in an optional second param that would perform that action and knock both...

Updated correcting several errors. Still does not rearrange correctly. ``` flowy.deleteBlock = function(id, removeChildren) { //Track orginal parent let newParentId; if (!Number.isInteger(id)) { id = parseInt(id); } for (var i=0;...

If exporting without HTML it should be added as an optional flag so it will be backwards compatible