CLIM mail archive



   Date: Mon, 16 Nov 92 13:30:06 +0100
   From: Bernd Wild <>

   Is there a better version of format-graph-from-root available than  
   the one in CLIM 1.1. I know that this is only a port of the  
   Symbolics version but if you want to display serious graphs you  
   face the problem that format-graph-from-root always centers the  
   successor nodes relative to all predecessor nodes. If you have only  
   partially complete graphs this looks very crazy and cannot be used  
   for any applications.

While I concur that the CLIM graphing algorithm isn't the best, I
don't see the problem in your particular example.  I tried this test

  (window-clear win)
  (format-graph-from-root '(z y (x)) #'prin1 #'identity
			  :orientation :horizontal
			  :stream win)
  (force-output win))

It produced a graph that looked more like your 2nd drawing below.  Can
you supply a test case that shows the problem?

   CLIM 1.1:

       A -      D
	   \   / 


   but I want this:
       A -
	     C - D


Follow-Ups: References:

Main Index | Thread Index