35 #define RZ_AGRAPH_MODE_NORMAL 0
36 #define RZ_AGRAPH_MODE_OFFSET 1
37 #define RZ_AGRAPH_MODE_MINI 2
38 #define RZ_AGRAPH_MODE_TINY 3
39 #define RZ_AGRAPH_MODE_SUMMARY 4
40 #define RZ_AGRAPH_MODE_COMMENTS 5
41 #define RZ_AGRAPH_MODE_MAX 6
RZ_API RzANode * rz_agraph_add_node_with_color(const RzAGraph *g, const char *title, const char *body, int color)
RZ_API bool rz_agraph_del_node(const RzAGraph *g, const char *title)
RZ_API void rz_agraph_free(RzAGraph *g)
RZ_API void rz_agraph_set_title(RzAGraph *g, const char *title)
RZ_API RzAGraph * rz_agraph_new(RzConsCanvas *can)
RZ_API RzANode * rz_agraph_get_first_node(const RzAGraph *g)
RZ_API void rz_agraph_del_edge(const RzAGraph *g, RzANode *a, RzANode *b)
RZ_API RzANode * rz_agraph_add_node(const RzAGraph *g, const char *title, const char *body)
RZ_API Sdb * rz_agraph_get_sdb(RzAGraph *g)
RZ_API void rz_agraph_set_curnode(RzAGraph *g, RzANode *a)
RZ_API void rz_agraph_reset(RzAGraph *g)
RZ_API void rz_agraph_foreach_edge(RzAGraph *g, RAEdgeCallback cb, void *user)
RZ_API RzANode * rz_agraph_get_node(const RzAGraph *g, const char *title)
RZ_API void rz_agraph_print(RzAGraph *g)
RZ_API RzAGraph * create_agraph_from_graph(const RzGraph *graph)
Create RzAGraph from generic RzGraph with RzGraphNodeInfo as node data.
RZ_API void rz_agraph_add_edge_at(const RzAGraph *g, RzANode *a, RzANode *b, int nth)
RZ_API void rz_agraph_foreach(RzAGraph *g, RzANodeCallback cb, void *user)
RZ_API void rz_agraph_print_json(RzAGraph *g, PJ *pj)
RZ_API void rz_agraph_add_edge(const RzAGraph *g, RzANode *a, RzANode *b)
struct rz_ascii_graph_t RzAGraph
struct rz_core_graph_hits_t RzAGraphHits
void(* RAEdgeCallback)(RzANode *from, RzANode *to, void *user)
void(* RzANodeCallback)(RzANode *n, void *user)
struct rz_ascii_node_t RzANode
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr socklen_t static fromlen const void const struct sockaddr to
RzANodeCallback on_curnode_change
void * on_curnode_change_data
const RzGraphNode * curnode