Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
actions.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include "cgraph.h"
18#include <expr/expr.h>
19#include <stdio.h>
20
21 extern Agobj_t *cloneO(Agraph_t * g, Agobj_t * obj);
22 extern Agraph_t *cloneG(Agraph_t * g, char* name);
23 extern Agobj_t *copy(Agraph_t * g, Agobj_t * obj);
24 extern int copyAttr(Agobj_t * obj, Agobj_t * obj1);
25 extern int indexOf(char *s1, char *s2);
26 extern long rindexOf(char *s1, char *s2);
27 extern size_t match(char *str, char *pat);
28 extern int lockGraph(Agraph_t * g, int);
29 extern Agraph_t *compOf(Agraph_t * g, Agnode_t * n);
30 extern Agedge_t *isEdge(Agraph_t* g, Agnode_t * t, Agnode_t * h, char *key);
31 extern Agnode_t *addNode(Agraph_t * g, Agnode_t * n, int doAdd);
32 extern Agedge_t *addEdge(Agraph_t * g, Agedge_t * e, int doAdd);
33 extern Agraph_t *sameG(void *p1, void *p2, char *fn, char *msg);
34 extern int compare(Agobj_t *, Agobj_t *);
35 extern int sfioWrite(Agraph_t*, FILE*);
36 extern int writeFile(Agraph_t*, char*);
37 extern int fwriteFile(Expr_t *, Agraph_t *, long long);
38 extern Agraph_t *readFile(char *);
39 extern Agraph_t *freadFile(Expr_t *, long long);
40 extern int openFile(Expr_t *, const char *, const char *);
41 extern int closeFile(Expr_t *, long long);
42 extern char *readLine(Expr_t *, long long);
43 extern char *canon(Expr_t * pgm, char *);
44 extern char *toHtml(Agraph_t*, char *);
45 extern char *toLower(Expr_t *pgm, char *src);
46 extern char *toUpper(Expr_t *pgm, char *src);
47 extern int deleteObj(Agraph_t * g, Agobj_t * obj);
48 extern char *colorx (Expr_t* ex, char* incolor, char* fmt);
49 extern void gvstart_timer(void);
50 extern double gvelapsed_sec(void);
51
52#ifdef __cplusplus
53}
54#endif
Agedge_t * isEdge(Agraph_t *g, Agnode_t *t, Agnode_t *h, char *key)
Definition actions.c:446
int indexOf(char *s1, char *s2)
Definition actions.c:72
Agraph_t * readFile(char *)
Definition actions.c:583
Agnode_t * addNode(Agraph_t *g, Agnode_t *n, int doAdd)
Definition actions.c:465
char * colorx(Expr_t *ex, char *incolor, char *fmt)
Definition actions.c:790
Agraph_t * sameG(void *p1, void *p2, char *fn, char *msg)
Definition actions.c:52
Agobj_t * cloneO(Agraph_t *g, Agobj_t *obj)
Definition actions.c:353
size_t match(char *str, char *pat)
Definition actions.c:106
int fwriteFile(Expr_t *, Agraph_t *, long long)
Definition actions.c:601
int deleteObj(Agraph_t *g, Agobj_t *obj)
Definition actions.c:519
int writeFile(Agraph_t *, char *)
Definition actions.c:562
long rindexOf(char *s1, char *s2)
Definition actions.c:80
int compare(Agobj_t *, Agobj_t *)
Definition actions.c:687
void gvstart_timer(void)
Definition actions.c:868
int openFile(Expr_t *, const char *, const char *)
Definition actions.c:621
char * toLower(Expr_t *pgm, char *src)
Definition actions.c:718
Agraph_t * cloneG(Agraph_t *g, char *name)
Definition actions.c:332
char * toHtml(Agraph_t *, char *)
Definition actions.c:756
Agraph_t * freadFile(Expr_t *, long long)
Definition actions.c:611
int closeFile(Expr_t *, long long)
Definition actions.c:639
int sfioWrite(Agraph_t *, FILE *)
Definition actions.c:548
Agobj_t * copy(Agraph_t *g, Agobj_t *obj)
Definition actions.c:156
double gvelapsed_sec(void)
Definition actions.c:870
Agedge_t * addEdge(Agraph_t *g, Agedge_t *e, int doAdd)
Definition actions.c:475
Agraph_t * compOf(Agraph_t *g, Agnode_t *n)
Definition actions.c:424
char * readLine(Expr_t *, long long)
Definition actions.c:664
char * toUpper(Expr_t *pgm, char *src)
Definition actions.c:737
int copyAttr(Agobj_t *obj, Agobj_t *obj1)
Definition actions.c:122
char * canon(Expr_t *pgm, char *)
Definition actions.c:761
int lockGraph(Agraph_t *g, int)
Definition actions.c:490
abstract graph C library, Cgraph API
disc key
Definition exparse.y:214
agxbuf * str
Definition htmlparse.c:97
NEATOPROCS_API void s1(graph_t *, node_t *)
Definition stuff.c:671
a generic header of Agraph_s, Agnode_s and Agedge_s
Definition cgraph.h:210
graph or subgraph
Definition cgraph.h:425
Definition expr.h:202