You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// export these types because this will only be used on this page, interface not needed as it will not be re-used.
18
19
exporttypeLinkTypesProps={
19
20
width: number;
20
21
height: number;
@@ -30,7 +31,8 @@ export default function ComponentMap({
30
31
snapshots: snapshots,
31
32
}: LinkTypesProps){
32
33
console.log(totalHeight);
33
-
// preparing the data to be used for render
34
+
35
+
// This is where we select the last object in the snapshots array from props to allow hierarchy to parse the data for render on the component map per hierarchy layout specifications.
34
36
constlastNode=snapshots.length-1;
35
37
constdata=snapshots[lastNode];
36
38
// importing custom hooks for the selection tabs.
@@ -68,9 +70,9 @@ export default function ComponentMap({
68
70
}
69
71
70
72
// render controls for the map
71
-
73
+
// svg - complete layout of self contained component map
72
74
// Tree is rendering each component from the component tree.
73
-
// rect- Contains both text and rectangle node information for rendering each component.
75
+
// rect- Contains both text and rectangle node information for rendering each component on the map.
0 commit comments