-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphEdit & GraphNode Enhance Proposal #593
Comments
|
Being able to move dots would be highly valuable for tool development. Not every system can be represented going exclusively left to right. |
Why though? Are multiple connections bad in any way? You can also do this in code: func connection_request(from: String, from_slot: int, to: String, to_slot: int)
var existing_connections = 1
for connection in get_connection_list():
if connection.from == from:
existing_connections += 1
if existing_connections + 1 > MAX_CONNECTIONS:
return
# normal connection code
|
It becomes visually impossible to identify order of operation, which may or may not be important. And sometimes branching is flat out not desired. That said, connection limits are easily implemented on the user side during a connection request. |
Line styling would be very useful, I didnt tought for debugging but something like, in my case to show from->to state and current state :D |
Describe the project you are working on:
A Plugin to create state machine through GE(GraphEdit) and GN(GraphNode)
Describe the problem or limitation you are having in your project:
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
Connections Limit
Actually the user can have multiple connections between nodes:


To overcome this, the GN should have a max_connections property:
Customize CL (Connection Line)
The Lines (Represented by connections between nodes) could be customized to enable the user to set "Icons" or draw something at the (Most-Left,Middle,Most-Right) part of the line, represented by 3 sprites:
Actually:

Customizable CL Example :

Place the connection line anywhere in GN
Nowadays cross-connections are not so beauty:

Simple solution? Connection Types (the use can now choose between NodeBased or StateBased (not cool suggestive names LOL). NodeBased its like the image shown above, and StateBased would be like the image below:
If this enhancement will not be used often, can it be worked around with a few lines of script?:
No. Cuz requires some refactoring into core GN and GE Classes.
Is there a reason why this should be core and not an add-on in the asset library?:
Maybe some topics could be done with plugins, but others are essential.
The text was updated successfully, but these errors were encountered: