Package prefuse.data.tuple

Examples of prefuse.data.tuple.TupleSet


        public TreeRootAction(final String graphGroup) {
            super(graphGroup);
        }

        public void run(final double frac) {
            TupleSet focus = vis.getGroup(Visualization.FOCUS_ITEMS);
            if (focus == null || focus.getTupleCount() == 0)
                return;           
            Graph g = (Graph) vis.getGroup(m_group);
            Node f = null;
            Iterator tuples = focus.tuples();
            while (tuples.hasNext() &&
                   !g.containsTuple(f=(Node)tuples.next())) {
                f = null;
            }
            if (f == null) {
View Full Code Here


    /*
     * Remove an OperationalString from the graph
     */
    public static void removeOpString(Graph g, Visualization vis, String name) {
        vis.cancel("filter");
        TupleSet set = vis.getGroup(Constants.TREE);
        for (Iterator it = set.tuples(); it.hasNext();) {
            Object o = it.next();
            boolean delete = false;
            Tuple sourceTuple = null;
            Object uo = null;

View Full Code Here

TOP

Related Classes of prefuse.data.tuple.TupleSet

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.