]> granicus.if.org Git - graphviz/commitdiff
document parseXDotFOn in the libxdot API
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 13 Mar 2021 18:35:46 +0000 (10:35 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Mar 2021 00:18:44 +0000 (17:18 -0700)
Related to #1957.

lib/xdot/xdot.3

index c11a353bd8ad5ee258997f98a99958e8cfc4ca03..581467b9e5da6114663f8c11c16da42ce4e08af9 100644 (file)
@@ -147,6 +147,7 @@ typedef struct {
 } xdot_stats;
 
 xdot* parseXDotF (char*, drawfunc_t opfns[], int sz);
+xdot* parseXDotFOn (char*, drawfunc_t opfns[], int sz, xdot*);
 xdot* parseXDot (char*);
 char* sprintXDot (xdot*);
 void fprintXDot (FILE*, xdot*);
@@ -243,6 +244,9 @@ If \fIopfns\fP is non-zero, it is taken to be any array of functions
 indexed by \fIxop_kind\fP. During parsing, the \fIdrawfunc\fP member
 of \fIxop_op\fP will be set to the corresponding function in \fIopfns\fP.
 .PP
+.SS "  xdot* parseXDotFOn (char *str, drawfunc_t* opfns, int sz, xdot* x)"
+The same as \fIparseXDotF\fP, but append to the given \fIxdot\fP object \fIx\fP.
+.PP
 .SS "  xdot* parseXDot (char *str)"
 This is equivalent to \fIparseXDotF(str, 0, 0)\fP .
 .PP