Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
sameport.c File Reference
#include <cgraph/list.h>
#include <cgraph/streq.h>
#include <math.h>
#include <dotgen/dot.h>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for sameport.c:

Go to the source code of this file.

Data Structures

struct  same_t
 

Typedefs

typedef struct same_t same_t
 

Functions

static void free_same (same_t s)
 
static void sameedge (same_list_t *same, edge_t *e, char *id)
 register e in the same structure of the originating node under id
 
static void sameport (node_t *u, edge_list_t l)
 
void dot_sameports (graph_t *g)
 

Typedef Documentation

◆ same_t

typedef struct same_t same_t

Function Documentation

◆ dot_sameports()

void dot_sameports ( graph_t g)

Definition at line 39 of file sameport.c.

References agattr(), AGEDGE, agfstedge(), agfstnode(), aghead, agnxtedge(), agnxtnode(), agtail, agxget(), E_samehead, E_sametail, id, NULL, sameedge(), and sameport().

Referenced by dotLayout(), and make_flat_adj_edges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_same()

static void free_same ( same_t  s)
static

Definition at line 30 of file sameport.c.

◆ sameedge()

static void sameedge ( same_list_t *  same,
edge_t e,
char *  id 
)
static

Definition at line 79 of file sameport.c.

References same_t::id, same_t::l, and streq().

Referenced by dot_sameports().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sameport()

static void sameport ( node_t u,
edge_list_t  l 
)
static

Definition at line 91 of file sameport.c.

References aghead, agraphof(), agtail, port::bp, port::clip, port::constrained, port::defined, port::dyna, ED_edge_type, ED_head_port, ED_tail_port, ED_to_virt, GD_ranksep, MC_SCALE, port::name, ND_coord, ND_has_port, ND_ht, ND_in, ND_lw, ND_node_type, ND_out, ND_rw, NULL, port::order, port::p, shape_clip(), port::side, port::theta, VIRTUAL, pointf_s::x, and pointf_s::y.

Referenced by dot_sameports().

Here is the call graph for this function:
Here is the caller graph for this function: