Skip to content

new feature: add remove node in EdgeWidget (Done)#29

Open
Shnku wants to merge 6 commits intokoaning:mainfrom
Shnku:add_rm_node
Open

new feature: add remove node in EdgeWidget (Done)#29
Shnku wants to merge 6 commits intokoaning:mainfrom
Shnku:add_rm_node

Conversation

@Shnku
Copy link
Contributor

@Shnku Shnku commented Nov 9, 2025

i modified this file tail wigglystuff/static/edgedraw.js
#27 basic things works ..

	modified:   wigglystuff/static/edgedraw.js
@koaning
Copy link
Owner

koaning commented Nov 10, 2025

Thanks for the idea/PR. This feature could work but before diving deeper into the code I would first like to discuss the experience.

CleanShot 2025-11-10 at 10 54 21

I don't mind the feature, but as is, it looks a little bit ugly. I would like the buttons to actually look like buttons.

I also think we should make this configurable. The default behavior was fine, where you only have a static set of nodes to work with. But if you want to have something interactive I'm open to it but there should be some sort of setting. Maybe add_interface?

I also notice that when I remove a node that it can remove all connections that have been drawn.

generated with makefile

- issue with remove node
- buttons styling
- lebel color to red
	modified:   js/edgedraw.js
	modified:   wigglystuff/static/edgedraw.css
syncing upstream changes with add-remove node
 - add node by name
 - remove selected node or by name

	modified:   js/edgedraw.js
	modified:   wigglystuff/static/edgedraw.css
	modified:   wigglystuff/static/edgedraw.js
@Shnku Shnku changed the title new feature: add remove node in EdgeWidget (WIP) new feature: add remove node in EdgeWidget (Done) Dec 10, 2025
@Shnku
Copy link
Contributor Author

Shnku commented Dec 10, 2025

The feature of add remove node in edge-widget is ready .. and synced with current directory structured.

waiting for your review and reply @koaning

@Shnku Shnku marked this pull request as ready for review December 10, 2025 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants