edu.iastate.metnet.graphmodel
Interface IGraphMetaphor

All Known Implementing Classes:
AbstractGraphMetaphor, AbstractVersionGraphMetaphor, AlignmentMetaphor, CategoryMetaphor, ChemicalReactionMetaphor, ComparativeMetaphor, CompositionRelationMetaphor, DefaultGraphMetaphor, EditingMetaphor, FCMetaphor, IsomorphismMetaphor, PathwayElementMetaphor, SearchInteractionTypeMetaphor, SearchNameMetaphor, ValidityMetaphor, VersionGraphMetaphor

public interface IGraphMetaphor

interface for graph metaphor, which describe the mapping of the presentation layer of the graph and the content of the pathways. For instance, the interaction use red color and diamond shape.

Since:
6/25/04
Author:
Jie Li

Method Summary
 void run(org.jgraph.JGraph graph, java.lang.Object[] cells)
          run the metaphor on the selected cells.
 

Method Detail

run

void run(org.jgraph.JGraph graph,
         java.lang.Object[] cells)
run the metaphor on the selected cells.

Parameters:
graph - the jgraph instance
cells - the selected cells or all cells