pub struct ClusterOptions {
pub by: ClusterAlgorithm,
pub vector_property: Option<String>,
pub via: Option<String>,
pub directed: bool,
pub write_property: Option<String>,
}Expand description
Options for GraphForge::cluster.
Fields§
§by: ClusterAlgorithmAlgorithm name (e.g. "louvain").
vector_property: Option<String>Node property containing the feature vector for vector clustering.
via: Option<String>Optional relationship type filter.
directed: boolWhether to treat edges as directed.
write_property: Option<String>Optional property name to write community IDs back to nodes.
Trait Implementations§
Source§impl Clone for ClusterOptions
impl Clone for ClusterOptions
Source§fn clone(&self) -> ClusterOptions
fn clone(&self) -> ClusterOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterOptions
impl Debug for ClusterOptions
Source§impl Default for ClusterOptions
impl Default for ClusterOptions
Source§fn default() -> ClusterOptions
fn default() -> ClusterOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClusterOptions
impl RefUnwindSafe for ClusterOptions
impl Send for ClusterOptions
impl Sync for ClusterOptions
impl Unpin for ClusterOptions
impl UnsafeUnpin for ClusterOptions
impl UnwindSafe for ClusterOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more