Home / Type/ renderContext Type — graph2md Architecture

renderContext Type — graph2md Architecture

Architecture documentation for the renderContext type/interface in main.go from the graph2md codebase.

Entity Profile

Dependency Diagram

graph TD
  4c5c65cf_06c7_84b1_64d2_43c918280760["renderContext"]
  80fa005d_7e3e_f056_f8f8_f520be5cd3e1["main.go"]
  4c5c65cf_06c7_84b1_64d2_43c918280760 -->|defined in| 80fa005d_7e3e_f056_f8f8_f520be5cd3e1
  style 4c5c65cf_06c7_84b1_64d2_43c918280760 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

main.go lines 444–460

type renderContext struct {
	node                                          *Node
	label, slug, repoName, repoURL               string
	nodeLookup                                    map[string]*Node
	slugLookup                                    map[string]string
	imports, importedBy                           map[string][]string
	calls, calledBy                               map[string][]string
	containsFile, definesFunc, declaresClass      map[string][]string
	definesType, childDir, extendsRel             map[string][]string
	belongsToDomain, belongsToSubdomain           map[string]string
	partOfDomain                                  map[string]string
	domainFiles, subdomainFiles                   map[string][]string
	fileOfFunc, fileOfClass, fileOfType           map[string]string
	domainNodeByName, subdomainNodeByName         map[string]string
	domainSubdomains                              map[string][]string
	subdomainFuncs, subdomainClasses              map[string][]string
}

Defined In

Frequently Asked Questions

What is the renderContext type?
renderContext is a type/interface in the graph2md codebase, defined in main.go.
Where is renderContext defined?
renderContext is defined in main.go at line 444.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free