Roassal hover popup on edges

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal hover popup on edges

Ben Coman
With the following script, in Mondrian when you hover over edges a popup
appears showing the name of the edge.  Is the same possible with Roassal?

view shape rectangle size: 20.
nodes := view nodes: (1 to: 20).
view edges: (2 to: 20) from: 1 to: #yourself.
view circleLayout.

cheers, Ben
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal hover popup on edges

abergel
Hi Ben!

Currently there is no popup for edges.
I am definitely interesting in adding this.
I've added: http://code.google.com/p/moose-technology/issues/detail?id=826

The question is how urgent do you need this? Can it wait for 1 week? I promise to work on it next week end.

Cheers,
Alexandre


On Aug 10, 2012, at 10:43 AM, Ben Coman <[hidden email]> wrote:

> With the following script, in Mondrian when you hover over edges a popup appears showing the name of the edge.  Is the same possible with Roassal?
>
> view shape rectangle size: 20.
> nodes := view nodes: (1 to: 20).
> view edges: (2 to: 20) from: 1 to: #yourself.
> view circleLayout.
>
> cheers, Ben
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal hover popup on edges

Ben Coman
That is fine.  No hurry.  I see use for it for me down the track but I'm not there yet.  I had just noticed this discrepancy while looking at something else.

I've been imagining how you might achieve the hover over a line, especially considering the Ortho lines made up of three segments, or perhaps even more with a more sophisticated layout algorithm.
Now to press my luck, perhaps as a separate issue, in the future I would like to be able to manually drag the line segments by their edge, by their control points, insert control points, etc (and then save the graph) - so I was wondering if line segments might be a first class object which ROLine held a collection of, rather than currently the last three lines of ROOrthoVerticalLineShape>>drawOn:for:.

Actually I see that ROOrthoVerticalLineShape>>lineSegmentsFor: does refer to LineSegment, but is not integrated yet.

cheers -ben


Alexandre Bergel wrote:
Hi Ben!

Currently there is no popup for edges.
I am definitely interesting in adding this. 
I've added: http://code.google.com/p/moose-technology/issues/detail?id=826

The question is how urgent do you need this? Can it wait for 1 week? I promise to work on it next week end.

Cheers,
Alexandre


On Aug 10, 2012, at 10:43 AM, Ben Coman [hidden email] wrote:

  
With the following script, in Mondrian when you hover over edges a popup appears showing the name of the edge.  Is the same possible with Roassal?

view shape rectangle size: 20.
nodes := view nodes: (1 to: 20).
view edges: (2 to: 20) from: 1 to: #yourself.
view circleLayout.

cheers, Ben
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
    

  


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal hover popup on edges

abergel
Excellent point!

Alexandre


On Aug 10, 2012, at 8:34 PM, Ben Coman <[hidden email]> wrote:

> That is fine.  No hurry.  I see use for it for me down the track but I'm not there yet.  I had just noticed this discrepancy while looking at something else.
>
> I've been imagining how you might achieve the hover over a line, especially considering the Ortho lines made up of three segments, or perhaps even more with a more sophisticated layout algorithm.
> Now to press my luck, perhaps as a separate issue, in the future I would like to be able to manually drag the line segments by their edge, by their control points, insert control points, etc (and then save the graph) - so I was wondering if line segments might be a first class object which ROLine held a collection of, rather than currently the last three lines of ROOrthoVerticalLineShape>>drawOn:for:.
>
> Actually I see that ROOrthoVerticalLineShape>>lineSegmentsFor: does refer to LineSegment, but is not integrated yet.
>
> cheers -ben
>
>
> Alexandre Bergel wrote:
>> Hi Ben!
>>
>> Currently there is no popup for edges.
>> I am definitely interesting in adding this.
>> I've added:
>> http://code.google.com/p/moose-technology/issues/detail?id=826
>>
>>
>> The question is how urgent do you need this? Can it wait for 1 week? I promise to work on it next week end.
>>
>> Cheers,
>> Alexandre
>>
>>
>> On Aug 10, 2012, at 10:43 AM, Ben Coman
>> <[hidden email]>
>>  wrote:
>>
>>  
>>
>>> With the following script, in Mondrian when you hover over edges a popup appears showing the name of the edge.  Is the same possible with Roassal?
>>>
>>> view shape rectangle size: 20.
>>> nodes := view nodes: (1 to: 20).
>>> view edges: (2 to: 20) from: 1 to: #yourself.
>>> view circleLayout.
>>>
>>> cheers, Ben
>>> _______________________________________________
>>> Moose-dev mailing list
>>>
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>    
>>>
>>
>>  
>>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal hover popup on edges

abergel
In reply to this post by Ben Coman
I fixed this week end
Thanks for all your input Ben

Cheers,
Alexandre


On Aug 10, 2012, at 10:43 AM, Ben Coman <[hidden email]> wrote:

> With the following script, in Mondrian when you hover over edges a popup appears showing the name of the edge.  Is the same possible with Roassal?
>
> view shape rectangle size: 20.
> nodes := view nodes: (1 to: 20).
> view edges: (2 to: 20) from: 1 to: #yourself.
> view circleLayout.
>
> cheers, Ben
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev