Re: Attributes

berryj@elon.edu
Tue, 25 Aug 1998 18:30:56 -0400 (EDT)


It's a bug. Actually, you should be able to load your graph back and see
the saved labels in STk:

(define g (load-graph "file.g"))
(map (lambda (x) (find-string-attribute 'edge-label x))
(set-edge->list (edges g)))

Unfortunately, showing the graph in a graph-view window loses the labels -
it will be a quick fix in graph-view.stklos, but it may take me a while to
get a new release out.

Jon

On Tue, 25 Aug 1998, Rajinderjeet Singh Minhas wrote:

> Hi.
>
> I'm running LINK on Windows 95 and have come across the following
> problem. The program doesn't seem to save any changes to the attributes.
> For example, I relabeled an edge from e0 (its default value) to abc and
> saved the graph. Upon reloading the same graph, that edge had been
> relabeled as e0. Is this a bug or am I supposed to do something else to
> save the graph-item attributes?
>
> Thanks.
>
> -Minhas.
>
>