Mariano Martinez Peck wrote:
On Tue, Oct 2, 2012 at 8:08 PM, Ben Coman <btc@openinworld.com> wrote:

  
Following on from recent pharo-project 'Roassal Survey' posts which asked
for features for Roassal to be a universal diagram tool,  I have cobbled
together a concept demo.  I was quite surprised and pleased that I was able
to achieve this over the weekend - which I think is a testament to the
potential power of the clean design that Alexandre has achieved for
Roassal.  Glamour also helped ease the way.

Operation is quite basic - only interactively adding nodes and applying
different layouts.  Adding edges between nodes is still to go.  Previously
Roassal has been used only for scripting, so there are some bugs in the way
I've forced it to operate, but I thought I'd release as early as possible
to garner feedback and interest.  Perhaps I get lucky and a Fuel expert
finds this interesting.
    


Sorry, I couldn't follow. Let's say I am a Fuel expert, what should I
say/do/watch/review/help/test ?
  
Apologies, I threw that post together just before crashing for the night.  In hindsight I should actually have given it a go myself, but the documentation site was down and I was being too quick.  Anyhow...

Referring to the attached screenshot, you can see from [GLMRoassalInteractive>>buildbrowser] and [GLMGlobalBrowserTemplate>>open] that the #repository pane is initialized to be the 'Repository' class variable. A selection from there is transmitted to the #drawing pane, which uses [ROView>>initializeFrom:] to load the saved aROView from the Repository.  In the #drawing pane you can interactively modify the graph.  Then in Pane #1 you can swap back an forth between 'roassalSample1' and 'roassalSample2' with each graph keeping its changes, rather than resetting as is usual with a Roassal/Mondrian script.  You can close the 'Interactive Roassal' window, then re-open it and continue editing each graph where you left off. 

One of the next steps is to get a  menu on an item of the #repository pane (eg 'roassalSample1') which serializes that item to disk. Then in another image the menu at #5 can be used to load the drawing back in.  I imagine this will involve Fuel only interacting with the Repository class variable. The addition of this save/load function will essentially provide the basis for a classic drawing tool.

thanks for you interest,
cheers -ben


  
Help with moving the drawings to file and back would be appreciated.

The attached package Glamour-Roassal-Interactive-**BenComan.3 is based
off Moose 4.7, tested against a fresh copy downloaded 2012-10-03 which
contained:
ConfigurationOfRoassal.**AlexandreBergel.605
ConfigurationOfGlamour.**TudorGirba.98

cheers -ben

    



  

_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev