Digraph library?

Nice, Stef! *I'd* be very interested.

Steve

···

On 07/15/2010 12:07 PM, Stef Mientki wrote:

  On 15-07-2010 02:07, duncan smith wrote:

Jason G wrote:

Hey all-

I am looking to make a UI where the user can drag nodes into a graph
and connect them in a flowchart/digraph style. Essentially, given so
many steps, I want the user to be able to order them in the manner
they prefer.

Once the nodes have been ordered and the edges of the digraph
constructed, I also would like to be able to export the graph into
self-specified LISP code. Basically I want to have a way to cleanly
extract the nodes and their connections in text form.

Are there and libraries or widgets specifically designed for this?
Has anyone encountered a similar need?

Jason

Encountered a similar need for producing / editing graphical models
(of various flavours). I used OGL. I subclassed ogl.ShapeCanvas and
ogl.ShapeEvtHandler for my canvas class and node and edge handler
classes. Nodes and edges are added / named / deleted via mouse clicks
and the keyboard rather than dragging. When I've needed multiple node
types I've just used a menu to select the current node type before
adding them. I reserve right clicking on nodes / edges for adding
data. But you might prefer other choices. I also use Graphviz for
graph layout (when opening a file). It doesn't take much work to get
something up and running for a new type of model. OGL worked for me,
but OGLlike might be easier (I haven't tried it yet).

Duncan

indeed OGL like seems a good choice (easier, smaller and more flexible
than OGL)
here some examples of what I've done with it.
http://mientki.ruhosting.nl/data_www/pylab_works/pw_circuit_editor.html
http://mientki.ruhosting.nl/data_www/pylab_works/pw_bricks_2d_scene.html
if you're interested let me know and I'll upload the latest version.

cheers,
Stef

Sorry for the late response,
I thought I had invest some time to update the files,
but I see i haven't done anything for 2 years .
http://code.google.com/p/pylab-works/downloads/list
the 3 files with ogl in it

cheers,
Stef

Jason G wrote:

Hey all-

I am looking to make a UI where the user can drag nodes into a graph
and connect them in a flowchart/digraph style. Essentially, given so
many steps, I want the user to be able to order them in the manner
they prefer.

<snip>

···

On 15-07-2010 19:42, Stephen Waterbury wrote:

On 07/15/2010 12:07 PM, Stef Mientki wrote:

  On 15-07-2010 02:07, duncan smith wrote:
indeed OGL like seems a good choice (easier, smaller and more flexible
than OGL)
here some examples of what I've done with it.
http://mientki.ruhosting.nl/data_www/pylab_works/pw_circuit_editor.html
http://mientki.ruhosting.nl/data_www/pylab_works/pw_bricks_2d_scene.html
if you're interested let me know and I'll upload the latest version.

cheers,
Stef

Nice, Stef! *I'd* be very interested.

Steve

Iv'e been after a python version of this

For some time.

It looks like you are on your way. Check out the link for some ideas.

Given a brick and layout engine for a GUI, lots of inovative apps
become possible.

Nick

···

On Mon, Jul 19, 2010 at 11:16 AM, Stef Mientki <stef.mientki@gmail.com> wrote:

Sorry for the late response,
I thought I had invest some time to update the files,
but I see i haven't done anything for 2 years .
Google Code Archive - Long-term storage for Google Code Project Hosting.
the 3 files with ogl in it

cheers,
Stef

On 15-07-2010 19:42, Stephen Waterbury wrote:

On 07/15/2010 12:07 PM, Stef Mientki wrote:

On 15-07-2010 02:07, duncan smith wrote:

Jason G wrote:

Hey all-

I am looking to make a UI where the user can drag nodes into a graph
and connect them in a flowchart/digraph style. Essentially, given so
many steps, I want the user to be able to order them in the manner
they prefer.

<snip>

indeed OGL like seems a good choice (easier, smaller and more flexible
than OGL)
here some examples of what I've done with it.
http://mientki.ruhosting.nl/data_www/pylab_works/pw_circuit_editor.html
http://mientki.ruhosting.nl/data_www/pylab_works/pw_bricks_2d_scene.html
if you're interested let me know and I'll upload the latest version.

cheers,
Stef

Nice, Stef! *I'd* be very interested.

Steve

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
Nick

thanks for the link Nick,
I might see some new ideas there.
cheers,
Stef

···

On 19-07-2010 12:38, Nick Leaton wrote:

Iv'e been after a python version of this

http://www.nwoods.com/

For some time.

It looks like you are on your way. Check out the link for some ideas.

Given a brick and layout engine for a GUI, lots of inovative apps
become possible.

Nick