components

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AfferentCouplings    = "modularity__coupling__afferent"
	EfferentCouplings    = "modularity__coupling__efferent"
	Dependents           = "modularity__coupling__dependents"
	Dependencies         = "modularity__coupling__dependencies"
	Instability          = "modularity__instability"
	Abstractness         = "modularity__abstractness"
	DistanceMainSequence = "modularity__distance_main_sequence"
	Betweenness          = "graph__betweenness"
	PageRank             = "graph__page_rank"
	HubScore             = "graph__hits__hub_score"
	AuthorityScore       = "graph__hits__authority_score"
	HarmonicCentrality   = "graph__harmonic_centrality"
	FarnessCentrality    = "graph__farness_centrality"
	ResidualCloseness    = "graph__residual_closeness"
	ShortCycleCount      = "cycles__short__count"
	ShortCycleSizeAvg    = "cycles__short__avg"
	ShortCycleSizeMax    = "cycles__short__max"
)

Variables

This section is empty.

Functions

func CommunitiesView

func CommunitiesView(results *core.Results) *core.View

func ConnectionsFurthestView

func ConnectionsFurthestView(results *core.Results) *core.View

func ConnectionsIndirectView

func ConnectionsIndirectView(results *core.Results) *core.View

func ConnectionsView

func ConnectionsView(results *core.Results) *core.View

func Extension

func Extension() core.Extension

func MainView

func MainView(results *core.Results) *core.View

func ShortestCyclesView

func ShortestCyclesView(results *core.Results) *core.View

func StronglyConnectedView

func StronglyConnectedView(results *core.Results) *core.View

Types

type ComponentInGraphMetrics

type ComponentInGraphMetrics struct {
	Name               string
	AfferentCoupling   int
	EfferentCoupling   int
	Betweenness        float64
	ShortCycleCount    int
	PageRank           float64
	ShortCycleSizeAvg  float64
	ShortCycleSizeMax  int
	AfferentCouplings  int
	EfferentCouplings  int
	HubScore           float64
	AuthorityScore     float64
	HarmonicCentrality float64
	FarnessCentrality  float64
	ResidualCloseness  float64
	Dependencies       int
	Dependents         int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL