GraphvizFactory

class GraphvizFactory @Inject constructor(val typeSafeProjectPathResolver: TypeSafeProjectPathResolver)

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

Constructors

Link copied to clipboard
@Inject
fun GraphvizFactory(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
private fun ProjectDepth.pathString(): String
private fun ProjectPath.pathString(): String

Properties

Link copied to clipboard
private val typeSafeProjectPathResolver: TypeSafeProjectPathResolver

used to resolve project paths from type-safe project accessors

Sources

Link copied to clipboard