TransposeGraphPropertyMapAdapter
public struct TransposeGraphPropertyMapAdapter<Underlying> : PropertyMap where Underlying : PropertyMap, Underlying.Graph : BidirectionalGraph
extension TransposeGraphPropertyMapAdapter: ExternalPropertyMap where Underlying: ExternalPropertyMap
Adapts a property map for a graph to be used with its transpose.
See also
TransposeGraph
-
The graph this property map operates upon.
Declaration
Swift
public typealias Graph = TransposeGraph<Underlying.Graph>
-
The identifier used to access data.
Declaration
Swift
public typealias Key = Underlying.Key
-
The value of data stored in
self
.Declaration
Swift
public typealias Value = Underlying.Value
-
Wraps
underlying
for use with a transposed version of .Declaration
Swift
public init(_ underlying: Underlying)
-
Retrieves the property value for
key
ingraph
. -
Sets the property
newValue
forkey
ingraph
.