From 7e2f97338cde80018a2f5d2469ac5a0a425f33ca Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Sun, 3 Apr 2016 16:13:15 +0800 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 2649783..6fb23da 100644 --- a/README.md +++ b/README.md @@ -85,18 +85,18 @@ Given a hierarchical tree structure like [this](https://github.com/cheton/flattr ### Flat List View File: [examples/test1.js](https://github.com/cheton/flattree/blob/master/examples/tree1.js) ``` -: path=".0", parent="", children=2, total=11, depth=0, prefix="0", last=1, more=1, open=1 -Alpha: path=".0.0", parent=".0", children=0, total=0, depth=1, prefix="00", last=0, more=0, open=0 -Bravo: path=".0.1", parent=".0", children=3, total=9, depth=1, prefix="00", last=1, more=1, open=1 -Charlie: path=".0.1.0", parent=".0.1", children=2, total=4, depth=2, prefix="000", last=0, more=1, open=1 -Delta: path=".0.1.0.0", parent=".0.1.0", children=2, total=2, depth=3, prefix="0001", last=0, more=1, open=1 -Echo: path=".0.1.0.0.0", parent=".0.1.0.0", children=0, total=0, depth=4, prefix="00011", last=0, more=0, open=0 -Foxtrot: path=".0.1.0.0.1", parent=".0.1.0.0", children=0, total=0, depth=4, prefix="00011", last=1, more=0, open=0 -Golf: path=".0.1.0.1", parent=".0.1.0", children=0, total=0, depth=3, prefix="0001", last=1, more=0, open=0 -Hotel: path=".0.1.1", parent=".0.1", children=1, total=2, depth=2, prefix="000", last=0, more=1, open=1 -India: path=".0.1.1.0", parent=".0.1.1", children=1, total=1, depth=3, prefix="0001", last=1, more=1, open=1 -Juliet: path=".0.1.1.0.0", parent=".0.1.1.0", children=0, total=0, depth=4, prefix="00010", last=1, more=0, open=0 -Kilo: path=".0.1.2", parent=".0.1", children=0, total=0, depth=2, prefix="000", last=1, more=0, open=0 +: path=".0", parent="", children=2, total=11, depth=0, prefix="0", open=1, lastChild=1 +Alpha: path=".0.0", parent=".0", children=0, total=0, depth=1, prefix="00", open=0, lastChild=0 +Bravo: path=".0.1", parent=".0", children=3, total=9, depth=1, prefix="00", open=1, lastChild=1 +Charlie: path=".0.1.0", parent=".0.1", children=2, total=4, depth=2, prefix="000", open=1, lastChild=0 +Delta: path=".0.1.0.0", parent=".0.1.0", children=2, total=2, depth=3, prefix="0001", open=1, lastChild=0 +Echo: path=".0.1.0.0.0", parent=".0.1.0.0", children=0, total=0, depth=4, prefix="00011", open=0, lastChild=0 +Foxtrot: path=".0.1.0.0.1", parent=".0.1.0.0", children=0, total=0, depth=4, prefix="00011", open=0, lastChild=1 +Golf: path=".0.1.0.1", parent=".0.1.0", children=0, total=0, depth=3, prefix="0001", open=0, lastChild=1 +Hotel: path=".0.1.1", parent=".0.1", children=1, total=2, depth=2, prefix="000", open=1, lastChild=0 +India: path=".0.1.1.0", parent=".0.1.1", children=1, total=1, depth=3, prefix="0001", open=1, lastChild=1 +Juliet: path=".0.1.1.0.0", parent=".0.1.1.0", children=0, total=0, depth=4, prefix="00010", open=0, lastChild=1 +Kilo: path=".0.1.2", parent=".0.1", children=0, total=0, depth=2, prefix="000", open=0, lastChild=1 ``` ### Nested Hierarchy