# File lib/graphviz/attrs.rb, line 40 40: def []=( xKey, xValue ) 41: if @attributs.index( xKey.to_s ).nil? == true 42: raise ArgumentError, "#{@name} attribut '#{xKey.to_s}' invalid" 43: end 44: @data[xKey.to_s] = xValue 45: 46: if @graphviz.nil? == false 47: @graphviz.set_position( @name, xKey.to_s, xValue ) 48: end 49: end