mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
71634058a7
commit
e465f9b145
1 changed files with 2 additions and 1 deletions
|
@ -203,6 +203,7 @@ func (g *Graph) Dot(filter, layout, name string, disconnected bool) (string, int
|
|||
return "", 0, 0, err
|
||||
}
|
||||
|
||||
/*
|
||||
data += "\n"
|
||||
data += "node [style=filled height=0.55 fontname=\"Verdana\" fontsize=10];\n"
|
||||
data += "subgraph legend {\n" +
|
||||
|
@ -224,8 +225,8 @@ func (g *Graph) Dot(filter, layout, name string, disconnected bool) (string, int
|
|||
for i := 0; i < ntypes - 1; i++ {
|
||||
data += fmt.Sprintf(" \"%s\" -> \"%s\" [style=invis];\n", types[i], types[i + 1])
|
||||
}
|
||||
|
||||
data += "}\n"
|
||||
*/
|
||||
|
||||
data += "\n"
|
||||
data += " overlap=false\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue