return 0;
}
-/* setAttr:
+/* setFDPAttr:
* Actions for fdp specific flags
*/
static int
-setAttr (char* arg)
+setFDPAttr (char* arg)
{
switch (*arg++) {
case 'g' :
for (i = 1; i < argc; i++) {
arg = argv[i];
if (arg && (*arg == '-') && (*(arg+1) == 'L')) {
- if (setAttr (arg+2)) dotneato_usage(1);
+ if (setFDPAttr (arg+2)) dotneato_usage(1);
}
else {
cnt++;
* Sets object's name attribute to the given value.
* Creates the attribute if not already set.
*/
-static Agsym_t *setAttr(graph_t * g, void *obj, char *name, char *value,
+Agsym_t *setAttr(graph_t * g, void *obj, char *name, char *value,
Agsym_t * ap)
{
if (ap == NULL) {
extern pointf neato_closest(splines * spl, pointf p);
extern pointf spline_at_y(splines * spl, double y);
+ extern Agsym_t *setAttr(graph_t*, void*, char*name, char *value, Agsym_t*);
extern void setEdgeType (graph_t* g, int dflt);
#ifdef __cplusplus
}