error(ERROR_WARNING, "NULL object passed to isIn()");
v.integer = 0;
} else
- v.integer = isIn(gp, objp);
+ v.integer = agcontains (gp, objp);
break;
case F_compof:
gp = INT2PTR(Agraph_t *, args[0].integer);
.TP
\fBisIn\fP(\fIg\fP : \fBgraph_t\fP, \fIx\fP : \fBobj_t\fP) : \fBint\fP
returns true if \fIx\fP is in subgraph \fIg\fP.
-If \fIx\fP is a graph, this indicates that \fIg\fP is the immediate parent
-graph of \fIx\fP.
.TP
\fBclone\fP(\fIg\fP : \fBgraph_t\fP, \fIx\fP : \fBobj_t\fP) : \fBobj_t\fP
creates a clone of object \fIx\fP in graph \fIg\fP.