reactive_graph_std_taxonomy_model/component/
weighted.rs

1use crate::NAMESPACE_TAXONOMY;
2use reactive_graph_graph::component_model;
3use reactive_graph_graph::component_ty;
4use reactive_graph_graph::properties;
5
6properties!(WeightedProperties, (WEIGHT, "weight", 0));
7
8component_ty!(COMPONENT_WEIGHTED, NAMESPACE_TAXONOMY, COMPONENT_NAME_WEIGHTED, "weighted");
9
10component_model!(
11    Weighted,
12    data weight f64
13);