by oscar.novillo » Thu Apr 26, 2012 10:39 am 
			
			at the end it was easy, 
i thought i have to add a lot of points, like in a pptx, but its only needed to add nodes, and conections.
I post the solution code test is a CTDataModel
      test.getPtLst().getPt().add(createPoint("1","1",STPtType.NODE));
      test.getPtLst().getPt().add(createPoint("2","2",STPtType.NODE));
      test.getCxnLst().getCxn().add(createConexion("7", "1", "2",0));
public CTPt createPoint (String ModelId, String text,STPtType stp)
    {
                CTPt point =  new CTPt();
       point.setModelId(ModelId);
       point.setType(stp);
       point.setPrSet(new CTElemPropSet());
       point.setSpPr(new CTShapeProperties());
       point.setT(new CTTextBody());
       
       point.getT().setBodyPr(new CTTextBodyProperties());
       point.getT().setLstStyle(new CTTextListStyle());
       
       
       CTTextParagraph p = new CTTextParagraph();
       p.setEndParaRPr(new CTTextCharacterProperties());
       p.getEndParaRPr().setDirty(Boolean.FALSE);
       
      
       CTRegularTextRun rText = new CTRegularTextRun();
       rText.setT(text);
       rText.setRPr(new CTTextCharacterProperties());
       rText.getRPr().setDirty(Boolean.FALSE);
       rText.getRPr().setSmtClean(Boolean.FALSE);
       rText.getRPr().setHlinkClick(new CTHyperlink());
       rText.getRPr().getHlinkClick().setAction("ppaction://hlinkshowjump?jump=firstslide");
       
       p.getEGTextRun().add(rText);
       
       point.getT().getP().add(p);
       
       return point;
    }
    public CTCxn createConexion(String ModelId, String sourceId, String destId, long sourceOrd )
    {
        
      CTCxn cxn = new CTCxn();
      cxn.setModelId(ModelId);
      cxn.setSrcId(sourceId);
      cxn.setDestId(destId);
      //cxn.setSrcOrd(sourceOrd);
        
      return cxn;
    }
thanks for your time.