GraphEdge#
- class scikitplot.corpus.GraphEdge(source, target, relation, evidence, producer, trust, generation=None)[source]#
One relationship, with the provenance every edge must carry.
- Parameters:
- sourcestr
Origin
node_id.- targetstr
Destination
node_id.- relationRelationType
How the two relate. Never generic.
- evidencestr
The field(s) this edge was derived from.
- producerstr
Identity and version of the rule, extractor or model that produced it.
- trustEdgeTrust
Which construction tier it belongs to.
- generationstr or None, optional
Graph generation this edge belongs to.
- Parameters:
- relation: RelationType[source]#