In Mondrian I can drag nodes around the layout to make a more pleasing
graph. Is there a mechanism built in to facilitate saving and later reloading the layout of a graph ? Or where should I look into to system to implement this? -cheers, Ben _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
This is a long lasting item in the wish list, and it would be great to have support for a custom layout.
Essentially, you would need to create a layout by traversing the existing graph, and storing the bounds of the nodes. Cheers, Doru On 25 Mar 2012, at 18:30, Ben Coman wrote: > In Mondrian I can drag nodes around the layout to make a more pleasing graph. Is there a mechanism built in to facilitate saving and later reloading the layout of a graph ? Or where should I look into to system to implement this? > > -cheers, Ben > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "To utilize feedback, you first have to acquire it." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Alternatively, what about saving/reinstating the cache? Tudor Girba wrote: This is a long lasting item in the wish list, and it would be great to have support for a custom layout. Essentially, you would need to create a layout by traversing the existing graph, and storing the bounds of the nodes. Cheers, Doru On 25 Mar 2012, at 18:30, Ben Coman wrote:In Mondrian I can drag nodes around the layout to make a more pleasing graph. Is there a mechanism built in to facilitate saving and later reloading the layout of a graph ? Or where should I look into to system to implement this? -cheers, Ben _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev-- www.tudorgirba.com "To utilize feedback, you first have to acquire it." _______________________________________________ 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 |
What cache?
Doru On Mon, Mar 26, 2012 at 2:58 PM, Ben Coman <[hidden email]> wrote: > > Alternatively, what about saving/reinstating the cache? > > > Tudor Girba wrote: > > This is a long lasting item in the wish list, and it would be great to have > support for a custom layout. > > Essentially, you would need to create a layout by traversing the existing > graph, and storing the bounds of the nodes. > > Cheers, > Doru > > > On 25 Mar 2012, at 18:30, Ben Coman wrote: > > > > In Mondrian I can drag nodes around the layout to make a more pleasing > graph. Is there a mechanism built in to facilitate saving and later > reloading the layout of a graph ? Or where should I look into to system to > implement this? > > -cheers, Ben > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > -- > www.tudorgirba.com > > "To utilize feedback, you first have to acquire it." > > > _______________________________________________ > 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 > -- www.tudorgirba.com "Every thing has its own flow" _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Ben Coman
Hi Ben,
This is currently not supported. Actually, you can only export a graph (as html or a .png). But there is no way to load it back. Implementing this should not be difficult. If you want to implement this, then I would however encourage you to do it with Roassal [*] Not only Roassal does what Mondrian does, but its code is simpler and it has a much better support for interaction. I plan to release Roassal by the end of April. I am full of deadlines until then (that is also why I am quite slow on replying email). Cheers, Alexandre [*] http://squeaksource.com/Roassal.html On 25 Mar 2012, at 12:30, Ben Coman wrote: > In Mondrian I can drag nodes around the layout to make a more pleasing graph. Is there a mechanism built in to facilitate saving and later reloading the layout of a graph ? Or where should I look into to system to implement this? > > -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 |
In reply to this post by Tudor Girba-2
An assumption on my part from seeing...
+ applyLayout method of MONode and MORoot both calling... self resetMetricCachesRecursively. + Finder filtered for Mondrian packages only and searching for 'cache' brings up a lot of results. + Finder filtered for Mondrian packages only and searching for 'reset' brings up a several results related to cache. + Instance variables cacheFromPoint, cacheToPoint, boundsCache, cacheShapeBounds, elementsToDisplayCache, elementsToLookup, cacheForm for classes MONode, MOEdge and others Tudor Girba wrote: What cache? Doru On Mon, Mar 26, 2012 at 2:58 PM, Ben Coman [hidden email] wrote:Alternatively, what about saving/reinstating the cache? Tudor Girba wrote: This is a long lasting item in the wish list, and it would be great to have support for a custom layout. Essentially, you would need to create a layout by traversing the existing graph, and storing the bounds of the nodes. Cheers, Doru On 25 Mar 2012, at 18:30, Ben Coman wrote: In Mondrian I can drag nodes around the layout to make a more pleasing graph. Is there a mechanism built in to facilitate saving and later reloading the layout of a graph ? Or where should I look into to system to implement this? -cheers, Ben _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "To utilize feedback, you first have to acquire it." _______________________________________________ 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 _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I am not sure to fiddle that much with the caches.
You can simply ask to a node its #bounds Feel free to improve the xml export facilities to include the #bounds of each node. An importer is then trivial to do. Alexandre On 27 Mar 2012, at 10:43, Ben Coman wrote:
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
+1
Doru On Wed, Mar 28, 2012 at 4:09 AM, Alexandre Bergel <[hidden email]> wrote: > I am not sure to fiddle that much with the caches. > You can simply ask to a node its #bounds > > Feel free to improve the xml export facilities to include the #bounds of > each node. > An importer is then trivial to do. > > Alexandre > > > On 27 Mar 2012, at 10:43, Ben Coman wrote: > > An assumption on my part from seeing... > > + applyLayout method of MONode and MORoot both calling... > self resetMetricCachesRecursively. > > + Finder filtered for Mondrian packages only and searching for 'cache' > brings up a lot of results. > > + Finder filtered for Mondrian packages only and searching for 'reset' > brings up a several results related to cache. > > + Instance variables cacheFromPoint, cacheToPoint, boundsCache, > cacheShapeBounds, elementsToDisplayCache, elementsToLookup, cacheForm > for classes MONode, MOEdge and others > > Tudor Girba wrote: > > What cache? > > Doru > > > On Mon, Mar 26, 2012 at 2:58 PM, Ben Coman <[hidden email]> wrote: > > > Alternatively, what about saving/reinstating the cache? > > > Tudor Girba wrote: > > This is a long lasting item in the wish list, and it would be great to have > support for a custom layout. > > Essentially, you would need to create a layout by traversing the existing > graph, and storing the bounds of the nodes. > > Cheers, > Doru > > > On 25 Mar 2012, at 18:30, Ben Coman wrote: > > > > In Mondrian I can drag nodes around the layout to make a more pleasing > graph. Is there a mechanism built in to facilitate saving and later > reloading the layout of a graph ? Or where should I look into to system to > implement this? > > -cheers, Ben > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > -- > www.tudorgirba.com > > "To utilize feedback, you first have to acquire it." > > > _______________________________________________ > 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 > > > > > > > _______________________________________________ > 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 > -- www.tudorgirba.com "Every thing has its own flow" _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |