]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'defaultnodeshape'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 21 Dec 2022 06:05:56 +0000 (22:05 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Dec 2022 19:42:15 +0000 (11:42 -0800)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewport.c

index b01fc3816160fb5f37ade5c55eda682d3f3bcc0d..85279ab63ceff9212cd282d04c508cdff9359550 100644 (file)
@@ -325,8 +325,6 @@ typedef struct
        float defaultnodealpha;
        /*default edge alpha */
        float defaultedgealpha;
-       /*default node shape */
-       int defaultnodeshape;
 
        /*default line width */
        float LineWidth;
index 7db44910f45f489f3366320ed19f725ac545bd4a..407b21e3fb99c740a73612df47f534a8ef76be58 100644 (file)
@@ -108,9 +108,6 @@ void set_viewport_settings_from_template(ViewInfo *vi, Agraph_t *g) {
 
     vi->gridSize = (float)atof(buf = get_attribute_value("gridsize", vi, g));
 
-    vi->defaultnodeshape = atoi(buf = get_attribute_value("defaultnodeshape",
-                                                          vi, g));
-
     vi->gridVisible = atoi(get_attribute_value("gridvisible", vi, g));
 
     //background color , default white