glassbrain 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1297,13 +1297,23 @@ WRITE A GRAPH
1297
1297
  Full schema: ${schema}
1298
1298
 
1299
1299
  BUILD IT IN PASSES
1300
- Work in passes, each one a new folder (copy the last, edit the copy). For example:
1301
- kg/1-skeleton/graph.json every node, nested by parent, no descriptions
1302
- kg/2-filled/graph.json descriptions added, no new structure
1303
- kg/3-linked/graph.json edges added
1304
- After each pass: glassbrain validate kg --strict fix everything it reports
1305
- glassbrain diff kg/1-skeleton kg/2-filled only this pass's job?
1306
- At the end: glassbrain kg opens all passes with a version bar
1300
+ Each pass is a new folder: copy the last one, edit the copy.
1301
+ kg/1-skeleton every node at the depth asked (or what a newcomer needs), read from
1302
+ the source (not memory), nested by parent; flag each one "stub"
1303
+ kg/2-filled descriptions (1-3 sentences, from the source), stub flags removed
1304
+ kg/3-linked edges a reader would agree with
1305
+ After each pass:
1306
+ glassbrain validate kg --strict fix everything it reports
1307
+ glassbrain diff kg/1-skeleton kg/2-filled only this pass's job: ~changed in 2,
1308
+ edges added in 3, nothing else
1309
+ At the end:
1310
+ glassbrain kg opens all passes; give the user the path
1311
+
1312
+ COLORS: kg/_profile.json, shared by every pass
1313
+ Give each kind a color, or every node and edge is drawn the same grey:
1314
+ { "nodePalette": { "file": "#6366f1", "function": "#10b981" },
1315
+ "edgePalette": { "calls": "#2563eb" }, "placeholderFlags": ["stub"] }
1316
+ Layers (2.5D), sizes, labels and the rest: ${schema.replace("graph.schema", "profile.schema")}
1307
1317
 
1308
1318
  COMMANDS
1309
1319
  glassbrain <path> open in the browser (same as: view)