pub fn add_attribute<S: Into<String>>(
        &mut self,
        key: S,
        value: AttributeText<'a>,
    ) -> &mut Self {
        self.attributes.insert(key.into(), value);
        self
    }
/// Add an attribute to the edge.
Add an attribute to the edge.
Add an attribute to the edge .
pub fn add_attribute<S: Into<String>>(
        &mut self,
        key: S,
        value: AttributeText<'a>,
    ) -> &mut Self {
        self.attributes.insert(key.into(), value);
        self
    }
pub fn add_attribute < S : Into < String > > ( & mut self , key : S , value : AttributeText < ' a > , ) -> & mut Self { self . attributes . insert ( key . into ( ) , value ) ; self }
Add an attribute to the edge.
Add an attribute to the edge .
&mut self
key
S
value
AttributeText<'a>
&mut self
key
S
value
AttributeText<'a>