Package net.sourceforge.jpowergraph

Examples of net.sourceforge.jpowergraph.NodeFilter


    theJGraphPane.setDefaultEdgePainter(new LineEdgePainter(gray, gray, false));
  }


  public NodeFilter getNodeFilter() {
    NodeFilter nodeFilter = new DefaultNodeFilter();
    nodeFilter.addFilterable(SuperClassNode.class, true);
    nodeFilter.addFilterable(SubClassNode.class, true);
    nodeFilter.addFilterable(RelationNode.class, true);
    nodeFilter.addFilterable(InstanceNode.class, true);
    nodeFilter.addFilterable(InstanceOfNode.class, true);

    nodeFilter.addFilterable(InitialNode.class, true);
    nodeFilter.addFilterable(ActivateNode.class, true);
    nodeFilter.addFilterable(ActivationNode.class, true);
    nodeFilter.addFilterable(SpreadingNode.class, true)
    nodeFilter.addFilterable(SpreadNode.class, true);
    nodeFilter.addFilterable(PathNode.class, true)
    return nodeFilter;
  }
View Full Code Here


        theJGraphPane.setEdgePainter(ClusterEdge.class, new ClusterEdgePainter <ClusterEdge>());
        theJGraphPane.setDefaultEdgePainter(new LineEdgePainter(gray, gray, false));
    }

    public NodeFilter getNodeFilter() {
        NodeFilter nodeFilter = new DefaultNodeFilter();
        nodeFilter.addFilterable(NodeType2.class, true);
        nodeFilter.addFilterable(NodeType3.class, true);
        nodeFilter.addDependancy(NodeType2.class, NodeType3.class);
        return nodeFilter;
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.jpowergraph.NodeFilter

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.