Documentation ¶
Index ¶
- Variables
- func Box(w io.Writer, name string, label string)
- func Circle(w io.Writer, name string, label string, filled bool)
- func EndCluster(w io.Writer)
- func EndGraph(w io.Writer)
- func HexBox(w io.Writer, name string, code []byte, columns int, compressed bool, ...)
- func Horizontal(w io.Writer, hex []byte, highlighted int, name string, indexColors []string, ...)
- func QuadHorizontal(w io.Writer, quad []byte, highlighted bool, name string)
- func QuadVertical(w io.Writer, quad []byte, highlighted int, name string)
- func StartCluster(w io.Writer, number int, label string)
- func StartGraph(w io.Writer, tall bool)
- func Vertical(w io.Writer, hex []byte, highlighted int, name string, indexColors []string, ...)
Constants ¶
This section is empty.
Variables ¶
var HexFontColors = []string{
"#000000",
"#000000",
"#000000",
"#000000",
"#000000",
"#FFFFFF",
"#FFFFFF",
"#000000",
"#000000",
"#FFFFFF",
"#FFFFFF",
"#000000",
"#000000",
"#000000",
"#FFFFFF",
"#FFFFFF",
}
var HexIndexColors = []string{
"#FFFFFF",
"#FBF305",
"#FF6403",
"#DD0907",
"#F20884",
"#4700A5",
"#0000D3",
"#02ABEA",
"#1FB714",
"#006412",
"#562C05",
"#90713A",
"#C0C0C0",
"#808080",
"#404040",
"#000000",
}
var QuadFontColors = []string{
"#000000",
"#000000",
"#000000",
"#000000",
}
var QuadIndexColors = []string{
"#FFFFFF",
"#FBF305",
"#F20884",
"#02ABEA",
}
Functions ¶
func EndCluster ¶
func Horizontal ¶
func QuadHorizontal ¶
QuadHorizontal produces a horizontal line corresponding to quad digits in key (one byte - one digit) highlighted - whether digits need to be highlighted (contain digits themselves) name - name of the compontent (to be connected to others)
func QuadVertical ¶
QuadVertical produces a vertical line corresponding to quad digits in key (one byte - one digit) highlighted - number of digits that need to be highlighted (contain digits themselves) name - name of the compontent (to be connected to others)
func StartGraph ¶
func Vertical ¶
func Vertical(w io.Writer, hex []byte, highlighted int, name string, indexColors []string, fontColors []string, compression int)
Vertical produces a vertical line corresponding to hex digits in key (one byte - one digit) highlighted - number of digits that need to be highlighted (contain digits themselves) name - name of the compontent (to be connected to others)
Types ¶
This section is empty.