Mondrian edges interaction

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

Mondrian edges interaction

jannik laval
Hi all,

Is it possible to build interaction on edges ?
I would like to have a popup and a menu.

Cheers,

---
Jannik Laval

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

Re: Mondrian edges interaction

Alexandre Bergel
Hi Jannik,

Sure you can. Try this in an easel.
-=-=-=-=-=-=-=-=-=-=-=-=
view shape rectangle size: 30.
view nodes: {1 . 2}.

view interaction action: #inspect.
view edges: {1 -> 2} from: #key to: #value
-=-=-=-=-=-=-=-=-=-=-=-=

You can then right click on the edge.

Cheers,
Alexandre

On 30 Jun 2010, at 12:12, Laval Jannik wrote:

> Hi all,
>
> Is it possible to build interaction on edges ?
> I would like to have a popup and a menu.
>
> Cheers,
>
> ---
> Jannik Laval
>
> _______________________________________________
> 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: Mondrian edges interaction

jannik laval
Hi Alex,

Thank you, but with submorph, it seems to not work.
Here is a small script:

====
view nodes:#(1 2 3 4) forEach:[:n |
        view nodes:#(5 6 7 8).
        view interaction action: #inspect.
        view edgesFrom:[:e | e - 1].
]
====

Or maybe I do something wrong.

Cheers,
Jannik

On Jun 30, 2010, at 17:45 , Alexandre Bergel wrote:

> Hi Jannik,
>
> Sure you can. Try this in an easel.
> -=-=-=-=-=-=-=-=-=-=-=-=
> view shape rectangle size: 30.
> view nodes: {1 . 2}.
>
> view interaction action: #inspect.
> view edges: {1 -> 2} from: #key to: #value
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> You can then right click on the edge.
>
> Cheers,
> Alexandre
>
> On 30 Jun 2010, at 12:12, Laval Jannik wrote:
>
>> Hi all,
>>
>> Is it possible to build interaction on edges ?
>> I would like to have a popup and a menu.
>>
>> Cheers,
>>
>> ---
>> Jannik Laval
>>
>> _______________________________________________
>> 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

---
Jannik Laval

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

Re: Mondrian edges interaction

Alexandre Bergel
> Thank you, but with submorph, it seems to not work.
> Here is a small script:
>
> ====
> view nodes:#(1 2 3 4) forEach:[:n |
> view nodes:#(5 6 7 8).
> view interaction action: #inspect.
> view edgesFrom:[:e | e - 1].
> ]
> ====
>
> Or maybe I do something wrong.

It should work actually. You found a bug. It is difficult to add optimization without breaking eggs :-)
Give me a few days more to fix this.

Cheers,
Alexandre

>
> On Jun 30, 2010, at 17:45 , Alexandre Bergel wrote:
>
>> Hi Jannik,
>>
>> Sure you can. Try this in an easel.
>> -=-=-=-=-=-=-=-=-=-=-=-=
>> view shape rectangle size: 30.
>> view nodes: {1 . 2}.
>>
>> view interaction action: #inspect.
>> view edges: {1 -> 2} from: #key to: #value
>> -=-=-=-=-=-=-=-=-=-=-=-=
>>
>> You can then right click on the edge.
>>
>> Cheers,
>> Alexandre
>>
>> On 30 Jun 2010, at 12:12, Laval Jannik wrote:
>>
>>> Hi all,
>>>
>>> Is it possible to build interaction on edges ?
>>> I would like to have a popup and a menu.
>>>
>>> Cheers,
>>>
>>> ---
>>> Jannik Laval
>>>
>>> _______________________________________________
>>> 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
>
> ---
> Jannik Laval
>
> _______________________________________________
> 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: Mondrian edges interaction

Alexandre Bergel
In reply to this post by jannik laval
Jannik, the last version of Mondrian should do the thing.
Thanks for having spotted this problem.

Cheers,
Alexandre


On 30 Jun 2010, at 18:58, Laval Jannik wrote:

> Hi Alex,
>
> Thank you, but with submorph, it seems to not work.
> Here is a small script:
>
> ====
> view nodes:#(1 2 3 4) forEach:[:n |
> view nodes:#(5 6 7 8).
> view interaction action: #inspect.
> view edgesFrom:[:e | e - 1].
> ]
> ====
>
> Or maybe I do something wrong.
>
> Cheers,
> Jannik
>
> On Jun 30, 2010, at 17:45 , Alexandre Bergel wrote:
>
>> Hi Jannik,
>>
>> Sure you can. Try this in an easel.
>> -=-=-=-=-=-=-=-=-=-=-=-=
>> view shape rectangle size: 30.
>> view nodes: {1 . 2}.
>>
>> view interaction action: #inspect.
>> view edges: {1 -> 2} from: #key to: #value
>> -=-=-=-=-=-=-=-=-=-=-=-=
>>
>> You can then right click on the edge.
>>
>> Cheers,
>> Alexandre
>>
>> On 30 Jun 2010, at 12:12, Laval Jannik wrote:
>>
>>> Hi all,
>>>
>>> Is it possible to build interaction on edges ?
>>> I would like to have a popup and a menu.
>>>
>>> Cheers,
>>>
>>> ---
>>> Jannik Laval
>>>
>>> _______________________________________________
>>> 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
>
> ---
> Jannik Laval
>
> _______________________________________________
> 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: Mondrian edges interaction

jannik laval
Hi Alex,

Thank you for the work :)
It works fine now.

Cheers,
Jannik

On Jul 9, 2010, at 14:05 , Alexandre Bergel wrote:

> Jannik, the last version of Mondrian should do the thing.
> Thanks for having spotted this problem.
>
> Cheers,
> Alexandre
>
>
> On 30 Jun 2010, at 18:58, Laval Jannik wrote:
>
>> Hi Alex,
>>
>> Thank you, but with submorph, it seems to not work.
>> Here is a small script:
>>
>> ====
>> view nodes:#(1 2 3 4) forEach:[:n |
>> view nodes:#(5 6 7 8).
>> view interaction action: #inspect.
>> view edgesFrom:[:e | e - 1].
>> ]
>> ====
>>
>> Or maybe I do something wrong.
>>
>> Cheers,
>> Jannik
>>
>> On Jun 30, 2010, at 17:45 , Alexandre Bergel wrote:
>>
>>> Hi Jannik,
>>>
>>> Sure you can. Try this in an easel.
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>> view shape rectangle size: 30.
>>> view nodes: {1 . 2}.
>>>
>>> view interaction action: #inspect.
>>> view edges: {1 -> 2} from: #key to: #value
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>
>>> You can then right click on the edge.
>>>
>>> Cheers,
>>> Alexandre
>>>
>>> On 30 Jun 2010, at 12:12, Laval Jannik wrote:
>>>
>>>> Hi all,
>>>>
>>>> Is it possible to build interaction on edges ?
>>>> I would like to have a popup and a menu.
>>>>
>>>> Cheers,
>>>>
>>>> ---
>>>> Jannik Laval
>>>>
>>>> _______________________________________________
>>>> 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
>>
>> ---
>> Jannik Laval
>>
>> _______________________________________________
>> 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

---
Jannik Laval

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