Annotations added

This commit is contained in:
2026-05-30 12:23:51 +08:00
parent 5a3a80700f
commit b3f29398f0
92 changed files with 556 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
/*
* Description: Shared browser helper library for canvas geometry, component metadata normalization, route styling, YAML export, and validation.
* Inside functions: createForgeArguments, getTechnologyManifest, getXsectionInfo, createRouteSettings, updateRouteField, updateRouteXsection, routeStyleForSettings, isForgeComponent, isBasicComponent, createBasicSettings, normalizeAngle, portSideFromAngle, roundPercent, fallbackPercent, positiveNumber, normalizeBoxSize, chooseCategoryComponent, normalizeCanvasSize, clampPositionToCanvas, transformBoxCorner
* Developer : Qin Yue @ 2026
* Organization : OptiHK Limited
*/
(function (root, factory) {
const helpers = factory();
if (typeof module === 'object' && module.exports) {
+8 -1
View File
@@ -1,4 +1,11 @@
<!DOCTYPE html>
<!--
Description: Main MXPIC EDA canvas UI with React Flow editing, project pages, routing, layout build controls, and inspector panels.
Inside functions: fetchIcon, RotatableNode, PortNode, AnchorNode, RightPanel, findComponentPath, loadProject, handleBasicConnection, buildElementNodesFromYaml.
Developer : Qin Yue @ 2026
Organization : OptiHK Limited
-->
<html lang="en">
{% raw %}
@@ -5051,7 +5058,7 @@
const onDrop = useCallback((event) => {
event.preventDefault();
const rawData = event.dataTransfer.getData('application/reactflow');
console.log("?DROP EVENT: Received raw data ->", rawData);
console.log("???DROP EVENT: Received raw data ->", rawData);
if (!rawData) return;
let parsedData;
try {
+7
View File
@@ -1,4 +1,11 @@
<!DOCTYPE html>
<!--
Description: Project dashboard page for listing, creating, opening, and managing user projects.
Inside functions: addLog, applyTheme, openProject, loadProfile, loadProjects, loadTechnologies
Developer : Qin Yue @ 2026
Organization : OptiHK Limited
-->
<html lang="en">
<head>
+7
View File
@@ -1,4 +1,11 @@
<!DOCTYPE html>
<!--
Description: Login page for authenticating users before entering the MXPIC EDA workspace.
Inside functions: applyTheme
Developer : Qin Yue @ 2026
Organization : OptiHK Limited
-->
<html lang="en">
<head>
<meta charset="UTF-8">