Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## biouml.plugins.jgraph
Class DiagramToJGraphTransformer

public class DiagramToJGraphTransformer

Converts BioUML diagram or its part into org.jgraph.graph for usage by graph layout algorithm. Produced layout is used to assign corresponding coordinates to diagram components.

pending - compartment issues. It is suggested that the diagram has not compartments.

Method Summary
`static void` | `applyLayout(Compartment diagram, GraphModel graph)`
`static GraphModel` | `generateGraph(Compartment diagram, Filter filter)` Generates graph for BioUML diagram or its part.
`static void` | `layout(Diagram diagram, Layouter layouter, Graphics g)`

Method Detail

### applyLayout

    public static void applyLayout(Compartment diagram, GraphModel graph)

  todo Implement applyLayout()s

### generateGraph

    public static GraphModel generateGraph(Compartment diagram, Filter filter)

  Generates graph for BioUML diagram or its part.
  Parameters:
    daigram - - diagram or compartment for which grpah should be generated.
    filter - - allows filter nodes and edges to be included in the graph.
  pending - compartment issues. Compartments are treated as usual nodes, their internal elements are ignored, due to this reason some edges can be skipped.

### layout

    public static void layout(Diagram diagram, Layouter layouter, Graphics g)

  todo Implement layout

Association Links

to Class java.lang.String

to Class org.apache.log4j.Category

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM