piccolo

Interactive Python Network/Graph Modeling

南笙酒味 提交于 2019-12-20 18:31:08
问题 I'm looking for a python library that will allow me to interactively draw networks and graphs and attach data to nodes and edges. I have found two libraries for Java that seem to do what I need: JUNG and piccolo2d. Are there any python equivalents to these? 回答1: Have a look at: matplotlib - Here are some graphs made with it. networkx igraph 回答2: Using GNU/Radio Companion, I was able to accomplish what I needed by performing some extensions here and there. It is not the best solution since it

How to use multiple layers in Piccolo2D?

陌路散爱 提交于 2019-12-12 02:42:14
问题 I want t have some picture above another one and want to utilize PCamera's addLayer() method. Is this possible? The following code throws NullPointerException . What's wrong with it? package test.piccolo; import java.awt.Color; import edu.umd.cs.piccolo.PCamera; import edu.umd.cs.piccolo.PLayer; import edu.umd.cs.piccolo.nodes.PPath; import edu.umd.cs.piccolox.PFrame; public class Try_Cameras_01 { @SuppressWarnings("serial") public static void main(String[] args) { new PFrame() { private

Interactive Python Network/Graph Modeling

独自空忆成欢 提交于 2019-12-03 05:49:08
I'm looking for a python library that will allow me to interactively draw networks and graphs and attach data to nodes and edges. I have found two libraries for Java that seem to do what I need: JUNG and piccolo2d . Are there any python equivalents to these? wong2 Have a look at: matplotlib - Here are some graphs made with it. networkx igraph Using GNU/Radio Companion, I was able to accomplish what I needed by performing some extensions here and there. It is not the best solution since it introduces some ugly dependencies, but it works for now. I've got an example of doing this here: http:/