com.autonomousapps.graph.Edge.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dependency-analysis-gradle-plugin Show documentation
Show all versions of dependency-analysis-gradle-plugin Show documentation
Analyzes dependency usage in Android and JVM projects
package com.autonomousapps.graph
/**
* An edge [from] → [to].
*/
internal data class Edge(
val from: Node,
val to: Node,
val weight: Int = 1
) {
fun nodeIds(): Pair = from.identifier to to.identifier
}