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 btc@openinworld.com 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 Moose-dev@iam.unibe.ch 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 Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev