Exemple #1
0
 public Node(Node node, DefaultOptions d)
 {
     Id         = node.Id;
     Size       = node.Size;
     Xaxis      = node.Xaxis;
     Yaxis      = node.Yaxis;
     Label      = node.Label;
     Color      = d.NodeColor;
     LabelColor = d.NodeLabelColor;
 }
Exemple #2
0
 public Node(Node node, DefaultOptions d, string h)
 {
     Id         = node.Id;
     Size       = node.Size;
     Xaxis      = node.Xaxis;
     Yaxis      = node.Yaxis;
     Label      = node.Label;
     Color      = d.NodeColor;
     LabelColor = d.NodeLabelColor;
     Header     = h;
 }
Exemple #3
0
 public Edge(Edge edge, DefaultOptions d, string label)
 {
     Id         = edge.Id;
     Head       = edge.Head;
     Tail       = edge.Tail;
     Curve      = edge.Curve;
     Weight     = edge.Weight;
     Label      = label;
     Size       = edge.Size;
     LabelColor = d.EdgeLabelColor;
     Color      = d.EdgeColor;
 }
Exemple #4
0
 public Options(string nodeC, string nodeLabelC, string edgeC, string edgeLabelC)
 {
     Default   = new DefaultOptions();
     Algorithm = new DefaultOptions(nodeC, nodeLabelC, edgeC, edgeLabelC);
 }
Exemple #5
0
 public Options()
 {
     Default   = new DefaultOptions();
     Algorithm = new DefaultOptions();
 }