owltools.gfx
Class OWLGraphStrokeEdge

java.lang.Object
  extended by uk.ac.ebi.interpro.graphdraw.StrokeEdge<OWLGraphLayoutNode>
      extended by owltools.gfx.OWLGraphStrokeEdge
All Implemented Interfaces:
uk.ac.ebi.interpro.graphdraw.Edge<OWLGraphLayoutNode>, uk.ac.ebi.interpro.graphdraw.LayoutEdge<OWLGraphLayoutNode>

public class OWLGraphStrokeEdge
extends uk.ac.ebi.interpro.graphdraw.StrokeEdge<OWLGraphLayoutNode>

Represents an edge in a layour graph Adapted from QuickGO

Author:
cjm

Nested Class Summary
 class OWLGraphStrokeEdge.SVGEdge
           
 
Field Summary
 
Fields inherited from class uk.ac.ebi.interpro.graphdraw.StrokeEdge
colour, route
 
Constructor Summary
OWLGraphStrokeEdge(OWLGraphLayoutNode parent, OWLGraphLayoutNode child, OWLGraphEdge oge)
           
 
Method Summary
 Object serialise()
           
 void setRelationType()
          Sets the value of relType based on OWLGraphEdge properties TODO : this is too hacky.
 
Methods inherited from class uk.ac.ebi.interpro.graphdraw.StrokeEdge
drawArrows, getChild, getParent, main, render, setChildArrow, setParentArrow, setRoute, standardArrow, standardArrow, standardArrow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLGraphStrokeEdge

public OWLGraphStrokeEdge(OWLGraphLayoutNode parent,
                          OWLGraphLayoutNode child,
                          OWLGraphEdge oge)
Method Detail

setRelationType

public void setRelationType()
Sets the value of relType based on OWLGraphEdge properties TODO : this is too hacky. Make this a soft configuration, e.g. an ontology with color properties


serialise

public Object serialise()


Copyright © 2010-2012. All Rights Reserved.