mirror of
https://github.com/sotam0316/drawNET.git
synced 2026-04-25 03:58:37 +09:00
Initial commit: drawNET Alpha v1.0 - Professional Topology Designer with Full i18n and Performance Optimizations
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import { initIngester } from './ingester.js';
|
||||
import { renderStudioUI } from './renderer.js';
|
||||
import { buildPackage } from './actions.js';
|
||||
import { logger } from '../utils/logger.js';
|
||||
|
||||
/**
|
||||
* Object Studio Main Entry Point
|
||||
*/
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
initStudio();
|
||||
});
|
||||
|
||||
function initStudio() {
|
||||
logger.info("DrawNET Studio Initializing...");
|
||||
|
||||
// Initialize file ingestion module
|
||||
initIngester();
|
||||
|
||||
// Listen for state updates to trigger re-renders
|
||||
window.addEventListener('studio-sources-updated', renderStudioUI);
|
||||
window.addEventListener('studio-selection-updated', renderStudioUI);
|
||||
|
||||
// Bind Global Actions
|
||||
const buildBtn = document.getElementById('build-btn');
|
||||
if (buildBtn) buildBtn.onclick = buildPackage;
|
||||
|
||||
// Initial render
|
||||
renderStudioUI();
|
||||
}
|
||||
Reference in New Issue
Block a user