Package org.kite9.diagram.adl

Examples of org.kite9.diagram.adl.Diagram


  @Kite9Item
  public Diagram someDesignItem() {
    Glyph g1 = new Glyph("stereo", "project:" + this.getClass().getName(), null, null);
    Glyph g2 = new Glyph("stereo", "project:" + Another.class.getName(), null, null);

    return new Diagram("somename", createList((Contained) g1, g2), null);
  }
View Full Code Here


  }
 
  @Kite9Item
  public Diagram simpleDiagram(DiagramBuilder db) {
    Glyph test = new Glyph("project_class:bob", "this is a", "test", null, null);
    Diagram out = new Diagram("some diagram", createList((Contained) test), null);
    return out;
  }
View Full Code Here

  @Kite9Item
  public Diagram simpleDiagram() {
    Glyph hf = new Glyph("harrison_ford","Actor","Harrison Ford", null, null);
    Glyph rs = new Glyph("ridley_scott", "Director", "Ridley Scott", null, null);
    Diagram d1 = new Diagram("my_diagram", listOf(hf, rs), null);
    return d1;
  }
View Full Code Here

 
  @Kite9Item
  public Diagram simpleDiagramWithoutIDs() {
    Glyph hf = new Glyph("Actor","Harrison Ford", null, null);
    Glyph rs = new Glyph("Director", "Ridley Scott", null, null);
    Diagram d1 = new Diagram("my_diagram", listOf(hf, rs), null);
    return d1;
  }
View Full Code Here

    Arrow ww = new Arrow("worked_with", "worked with");
   
    new Link(ww, hf);
    new Link(ww, rs);
   
    Diagram d1 = new Diagram("my_diagram", listOf(hf, rs, ww), null);
    return d1;
  }
View Full Code Here

    Arrow ww = new Arrow("worked_with", "worked with");
   
    new Link(ww, hf, LinkEndStyle.ARROW, null, LinkEndStyle.ARROW, null);
    new Link(ww, rs, null, new TextLine("label 1"), null, new TextLine("label 2"));
   
    Diagram d1 = new Diagram("my_diagram", listOf(hf, rs, ww), null);
    return d1;
  }
View Full Code Here

    Arrow ww = new Arrow("worked_with", "worked with");
   
    new Link(ww, hf, null, null, null, null, Direction.RIGHT);
    new Link(ww, rs);
   
    Diagram d1 = new Diagram("my_diagram", listOf(hf, rs, ww), null);
    return d1;
  }
View Full Code Here

  @Kite9Item
  public Diagram simpleDiagramWithSymbolsAndTextLines() {
    Symbol s = new Symbol("Brother of Tony Scott", 'T', SymbolShape.CIRCLE);
    Glyph rs = new Glyph("Director", "Ridley Scott", createList(new TextLine("Directed: Thelma & Louise"), new TextLine("Directed: Gladiator")),
        createList(s));
    Diagram d1 = new Diagram("my_diagram", listOf(rs), new Key("Big Movies", "", createList(s)));
    return d1;
  }
View Full Code Here

    Symbol s = kh.createSymbol("Brother of Tony Scott");
   
    Glyph hf = new Glyph("Actor","Harrison Ford", null, null);
    Glyph rs = new Glyph("Director", "Ridley Scott", null,
        createList(s));
    Diagram d1 = new Diagram("my_diagram", listOf(hf, rs),
        new Key("Big Movies", "", kh.getUsedSymbols()));
    return d1;
  }
View Full Code Here

      new Link(ww, rs);

      Context bladerunner = new Context("bladerunner", listOf(hf, rs, ww), true, new TextLine("Bladerunner"), null);

     
      Diagram d1 = new Diagram("my_diagram", listOf(bladerunner), null);
      return d1;
   
  }
View Full Code Here

TOP

Related Classes of org.kite9.diagram.adl.Diagram

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.