parseNodeDirect splits "TYPE.name" into ("TYPE", "name")
(s string)
| 2174 | func parseNodeDirect(s string) (string, string) { |
| 2175 | parts := strings.SplitN(s, ".", 2) |
| 2176 | if len(parts) != 2 { |
| 2177 | return "", "" |
| 2178 | } |
| 2179 | return strings.ToUpper(strings.TrimSpace(parts[0])), strings.TrimSpace(parts[1]) |
| 2180 | } |
| 2181 | |
| 2182 | // buildPNSDirect builds ProjectNodeSequence for flow nodes |
| 2183 | func buildPNSDirect(flowNodes []project.FlowNode) { |
| 2184 | // Build ProjectNodeSequence recursively for a specific component |
| 2185 | var buildSequence func(component string, visited map[string]bool) string |
no outgoing calls
no test coverage detected