Ejemplo n.º 1
0
 public DotHtmlTable Table(string iconName, IDotHtmlLabel titleContents, IEnumerable <string> tableContents)
 {
     return(Table(
                iconName,
                titleContents,
                SimpleTable(tableContents)
                ));
 }
Ejemplo n.º 2
0
 public DotHtmlTable Table(string iconName, string titleContents, IDotHtmlLabel tableContents)
 {
     return(Table(
                iconName,
                titleContents.ToHtmlString(),
                tableContents
                ));
 }
Ejemplo n.º 3
0
        public DotHtmlCell AddCell(IDotHtmlLabel label)
        {
            var cell = new DotHtmlCell().SetContents(label);

            Add(cell);

            return(cell);
        }
Ejemplo n.º 4
0
        public DotSubGraph SetLabel(IDotHtmlLabel value)
        {
            AssertIsCluster();

            SetAttribute("label", value.TaggedValue);

            return(this);
        }
Ejemplo n.º 5
0
        public DotHtmlRow AddRow(IDotHtmlLabel label)
        {
            var row = new DotHtmlRow();

            row.AddCell(label);

            Add(row);

            return(row);
        }
Ejemplo n.º 6
0
        public DotHtmlTable Table(string iconName, IDotHtmlLabel titleContents)
        {
            var table =
                DotUtils.Table()
                .SetBorder(0);

            table.AddRow(
                DotUtils.ImageCell(Path.Combine(IconsPath, iconName + "64.png")),
                DotUtils.Cell().SetContents(titleContents)
                );

            return(table);
        }
Ejemplo n.º 7
0
        public DotNode SetExternalLabel(IDotHtmlLabel value)
        {
            AttrValues.SetAttribute("xlabel", value.TaggedValue);

            return(this);
        }
Ejemplo n.º 8
0
        public DotEdge SetTailLabel(IDotHtmlLabel value)
        {
            AttrValues.SetAttribute("taillabel", value.TaggedValue);

            return(this);
        }
Ejemplo n.º 9
0
        public DotEdge SetHeadLabel(IDotHtmlLabel value)
        {
            AttrValues.SetAttribute("headlabel", value.TaggedValue);

            return(this);
        }
Ejemplo n.º 10
0
        public DotSubGraphDefaults SetLabel(IDotHtmlLabel value)
        {
            AttrValues.SetAttribute("label", value.TaggedValue);

            return(this);
        }
Ejemplo n.º 11
0
        public DotHtmlCell SetContents(IDotHtmlLabel label)
        {
            Contents = label;

            return(this);
        }
Ejemplo n.º 12
0
 public DotGraph SetLabel(IDotHtmlLabel value)
 {
     return(SetAttribute("label", value.TaggedValue));
 }