d3-hwschematic icon indicating copy to clipboard operation
d3-hwschematic copied to clipboard

Expandable hierarchical ports

Open Nic30 opened this issue 5 years ago • 3 comments

Currently hierarchical ports are collapsed to the most compact format. However the developer usually wants to see all signals in the interface (which is used in the port)

image

In order to support this we need to store this information in the json and we need to implement the onclick on the port which will perform the expansion/collapse.

Nic30 avatar Nov 04 '20 23:11 Nic30

Example of treelist in d3.js http://bl.ocks.org/thehogfather/0e48ec486abbd5be17d7 @xkotek07 maybe we need something similar.

Nic30 avatar Nov 16 '20 13:11 Nic30

We may also want to add help lines to visualize hierarchy more explicitly as hierarchy can be quite deep. image

Nic30 avatar Nov 16 '20 13:11 Nic30

After this issue is solved the json will contain also ports which are collapsed by default https://github.com/Nic30/hwtGraph/issues/1

Nic30 avatar Jan 05 '21 09:01 Nic30