From f8fd00e1032b369d9846a0c40c8411953ed8f1ab Mon Sep 17 00:00:00 2001 From: Yuhei Okazaki Date: Thu, 8 Feb 2024 16:27:39 +0900 Subject: [PATCH] Add 'imagepos' to attributes for Node. --- lib/graphviz/constants.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/graphviz/constants.rb b/lib/graphviz/constants.rb index 7baf9cd..6cf24ab 100644 --- a/lib/graphviz/constants.rb +++ b/lib/graphviz/constants.rb @@ -176,6 +176,7 @@ def self.getAttrsFor( x ) "id" => { :usedBy => "ENG", :type => :EscString }, "image" => { :usedBy => "N", :type => :EscString }, # string "imagepath" => { :usedBy => "G", :type => :EscString }, # string + "imagepos" => { :usedBy => "N", :type => :EscString }, # string "imagescale" => { :usedBy => "N", :type => :EscString }, # bool, string "inputscale" => { :usedBy => "G", :type => :GvDouble }, "label" => { :usedBy => "ENGC", :type => :LblString },