hasLabel() — graph2md Function Reference
Architecture documentation for the hasLabel() function in main.go from the graph2md codebase.
Entity Profile
Dependency Diagram
graph TD ca0c6a02_8026_15c3_7b03_14d806cba321["hasLabel()"] 80fa005d_7e3e_f056_f8f8_f520be5cd3e1["main.go"] ca0c6a02_8026_15c3_7b03_14d806cba321 -->|defined in| 80fa005d_7e3e_f056_f8f8_f520be5cd3e1 5ab9a7d2_746e_d880_5dc3_4ed8134ed871["main()"] 5ab9a7d2_746e_d880_5dc3_4ed8134ed871 -->|calls| ca0c6a02_8026_15c3_7b03_14d806cba321 style ca0c6a02_8026_15c3_7b03_14d806cba321 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
main.go lines 2155–2162
func hasLabel(node *Node, label string) bool {
for _, l := range node.Labels {
if l == label {
return true
}
}
return false
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does hasLabel() do?
hasLabel() is a function in the graph2md codebase, defined in main.go.
Where is hasLabel() defined?
hasLabel() is defined in main.go at line 2155.
What calls hasLabel()?
hasLabel() is called by 1 function(s): main.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free