Annotations added
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user