Comments (5)
This is pretty nice! Thanks for taking the time
Personally I like the colors, it feels like it has enough contrast and is similar to the original theme. Could you submit this as a pull request?
change the color of connections for each data type
This can be implemented in several ways. I think the most flexible option is to pass an immutable reference to the UserState
in the data_type_color
method here:
egui_node_graph/egui_node_graph/src/traits.rs
Lines 10 to 19 in c6c5176
This would only allow customization beyond egui's light / dark theme, for users that have other kinds of needs.
make it possible to specify the background color of title for each node template
I think it's more flexible if we make the titlebar color a property of the node itself, not its template. This allows more custom behavior in case someone needs it (like, I don't know, a color picker node having the same color in the titlebar titlebar_color
method here:
egui_node_graph/egui_node_graph/src/traits.rs
Lines 21 to 26 in c6c5176
Is this something you'd enjoy working on? I can take a look at it, but since you're already halfway there with the color changes I think it'd make sense if you want to tackle it :)
from egui_node_graph.
Nice!
from egui_node_graph.
With your latest changes, I think we can now close this. Thanks again!
from egui_node_graph.
I would like to suggest other color-related functions.
- change the color of connections for each data type.
- make it possible to specify the background color of title for each node template.
from egui_node_graph.
make it possible to specify the background color of title for each node template
I think it's more flexible if we make the titlebar color a property of the node itself, not its template.
Indeed, your idea is great.
I am implementing this now.
from egui_node_graph.
Related Issues (20)
- Add topological iterator to Graph class HOT 1
- Easy way to create pre-existing graph state? HOT 1
- The node finder should use `button_released(MouseButton::Secondary)` when available
- Zoom in/out supported by default (like in blackjack)? HOT 2
- Port Snapping doesn't take InputParamKind::ConstantOnly into account HOT 4
- Bump egui version to 0.19.0 HOT 2
- Change UserState to outside of GraphEditorState HOT 6
- Cannot use more than one node_graph in an egui app HOT 2
- Please add minimalistic example using bevy_egui HOT 11
- Buttons drawn on (after) the graph doesn't working. HOT 4
- The example doesn't work with version 0.3.0 HOT 3
- Would be nice with an example using Bevy and bevy-egui together with this project HOT 1
- Right click output - create node and connect HOT 1
- Incorrect draw order HOT 1
- Hide close button of node widget HOT 3
- New crates.io release HOT 1
- Cant Compile to web HOT 1
- Remove Widget on input connection HOT 1
- Cannot use because Color32 is not in epaint::color::Color32 HOT 4
- Feature request - allow labeling of edges HOT 2
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 egui_node_graph.