Skip to main content

weavatrix_graph/kind/
node.rs

1string_kind!(
2    /// Semantic role of a graph node.
3    NodeKind,
4    "node",
5    {
6        Repository => "repository",
7        File => "file",
8        Module => "module",
9        Package => "package",
10        Function => "function",
11        Method => "method",
12        Struct => "struct",
13        Enum => "enum",
14        Trait => "trait",
15        TypeAlias => "type_alias",
16        Constant => "constant",
17        Static => "static",
18        Service => "service",
19        Endpoint => "endpoint",
20        Table => "table",
21        Column => "column",
22        Topic => "topic",
23        ConsumerGroup => "consumer_group",
24        Exchange => "exchange",
25        Queue => "queue",
26        Binding => "binding",
27        Collection => "collection",
28        Index => "index",
29        KubernetesResource => "kubernetes_resource",
30        Container => "container",
31        ConfigKey => "config_key",
32        Unknown => "unknown",
33    }
34);