owltools.gfx
Class OWLGraphStrokeEdge
java.lang.Object
uk.ac.ebi.interpro.graphdraw.StrokeEdge<OWLGraphLayoutNode>
owltools.gfx.OWLGraphStrokeEdge
- All Implemented Interfaces:
- uk.ac.ebi.interpro.graphdraw.Edge<OWLGraphLayoutNode>, uk.ac.ebi.interpro.graphdraw.LayoutEdge<OWLGraphLayoutNode>
public final class OWLGraphStrokeEdge
- extends uk.ac.ebi.interpro.graphdraw.StrokeEdge<OWLGraphLayoutNode>
Represents an edge in a layout graph
Adapted from QuickGO
- Author:
- cjm
Fields inherited from class uk.ac.ebi.interpro.graphdraw.StrokeEdge |
colour, route |
Methods inherited from class uk.ac.ebi.interpro.graphdraw.StrokeEdge |
drawArrows, getChild, getParent, main, render, setChildArrow, setParentArrow, setRoute, standardArrow, standardArrow, standardArrow |
OWLGraphStrokeEdge
public OWLGraphStrokeEdge(OWLGraphLayoutNode parent,
OWLGraphLayoutNode child,
OWLGraphEdge oge,
OWLGraphWrapper graph)
getRelationType
public static RelationType getRelationType(OWLGraphEdge owlGraphEdge,
OWLGraphWrapper graph)
- 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
- Parameters:
owlGraphEdge
- graph
-
- Returns:
- relationtype or null
serialise
public Object serialise()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2010-2012. All Rights Reserved.