6161 transform : rotate (-90deg ); /* Right arrow for collapsed state */
6262 }
6363
64- # config-container-content-434a01b8 {
64+ # config-container-content-d21b99d3 {
6565 max-height : 40vh ; /* Default expanded max height */
6666 overflow-y : auto;
6767 padding : 15px ;
7070 transition : max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
7171 }
7272
73- .collapsed # config-container-content-434a01b8 {
73+ .collapsed # config-container-content-d21b99d3 {
7474 max-height : 0 ;
7575 padding-top : 0 ;
7676 padding-bottom : 0 ;
7777 overflow : hidden;
7878 border-bottom : none; /* Hide border when collapsed */
7979 }
8080
81- # mynetwork-434a01b8 {
81+ # mynetwork-d21b99d3 {
8282 width : 100% ;
8383 flex-grow : 1 ; /* Graph takes remaining vertical space */
8484 min-height : 0 ; /* Important for flex children to shrink */
141141 </ style >
142142</ head >
143143< body >
144- < div class ="config-panel-wrapper " id ="config-panel-wrapper-434a01b8 ">
145- < div class ="config-panel-header " id ="config-panel-header-434a01b8 " role ="button " tabindex ="0 " aria-expanded ="true " aria-controls ="config-container-content-434a01b8 ">
144+ < div class ="config-panel-wrapper " id ="config-panel-wrapper-d21b99d3 ">
145+ < div class ="config-panel-header " id ="config-panel-header-d21b99d3 " role ="button " tabindex ="0 " aria-expanded ="true " aria-controls ="config-container-content-d21b99d3 ">
146146 < h3 > Configuration</ h3 >
147- < button class ="config-toggle-btn " id ="config-toggle-btn-434a01b8 " aria-label ="Toggle configuration panel "> </ button >
147+ < button class ="config-toggle-btn " id ="config-toggle-btn-d21b99d3 " aria-label ="Toggle configuration panel "> </ button >
148148 </ div >
149- < div id ="config-container-content-434a01b8 ">
149+ < div id ="config-container-content-d21b99d3 ">
150150 <!-- Vis.js configuration UI will be injected here -->
151151 </ div >
152152 </ div >
153153
154154 < div class ="filter-panel ">
155- < label for ="search-input-434a01b8 "> Filter nodes (regex):</ label >
156- < input type ="text " id ="search-input-434a01b8 " placeholder ="e.g., ^IMP_ or ELEC$ ">
157- < button id ="clear-btn-434a01b8 "> Clear</ button >
155+ < label for ="search-input-d21b99d3 "> Filter nodes (regex):</ label >
156+ < input type ="text " id ="search-input-d21b99d3 " placeholder ="e.g., ^IMP_ or ELEC$ ">
157+ < button id ="clear-btn-d21b99d3 "> Clear</ button >
158158 </ div >
159159
160160 < div class ="info-panel ">
161161 < strong > Tip:</ strong > Click a node to isolate it and its neighbors. Click the background to reset the view.
162162 </ div >
163163
164- < div id ="mynetwork-434a01b8 "> </ div >
164+ < div id ="mynetwork-d21b99d3 "> </ div >
165165
166166 < script type ="text/javascript ">
167167 ( function ( ) {
@@ -171,12 +171,12 @@ <h3>Configuration</h3>
171171 var optionsObject = { "autoResize" : true , "nodes" : { "shape" : "box" , "size" : 16 , "font" : { "size" : 12 , "color" : "#333" , "face" : "Arial" } , "borderWidth" : 2 , "margin" : 10 } , "edges" : { "width" : 2 , "smooth" : { "type" : "cubicBezier" , "roundness" : 0.4 , "enabled" : true , "forceDirection" : "vertical" } , "arrows" : { "to" : { "enabled" : true , "scaleFactor" : 0.8 , "type" : "arrow" } } } , "physics" : { "enabled" : false , "barnesHut" : { "gravitationalConstant" : - 8000 , "springConstant" : 0.04 , "springLength" : 150 , "damping" : 0.09 , "avoidOverlap" : 0.1 } , "solver" : "barnesHut" , "stabilization" : { "iterations" : 1000 , "fit" : true } } , "interaction" : { "hover" : true , "dragNodes" : false , "dragView" : true , "zoomView" : true , "tooltipDelay" : 200 , "navigationButtons" : false , "keyboard" : { "enabled" : true , "bindToWindow" : false } } , "layout" : { "randomSeed" : null , "improvedLayout" : true , "hierarchical" : { "enabled" : true , "direction" : "UD" , "sortMethod" : "directed" , "levelSeparation" : 150 , "nodeSpacing" : 120 } } } ;
172172
173173 // Get DOM elements
174- var configWrapper = document . getElementById ( 'config-panel-wrapper-434a01b8 ' ) ;
175- var configHeader = document . getElementById ( 'config-panel-header-434a01b8 ' ) ;
176- var configContent = document . getElementById ( 'config-container-content-434a01b8 ' ) ;
177- var toggleButton = document . getElementById ( 'config-toggle-btn-434a01b8 ' ) ;
178- var searchInput = document . getElementById ( 'search-input-434a01b8 ' ) ;
179- var clearButton = document . getElementById ( 'clear-btn-434a01b8 ' ) ;
174+ var configWrapper = document . getElementById ( 'config-panel-wrapper-d21b99d3 ' ) ;
175+ var configHeader = document . getElementById ( 'config-panel-header-d21b99d3 ' ) ;
176+ var configContent = document . getElementById ( 'config-container-content-d21b99d3 ' ) ;
177+ var toggleButton = document . getElementById ( 'config-toggle-btn-d21b99d3 ' ) ;
178+ var searchInput = document . getElementById ( 'search-input-d21b99d3 ' ) ;
179+ var clearButton = document . getElementById ( 'clear-btn-d21b99d3 ' ) ;
180180
181181 // Handle config panel toggle
182182 if ( optionsObject . configure && optionsObject . configure . enabled ) {
@@ -205,7 +205,7 @@ <h3>Configuration</h3>
205205 // These DataSets are the "active" data being displayed
206206 var nodes = new vis . DataSet ( allNodesArray ) ;
207207 var edges = new vis . DataSet ( allEdgesArray ) ;
208- var graphContainer = document . getElementById ( 'mynetwork-434a01b8 ' ) ;
208+ var graphContainer = document . getElementById ( 'mynetwork-d21b99d3 ' ) ;
209209 var data = { nodes : nodes , edges : edges } ;
210210 var network = new vis . Network ( graphContainer , data , optionsObject ) ;
211211
0 commit comments