public class DefaultDotGraphModel extends Object implements DotGraphModel
DotGraphModel, making use of DotGraph,
DotNodes and DotEdges.
Created: 24.05.2014 18:17:07| Constructor and Description |
|---|
DefaultDotGraphModel(DotGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
ArrowShape |
getEdgeArrowHead() |
ArrowShape |
getEdgeArrowHead(Object edge) |
ArrowShape |
getEdgeArrowTail() |
ArrowShape |
getEdgeArrowTail(Object edge) |
int |
getEdgeCountOfNode(Object node) |
String |
getEdgeHeadLabel(Object edge) |
Object |
getEdgeOfNode(Object node,
int index) |
EdgeStyle |
getEdgeStyle() |
EdgeStyle |
getEdgeStyle(Object edge) |
String |
getEdgeTailLabel(Object edge) |
String |
getName() |
Object |
getNode(int index) |
int |
getNodeCount() |
String |
getNodeFillColor() |
String |
getNodeFillColor(Object node) |
Integer |
getNodeFontSize() |
String |
getNodeId(Object node) |
String |
getNodeLabel(Object node) |
Collection<?> |
getNodeSegments(Object node) |
NodeShape |
getNodeShape() |
NodeStyle |
getNodeStyle() |
NodeStyle |
getNodeStyle(Object node) |
RankDir |
getRankDir() |
Object |
getTargetNodeOfEdge(Object sourceNode,
Object edge) |
boolean |
isDirected()
Tells if the graph is directed
|
boolean |
isNodeVertical(Object node) |
public DefaultDotGraphModel(DotGraph graph)
public String getName()
getName in interface DotGraphModelpublic boolean isDirected()
DotGraphModelisDirected in interface DotGraphModelpublic RankDir getRankDir()
getRankDir in interface DotGraphModelpublic NodeShape getNodeShape()
getNodeShape in interface DotGraphModelpublic Integer getNodeFontSize()
getNodeFontSize in interface DotGraphModelpublic NodeStyle getNodeStyle()
getNodeStyle in interface DotGraphModelpublic String getNodeFillColor()
getNodeFillColor in interface DotGraphModelpublic ArrowShape getEdgeArrowHead()
getEdgeArrowHead in interface DotGraphModelpublic ArrowShape getEdgeArrowTail()
getEdgeArrowTail in interface DotGraphModelpublic EdgeStyle getEdgeStyle()
getEdgeStyle in interface DotGraphModelpublic int getNodeCount()
getNodeCount in interface DotGraphModelpublic Object getNode(int index)
getNode in interface DotGraphModelindex - the index of the requested nodepublic String getNodeId(Object node)
getNodeId in interface DotGraphModelpublic boolean isNodeVertical(Object node)
isNodeVertical in interface DotGraphModelpublic String getNodeLabel(Object node)
getNodeLabel in interface DotGraphModelpublic Collection<?> getNodeSegments(Object node)
getNodeSegments in interface DotGraphModelpublic String getNodeFillColor(Object node)
getNodeFillColor in interface DotGraphModelpublic NodeStyle getNodeStyle(Object node)
getNodeStyle in interface DotGraphModelpublic int getEdgeCountOfNode(Object node)
getEdgeCountOfNode in interface DotGraphModelpublic Object getEdgeOfNode(Object node, int index)
getEdgeOfNode in interface DotGraphModelpublic Object getTargetNodeOfEdge(Object sourceNode, Object edge)
getTargetNodeOfEdge in interface DotGraphModelpublic ArrowShape getEdgeArrowHead(Object edge)
getEdgeArrowHead in interface DotGraphModelpublic String getEdgeHeadLabel(Object edge)
getEdgeHeadLabel in interface DotGraphModelpublic ArrowShape getEdgeArrowTail(Object edge)
getEdgeArrowTail in interface DotGraphModelpublic String getEdgeTailLabel(Object edge)
getEdgeTailLabel in interface DotGraphModelpublic EdgeStyle getEdgeStyle(Object edge)
getEdgeStyle in interface DotGraphModelCopyright © 2006–2016 Volker Bergmann. All rights reserved.