Nic30 / d3-hwschematic

D3.js and ELK based schematic visualizer
Eclipse Public License 2.0
94 stars 14 forks source link

Group operator trees by default #11

Open Nic30 opened 4 years ago

Nic30 commented 4 years ago

image

Operator trees like (a) or (b) are commonly found in circuits. They usually form large node clouds which are just slowing down the rendering process and obfuscating the result. It would be better to group these trees under a single large node and expand them only if requested by user (on click in same way as other components).

image

The shape could have some mark to note if the expression tree hidden behind have some specific format (full tree, balanced tree, "sequence like", ...)