go into the HTML label code, plus gvrender_usershape so that images
in invisible nodes aren't drawn.
The only changes in semantics is that we no longer emit map data for
invisible nodes. If someone can make a case that invisible nodes should
be sensitive, we can go the more complex route.
{
GVC_t *gvc = job->gvc;
char *s;
+ char *style;
+ char **styles = 0;
+ char **sp;
+ char *p;
if (ND_shape(n) /* node has a shape */
&& node_in_layer(job, agraphof(n), n) /* and is in layer */
if (s[0])
gvrender_comment(job, s);
+ style = late_string(n, N_style, "");
+ if (style[0]) {
+ styles = parse_style(style);
+ sp = styles;
+ while ((p = *sp++)) {
+ if (streq(p, "invis")) return;
+ }
+ }
+
emit_begin_node(job, n);
ND_shape(n)->fns->codefn(job, n);
emit_end_node(job);