To answer one of my issues..
I figured out how to get the buttons to delete more than one vertex in
your html example. I used this code...
'subgraph_vertices=vertices.difference
([to_delete,to_delete2,to_delete3,to_delete4])' and it seems to work
nicely. Does this seem like the best solution?
1. Rado Kirov's javascript version to create/manipulate a graph is
awesome - that would be an excellent thing to insert into Sage. (says
he who doesn't know how to program) - very young students could work
with that and then progress up to 'the code'. In fact, just using the
page referenced abov
docfleetwood wrote:
> Thanks, I have looked at a number of interact examples.
>
> I suppose what I should really say is that I still need to figure out
> how to 'program' an interactive that will get the job done.
>
Does the examples at http://sagenb.org/home/pub/733/ help more?
I just notice
Hi Tom,
On Wed, Aug 19, 2009 at 10:18 AM, docfleetwood wrote:
>
> Thanks, I have looked at a number of interact examples.
>
> I suppose what I should really say is that I still need to figure out
> how to 'program' an interactive that will get the job done.
>
> Although I recall reading in one of
Thanks, I have looked at a number of interact examples.
I suppose what I should really say is that I still need to figure out
how to 'program' an interactive that will get the job done.
Although I recall reading in one of these groups that someone was
working on a java or javascript method to be
On Aug 17, 10:10 pm, docfleetwood wrote:
> Although I still need to figure out a good interactive mechanism to
> delete a vertex and redraw the graph. H...
Have you looked at the examples at http://wiki.sagemath.org/interact ?
There you can pretty quickly see the variety of input widgets y
Nevermind on #1, I'm an idiot :-)
I have approached the DiGraph problem a different way (and no doubt
how I should've done it from the beginning).
Although I still need to figure out a good interactive mechanism to
delete a vertex and redraw the graph. H...
On Aug 16, 1:36 am, docfleetwood
That is awesome, thanks. I've been messing with it for hours but I
have two questions...
1. When I try to create my own matrix, or constrain the weights in
the random_matrix, the edge labels come back as 'none'. How do I
create edge weights when I create the matrix? I need values b/w 0 and
1.
docfleetwood wrote:
> Hello folks,
>
> Very new to this and I'm looking for some help getting started. I
> want to create a weighted edge directed graph. Then I want to add an
> interactive slider where the student can remove one of the vertices
> and the graph redraws. Then they can move a sec