Graphviz 13.1.0~dev.20250626.0830
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, const 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:435
int indexOf(char *s1, char *s2)
Definition actions.c:61
Agraph_t * readFile(char *)
Definition actions.c:571
Agnode_t * addNode(Agraph_t *g, Agnode_t *n, int doAdd)
Definition actions.c:454
Agraph_t * sameG(void *p1, void *p2, char *fn, char *msg)
Definition actions.c:41
Agobj_t * cloneO(Agraph_t *g, Agobj_t *obj)
Definition actions.c:342
size_t match(char *str, char *pat)
Definition actions.c:95
int fwriteFile(Expr_t *, Agraph_t *, long long)
Definition actions.c:589
int deleteObj(Agraph_t *g, Agobj_t *obj)
Definition actions.c:507
int writeFile(Agraph_t *, char *)
Definition actions.c:550
long rindexOf(char *s1, char *s2)
Definition actions.c:69
int compare(Agobj_t *, Agobj_t *)
Definition actions.c:675
void gvstart_timer(void)
Definition actions.c:851
int openFile(Expr_t *, const char *, const char *)
Definition actions.c:609
char * toLower(Expr_t *pgm, char *src)
Definition actions.c:706
Agraph_t * cloneG(Agraph_t *g, char *name)
Definition actions.c:321
char * toHtml(Agraph_t *, char *)
Definition actions.c:744
Agraph_t * freadFile(Expr_t *, long long)
Definition actions.c:599
int closeFile(Expr_t *, long long)
Definition actions.c:627
int sfioWrite(Agraph_t *, FILE *)
Definition actions.c:536
Agobj_t * copy(Agraph_t *g, Agobj_t *obj)
Definition actions.c:145
double gvelapsed_sec(void)
Definition actions.c:853
Agedge_t * addEdge(Agraph_t *g, Agedge_t *e, int doAdd)
Definition actions.c:464
Agraph_t * compOf(Agraph_t *g, Agnode_t *n)
Definition actions.c:413
char * colorx(Expr_t *ex, const char *incolor, char *fmt)
Definition actions.c:773
char * readLine(Expr_t *, long long)
Definition actions.c:652
char * toUpper(Expr_t *pgm, char *src)
Definition actions.c:725
int copyAttr(Agobj_t *obj, Agobj_t *obj1)
Definition actions.c:111
char * canon(Expr_t *pgm, char *)
Definition actions.c:749
int lockGraph(Agraph_t *g, int)
Definition actions.c:479
abstract graph C library, Cgraph API
textitem scanner parser str
Definition htmlparse.y:224
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:424
Definition expr.h:220