pub struct RepartitionGraphRequestOptions
pub new_graph_name: String,
pub source_node: String,
Optional parameters for the /repartition/graph endpoint.
Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.
Fields
new_graph_name: StringIf a non-empty value is specified, the original graph will be kept (non-default behavior) and a new balanced graph will be created under this given name. When the value is empty (default), the generated ‘balanced’ graph will replace the original ‘unbalanced’ graph under the same graph name.
source_node: StringThe distributed shortest path solve is run from this source node to all the nodes in the graph to create balanced partitions using the iso-distance levels of the solution. The source node is selected by the rebalance algorithm automatically (default case when the value is an empty string). Otherwise, the user specified node is used as the source.
Implementations
Trait Implementations
fn clone(&self) -> RepartitionGraphRequestOptions
fn clone_from(&mut self, source: &Self)
source. Read more