GraphvizFactory

class GraphvizFactory @Inject constructor(val typeSafeProjectPathResolver: TypeSafeProjectPathResolver)(source)

Creates a Graphviz model of a dependency graph from a given ProjectDepth root.

Since

0.12.0

Parameters

typeSafeProjectPathResolver

used to resolve project paths from type-safe project accessors

Constructors

Link copied to clipboard
@Inject
constructor(typeSafeProjectPathResolver: TypeSafeProjectPathResolver)

Types

Link copied to clipboard
private object Colors

Functions

Link copied to clipboard
suspend fun create(root: ProjectDepth): Graphviz

Creates a Graphviz model of a dependency graph from a given ProjectDepth root.

Link copied to clipboard
private fun ProjectDependency.lineColor(): Color
Link copied to clipboard
private fun ProjectDepth.nodeColor(): Color
Link copied to clipboard