public static class DrawDot.Connection extends DrawDot.BaseAttributable<DrawDot.Connection>
attributes| Constructor and Description |
|---|
Connection(DrawDot.Node from,
DrawDot.Node to) |
Connection(DrawDot.Node from,
String fromPort,
DrawDot.Node to,
String toPort) |
add, emit, getAttributespublic Connection(DrawDot.Node from, DrawDot.Node to)
public Connection(DrawDot.Node from, String fromPort, DrawDot.Node to, String toPort)
public DrawDot.Connection penWidth(int penWidth)
public DrawDot.Node getFrom()
public String getFromPort()
public DrawDot.Node getTo()
public String getToPort()
public DrawDot.Arrow getHead()
public DrawDot.Arrow getTail()
public DrawDot.Connection connectionType(DrawDot.ConnectionType cType)
public void emit(DrawDot.Graph parent, PrintWriter writer, String indent)
public DrawDot.Connection head(DrawDot.Arrow head)
public DrawDot.Connection tail(DrawDot.Arrow tail)
public boolean equals(Object o)
equals in class DrawDot.BaseAttributable<DrawDot.Connection>public int hashCode()
hashCode in class DrawDot.BaseAttributable<DrawDot.Connection>public String toString()
toString in class DrawDot.BaseAttributable<DrawDot.Connection>public E html(String html)
public E label(String label)
public E labelFontColor(String color)
public E labelFontsize(int fontSize)
public E color(String color)
public E color(DrawDot.Color color)
public E style(DrawDot.EdgeStyle style, DrawDot.Color... colorlist)
public E style(DrawDot.EdgeStyle style)
public E style(DrawDot.EdgeStyle style, String colorlist)
public E add(org.sfj.DrawDot.Attribute attr)
public E commentBefore(String... lines)
public E commentAfter(String... lines)
Copyright © 2020. All rights reserved.