ConceptEdge class
A directed, weighted relationship between two concepts.
Constructors
- ConceptEdge({required String sourceId, required String targetId, required RelationshipType relationshipType, required double strength, String label = ''})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Human-readable label for the relationship.
final
- relationshipType → RelationshipType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceId → String
-
final
- strength → double
-
Connection strength (0.0 = weak, 1.0 = very strong).
final
- targetId → String
-
final
Methods
-
copyWith(
{double? strength}) → ConceptEdge -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited