Package org.graphstream.ui.graphicGraph

Examples of org.graphstream.ui.graphicGraph.GraphicSprite.addAttribute()


        GraphicSprite S1 = graphic.getSprite("S1");
        GraphicSprite S2 = graphic.getSprite("S2");

        if (S2 != null) {
          S2.addAttribute("ui.foobar", "foobar");
          S2.setPosition(1, 2, 3, Style.Units.GU);
        }

        if (S1 != null)
          S1.setPosition(0.5f);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.