#49 feat: gráficos de provenance (proveedores-organizaciones y territorios) en el resumen público

This commit is contained in:
2026-08-15 17:27:53 -05:00
parent efa666dcb3
commit 4ecfb64118
13 changed files with 725 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
import cytoscape from 'cytoscape'
import { beforeEach, describe, expect, it, vi } from 'vitest'
import { mount } from '@vue/test-utils'
import CytoscapeChart from '@/components/graph/CytoscapeChart.vue'
@@ -17,8 +18,6 @@ vi.mock('cytoscape', () => ({
default: vi.fn(() => cy),
}))
import cytoscape from 'cytoscape'
const elements = [
{ data: { id: 'product:1', kind: 'product', label: 'Panela' }, position: { x: 100, y: 100 } },
{ data: { id: 'supplier:5', kind: 'supplier', label: 'La Mesa' }, position: { x: 320, y: 100 } },