48 "digraph code {\nrankdir=LR;\noutputorder=edgesfirst\ngraph [bgcolor=azure];\n"
49 "edge [arrowhead=normal, color=\"#3030c0\" style=bold weight=2 %s];\n"
50 "node [fillcolor=white, style=filled shape=box "
51 "fontsize=\"8\" %s];\n",
52 edge_properties ? edge_properties :
"",
53 node_properties ? node_properties :
"");
55 rz_list_foreach (nodes, it, node) {
57 const char *body = print_node->
body;
58 if (!body || !*body) {
65 rz_list_foreach (node->
out_nodes, itt, target) {
84 rz_list_foreach (nodes, it, node) {
88 if (print_node->
title) {
91 if (print_node->
body) {
97 pj_k(pj,
"out_nodes");
100 rz_list_foreach (neighbours, itt, neighbour) {
101 pj_i(pj, neighbour->idx);
RzBinInfo * info(RzBinFile *bf)
RZ_API void rz_graph_drawable_to_json(RzGraph *graph, PJ *pj, bool use_offset)
Convert graph to JSON.
RZ_API RzGraphNodeInfo * rz_graph_create_node_info(const char *title, const char *body, ut64 offset)
RZ_API char * rz_graph_drawable_to_dot(RzGraph *graph, const char *node_properties, const char *edge_properties)
Convert graph to Graphviz dot format.
RZ_API void rz_graph_free_node_info(void *ptr)
RZ_API RzGraphNode * rz_graph_add_node_info(RzGraph *graph, const char *title, const char *body, ut64 offset)
RZ_API void Ht_() free(HtName_(Ht) *ht)
#define rz_return_val_if_fail(expr, val)
RZ_API RzGraphNode * rz_graph_add_nodef(RzGraph *g, void *data, RzListFree user_free)
RZ_API PJ * pj_ki(PJ *j, const char *k, int d)
RZ_API PJ * pj_k(PJ *j, const char *k)
RZ_API PJ * pj_end(PJ *j)
RZ_API PJ * pj_i(PJ *j, int d)
RZ_API PJ * pj_ks(PJ *j, const char *k, const char *v)
RZ_API PJ * pj_kn(PJ *j, const char *k, ut64 n)
RZ_API RZ_OWN char * rz_strbuf_drain_nofree(RzStrBuf *sb)
RZ_API bool rz_strbuf_append(RzStrBuf *sb, const char *s)
RZ_API bool rz_strbuf_appendf(RzStrBuf *sb, const char *fmt,...) RZ_PRINTF_CHECK(2
RZ_API void rz_strbuf_init(RzStrBuf *sb)
Generic drawable graph node.
ut64 offset
Optional offset for the object corresponding to node.
if(dbg->bits==RZ_SYS_BITS_64)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()