sub tree cell alignment

66 views
Skip to first unread message

David Lynch

unread,
Sep 26, 2011, 1:11:40 PM9/26/11
to trees...@googlegroups.com
Wouter, I wonder if you had given thought to an algorithm that would allow all grandchildren of a cell to be aligned where each have the same height or width.

This way alignment would appear as a table. but each row, or column, would have different parent.

David

Wouter van Oortmerssen

unread,
Sep 26, 2011, 4:48:23 PM9/26/11
to trees...@googlegroups.com
In the case where the children contain grids, I presume?
Sounds doable, but a bit specialized. Maybe one for google moderator?

Wouter

--
You received this message because you are subscribed to the Google Groups "TreeSheets" group.
To post to this group, send email to trees...@googlegroups.com.
To unsubscribe from this group, send email to treesheets+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/treesheets?hl=en.

David Lynch

unread,
Sep 26, 2011, 5:24:34 PM9/26/11
to trees...@googlegroups.com
Wouter,  Here is an example,

Currently the tree would like this

Pet
 Name
  Dog Mouse Cat
 Toy
  Frisbee Wheel Yarn
 Weight(lbs)
  60 1 10

Ideally the tree could look like this

Pet
 Name
  Dog      Mouse Cat
 Toy
  Frisbee Wheel  Yarn
 Weight(lbs)
  60         1        10

I consider it another killer app for treesheets, because it offers a hybrid tree-table model, rather than only a tree + spreadsheet.

I would like it for my unique purposes to display similar lines of code that belong to different functions.

This model could make a table sortable and displayable.  I will post it on the voting page.

Thanks

David

Wouter van Oortmerssen

unread,
Sep 27, 2011, 11:15:13 AM9/27/11
to trees...@googlegroups.com
David,

I can see that has its uses, but why don't you simply use grids, as intended:


Pet
 Name         Dog     Mouse Cat
 Toy          Frisbee Wheel Yarn
 Weight(lbs)  60      1     10

Wouter

David Lynch

unread,
Sep 27, 2011, 12:07:21 PM9/27/11
to trees...@googlegroups.com
Wouter,

For Example, it would be nice to have multiple tables align as one example.  Also I would like to convert the granchildren cells into interpretable code, stored in the node Function name.  Also to be able to find, fold, modify and sort a table is much more scalable if the row or column names are themselves a parent 


Y-row(types)
  X-column(types)
    Operator var var val func var
  Func1
    add         x   y   1   print x
    sub         a   b   2   print a
    stop
  Func 2
    add         y   x   55 print y
    add         b   a   55 print b
    stop
    
Additionally it could be really cool additional feature to flip the table, although I don't need the feature atm

X-row(types)
 Y-column(types)
             Func1              Func2
 Operator
            add  sub  stop   add  add stop
 var       
             x     a               y     b
 var
             y     b               x     a
 val
            1      2               55    55
 func
            print print           print print
 var 
            x      a              y      b


David

Wouter van Oortmerssen

unread,
Sep 28, 2011, 11:21:56 AM9/28/11
to trees...@googlegroups.com
I agree that can have its uses, lets see what others think.

Wouter

--
Reply all
Reply to author
Forward
0 new messages