As a title, I want to draw an image of the ELF file format. The ELF header element has an offset for the table header table and the program header section, so I want to use two arrow pointers to indicate the relationship. But the edges overlap the node (record) even after I overlapped = false and splines = true set. I searched for a while, but my situation is that the arrows point to parts of myself somewhat.
Below is the dot file that I use to create the png file.
digraph g {
//margin="1"
overlap='scale'
graph [rankdir="LR"]
"ELF File" [
label="<f0> ELF Header\n e_shoff=0x118| <f1> Program Headers Table | <f2> .text | <f3> .data | <f4> .rodata| <f5> .comment | <f6> .shstrtab | <f8> .symtab | <f9> .rel.text | <f7> Section Table"
shape="record"
];
"ELF File":f0 -> "ELF File":f1 [label="e_phoffset"]
"ELF File":f0 -> "ELF File":f7 [label="e_shoff"]
}
source
share