Skip to main content


Importing your data in Tulip with Python

Importing Data using python scripting

The boilerplate

First, fire up Tulip, create a new Graph (Ctrl+N or from the menu File->New), open the python scripting component (View->Python Script View).

I personally like to tile the windows (Windows->Tile) so they both use as much space as they can.

The python script view will contain a basic script that creates variables for easy access to the graph's properties, such as nodes size, position color and so on.

[Python] Snippets

Hi everyone,

This page has been created to introduce basic concepts of python scripting in Tulip (available since 3.5.0).
You'll find here various python snippets, the goal is to cover various part of Tulip libraries (tulip, OGL) and to provide users with simple examples to start with.


Tulip opens to a new world of possibilities

About a year and a half ago, a group of six students experimented with QtScript and QtJambi, and how they could be integrated with Tulip.

Today, this project has been re-animated, and it looks pretty promising.

New technologies such as Shiboken (from PySide) have been integrated into this to allow for even more awesomeness.

We realize that lots of developers don't like C++, and for those, Tulip is not even an option.
The goal of using QtScript and QtJambi with Tulip is to bring new contributors to Tulip, without forcing them to use C++.

Syndicate content