This handler takes an hkeyArray and works out all the handers dependency calls that are situated outside the handlers script-object.
Handler: hkeyArray_DepStackBulletList (hkeyArray, stackObject) Type: function OS: all Platforms: all
It then lists these and creates a wiki-linked list of stack names that can be added to a wiki page. The link-list at the bottom of this page in the section `# Depends` was creates with this handler.
# Where
Project: lcw_Graph Kind: libraries Control: lib_HkeyWalk.livecodescript
View source code over at github ![]()
# Code
digraph "overlayArray_ConstructDot" { graph [ clusterrank="true" ]; subgraph "PC" { node []; n8 [label="_AddToObjectArray" URL="PC+_AddToObjectArray+of+stack+%27lib_HkeyWalk%27"]; } subgraph "M" { node [fillcolor="Orange", style="filled", color="Red"]; n7 [label="hkeyLine_Deconstruct" URL="M+hkeyLine_Deconstruct+of+stack+%27lib_MenuArray%27"]; } subgraph "G" { node [fillcolor="grey50", style="filled", color="white"]; n12 [label="project_Name" URL="G+project_Name+of+stack+%27lib_LCW%27"]; n5 [label="project_Folder" URL="G+project_Folder+of+stack+%27lib_LCW%27"]; } subgraph "C" { node [fillcolor="LightBlue", style="filled", color="Blue"]; n19 [label="hkeyArray_SetObjectArray" URL="C+hkeyArray_SetObjectArray+of+stack+%27lib_HkeyWalk%27"]; } subgraph "F" { node [fillcolor="GreenYellow", style="filled", color="Green4"]; n6 [label="hkeyArray_TidyMissing" URL="F+hkeyArray_TidyMissing+of+stack+%27lib_HkeyWalk%27"]; n2 [label="pref_FetchData" URL="F+pref_FetchData+of+stack+%27lib_LCW%27"]; n14 [label="array_Get" URL="F+array_Get+of+stack+%27model_LCW%27"]; n17 [label="pref_GetValue" URL="F+pref_GetValue+of+stack+%27lib_LCW%27"]; n3 [label="env_GetRepoFolder" URL="F+env_GetRepoFolder+of+stack+%27lib_LCW%27"]; n16 [label="pref_FetchValue" URL="F+pref_FetchValue+of+stack+%27lib_LCW%27"]; n9 [label="hkeyArray_DepStackBulletList" URL="F+hkeyArray_DepStackBulletList+of+stack+%27lib_HkeyWalk%27"]; n11 [label="markdown_TagItems" URL="F+markdown_TagItems+of+stack+%27lib_Markdown%27"]; n18 [label="hkeyArray_GetStackDepArray" URL="F+hkeyArray_GetStackDepArray+of+stack+%27lib_HkeyWalk%27"]; n10 [label="hkeyArray_ConstructDepProjectData" URL="F+hkeyArray_ConstructDepProjectData+of+stack+%27lib_HkeyWalk%27"]; n13 [label="hkeyArray_GetProjectDepArray" URL="F+hkeyArray_GetProjectDepArray+of+stack+%27lib_HkeyWalk%27"]; n4 [label="env_GetLcwFolder" URL="F+env_GetLcwFolder+of+stack+%27lib_LCW%27"]; n1 [label="pref_FetchArray" URL="F+pref_FetchArray+of+stack+%27lib_LCW%27"]; n15 [label="pref_File" URL="F+pref_File+of+stack+%27lib_LCW%27"]; } subgraph cluster1 { label="stack \"lib_HkeyWalk\""; style=filled; color=grey60; fillcolor=grey60; n6; n8; n9; n18; n10; n13; n19 } subgraph cluster2 { label="stack \"lib_LCW\""; style=filled; color=grey60; fillcolor=grey60; n2; n17; n3; n16; n12; n4; n5; n1; n15 } subgraph cluster3 { label="stack \"lib_Markdown\""; style=filled; color=grey60; fillcolor=grey60; n11 } subgraph cluster4 { label="stack \"lib_MenuArray\""; style=filled; color=grey60; fillcolor=grey60; n7 } subgraph cluster5 { label="stack \"model_LCW\""; style=filled; color=grey60; fillcolor=grey60; n14 } n6 -> n7; n2 -> n14; n2 -> n15; n3 -> n4; n8 -> n7; n16 -> n1; n12 -> n5; n9 -> n10; n9 -> n11; n10 -> n13; n10 -> n12; n13 -> n6; n13 -> n12; n13 -> n18; n4 -> n16; n4 -> n17; n19 -> n8; n5 -> n3; n1 -> n2; n18 -> n19; }
function hkeyArray_DepStackBulletList hkeyArray, stackObject # Construct depProjectData put hkeyArray_GetStackDepArray (hkeyArray) into depStackData delete variable depStackData [stackObject] # Get Stack Names -- put stack_ObjectsToNames (stackObjects) into sNames repeat for each key stackObject in depStackData if exists (stackObject) is false then next repeat -- put the short name of stackObject into sName put sName & CR after sNames end repeat delete char -1 of sNames # Make Tag Items put markdown_TagItems (sNames) into sNameBulletList -- return sNameBulletList end hkeyArray_DepStackBulletList
# Calls - markdown_TagItems - hkeyArray_GetStackDepArray
# Todo
- [ ] Next thing
# Depends Here is a list of stacks containing dependencies upon which this handler depends: - lib_HkeyWalk, model_LCW, lib_LCW, lib_Markdown, lib_MenuArray
# See also - Fedwiki Tools