background preloader

Overview — NetworkX v1.0rc1 documentation

Overview — NetworkX v1.0rc1 documentation

Force Directed Graphs in Javascript? on kylescholz.com :: blog Force Directed Graphs are self-organizing, visually appealing tools for representing relational data. The look is organic, because algorithms simulate the way charged particles arrange in space. They work great in user interfaces because the user has access to data nodes while the graph is being organized. Take a look (go ahead and play, they're interactive): Show Example So, what am I using these for? Recently, I've been considering alternatives to the traditional list and tree views used in search result user interfaces. Initial Findings Next Steps I need to produce some functional user interfaces. Update on Licensing: This work is licensed under a Creative Commons Attribution 2.5 License. As promised, I'm providing an open source license for the files referenced here.

University of Michigan, Center for the Complex Study of Systems Documentation Index Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience. Beginner Moderate Advanced General Python 3.x Resources Porting from Python 2 to Python 3 Can’t find what you’re looking for? >>> Python Needs You Open source software is made better when users can easily contribute code and documentation to fix bugs and add features. Contribute to Python Bug Tracker dse 4.0.0-RC1 DSE - Simplified "bulk" insert/update/delete for Django. Version : 4.0.0 - Release Candidate #2Author : Thomas Weholt <thomas@weholt.org>License : Modified BSD.Status : BetaUrl : DSE is available for one reason - to insert/update/delete lots of data -- as fast as possible.DSE vs Django ORM: typical speed gain is around 5x-10X for updates, 3X+ for inserts.DSE is aware of default values specified in your Django models and will use those if no value is given for a field in an insert statement.DSE caches SQL-statements, both inserts, updates and delete, and executes them when a specified number of statements has been prepared or when it`s told manually to flush cached statements to the database. The actual sql execution is done using DB API cursor.executemany and this is much faster than executing SQL-statements in sequence and way faster than using the Django ORM.DSE uses a dictionary to specify what fields to work on. You got a model like: Using dse: NB!

Graph Graph Description In mathematics and computer science, graph theory studies networks of connected nodes and their properties. A graph can be used to visualize related data, or to find the shortest path from one node to another node for example. Central concepts in graph theory are: Node: a block of information in the network.Edge: a connection between two nodes (can have a direction and a weight).Centrality: determining the relative importance of a node.Clustering: partitioning nodes into groups. The NodeBox Graph library includes algorithms from NetworkX for betweenness centrality and eigenvector centrality, Connelly Barnes' implementation of Dijksta shortest paths (here) and the spring layout for JavaScript by Aslak Hellesoy and Dave Hoover (here). For those of you looking for the old Graph library built on Boost, it can still be found here. Download Documentation The library has a cool example of a visual browser for WordNet. How to get the library up and running graph = ximport("graph")

SoNIA - Social Network Image Animator Social Network Image Animator What is it? SoNIA is a Java-based package for visualizing dynamic or longitudinal "network" data. By dynamic, we mean that in addition to information about the relations (ties) between various entities (actors, nodes) there is also information about when these relations occur, or at least the relative order in which they occur. Our intention for SoNIA is to read-in dynamic network information from various formats, aid the user in constructing "meaningful" layouts, and export the resulting images or "movies" of the network, along with information about the techniques and parameter settings used to construct the layouts, and some form of statistic indicating the "accuracy" or degree of distortion present in the layout. This is all somewhat ambitious, but not impossible. What else is SoNIA for? In addition, we hope that SoNIA will have other uses. Another mode of use that SoNIA supports is that of a "browser" for time-based network data. Authors

Tutorial — python-igraph v0.6 documentation This chapter contains a short overview of igraph‘s capabilities. It is highly recommended to read it at least once if you are new to igraph. I assume that you have already installed igraph; if you did not, see Installing igraph first. Familiarity with the Python language is also assumed; if this is the first time you are trying to use Python, there are many good Python tutorials on the Internet to get you started. Mark Pilgrim’s Dive Into Python is one that I personally suggest. If this is the first time you ever try to use a programming language, A Byte of Python is even better. Starting igraph igraph is a Python module, hence it can be imported exactly the same way as any other ordinary Python module at the Python prompt: $ python Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import igraph >>> import igraph>>> print igraph. Creating a graph from scratch Warning Note

sanokore/UI-Input-Validator blog Perhaps it's subtle, but the draft spec for XMLHttpRequest calls for support for progressive response handling: 4.7.6 The responseText attribute The responseText attribute must return the result of running these steps: 1. 2. To rephrase for my purposes, responseText should return the intermediate contents of the response when an XMLHttpRequest is interrogated during the LOADING state. I ran a modified version of the streaming response tests I used in my last post to verify progressive XHR handling. For Webkit browsers, it's critical to specify a Content-Type of "text/plain" or "application/x-javascript" when returning script content to an XHR for progressive handling. Now, since we'll be interpreting partial response content as executable script, we'll need to do something to ensure that each chunk we evaluate terminates on a complete expression. window.aFunction(); // -- // window.bFunction(); // -- // Where //--// is the delimiter.

Related: