Package net.sourceforge.jpowergraph.defaults

Examples of net.sourceforge.jpowergraph.defaults.TextEdge


      for (ConceptDescription conceptDescription : r.getConceptDescriptions()) {
        final String objectConceptUri = conceptDescription.getUri();
        if(objectConceptUri!=null ){
          if (r.getOnproperty() != null) {
            relatedNode = new RelationNode(conceptDescription.getName());           
            edges.add(new TextEdge(relationsRoot,relatedNode,formatRelation(r.getOnproperty())));           
          } else if (isSuperclassOfRelation(r)) {                     
            relatedNode = new SuperClassNode(conceptDescription.getName());           
            edges.add(new LineEdge(superClassRoot, relatedNode));
            } else {
              // otherwise, the object _is superclass of_ this, so...
View Full Code Here


              formatActivation(pathConceptTO.getName(),
                  concepts.get(pathConceptTO.getUri())),
                  pathConceptTO.getUri());
        for(String relation:path[path.length-1].getRelationsUri()){
          if(relation != null)
            edges.add(new TextEdge(activatedRoot,activateNode,formatRelation(relation)))
        }       
        nodes.add(activateNode);
      }//If activated by current spread node
    }
    edges.add(new ArrowEdge(spreadedNode,activatedRoot));
View Full Code Here

              formatActivation(pathConceptTO.getName(),
                  concepts.get(pathConceptTO.getUri())),
                  pathConceptTO.getUri());
        for(String relation:path[path.length-1].getRelationsUri()){
          if(relation != null)
            edges.add(new TextEdge(activatedRoot,activateNode,formatRelation(relation)))
        }       
        nodes.add(activateNode);
      }//If activated by current spread node
    }
    edges.add(new ArrowEdge(spreadedNode,activatedRoot));
View Full Code Here

        nodes.add(sn6);
        nodes.add(ssn1);
        nodes.add(ssn2);
       
        edges.add(new LineEdge(n1, sn1));
        edges.add(new TextEdge(n1, sn2, "edge label"));
        edges.add(new ClusterEdge(n1, sn3, true));
        edges.add(new LoopEdge2(sn3));
        edges.add(new LineEdge(n1, sn4));
        edges.add(new LoopEdge(sn4));
        edges.add(new LineEdge(n1, sn5));
View Full Code Here

TOP

Related Classes of net.sourceforge.jpowergraph.defaults.TextEdge

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.