Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elftausend/graplot
/ set_node_color
Method
set_node_color
src/graph.rs:77–79 ·
view source on GitHub ↗
(&mut self, node_color: Color)
Source
from the content-addressed store, hash-verified
75
}
76
77
pub fn set_node_color(&mut self, node_color: Color) {
78
self.graph_desc.node_color = node_color;
79
}
80
81
pub fn layers(&self) -> Vec<Layer> {
82
let mut layers = vec![Layer::new(0)];
Callers
1
test_graph
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_graph
Function · 0.64