Comments (2)
Hi @edart76,
It's on my to do list. I'm currently working on implementing the properties bin widget where the user can load up a node and modify its attributes, it's not quite there yet but if the changing of the node name is something you need soon I have a branch that has the node_double_clicked
signal added.
https://github.com/jchanvfx/NodeGraphQt/pull/80/files
for checking if the new node name is valid I think it's already a implementation.
https://github.com/jchanvfx/NodeGraphQt/blob/master/NodeGraphQt/base/node.py#L256
https://github.com/jchanvfx/NodeGraphQt/blob/master/NodeGraphQt/base/graph.py#L451
Cheers,
Johnny 😺
from nodegraphqt.
Nodes can now be edited in the PropertiesBinWidget
widget.
see example
from NodeGraphQt import NodeGraph
graph = NodeGraph()
viewer = graph.viewer()
viewer.show()
# show the properties bin when a node is "double clicked" in the graph.
properties_bin = graph.properties_bin()
properties_bin.setWindowFlags(QtCore.Qt.Tool)
def show_prop_bin(node):
if not properties_bin.isVisible():
properties_bin.show()
graph.node_double_clicked.connect(show_prop_bin)
from nodegraphqt.
Related Issues (20)
- passing data from one node to anothre HOT 5
- Request to Add Capabilities for Edge Trunking
- Moving lable to the left ? HOT 1
- Menubar Shortcuts in Windows OS HOT 2
- is it possible to generate subgraphs in nodes? HOT 4
- Pipe Hover/Selection events
- If a widget has been hidden using hide_widget, it will reappear after the view is zoom-out and zoom-in HOT 1
- How to retrieve the nodes in sub-graph if the sub-graph(group node) is collapsed ? HOT 3
- Bug with vertical GroupNode HOT 1
- Multibe drobdown/combo menus text below other dropdowns HOT 3
- Node moves the original position after editing name
- Undo/Redo for Node Movement is not working HOT 1
- Missmatched types on Darg/Drop between the viewer and the Node Trees widget
- Custom Widget Position on Node
- Occupying the whole node area with a custom widget HOT 2
- Supports Python 3.12 and PySide6? HOT 1
- how to make a node for image processing flow HOT 1
- Accept/Reject ports grows each time session is loaded + saved
- How to change the node title (or bind it to another model propertie) HOT 3
- Add utf8 encoding to json parsing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodegraphqt.