diff options
author | Sunil Shetye | 2025-06-16 10:42:41 +0530 |
---|---|---|
committer | Sunil Shetye | 2025-06-16 10:42:41 +0530 |
commit | 76532f2eb53338469cf74f7abf5217d67def60fa (patch) | |
tree | cd5e5ea9d0bff8c2554ee4d444a32ffeb924a4af | |
parent | 421ac77c098cb27ba4052a6f22730eba76609e84 (diff) | |
download | Common-Interface-Project-76532f2eb53338469cf74f7abf5217d67def60fa.tar.gz Common-Interface-Project-76532f2eb53338469cf74f7abf5217d67def60fa.tar.bz2 Common-Interface-Project-76532f2eb53338469cf74f7abf5217d67def60fa.zip |
reduce console log
-rw-r--r-- | blocks/eda-frontend/src/components/SchematicEditor/Helper/ToolbarTools.js | 9 | ||||
-rw-r--r-- | blocks/eda-frontend/src/utils/GalleryUtils.js | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/blocks/eda-frontend/src/components/SchematicEditor/Helper/ToolbarTools.js b/blocks/eda-frontend/src/components/SchematicEditor/Helper/ToolbarTools.js index 7ea0e5bf..9ebb07f6 100644 --- a/blocks/eda-frontend/src/components/SchematicEditor/Helper/ToolbarTools.js +++ b/blocks/eda-frontend/src/components/SchematicEditor/Helper/ToolbarTools.js @@ -386,7 +386,6 @@ function parseXmlToGraph (xmlDoc, graph) { const cell = cells[i] const cellAttrs = cell.attributes - console.log('cellAttrs:', cellAttrs) const cellChildren = cell.children if (cellAttrs.CellType?.value === 'Component') { // is component portCount = { @@ -468,12 +467,10 @@ function parseXmlToGraph (xmlDoc, graph) { } else { SuperBlockDiagram = cellAttrs.SuperBlockDiagram?.value if (SuperBlockDiagram !== null) { - console.log('SuperBlockDiagram2:', SuperBlockDiagram) SuperBlockDiagram = '<SuperBlockDiagram as="child" background="-1" title="">' + SuperBlockDiagram + '</SuperBlockDiagram>' const superblock = mxUtils.parseXml(SuperBlockDiagram) const superblock2 = superblock.getElementsByTagName('SuperBlockDiagram')[0] v1.SuperBlockDiagram = superblock2 - // console.log('V!:', v1) } } @@ -500,7 +497,6 @@ function parseXmlToGraph (xmlDoc, graph) { if (firstportrotation === null) { firstportrotation = rotation } else if (rotation !== firstportrotation) { - console.log('firstportrotation is not equal to rotation', firstportrotation, rotation) rotation = firstportrotation } @@ -511,10 +507,6 @@ function parseXmlToGraph (xmlDoc, graph) { const rotationParameters = getRotationParameters(stylename, rotation) - if (rotation !== 0) { - console.log('rotation:', styleObject, rotation, xPos, yPos, portSize, rotationParameters) - } - const pins = getPins(stylename, v1) const pointXY = getPointXY(rotationParameters) @@ -643,6 +635,5 @@ export function renderGalleryXML (xml) { graph.removeCells(graph.getChildEdges(parent)) graph.view.refresh() const xmlDoc = mxUtils.parseXml(xml) - console.log('xmlDOC:', xmlDoc) parseXmlToGraph(xmlDoc, graph) } diff --git a/blocks/eda-frontend/src/utils/GalleryUtils.js b/blocks/eda-frontend/src/utils/GalleryUtils.js index de7f24a3..7e6a6bf7 100644 --- a/blocks/eda-frontend/src/utils/GalleryUtils.js +++ b/blocks/eda-frontend/src/utils/GalleryUtils.js @@ -74,7 +74,6 @@ const removeSplits1 = (xmlDoc, splitProcessor) => { const rv = removeOneSplit(xmlDoc, count, splitProcessor) xmlDoc = rv.xmlDoc count = rv.count - console.log('count=', count) if (count === 0) { return xmlDoc } @@ -83,7 +82,6 @@ const removeSplits1 = (xmlDoc, splitProcessor) => { } const count = countNodesByXPath(splitBlockXPathCount, xmlDoc) - console.log('count=', count) if (count === 0) { return xmlDoc } @@ -96,7 +94,6 @@ const removeSplits = async (xmlDoc, splitProcessor, delay) => { const rv = removeOneSplit(xmlDoc, count, splitProcessor) xmlDoc = rv.xmlDoc count = rv.count - console.log('count=', count) if (count === 0) { return xmlDoc } @@ -110,7 +107,6 @@ const removeSplits = async (xmlDoc, splitProcessor, delay) => { } const count = countNodesByXPath(splitBlockXPathCount, xmlDoc) - console.log('count=', count) if (count === 0) { return xmlDoc } |