snapapps / edgy

a visual programming language inspired by Scratch
http://snapapps.github.io/
GNU Affero General Public License v3.0
51 stars 21 forks source link

Edgy Node Costumes - Image Imports But Does Not Assign to node #456

Open EdV2 opened 4 months ago

EdV2 commented 4 months ago

Hi - I am able to drag and drop pics for node costumes but when I assign them to a node - I see "something" happens but I don't see the node pic. Is there a certain size I need to scale to?

I am trying to make a meta-graph of the Soma Cube solution set that leverages the "gems" I mined with Edgy previously.

"Mining the Soma Cube for Gems: Isomorphic Subgraphs Reveal Equivalence Classes" https://scholarship.claremont.edu/cgi/viewcontent.cgi?article=1951&context=jhm

Pic of a branch of a meta-graph of the Soma Cube solution set using YEd graph editor- MetaGraphExamplePic

EdV2 commented 4 months ago

I made some progress - if I set the costume directly on the node's drop down menu on the stage to the imported pic and then use the "display node attribute" block for that node and set it to "id", the imported pic appears as the node.

However - I am not able to use the "set costume of node block" to do the above. It works to set a node to "default" but the drop down of the block displays - "Uncaught TypeError: this.parentThatIsA(...).receiver is not a function"

That being said there are only 240 nodes so using the stage dropdown is not a super big deal considering how arts and crafts this project is anyway. Automation not my biggest problem.

Thank you for your time and patience.