Open Nusserdt opened 3 years ago
I try to change the class of the edges in the rendered SVG. So I pass the class property as attribute.
class
After that, the error TypeError: Cannot read property 'type' of undefined occurs in the mustBeQuoted function (graphviz\lib\deps\attributs.js:191:42)
TypeError: Cannot read property 'type' of undefined
mustBeQuoted
graphviz\lib\deps\attributs.js:191:42
Reason is that class attribute is not implemented in attributs.js (graphviz\lib\deps\attributs.js)
attributs.js
graphviz\lib\deps\attributs.js
var attrs = { "Damping" : { "usage" : "G", "type" : "double" }, "K" : { "usage" : "GC", "type" : "double" }, "URL" : { "usage" : "ENGC", "type" : "escString" }, "area" : { "usage" : "NC", "type" : "double" }, "arrowhead" : { "usage" : "E", "type" : "arrowType" }, "arrowsize" : { "usage" : "E", "type" : "double" }, "arrowtail" : { "usage" : "E", "type" : "arrowType" }, "aspect" : { "usage" : "G", "type" : "aspectType" }, "bb" : { "usage" : "G", "type" : "rect" }, "bgcolor" : { "usage" : "GC", "type" : "color" }, "center" : { "usage" : "G", "type" : "bool" }, "charset" : { "usage" : "G", "type" : "string" }, "clusterrank" : { "usage" : "G", "type" : "clusterMode" }, "color" : { "usage" : "ENC", "type" : "color" }, "colorscheme" : { "usage" : "ENCG", "type" : "string" }, ...
Is it possible to add class attribute as feature?
Please?
I try to change the class of the edges in the rendered SVG. So I pass the
class
property as attribute.After that, the error
TypeError: Cannot read property 'type' of undefined
occurs in themustBeQuoted
function (graphviz\lib\deps\attributs.js:191:42
)Reason is that
class
attribute is not implemented inattributs.js
(graphviz\lib\deps\attributs.js
)Is it possible to add
class
attribute as feature?