LucPrestin / Hidden-Modularity

MIT License
1 stars 0 forks source link

Trace an Object Explorer #29

Closed LucPrestin closed 2 years ago

LucPrestin commented 2 years ago

Describe the idea you had

Object Explorers contain a TreeMorph. Therefore, tracing how it is drawn could be interesting.

Sketch out how to do this

tmp := Dictionary new.

tmp at: '1' put: 1.
tmp at: '2' put: Dictionary new.
(tmp at: '2') at: '1' put: 1.
(tmp at: '2') at: '2' put: 'Hello'.
(tmp at: '2') at: '3' put: Morph new.

[tmp explore] traceAndDebug

A rough step-by-step plan on how to start looking into the idea

  1. Note a hypothesis of what communication structure is to be found
  2. Execute the snippet above
  3. Extract the message graph from the TDBCursor
  4. Visualize the message graph using a force simulation
  5. Document what you found