A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
feat: holehe scanner
dextmorgn9251762be648
diff --git a/flowsint-api/app/main.py b/flowsint-api/app/main.pyindex cf5d89f6..ea757dac 100644--- a/flowsint-api/app/main.py+++ b/flowsint-api/app/main.py@@ -12,6 +12,7 @@ from app.core.celery import celery_appfrom app.types.domain import MinimalDomainfrom app.types.ip import MinimalIpfrom app.types.social import MinimalSocial+from app.types.email import Emailfrom typing import List, Dict, Anyfrom app.neo4j.connector import Neo4jConnectionimport os@@ -78,6 +79,7 @@ async def get_scans_list():extract_input_schema("MinimalDomain", MinimalDomain),extract_input_schema("MinimalIp", MinimalIp),extract_input_schema("MinimalSocial", MinimalSocial),+ extract_input_schema("Email", Email),]flattened_scanners["inputs"] = object_inputsdiff --git a/flowsint-api/app/scanners/emails/holehe.py b/flowsint-api/app/scanners/emails/holehe.pyindex a55efab1..943c1877 100644--- a/flowsint-api/app/scanners/emails/holehe.py+++ b/flowsint-api/app/scanners/emails/holehe.py@@ -28,7 +28,7 @@ class HoleheScanner(Scanner):adapter = TypeAdapter(InputType)return [{"name": prop, "type": resolve_type(details)}- for prop, details in adapter.json_schema()["$defs"]["MinimalSocial"]["properties"].items()+ for prop, details in adapter.json_schema()["$defs"]["Email"]["properties"].items()]@classmethod@@ -95,14 +95,16 @@ class HoleheScanner(Scanner):try:result = await self._perform_holehe_research(email)for result in result["results"]:- print(result)- if(result["exists"]):- print(result)- found.append(result)+ if("error" not in result and "exists" in result):+ found.append(+ Social(+ username=email.email,+ profile_url=f"https://{result['domain']}",+ platform=result["name"]))except Exception as e:print(e)continue- results.append(found)+ results.extend(found)return results@@ -118,5 +120,34 @@ class HoleheScanner(Scanner):raise- def postprocess(self, results: List[Dict[str, Any]]) -> List[Dict[str, Any]]:+ def postprocess(self, results: OutputType, original_input: InputType) -> OutputType:+ if not self.neo4j_conn:+ return results++ for profile in results:+ self.neo4j_conn.query("""+ MERGE (p:social_profile {profile_url: $profile_url})+ SET p.platform = $platform,+ p.username = $username,+ p.label = $label,+ p.caption = $caption,+ p.type = $type,+ p.sketch_id = $sketch_id++ MERGE (i:email {email: $email})+ SET i.sketch_id = $sketch_id+ MERGE (i)-[:HAS_SOCIAL_ACCOUNT {sketch_id: $sketch_id}]->(p)+ """, {+ "profile_url": profile.profile_url,+ "username": profile.username,+ "platform": profile.platform,+ "label": f"{profile.platform}:{profile.username}",+ "caption": f"{profile.platform}:{profile.username}",+ "color": "#1DA1F2",+ "email": profile.username,+ "type": "social_profile",+ "sketch_id": self.sketch_id+ })++return resultsdiff --git a/flowsint-api/app/scanners/registry.py b/flowsint-api/app/scanners/registry.pyindex bcb200d6..a5e32261 100644--- a/flowsint-api/app/scanners/registry.py+++ b/flowsint-api/app/scanners/registry.py@@ -7,6 +7,7 @@ from app.scanners.domains.resolve import ResolveScannerfrom app.scanners.ips.reverse_resolve import ReverseResolveScannerfrom app.scanners.ips.geolocation import GeolocationScannerfrom app.scanners.socials.maigret import MaigretScanner+from app.scanners.emails.holehe import HoleheScannerclass ScannerRegistry:@@ -64,4 +65,5 @@ ScannerRegistry.register(ResolveScanner)ScannerRegistry.register(SubdomainScanner)ScannerRegistry.register(WhoisScanner)ScannerRegistry.register(GeolocationScanner)-ScannerRegistry.register(MaigretScanner)\ No newline at end of file+ScannerRegistry.register(MaigretScanner)+ScannerRegistry.register(HoleheScanner)\ No newline at end of filediff --git a/flowsint-api/app/scanners/socials/maigret.py b/flowsint-api/app/scanners/socials/maigret.pyindex 68d7b7cd..428fb749 100644--- a/flowsint-api/app/scanners/socials/maigret.py+++ b/flowsint-api/app/scanners/socials/maigret.py@@ -147,7 +147,7 @@ class MaigretScanner(Scanner):p.type = $type,p.sketch_id = $sketch_id- MERGE (i:social {username: $username})+ MERGE (i:username {username: $username})SET i.sketch_id = $sketch_idMERGE (i)-[:HAS_SOCIAL_ACCOUNT {sketch_id: $sketch_id}]->(p)""", {diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/actions.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/actions.tsxdeleted file mode 100644index cd4316ec..00000000--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/actions.tsx+++ /dev/null@@ -1,226 +0,0 @@-"use client"--import type React from "react"-import { useState } from "react"-import { useParams } from "next/navigation"-import { supabase } from "@/lib/supabase/client"-import { Button } from "@/components/ui/button"-import { ArrowLeft, ArrowRight } from 'lucide-react'-import { toast } from "sonner"-import { cn } from "@/lib/utils"-import { Dialog, DialogContent, DialogDescription, DialogTitle } from "@/components/ui/dialog"-import { actionItems, type ActionItem } from "@/lib/action-items"-import { Card, CardContent } from "@/components/ui/card"-import { AnimatePresence, motion } from "framer-motion"-import { DynamicForm } from "@/components/sketches/dynamic-form"-import { Badge } from "@/components/ui/badge"--interface ActionDialogProps {- addNodes?: (node: any) => void- setCurrentNode?: (node: any) => void- openDialog: boolean- setOpenDialog: (state: boolean) => void-}--export default function ActionDialog({ addNodes, setCurrentNode, setOpenDialog, openDialog }: ActionDialogProps) {- const { sketch_id } = useParams()- const [openAddNodeModal, setOpenNodeModal] = useState(false)- const [currentNodeType, setCurrentNodeType] = useState<any | null>(null)- const [error, setError] = useState<string | null>(null)- const [loading, setLoading] = useState(false)- const [currentParent, setCurrentParent] = useState<ActionItem | null>(null)- const [navigationHistory, setNavigationHistory] = useState<ActionItem[]>([])-- const handleOpenAddNodeModal = (key: string) => {- const selectedItem = actionItems.find(item => item.type === key) ||- actionItems- .filter(item => item.children)- .flatMap(item => item.children || [])- .find(item => item.type === key)-- if (!selectedItem) {- toast.error("Invalid node type selected.")- return- }- setCurrentNodeType(selectedItem)- setError(null)- setOpenDialog(false)- setOpenNodeModal(true)- }-- const handleAddNode = async (data: any) => {- try {- setLoading(true)- if (!currentNodeType || !sketch_id) {- toast.error("Invalid node type or sketch ID.")- setLoading(false)- return- }-- const dataToInsert = { ...data, sketch_id }-- const { data: nodeData, error: insertError } = await supabase- .from(currentNodeType.table)- .insert(dataToInsert)- .select("*")- .single()-- if (insertError) {- toast.error("Could not insert new node." + insertError.message)- setLoading(false)- return- }-- if (!nodeData) {- toast.error("Could not insert new node.")- setLoading(false)- return- }- const newNode = {- id: nodeData.id,- type: "custom",- data: {- ...nodeData,- label: data[currentNodeType.fields[0].name],- type: currentNodeType.type,- },- position: { x: 0, y: 0 },- }- if (addNodes) {- addNodes(newNode)- }- if (setCurrentNode) {- setCurrentNode(newNode)- }- setOpenNodeModal(false)- setError(null)- toast.success(`${currentNodeType.label} successfully created.`)- } catch (error) {- toast.error("Error submitting form.")- setOpenDialog(false)- } finally {- setLoading(false)- setOpenDialog(false)- }- }-- const navigateToSubItems = (item: ActionItem) => {- setNavigationHistory([...navigationHistory, item])- setCurrentParent(item)- }-- const navigateBack = () => {- const newHistory = [...navigationHistory]- newHistory.pop()- setNavigationHistory(newHistory)- setCurrentParent(newHistory.length > 0 ? newHistory[newHistory.length - 1] : null)- }-- const renderActionCards = () => {- const items = currentParent ? currentParent.children || [] : actionItems-- return (- <AnimatePresence mode="wait">- <motion.div- key={currentParent?.id || "root"}- initial={{ opacity: 0, x: 20 }}- animate={{ opacity: 1, x: 0 }}- exit={{ opacity: 0, x: -20 }}- transition={{ duration: 0.2 }}- className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3 p-1 pb-2"- >- {items.map((item) => (- <ActionCard- key={item.id}- item={item}- onSelect={item.children ? () => navigateToSubItems(item) : () => handleOpenAddNodeModal(item.type)}- />- ))}- </motion.div>- </AnimatePresence>- )- }-- return (- <>- <Dialog open={openDialog} onOpenChange={setOpenDialog}>- <DialogContent className="sm:max-w-[700px] h-[80vh] overflow-hidden flex flex-col">- <DialogTitle className="flex items-center">- {currentParent && (- <Button variant="ghost" size="icon" className="mr-2" onClick={navigateBack}>- <ArrowLeft className="h-4 w-4" />- </Button>- )}- {currentParent ? currentParent.label : "Select an action"}- </DialogTitle>- <DialogDescription>- {currentParent- ? `Select a type of ${currentParent.label.toLowerCase()} to add`- : "Choose an item to add"}- </DialogDescription>-- <div className="overflow-y-auto overflow-x-hidden pr-1 -mr-1 flex-grow">{renderActionCards()}</div>- </DialogContent>- </Dialog>- <Dialog open={openAddNodeModal} onOpenChange={setOpenNodeModal}>- <DialogContent>- <DialogTitle>- {currentNodeType && (- <>Add {currentNodeType.label.toLowerCase()}</>- )}- </DialogTitle>- <DialogDescription>Feel the required data</DialogDescription>- {currentNodeType && (- <DynamicForm- type={currentNodeType.type}- isForm={true}- loading={loading}- onSubmit={handleAddNode}- />- )}- </DialogContent >- </Dialog>- </>- )-}--interface ActionCardProps {- item: ActionItem- onSelect: () => void-}--function ActionCard({ item, onSelect }: ActionCardProps) {- const Icon = item.icon-- return (- <Card- className={cn(- "cursor-pointer transition-all bg-card hover:border-primary border border-transparent hover:shadow-md",- item.disabled && "opacity-50 cursor-not-allowed",- "h-full",- )}- onClick={item.disabled ? undefined : onSelect}- >- <CardContent className="p-4 relative flex flex-col items-center text-center h-full">- <div- className="w-8 h-8 rounded-full flex items-center justify-center mb-3 mt-2"- style={{ backgroundColor: item.color ? `${item.color}20` : "var(--primary-20)" }}- >- <Icon style={{ color: item.color }} className={cn("h-6 w-6 opacity-60", item.color ? "" : "text-primary")} />- </div>- <div className="font-medium text-sm">{item.label}</div>- {item.disabled && (- <Badge variant="outline" className="mt-2 absolute top-2 left-2">- bientôt- </Badge>- )}- {item.children && (- <div className="absolute top-3 right-4 text-xs text-muted-foreground mt-1">- <ArrowRight className="h-4 w-4" />- </div>- )}- {item.children && <div className="text-xs text-muted-foreground mt-1">{item.children.length} options</div>}- </CardContent>- </Card>- )-}diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/client.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/client.tsxindex 1183faff..ea509b0f 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/client.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/client.tsx@@ -2,7 +2,7 @@import { useQuery } from "@tanstack/react-query"import { notFound } from "next/navigation"import { shallow } from 'zustand/shallow'-import ActionDialog from './actions'+// import ActionDialog from './actions'import { Toolbar } from './toolbar'import { LeftPanel } from './left-panel'import { RightPanel } from './right-panel'@@ -70,7 +70,7 @@ export default function DashboardClient({ investigationId, sketchId, sketch, usecurrentNode={currentNode}/></ResizablePanelGroup>- <ActionDialog setCurrentNode={setCurrentNode} setOpenDialog={setOpen} openDialog={open} />+ {/* <ActionDialog setCurrentNode={setCurrentNode} setOpenDialog={setOpen} openDialog={open} /> */}</div><SettingsModal /></>diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/console-panel.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/console-panel.tsxindex 2a5ec33d..090eebc2 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/console-panel.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/console-panel.tsx@@ -1,3 +1,4 @@+import { CopyButton } from '@/components/copy'import { Button } from '@/components/ui/button'import { ScrollArea } from '@/components/ui/scroll-area'import { ChevronDown, Database, FileText, Grid, List } from 'lucide-react'@@ -20,18 +21,19 @@ export const ConsolePanel = memo(function ConsolePanel() {<div className="flex h-8 items-center bg-card py-2 justify-between border-b px-4"><h2 className="font-medium text-sm">Console</h2><div className="flex items-center gap-1">- <Button variant="ghost" size="icon" className="h-6 w-6">- <Grid className="h-4 w-4" />+ {/* <Button variant="ghost" size="icon" className="h-6 w-6">+ <Grid className="h-4 w-4 opacity-70" /></Button><Button variant="ghost" size="icon" className="h-6 w-6">- <List className="h-4 w-4" />+ <List className="h-4 w-4 opacity-70" /></Button><Button variant="ghost" size="icon" className="h-6 w-6">- <FileText className="h-4 w-4" />+ <FileText className="h-4 w-4 opacity-70" /></Button><Button variant="ghost" size="icon" className="h-6 w-6">- <Database className="h-4 w-4" />- </Button>+ <Database className="h-4 w-4 opacity-70" />+ </Button> */}+ <CopyButton content={JSON.stringify(logEntries)} /></div></div><div className="p-2 font-mono text-xs bg-card grow overflow-auto inset-shadow-sm">diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph-panel.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph-panel.tsxindex 356ef3de..f14da19f 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph-panel.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph-panel.tsx@@ -1,20 +1,78 @@import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '@/components/ui/resizable'import { ConsolePanel } from './console-panel'-import { memo, useState } from 'react'+import { memo, useState, useRef, useEffect } from 'react'import Neo4jGraph from './graph'interface GraphPanelProps {query: anyminimapRef: any}+export const GraphPanel = memo(function GraphPanel({ query, minimapRef }: GraphPanelProps) {const [isBottomPanelCollapsed, setIsBottomPanelCollapsed] = useState(false)+ const [panelDimensions, setPanelDimensions] = useState({ width: 0, height: 0 })+ const graphPanelRef = useRef<HTMLDivElement>(null)++ // Fonction pour mettre à jour les dimensions du panel+ const updatePanelDimensions = () => {+ if (!graphPanelRef.current) return++ const rect = graphPanelRef.current.getBoundingClientRect()+ setPanelDimensions({+ width: rect.width,+ height: rect.height+ })+ }++ // Mettre à jour les dimensions au montage et lors des redimensionnements+ useEffect(() => {+ updatePanelDimensions()++ // Observer les changements de taille+ const resizeObserver = new ResizeObserver(() => {+ updatePanelDimensions()+ })++ if (graphPanelRef.current) {+ resizeObserver.observe(graphPanelRef.current)+ }++ // Nettoyer l'observer+ return () => {+ resizeObserver.disconnect()+ }+ }, [])++ // Mettre à jour les dimensions lors des changements de fenêtre+ useEffect(() => {+ window.addEventListener('resize', updatePanelDimensions)+ return () => {+ window.removeEventListener('resize', updatePanelDimensions)+ }+ }, [])+return (<div className="flex flex-col h-full"><div className="grow">- <ResizablePanelGroup direction="vertical" className="h-full">- <ResizablePanel defaultSize={80} className="h-full w-full bg-background">- <Neo4jGraph minimapRef={minimapRef} data={query.data} isLoading={query.isLoading} />+ <ResizablePanelGroup+ direction="vertical"+ className="h-full"+ onLayout={updatePanelDimensions}+ >+ <ResizablePanel+ defaultSize={80}+ className="h-full w-full bg-background"+ onResize={updatePanelDimensions}+ >+ <div ref={graphPanelRef} className="h-full w-full">+ <Neo4jGraph+ minimapRef={minimapRef}+ data={query.data}+ isLoading={query.isLoading}+ width={panelDimensions.width}+ height={panelDimensions.height}+ />+ </div></ResizablePanel><ResizableHandle withHandle />@@ -27,6 +85,7 @@ export const GraphPanel = memo(function GraphPanel({ query, minimapRef }: GraphPcollapsible={true}onCollapse={() => setIsBottomPanelCollapsed(true)}onExpand={() => setIsBottomPanelCollapsed(false)}+ onResize={updatePanelDimensions}><ConsolePanel /></ResizablePanel>@@ -34,4 +93,4 @@ export const GraphPanel = memo(function GraphPanel({ query, minimapRef }: GraphP</div></div>)-})\ No newline at end of file+})diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph.tsxindex 832b34c0..02477329 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/graph.tsx@@ -1,47 +1,56 @@-'use client'+"use client"++import { memo, useCallback, useEffect, useRef, useState } from "react"+import dynamic from "next/dynamic"+import { Button } from "@/components/ui/button"+import Loader from "@/components/loader"+import NewActions from "@/components/sketches/new-actions"+import { PlusIcon } from "lucide-react"+import { useSketchStore } from "@/store/sketch-store"+import { shallow } from "zustand/shallow"+import { useColorSettings } from "@/store/color-settings"+import type { NodeData, EdgeData } from "@/types"++const ForceGraph2D = dynamic(() => import("react-force-graph-2d").then((mod) => mod), {+ ssr: false,+})-import React, { memo, useEffect, useMemo, useRef, useState } from 'react'-import dynamic from 'next/dynamic'-import { Button } from '@/components/ui/button'-import Loader from '@/components/loader'-import NewActions from '@/components/sketches/new-actions'-import { PlusIcon } from 'lucide-react'-import { useSketchStore } from '@/store/sketch-store'-import { shallow } from 'zustand/shallow'-import { useColorSettings } from '@/store/color-settings'-import { NodeData, EdgeData } from '@/types'-const ForceGraph2D = dynamic(() => import('react-force-graph-2d').then(mod => mod), {- ssr: false-});interface GraphProps {- isLoading: boolean,+ isLoading: booleanminimapRef: any- data: { nds: Node[], rls: EdgeData[] }+ data: { nds: Node[]; rls: EdgeData[] }+ // Nouvelles props pour les dimensions+ width?: number+ height?: number}-const stateSelector = (state: { setCurrentNode: any, nodes: NodeData[], edges: EdgeData[], setNodes: any, setEdges: any, addNode: any, currentNode: any }) => ({+const stateSelector = (state: {+ setCurrentNode: any+ nodes: NodeData[]+ edges: EdgeData[]+ setNodes: any+ setEdges: any+ addNode: any+ currentNode: NodeData | null+}) => ({setCurrentNode: state.setCurrentNode,nodes: state.nodes,edges: state.edges,setNodes: state.setNodes,setEdges: state.setEdges,addNode: state.addNode,- currentNode: state.currentNode+ currentNode: state.currentNode,})-const Graph = ({ data, isLoading, minimapRef }: GraphProps) => {+const Graph = ({ data, isLoading, minimapRef, width, height }: GraphProps) => {const fgRef = useRef<any>(null)const [ready, setReady] = useState(false)const { colors } = useColorSettings()- const {- setCurrentNode,- addNode,- setNodes,- setEdges,- nodes,- edges- } = useSketchStore(stateSelector, shallow)+ const { currentNode, setCurrentNode, addNode, setNodes, setEdges, nodes, edges } = useSketchStore(+ stateSelector,+ shallow,+ )useEffect(() => {if (minimapRef?.current) {@@ -55,13 +64,27 @@ const Graph = ({ data, isLoading, minimapRef }: GraphProps) => {if (data?.rls) setEdges(data.rls)}, [data?.nds, data?.rls, isLoading, setNodes, setEdges])+ useEffect(() => {+ if (currentNode && fgRef.current) {+ fgRef.current.centerAt(currentNode.x, currentNode.y, 500)+ fgRef.current.zoom(8, 500)+ }+ }, [currentNode])++ const onNodeClick = useCallback(+ (node: any) => {+ setCurrentNode(node)+ },+ [setCurrentNode],+ )+if (isLoading || !ready) {return <Loader label="Loading..." />}if (!nodes.length) {return (- <div className='flex relative gap-3 h-full flex-col w-full items-center justify-center'>+ <div className="flex relative gap-3 h-full flex-col w-full items-center justify-center">Your nodes will be displayed here.<NewActions addNodes={addNode}><Button className="bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none">@@ -73,14 +96,18 @@ const Graph = ({ data, isLoading, minimapRef }: GraphProps) => {}return (- <div className='relative h-full w-full'>- <div className='top-3 left-3 absolute z-50'>+ <div className="relative h-full w-full">+ <div className="top-3 left-3 absolute z-50"><NewActions addNodes={addNode}>- <Button className="bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none" size="icon">+ <Button+ className="bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary transition-all duration-300 px-6 py-2 text-white border-none"+ size="icon"+ ><PlusIcon /></Button></NewActions></div>+<ForceGraph2Dref={fgRef}graphData={{ nodes, links: edges }}@@ -89,33 +116,33 @@ const Graph = ({ data, isLoading, minimapRef }: GraphProps) => {nodeLabel={"label"}linkTarget="to"nodeAutoColorBy="label"- d3VelocityDecay={0.3} // accélère la stabilisation du graphe- d3AlphaDecay={0.05} // (optionnel) pour que le graphe converge plus vite- cooldownTicks={50} // (optionnel) fixe la durée de simulation- // onEngineStop={() => fgRef.current.zoomToFit(400)} // auto-fit à la fin du layout- onNodeClick={(node) => setCurrentNode(node)}+ d3VelocityDecay={0.3}+ d3AlphaDecay={0.05}+ cooldownTicks={50}+ width={width}+ height={height}+ onNodeClick={onNodeClick}onBackgroundClick={() => setCurrentNode(null)}linkColor={"red"}onNodeDragEnd={(node) => {- node.fx = node.x;- node.fy = node.y;- node.fz = node.z;+ node.fx = node.x+ node.fy = node.y+ node.fz = node.z}}nodeCanvasObject={(node: any, ctx, globalScale) => {const radius = node.size / 10- const background = getComputedStyle(document.documentElement).getPropertyValue('--card')?.trim()- const fontSize = globalScale * .2462+ const background = getComputedStyle(document.documentElement).getPropertyValue("--card")?.trim()+ const fontSize = globalScale * 0.2462ctx.font = `${fontSize}px Sans-Serif`ctx.fillStyle = background- ctx.strokeTextctx.beginPath()ctx.arc(node.x!, node.y!, node.size / 10, 0, 2 * Math.PI, false)ctx.fill()// Contourctx.beginPath()ctx.arc(node.x!, node.y!, radius, 0, 2 * Math.PI, false)- ctx.strokeStyle = colors[node.type as keyof typeof colors] || 'black'- ctx.lineWidth = .4+ ctx.strokeStyle = colors[node.type as keyof typeof colors] || "black"+ ctx.lineWidth = 0.4ctx.stroke()}}/>diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/left-panel.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/left-panel.tsxindex 31222759..95e22b41 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/left-panel.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/left-panel.tsx@@ -32,8 +32,8 @@ export const LeftPanel = memo(function LeftPanel({ isCollapsed, setIsCollapsed }{!isCollapsed ? (<div className="overflow-auto bg-card h-full flex flex-col w-full !p-0 !m-0"><div>- <div className="p-2">- <div className="grid grid-cols-1 gap-1">+ <div className="p-4">+ <div className="grid grid-cols-1 gap-2">{actionItems.map((item) => {if (item.children && item.children.length > 0) {return (@@ -41,34 +41,32 @@ export const LeftPanel = memo(function LeftPanel({ isCollapsed, setIsCollapsed }<AccordionItem value={item.id.toString()}><AccordionTrigger className="py-1 text-sm"><div className="flex items-center gap-2">- <IconContainer- icon={item.icon}- type={item.type}- /><span>{item.label}</span>{item.comingSoon && <span className="ml-1 text-xs text-muted-foreground">(Soon)</span>}</div></AccordionTrigger><AccordionContent>- <div className="grid grid-cols-1 gap-1 pl-2">+ <div className="grid grid-cols-1 gap-2 p-2">{item.children.map((childItem) => {return (<divkey={childItem.id}- className={`flex cursor-grab items-center gap-2 rounded-md p-2 hover:bg-background ${childItem.disabled ? "opacity-50 cursor-not-allowed" : ""- }`}- draggable={!childItem.disabled}+ draggable+ className="p-2 rounded-md relative overflow-hidden border-l-primary cursor-grab bg-card border hover:shadow-md transition-shadow"+ style={{ borderLeftWidth: "4px", borderLeftColor: childItem.color, cursor: "grab" }}>- <IconContainer- icon={childItem.icon}- type={childItem.type}- />- <span className="text-xs">- {childItem.label}- {childItem.comingSoon && (- <span className="ml-1 text-xs text-muted-foreground">(Soon)</span>- )}- </span>+ <div className="flex justify-start items-center gap-2">+ <IconContainer+ icon={childItem.icon}+ color={childItem.color}+ type={childItem.type}+ />+ <div className="space-y-1">+ {/* <Badge variant={"outline"} className="">{scanner.type}</Badge> */}+ <h3 className="text-sm font-medium">{childItem.label}</h3>+ <p className="text-xs text-muted-foreground">{childItem.label}</p>+ </div>+ </div></div>);})}@@ -83,18 +81,21 @@ export const LeftPanel = memo(function LeftPanel({ isCollapsed, setIsCollapsed }return (<divkey={item.id}- className={`flex cursor-grab items-center gap-2 rounded-md p-1 hover:bg-background ${item.disabled ? "opacity-50 cursor-not-allowed" : ""- }`}- draggable={!item.disabled}+ draggable+ className="p-2 px-4 rounded-md relative overflow-hidden border-l-primary cursor-grab bg-card border hover:shadow-md transition-shadow"+ style={{ borderLeftWidth: "4px", cursor: "grab" }}>- <IconContainer- icon={item.icon}- type={item.type}- />- <span className="text-xs">- {item.label}- {item.comingSoon && <span className="ml-1 text-xs text-muted-foreground">(Soon)</span>}- </span>+ <div className="flex justify-start items-center gap-2">+ <IconContainer+ icon={item.icon}+ type={item.type}+ />+ <div className="space-y-1">+ {/* <Badge variant={"outline"} className="">{scanner.type}</Badge> */}+ <h3 className="text-sm font-medium">{item.label}</h3>+ <p className="text-xs text-muted-foreground">{item.label}</p>+ </div>+ </div></div>);})}diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/loading.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/loading.tsxindex 6b7b0d2d..9e0f9cda 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/loading.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/loading.tsx@@ -3,7 +3,7 @@ import React from 'react'const loading = () => {return (- <div className='h-[90vh] w-full flex items-center justify-center gap-2'><Loader />Loading...</div>+ <Loader />)}diff --git a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/right-panel.tsx b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/right-panel.tsxindex 6122b7a2..4de5c159 100644--- a/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/right-panel.tsx+++ b/flowsint-web/src/app/dashboard/investigations/[investigation_id]/sketches/[sketch_id]/right-panel.tsx@@ -21,13 +21,11 @@ export const RightPanel = memo(function RightPanel({ isCollapsed, isLoading, setconst stateSelector = (state: { nodes: any }) => ({nodes: state.nodes,})-const {nodes,} = useSketchStore(stateSelector, shallow)-const processedNodes = useMemo(() =>- nodes.map(({ id, data, type }: { id: string; data: any; type?: string }) => ({ id, data, type }))+ nodes.map((node: any) => (node)).sort((a: { type?: any }, b: { type?: string }) => b?.type?.localeCompare(a?.type || "")),[nodes.length]);diff --git a/flowsint-web/src/app/dashboard/layout.tsx b/flowsint-web/src/app/dashboard/layout.tsxindex c928247e..66220701 100644--- a/flowsint-web/src/app/dashboard/layout.tsx+++ b/flowsint-web/src/app/dashboard/layout.tsx@@ -31,7 +31,15 @@ const DashboardLayout = async ({<header className="sticky top-0 z-50 bg-card border-b"><div className="flex h-12 items-center px-4"><Link href="/dashboard" className="flex items-center gap-1">- <FingerprintIcon className="mr-2 h-6 w-6 text-primary" />+ <div className={"relative w-6 h-6"}>+ <div className="absolute inset-0 rounded-full border-4 border-primary" />+ <div+ className="absolute inset-1 rounded-full border-4 border-secondary"+ />+ <div+ className="absolute inset-2 rounded-full border-2 border-cyan-500"+ />+ </div><span className='opacity-60 text-sm'>/</span></Link>{/* <Separator orientation="vertical" className="h-6" /> */}diff --git a/flowsint-web/src/components/chatbot.tsx b/flowsint-web/src/components/chatbot.tsxdeleted file mode 100644index dc82f3a4..00000000--- a/flowsint-web/src/components/chatbot.tsx+++ /dev/null@@ -1,27 +0,0 @@-'use client';--import { useChat } from '@ai-sdk/react';--export default function Chat() {- const { messages, input, handleInputChange, handleSubmit, error } = useChat();- if (error) return <div>{JSON.stringify(error)}</div>- return (- <div className="flex flex-col w-full max-w-md py-24 mx-auto stretch">- {messages.map(m => (- <div key={m.id} className="whitespace-pre-wrap">- {m.role === 'user' ? 'User: ' : 'AI: '}- {m.content}- </div>- ))}-- <form onSubmit={handleSubmit}>- <input- className="fixed dark:bg-zinc-900 bottom-0 w-full max-w-md p-2 mb-8 border border-zinc-300 dark:border-zinc-800 rounded shadow-xl"- value={input}- placeholder="Say something..."- onChange={handleInputChange}- />- </form>- </div>- );-}\ No newline at end of filediff --git a/flowsint-web/src/components/icon-container.tsx b/flowsint-web/src/components/icon-container.tsxindex 1e657c98..d7e43483 100644--- a/flowsint-web/src/components/icon-container.tsx+++ b/flowsint-web/src/components/icon-container.tsx@@ -14,18 +14,19 @@ interface IconContainerProps {type: stringicon: LucideIconsize?: number+ color?: string}-export function IconContainer({ type, icon: Icon, size = 12 }: IconContainerProps) {+export function IconContainer({ type, color, icon: Icon, size = 12 }: IconContainerProps) {const containerSize = size + 16 // Make container slightly larger than icon- const color = useColorSettings((state) => state.colors[type as keyof typeof state.colors] || "#000000")- const bgColor = useMemo(() => hexToRgba(color, 0.3), [color])+ const col = color ? color : useColorSettings((state) => state.colors[type as keyof typeof state.colors] || "#000000")+ const bgColor = useMemo(() => hexToRgba(col, 0.3), [color])return (<div><divstyle={{- border: `${size/4}px solid ${bgColor}`,+ border: `${size / 4}px solid ${bgColor}`,width: `${containerSize}px`,height: `${containerSize}px`,}}diff --git a/flowsint-web/src/components/loader.tsx b/flowsint-web/src/components/loader.tsxindex 63eb71fd..0fccb892 100644--- a/flowsint-web/src/components/loader.tsx+++ b/flowsint-web/src/components/loader.tsx@@ -3,14 +3,14 @@ import { cn } from "@/lib/utils";function Loader({ className, label }: { className?: string, label?: string }) {return (<div className="h-full w-full flex items-center justify-center gap-2">- <div className={cn("relative w-8 h-8", className)}>- <div className="absolute inset-0 rounded-full border-4 border-t-transparent border-l-transparent border-r-primary border-b-primary animate-spin" />+ <div className={cn("relative w-7 h-7", className)}>+ <div className="absolute inset-0 rounded-full border-3 border-t-transparent border-l-transparent border-r-primary border-b-primary animate-spin" /><div- className="absolute inset-1 rounded-full border-4 border-b-transparent border-r-transparent border-t-secondary border-secondary animate-spin"+ className="absolute inset-1 rounded-full border-3 border-b-transparent border-r-transparent border-t-secondary border-t-secondary animate-spin"style={{ animationDirection: "reverse", animationDuration: "1s" }}/><div- className="absolute inset-2 rounded-full border-4 border-t-transparent border-l-transparent border-r-cyan-500 border-b-cyan-500 animate-spin"+ className="absolute inset-2 rounded-full border-3 border-t-transparent border-l-transparent border-r-cyan-500 border-b-cyan-500 animate-spin"style={{ animationDuration: "0.5s" }}/></div>diff --git a/flowsint-web/src/components/sketches/new-actions.tsx b/flowsint-web/src/components/sketches/new-actions.tsxindex 2abc52c2..fba76771 100644--- a/flowsint-web/src/components/sketches/new-actions.tsx+++ b/flowsint-web/src/components/sketches/new-actions.tsx@@ -55,13 +55,11 @@ export default function ActionDialog({ children, addNodes, setCurrentNode }: Acttoast.error("Invalid node type or sketch ID.")return}- const id = crypto.randomUUID()const label_key = currentNodeType.fields.find((f) => f.name === currentNodeType.label_key)?.name || currentNodeType.fields[0].nameconst label = data[label_key as keyof typeof data]const type = currentNodeType.typeconst color = colors[type as keyof typeof colors]const newNode = {- id,type: type,caption: label,color,@@ -70,7 +68,6 @@ export default function ActionDialog({ children, addNodes, setCurrentNode }: Actcolor,label,type,- id},}const resp = await saveNode({ node: newNode, sketch_id })diff --git a/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx b/flowsint-web/src/components/sketches/sketch/nodes-panel.tsxindex 9e49ae4d..4f1cf8cc 100644--- a/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx+++ b/flowsint-web/src/components/sketches/sketch/nodes-panel.tsx@@ -98,7 +98,6 @@ const NodesPanel = memo(({ nodes, isLoading }: { nodes: NodeData[], isLoading?:const currentNodeId = useSketchStore(state => state.currentNode?.id)const [searchQuery, setSearchQuery] = useState("")const [filters, setFilters] = useState<null | string[]>(null) // 'individual', 'email', etc.-const filteredNodes = useMemo(() => {const searchText = searchQuery.toLowerCase()return nodes?.filter((node) => {diff --git a/flowsint-web/src/components/transforms/scanner-item.tsx b/flowsint-web/src/components/transforms/scanner-item.tsxindex 002cc3b9..b07dc03c 100644--- a/flowsint-web/src/components/transforms/scanner-item.tsx+++ b/flowsint-web/src/components/transforms/scanner-item.tsx@@ -54,7 +54,7 @@ const ScannerItem = memo(({ scanner, category, color }: ScannerItemProps) => {<divdraggableonDragStart={onDragStart}- className="p-3 rounded-md relative cursor-grab bg-card border hover:shadow-md transition-shadow"+ className="p-3 rounded-md relative overflow-hidden cursor-grab bg-card border hover:shadow-md transition-shadow"style={{ borderLeftWidth: "4px", borderLeftColor: color, cursor: "grab" }}><div className="flex justify-between items-start">diff --git a/flowsint-web/src/components/transforms/test-transform.tsx b/flowsint-web/src/components/transforms/test-transform.tsxindex f844f3f1..a3c68282 100644--- a/flowsint-web/src/components/transforms/test-transform.tsx+++ b/flowsint-web/src/components/transforms/test-transform.tsx@@ -18,7 +18,7 @@ const TestTransform = memo(({ open, setOpen, type, loading, onSubmit }: TestTran<DialogContent><DialogTitle>Test transform</DialogTitle><DialogDescription>Fill the required data</DialogDescription>- <DynamicForm type={type} isForm={true} loading={loading} onSubmit={onSubmit} />+ <DynamicForm currentNodeType={type} isForm={true} loading={loading} onSubmit={onSubmit} /></DialogContent></Dialog>)diff --git a/flowsint-web/src/lib/actions/sketches.ts b/flowsint-web/src/lib/actions/sketches.tsindex 9eb75792..3cb1b7bc 100644--- a/flowsint-web/src/lib/actions/sketches.ts+++ b/flowsint-web/src/lib/actions/sketches.ts@@ -2,8 +2,6 @@import { createClient } from "../supabase/server"import { redirect } from "next/navigation"import { revalidatePath } from "next/cache"-import { Node, Relationship } from "@neo4j-nvl/base"-import { flattenObj } from "../utils"export async function createNewSketch(formData: FormData, investigation_id: string) {const supabase = await createClient()@@ -28,7 +26,7 @@ export async function createNewSketch(formData: FormData, investigation_id: stri}type Schema = {- node: Node+ node: anysketch_id: string | string[]}diff --git a/flowsint-web/src/store/color-settings.ts b/flowsint-web/src/store/color-settings.tsindex 650f63b8..82b7d850 100644--- a/flowsint-web/src/store/color-settings.ts+++ b/flowsint-web/src/store/color-settings.ts@@ -1,3 +1,4 @@+"use client"import { create } from "zustand"import { persist } from "zustand/middleware"@@ -52,30 +53,32 @@ export const ITEM_TYPES: ItemType[] = ["username"]+const primary = '#009bc2'+const DEFAULT_COLORS: Record<ItemType, string> = {- individual: "#D45A3A", // Bleu moyen- phone: "#D45A3A", // Vert/gris doux- address: "#D45A3A", // Vert forêt- email: "#D45A3A", // Rouge doux- ip: "#D45A3A", // Orange chaud- social_profile: "#D45A3A", // Mauve gris- organization: "#D45A3A", // Brun/bronze- vehicle: "#D45A3A", // Jaune sable- website: "#DAB6C4", // Rose grisé- domain: "#D45A3A", // Bleu-vert foncé- subdomain: "#D45A3A", // Bleu clair- document: "#D45A3A", // Bleu pâle grisé- financial: "#D45A3A", // Rose saumon- event: "#D45A3A", // Bleu ciel- device: "#D45A3A", // Jaune doux- media: "#D45A3A", // Orange ocre- education: "#D45A3A", // Bleu acier- relationship: "#D45A3A", // Pêche- online_activity: "#D45A3A", // Vert herbe- digital_footprint: "#D45A3A", // Rouge terre- username: "#D45A3A", // Bleu lavande- credential: "#D45A3A", // Gris neutre- biometric: "#D45A3A", // Gris neutre+ individual: primary, // Bleu moyen+ phone: primary, // Vert/gris doux+ address: primary, // Vert forêt+ email: primary, // Rouge doux+ ip: primary, // Orange chaud+ social_profile: primary, // Mauve gris+ organization: primary, // Brun/bronze+ vehicle: primary, // Jaune sable+ website: primary, // Rose grisé+ domain: primary, // Bleu-vert foncé+ subdomain: primary, // Bleu clair+ document: primary, // Bleu pâle grisé+ financial: primary, // Rose saumon+ event: primary, // Bleu ciel+ device: primary, // Jaune doux+ media: primary, // Orange ocre+ education: primary, // Bleu acier+ relationship: primary, // Pêche+ online_activity: primary, // Vert herbe+ digital_footprint: primary, // Rouge terre+ username: primary, // Bleu lavande+ credential: primary, // Gris neutre+ biometric: primary, // Gris neutre}diff --git a/flowsint-web/src/types/index.ts b/flowsint-web/src/types/index.tsindex c22ab308..2af270f6 100644--- a/flowsint-web/src/types/index.ts+++ b/flowsint-web/src/types/index.ts@@ -9,10 +9,10 @@ export type NodeData = {position: any,type: string,data: any,- parentId?: string,- extent?: stringwidth?: number,- height?: number+ height?: number,+ x?: number,+ y?: number};export type EdgeData = {diff --git a/flowsint-web/styles/globals.css b/flowsint-web/styles/globals.cssindex 2acd4f11..69cb12df 100644--- a/flowsint-web/styles/globals.css+++ b/flowsint-web/styles/globals.css@@ -5,881 +5,107 @@@custom-variant dark (&:is(.dark *));@layer base {- :root {- --sidebar-background: hsl(0, 0%, 98%);- --sidebar-foreground: hsl(240, 5.3%, 26.1%);- --sidebar-primary: hsl(240, 5.9%, 10%);- --sidebar-primary-foreground: hsl(0, 0%, 98%);- --sidebar-accent: hsl(240, 4.8%, 95.9%);- --sidebar-accent-foreground: hsl(240, 5.9%, 10%);- --sidebar-border: hsl(220, 13%, 91%);- --sidebar-ring: hsl(217.2, 91.2%, 59.8%);- }+ :root {+ --sidebar-background: hsl(0, 0%, 98%);+ --sidebar-foreground: hsl(240, 5.3%, 26.1%);+ --sidebar-primary: hsl(240, 5.9%, 10%);+ --sidebar-primary-foreground: hsl(0, 0%, 98%);+ --sidebar-accent: hsl(240, 4.8%, 95.9%);+ --sidebar-accent-foreground: hsl(240, 5.9%, 10%);+ --sidebar-border: hsl(220, 13%, 91%);+ --sidebar-ring: hsl(217.2, 91.2%, 59.8%);+ }++ .dark {+ --sidebar-background: hsl(0, 0, 11);+ --sidebar-foreground: hsl(240, 4.8%, 95.9%);+ --sidebar-primary: hsl(224.3, 76.3%, 48%);+ --sidebar-primary-foreground: hsl(0, 0%, 100%);+ --sidebar-accent: hsl(240, 3.7%, 15.9%);+ --sidebar-accent-foreground: hsl(240, 4.8%, 95.9%);+ --sidebar-border: hsl(240, 3.7%, 15.9%);+ --sidebar-ring: hsl(217.2, 91.2%, 59.8%);+ }- .dark {- --sidebar-background: hsl(0, 0, 11);- --sidebar-foreground: hsl(240, 4.8%, 95.9%);- --sidebar-primary: hsl(224.3, 76.3%, 48%);- --sidebar-primary-foreground: hsl(0, 0%, 100%);- --sidebar-accent: hsl(240, 3.7%, 15.9%);- --sidebar-accent-foreground: hsl(240, 4.8%, 95.9%);- --sidebar-border: hsl(240, 3.7%, 15.9%);- --sidebar-ring: hsl(217.2, 91.2%, 59.8%);- }body {letter-spacing: var(--tracking-normal);- }+ }}@layer base {- * {- @apply border-border;- }+ * {+ @apply border-border;+ }- body {- @apply bg-background text-foreground;- }+ body {+ @apply bg-background text-foreground;+ }}@layer base {- * {- @apply border-border outline-ring/50;- }+ * {+ @apply border-border outline-ring/50;+ }- body {- @apply bg-background text-foreground;- }+ body {+ @apply bg-background text-foreground;+ }}.react-flow__node-group {- padding: 0px !important;- border-radius: 6px !important;+ padding: 0px !important;+ border-radius: 6px !important;}.react-sigma {- background-color: var(--background) !important;-}--:root {- --background: oklch(0.94 0.00 236.50);- --foreground: oklch(0.32 0 0);- --card: oklch(1.00 0 0);- --card-foreground: oklch(0.32 0 0);- --popover: oklch(1.00 0 0);- --popover-foreground: oklch(0.32 0 0);- --primary: oklch(0.64 0.17 36.44);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.97 0.00 264.54);- --secondary-foreground: oklch(0.45 0.03 256.80);- --muted: oklch(0.98 0.00 247.84);- --muted-foreground: oklch(0.55 0.02 264.36);- --accent: oklch(0.91 0.02 243.82);- --accent-foreground: oklch(0.38 0.14 265.52);- --destructive: oklch(0.64 0.21 25.33);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.90 0.01 247.88);- --input: oklch(0.97 0.00 264.54);- --ring: oklch(0.64 0.17 36.44);- --chart-1: oklch(0.72 0.06 248.68);- --chart-2: oklch(0.79 0.09 35.96);- --chart-3: oklch(0.58 0.08 254.16);- --chart-4: oklch(0.50 0.08 259.49);- --chart-5: oklch(0.42 0.10 264.03);- --sidebar: oklch(0.90 0.00 258.33);- --sidebar-foreground: oklch(0.32 0 0);- --sidebar-primary: oklch(0.64 0.17 36.44);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.91 0.02 243.82);- --sidebar-accent-foreground: oklch(0.38 0.14 265.52);- --sidebar-border: oklch(0.93 0.01 264.53);- --sidebar-ring: oklch(0.64 0.17 36.44);- --font-sans: Inter, sans-serif;- --font-serif: Source Serif 4, serif;- --font-mono: JetBrains Mono, monospace;- --radius: 0.75rem;- --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 2px 4px -1px hsl(0 0% 0% / 0.10);- --shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 4px 6px -1px hsl(0 0% 0% / 0.10);- --shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 8px 10px -1px hsl(0 0% 0% / 0.10);- --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);- --shadow-color: hsl(0 0% 0%);- --shadow-opacity: 0.1;- --shadow-blur: 3px;- --shadow-spread: 0px;- --shadow-offset-x: 0px;- --shadow-offset-y: 1px;- --letter-spacing: 0em;- --spacing: 0.25rem;- --tracking-normal: 0em;-}--.dark {- --background: oklch(0.26 0.03 262.67);- --foreground: oklch(0.92 0 0);- --card: oklch(0.31 0.03 268.64);- --card-foreground: oklch(0.92 0 0);- --popover: oklch(0.29 0.02 268.40);- --popover-foreground: oklch(0.92 0 0);- --primary: oklch(0.64 0.17 36.44);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.31 0.03 266.71);- --secondary-foreground: oklch(0.92 0 0);- --muted: oklch(0.31 0.03 266.71);- --muted-foreground: oklch(0.72 0 0);- --accent: oklch(0.34 0.06 267.59);- --accent-foreground: oklch(0.88 0.06 254.13);- --destructive: oklch(0.64 0.21 25.33);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.38 0.03 269.73);- --input: oklch(0.38 0.03 269.73);- --ring: oklch(0.64 0.17 36.44);- --chart-1: oklch(0.72 0.06 248.68);- --chart-2: oklch(0.77 0.09 34.19);- --chart-3: oklch(0.58 0.08 254.16);- --chart-4: oklch(0.50 0.08 259.49);- --chart-5: oklch(0.42 0.10 264.03);- --sidebar: oklch(0.31 0.03 267.74);- --sidebar-foreground: oklch(0.92 0 0);- --sidebar-primary: oklch(0.64 0.17 36.44);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.34 0.06 267.59);- --sidebar-accent-foreground: oklch(0.88 0.06 254.13);- --sidebar-border: oklch(0.38 0.03 269.73);- --sidebar-ring: oklch(0.64 0.17 36.44);- --font-sans: Inter, sans-serif;- --font-serif: Source Serif 4, serif;- --font-mono: JetBrains Mono, monospace;- --radius: 0.75rem;- --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 2px 4px -1px hsl(0 0% 0% / 0.10);- --shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 4px 6px -1px hsl(0 0% 0% / 0.10);- --shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 8px 10px -1px hsl(0 0% 0% / 0.10);- --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);- --shadow-color: hsl(0 0% 0%);- --shadow-opacity: 0.1;- --shadow-blur: 3px;- --shadow-spread: 0px;- --shadow-offset-x: 0px;- --shadow-offset-y: 1px;- --letter-spacing: 0em;- --spacing: 0.25rem;-}--@theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);- --color-card: var(--card);- --color-card-foreground: var(--card-foreground);- --color-popover: var(--popover);- --color-popover-foreground: var(--popover-foreground);- --color-primary: var(--primary);- --color-primary-foreground: var(--primary-foreground);- --color-secondary: var(--secondary);- --color-secondary-foreground: var(--secondary-foreground);- --color-muted: var(--muted);- --color-muted-foreground: var(--muted-foreground);- --color-accent: var(--accent);- --color-accent-foreground: var(--accent-foreground);- --color-destructive: var(--destructive);- --color-destructive-foreground: var(--destructive-foreground);- --color-border: var(--border);- --color-input: var(--input);- --color-ring: var(--ring);- --color-chart-1: var(--chart-1);- --color-chart-2: var(--chart-2);- --color-chart-3: var(--chart-3);- --color-chart-4: var(--chart-4);- --color-chart-5: var(--chart-5);- --color-sidebar: var(--sidebar);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-ring: var(--sidebar-ring);-- --font-sans: Inter, sans-serif;- --font-mono: JetBrains Mono, monospace;- --font-serif: Source Serif 4, serif;-- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --shadow-2xs: var(--shadow-2xs);- --shadow-xs: var(--shadow-xs);- --shadow-sm: var(--shadow-sm);- --shadow: var(--shadow);- --shadow-md: var(--shadow-md);- --shadow-lg: var(--shadow-lg);- --shadow-xl: var(--shadow-xl);- --shadow-2xl: var(--shadow-2xl);- --radius: 0.75rem;- --tracking-tighter: calc(var(--tracking-normal) - 0.05em);- --tracking-tight: calc(var(--tracking-normal) - 0.025em);- --tracking-wide: calc(var(--tracking-normal) + 0.025em);- --tracking-wider: calc(var(--tracking-normal) + 0.05em);- --tracking-widest: calc(var(--tracking-normal) + 0.1em);- --tracking-normal: var(--tracking-normal);- --spacing: var(--spacing);- --letter-spacing: var(--letter-spacing);- --shadow-offset-y: var(--shadow-offset-y);- --shadow-offset-x: var(--shadow-offset-x);- --shadow-spread: var(--shadow-spread);- --shadow-blur: var(--shadow-blur);- --shadow-opacity: var(--shadow-opacity);- --color-shadow-color: var(--shadow-color);-}--:root {- --background: oklch(0.96 0 0);- --foreground: oklch(0.32 0 0);- --card: oklch(0.97 0 0);- --card-foreground: oklch(0.32 0 0);- --popover: oklch(0.97 0 0);- --popover-foreground: oklch(0.32 0 0);- --primary: oklch(0.78 0.13 182.27);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.91 0 0);- --secondary-foreground: oklch(0.32 0 0);- --muted: oklch(0.89 0 0);- --muted-foreground: oklch(0.51 0 0);- --accent: oklch(0.81 0 0);- --accent-foreground: oklch(0.32 0 0);- --destructive: oklch(0.56 0.19 25.86);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.86 0 0);- --input: oklch(0.91 0 0);- --ring: oklch(0.49 0 0);- --chart-1: oklch(0.78 0.13 182.27);- --chart-2: oklch(0.49 0.04 196.03);- --chart-3: oklch(0.65 0 0);- --chart-4: oklch(0.73 0 0);- --chart-5: oklch(0.81 0 0);- --sidebar: oklch(0.94 0 0);- --sidebar-foreground: oklch(0.32 0 0);- --sidebar-primary: oklch(0.49 0 0);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.81 0 0);- --sidebar-accent-foreground: oklch(0.32 0 0);- --sidebar-border: oklch(0.86 0 0);- --sidebar-ring: oklch(0.49 0 0);- --font-sans: Montserrat, sans-serif;- --font-serif: Georgia, serif;- --font-mono: Fira Code, monospace;- --radius: 0.35rem;- --shadow-2xs: 0px 2px 0px 0px hsl(0 0% 20% / 0.07);- --shadow-xs: 0px 2px 0px 0px hsl(0 0% 20% / 0.07);- --shadow-sm: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 1px 2px -1px hsl(0 0% 20% / 0.15);- --shadow: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 1px 2px -1px hsl(0 0% 20% / 0.15);- --shadow-md: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 2px 4px -1px hsl(0 0% 20% / 0.15);- --shadow-lg: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 4px 6px -1px hsl(0 0% 20% / 0.15);- --shadow-xl: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 8px 10px -1px hsl(0 0% 20% / 0.15);- --shadow-2xl: 0px 2px 0px 0px hsl(0 0% 20% / 0.38);-}--.dark {- --background: oklch(0.22 0 0);- --foreground: oklch(0.89 0 0);- --card: oklch(0.24 0 0);- --card-foreground: oklch(0.89 0 0);- --popover: oklch(0.24 0 0);- --popover-foreground: oklch(0.89 0 0);- --primary: oklch(0.78 0.13 182.87);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.31 0 0);- --secondary-foreground: oklch(0.89 0 0);- --muted: oklch(0.29 0 0);- --muted-foreground: oklch(0.60 0 0);- --accent: oklch(0.37 0 0);- --accent-foreground: oklch(0.89 0 0);- --destructive: oklch(0.66 0.15 22.17);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.33 0 0);- --input: oklch(0.31 0 0);- --ring: oklch(0.71 0 0);- --chart-1: oklch(0.78 0.13 182.87);- --chart-2: oklch(0.67 0.03 206.35);- --chart-3: oklch(0.55 0 0);- --chart-4: oklch(0.46 0 0);- --chart-5: oklch(0.37 0 0);- --sidebar: oklch(0.24 0 0);- --sidebar-foreground: oklch(0.89 0 0);- --sidebar-primary: oklch(0.71 0 0);- --sidebar-primary-foreground: oklch(0.22 0 0);- --sidebar-accent: oklch(0.37 0 0);- --sidebar-accent-foreground: oklch(0.89 0 0);- --sidebar-border: oklch(0.33 0 0);- --sidebar-ring: oklch(0.71 0 0);- --font-sans: Inter, sans-serif;- --font-serif: Georgia, serif;- --font-mono: Fira Code, monospace;- --radius: 0.35rem;- --shadow-2xs: 0px 2px 0px 0px hsl(0 0% 20% / 0.07);- --shadow-xs: 0px 2px 0px 0px hsl(0 0% 20% / 0.07);- --shadow-sm: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 1px 2px -1px hsl(0 0% 20% / 0.15);- --shadow: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 1px 2px -1px hsl(0 0% 20% / 0.15);- --shadow-md: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 2px 4px -1px hsl(0 0% 20% / 0.15);- --shadow-lg: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 4px 6px -1px hsl(0 0% 20% / 0.15);- --shadow-xl: 0px 2px 0px 0px hsl(0 0% 20% / 0.15), 0px 8px 10px -1px hsl(0 0% 20% / 0.15);- --shadow-2xl: 0px 2px 0px 0px hsl(0 0% 20% / 0.38);-}--@theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);- --color-card: var(--card);- --color-card-foreground: var(--card-foreground);- --color-popover: var(--popover);- --color-popover-foreground: var(--popover-foreground);- --color-primary: var(--primary);- --color-primary-foreground: var(--primary-foreground);- --color-secondary: var(--secondary);- --color-secondary-foreground: var(--secondary-foreground);- --color-muted: var(--muted);- --color-muted-foreground: var(--muted-foreground);- --color-accent: var(--accent);- --color-accent-foreground: var(--accent-foreground);- --color-destructive: var(--destructive);- --color-destructive-foreground: var(--destructive-foreground);- --color-border: var(--border);- --color-input: var(--input);- --color-ring: var(--ring);- --color-chart-1: var(--chart-1);- --color-chart-2: var(--chart-2);- --color-chart-3: var(--chart-3);- --color-chart-4: var(--chart-4);- --color-chart-5: var(--chart-5);- --color-sidebar: var(--sidebar);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-ring: var(--sidebar-ring);-- --font-sans: var(--font-sans);- --font-mono: var(--font-mono);- --font-serif: var(--font-serif);-- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --shadow-2xs: var(--shadow-2xs);- --shadow-xs: var(--shadow-xs);- --shadow-sm: var(--shadow-sm);- --shadow: var(--shadow);- --shadow-md: var(--shadow-md);- --shadow-lg: var(--shadow-lg);- --shadow-xl: var(--shadow-xl);- --shadow-2xl: var(--shadow-2xl);-}-.cytoscape-navigator{- position: relative;- background: var(--card);- width: 100%;- height: 100%;- bottom: 0;- right: 0;- overflow: hidden;+ background-color: var(--background) !important;}-.cytoscape-navigator > img{- max-width: 100%;- max-height: 100%;+.cytoscape-navigator {+ position: relative;+ background: var(--card);+ width: 100%;+ height: 100%;+ bottom: 0;+ right: 0;+ overflow: hidden;}-.cytoscape-navigator > canvas{- position: absolute;- top: 0;- left: 0;- z-index: 101;+.cytoscape-navigator>img {+ max-width: 100%;+ max-height: 100%;}-.cytoscape-navigatorView{- position: absolute;- top: 0;- left: 0;- cursor: move;- background: #B7E1ED;- -moz-opacity: 0.50;- opacity: 0.50;- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=50);- z-index: 102;+.cytoscape-navigator>canvas {+ position: absolute;+ top: 0;+ left: 0;+ z-index: 101;}-.cytoscape-navigatorOverlay{- position: absolute;- top: 0;- right: 0;- bottom: 0;- left: 0;- z-index: 103;+.cytoscape-navigatorView {+ position: absolute;+ top: 0;+ left: 0;+ cursor: move;+ background: #B7E1ED;+ -moz-opacity: 0.50;+ opacity: 0.50;+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha"(Opacity=50);+ z-index: 102;}- body {- letter-spacing: var(--tracking-normal);- }-- :root {- --background: oklch(0.94 0.00 236.50);- --foreground: oklch(0.32 0 0);- --card: oklch(1.00 0 0);- --card-foreground: oklch(0.32 0 0);- --popover: oklch(1.00 0 0);- --popover-foreground: oklch(0.32 0 0);- --primary: oklch(0.64 0.17 36.44);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.97 0.00 264.54);- --secondary-foreground: oklch(0.45 0.03 256.80);- --muted: oklch(0.98 0.00 247.84);- --muted-foreground: oklch(0.55 0.02 264.36);- --accent: oklch(0.91 0.02 243.82);- --accent-foreground: oklch(0.38 0.14 265.52);- --destructive: oklch(0.64 0.21 25.33);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.90 0.01 247.88);- --input: oklch(0.97 0.00 264.54);- --ring: oklch(0.64 0.17 36.44);- --chart-1: oklch(0.72 0.06 248.68);- --chart-2: oklch(0.79 0.09 35.96);- --chart-3: oklch(0.58 0.08 254.16);- --chart-4: oklch(0.50 0.08 259.49);- --chart-5: oklch(0.42 0.10 264.03);- --sidebar: oklch(0.90 0.00 258.33);- --sidebar-foreground: oklch(0.32 0 0);- --sidebar-primary: oklch(0.64 0.17 36.44);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.91 0.02 243.82);- --sidebar-accent-foreground: oklch(0.38 0.14 265.52);- --sidebar-border: oklch(0.93 0.01 264.53);- --sidebar-ring: oklch(0.64 0.17 36.44);- --font-sans: Inter, sans-serif;- --font-serif: Source Serif 4, serif;- --font-mono: JetBrains Mono, monospace;- --radius: 0.75rem;- --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 2px 4px -1px hsl(0 0% 0% / 0.10);- --shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 4px 6px -1px hsl(0 0% 0% / 0.10);- --shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 8px 10px -1px hsl(0 0% 0% / 0.10);- --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);- }-- .dark {- --background: oklch(0.26 0.03 262.67);- --foreground: oklch(0.92 0 0);- --card: oklch(0.31 0.03 268.64);- --card-foreground: oklch(0.92 0 0);- --popover: oklch(0.29 0.02 268.40);- --popover-foreground: oklch(0.92 0 0);- --primary: oklch(0.64 0.17 36.44);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.31 0.03 266.71);- --secondary-foreground: oklch(0.92 0 0);- --muted: oklch(0.31 0.03 266.71);- --muted-foreground: oklch(0.72 0 0);- --accent: oklch(0.34 0.06 267.59);- --accent-foreground: oklch(0.88 0.06 254.13);- --destructive: oklch(0.64 0.21 25.33);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.38 0.03 269.73);- --input: oklch(0.38 0.03 269.73);- --ring: oklch(0.64 0.17 36.44);- --chart-1: oklch(0.72 0.06 248.68);- --chart-2: oklch(0.77 0.09 34.19);- --chart-3: oklch(0.58 0.08 254.16);- --chart-4: oklch(0.50 0.08 259.49);- --chart-5: oklch(0.42 0.10 264.03);- --sidebar: oklch(0.31 0.03 267.74);- --sidebar-foreground: oklch(0.92 0 0);- --sidebar-primary: oklch(0.64 0.17 36.44);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.34 0.06 267.59);- --sidebar-accent-foreground: oklch(0.88 0.06 254.13);- --sidebar-border: oklch(0.38 0.03 269.73);- --sidebar-ring: oklch(0.64 0.17 36.44);- --font-sans: Inter, sans-serif;- --font-serif: Source Serif 4, serif;- --font-mono: JetBrains Mono, monospace;- --radius: 0.75rem;- --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);- --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);- --shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 2px 4px -1px hsl(0 0% 0% / 0.10);- --shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 4px 6px -1px hsl(0 0% 0% / 0.10);- --shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.10), 0px 8px 10px -1px hsl(0 0% 0% / 0.10);- --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);- }-- @theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);- --color-card: var(--card);- --color-card-foreground: var(--card-foreground);- --color-popover: var(--popover);- --color-popover-foreground: var(--popover-foreground);- --color-primary: var(--primary);- --color-primary-foreground: var(--primary-foreground);- --color-secondary: var(--secondary);- --color-secondary-foreground: var(--secondary-foreground);- --color-muted: var(--muted);- --color-muted-foreground: var(--muted-foreground);- --color-accent: var(--accent);- --color-accent-foreground: var(--accent-foreground);- --color-destructive: var(--destructive);- --color-destructive-foreground: var(--destructive-foreground);- --color-border: var(--border);- --color-input: var(--input);- --color-ring: var(--ring);- --color-chart-1: var(--chart-1);- --color-chart-2: var(--chart-2);- --color-chart-3: var(--chart-3);- --color-chart-4: var(--chart-4);- --color-chart-5: var(--chart-5);- --color-sidebar: var(--sidebar);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-ring: var(--sidebar-ring);-- --font-sans: var(--font-sans);- --font-mono: var(--font-mono);- --font-serif: var(--font-serif);-- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --shadow-2xs: var(--shadow-2xs);- --shadow-xs: var(--shadow-xs);- --shadow-sm: var(--shadow-sm);- --shadow: var(--shadow);- --shadow-md: var(--shadow-md);- --shadow-lg: var(--shadow-lg);- --shadow-xl: var(--shadow-xl);- --shadow-2xl: var(--shadow-2xl);- }-- :root {- --background: oklch(0.98 0 0);- --foreground: oklch(0.32 0 0);- --card: oklch(1.00 0 0);- --card-foreground: oklch(0.32 0 0);- --popover: oklch(1.00 0 0);- --popover-foreground: oklch(0.32 0 0);- --primary: oklch(0.57 0.20 283.08);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.82 0.07 249.35);- --secondary-foreground: oklch(0.32 0 0);- --muted: oklch(0.82 0.02 91.62);- --muted-foreground: oklch(0.54 0 0);- --accent: oklch(0.65 0.06 117.43);- --accent-foreground: oklch(0.82 0.02 91.62)- --destructive: oklch(0.64 0.21 25.33);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.95 0 0);- --input: oklch(0.87 0 0);- --ring: oklch(0.57 0.20 283.08);- --chart-1: oklch(0.57 0.20 283.08);- --chart-2: oklch(0.53 0.17 314.65);- --chart-3: oklch(0.34 0.18 301.68);- --chart-4: oklch(0.67 0.14 261.34);- --chart-5: oklch(0.59 0.10 245.74);- --sidebar: oklch(0.98 0 0);- --sidebar-foreground: oklch(0.32 0 0);- --sidebar-primary: oklch(0.57 0.20 283.08);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.65 0.06 117.43);- --sidebar-accent-foreground: oklch(1.00 0 0);- --sidebar-border: oklch(0.87 0 0);- --sidebar-ring: oklch(0.57 0.20 283.08);- --font-sans: Montserrat, sans-serif;- --font-serif: Playfair Display, serif;- --font-mono: Source Code Pro, monospace;- --radius: 0.5rem;- --shadow-2xs: 0px 5px 10px -2px hsl(0 0% 0% / 0.05);- --shadow-xs: 0px 5px 10px -2px hsl(0 0% 0% / 0.05);- --shadow-sm: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 1px 2px -3px hsl(0 0% 0% / 0.10);- --shadow: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 1px 2px -3px hsl(0 0% 0% / 0.10);- --shadow-md: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 2px 4px -3px hsl(0 0% 0% / 0.10);- --shadow-lg: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 4px 6px -3px hsl(0 0% 0% / 0.10);- --shadow-xl: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 8px 10px -3px hsl(0 0% 0% / 0.10);- --shadow-2xl: 0px 5px 10px -2px hsl(0 0% 0% / 0.25);- }- .dark {- --background: oklch(0.23 0.01 264.29);- --foreground: oklch(0.92 0 0);- --card: oklch(0.21 0.01 264.29);- --card-foreground: oklch(0.92 0 0);- --popover: oklch(0.21 0.01 264.29);- --popover-foreground: oklch(0.92 0 0);- --primary: oklch(0.57 0.20 283.08);- --primary-foreground: oklch(1.00 0 0);- --secondary: oklch(0.34 0.18 301.68);- --secondary-foreground: oklch(0.92 0 0);- --muted: oklch(0.39 0 0);- --muted-foreground: oklch(0.72 0 0);- --accent: oklch(0.67 0.14 261.34);- --accent-foreground: oklch(0.92 0 0);- --destructive: oklch(0.64 0.21 25.33);- --destructive-foreground: oklch(1.00 0 0);- --border: oklch(0.27 0.01 223.67);- --input: oklch(0.39 0 0);- --ring: oklch(0.57 0.20 283.08);- --chart-1: oklch(0.57 0.20 283.08);- --chart-2: oklch(0.53 0.17 314.65);- --chart-3: oklch(0.34 0.18 301.68);- --chart-4: oklch(0.67 0.14 261.34);- --chart-5: oklch(0.59 0.10 245.74);- --sidebar: oklch(0.23 0.01 264.29);- --sidebar-foreground: oklch(0.92 0 0);- --sidebar-primary: oklch(0.57 0.20 283.08);- --sidebar-primary-foreground: oklch(1.00 0 0);- --sidebar-accent: oklch(0.67 0.14 261.34);- --sidebar-accent-foreground: oklch(0.92 0 0);- --sidebar-border: oklch(0.39 0 0);- --sidebar-ring: oklch(0.57 0.20 283.08);- --font-sans: Montserrat, sans-serif;- --font-serif: Playfair Display, serif;- --font-mono: Source Code Pro, monospace;- --radius: 0.5rem;- --shadow-2xs: 0px 5px 10px -2px hsl(0 0% 0% / 0.05);- --shadow-xs: 0px 5px 10px -2px hsl(0 0% 0% / 0.05);- --shadow-sm: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 1px 2px -3px hsl(0 0% 0% / 0.10);- --shadow: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 1px 2px -3px hsl(0 0% 0% / 0.10);- --shadow-md: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 2px 4px -3px hsl(0 0% 0% / 0.10);- --shadow-lg: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 4px 6px -3px hsl(0 0% 0% / 0.10);- --shadow-xl: 0px 5px 10px -2px hsl(0 0% 0% / 0.10), 0px 8px 10px -3px hsl(0 0% 0% / 0.10);- --shadow-2xl: 0px 5px 10px -2px hsl(0 0% 0% / 0.25);- }-- @theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);- --color-card: var(--card);- --color-card-foreground: var(--card-foreground);- --color-popover: var(--popover);- --color-popover-foreground: var(--popover-foreground);- --color-primary: var(--primary);- --color-primary-foreground: var(--primary-foreground);- --color-secondary: var(--secondary);- --color-secondary-foreground: var(--secondary-foreground);- --color-muted: var(--muted);- --color-muted-foreground: var(--muted-foreground);- --color-accent: var(--accent);- --color-accent-foreground: var(--accent-foreground);- --color-destructive: var(--destructive);- --color-destructive-foreground: var(--destructive-foreground);- --color-border: var(--border);- --color-input: var(--input);- --color-ring: var(--ring);- --color-chart-1: var(--chart-1);- --color-chart-2: var(--chart-2);- --color-chart-3: var(--chart-3);- --color-chart-4: var(--chart-4);- --color-chart-5: var(--chart-5);- --color-sidebar: var(--sidebar);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-ring: var(--sidebar-ring);-- --font-sans: var(--font-sans);- --font-mono: var(--font-mono);- --font-serif: var(--font-serif);-- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --shadow-2xs: var(--shadow-2xs);- --shadow-xs: var(--shadow-xs);- --shadow-sm: var(--shadow-sm);- --shadow: var(--shadow);- --shadow-md: var(--shadow-md);- --shadow-lg: var(--shadow-lg);- --shadow-xl: var(--shadow-xl);- --shadow-2xl: var(--shadow-2xl);- }- .do{- color:rgba(211, 211, 211, 0.441)- }- :root {- --background: oklch(0.99 0 0);- --foreground: oklch(0.20 0 0);- --card: oklch(0.99 0 0);- --card-foreground: oklch(0.20 0 0);- --popover: oklch(0.99 0 0);- --popover-foreground: oklch(0.44 0 0);- --primary: oklch(0.83 0.13 160.91);- --primary-foreground: oklch(0.26 0.01 166.46);- --secondary: oklch(0.99 0 0);- --secondary-foreground: oklch(0.20 0 0);- --muted: oklch(0.95 0 0);- --muted-foreground: oklch(0.24 0 0);- --accent: oklch(0.95 0 0);- --accent-foreground: oklch(0.24 0 0);- --destructive: oklch(0.55 0.19 32.73);- --destructive-foreground: oklch(0.99 0.00 17.21);- --border: oklch(0.90 0 0);- --input: oklch(0.97 0 0);- --ring: oklch(0.83 0.13 160.91);- --chart-1: oklch(0.83 0.13 160.91);- --chart-2: oklch(0.62 0.19 259.81);- --chart-3: oklch(0.61 0.22 292.72);- --chart-4: oklch(0.77 0.16 70.08);- --chart-5: oklch(0.70 0.15 162.48);- --sidebar: oklch(0.99 0 0);- --sidebar-foreground: oklch(0.55 0 0);- --sidebar-primary: oklch(0.83 0.13 160.91);- --sidebar-primary-foreground: oklch(0.26 0.01 166.46);- --sidebar-accent: oklch(0.95 0 0);- --sidebar-accent-foreground: oklch(0.24 0 0);- --sidebar-border: oklch(0.90 0 0);- --sidebar-ring: oklch(0.83 0.13 160.91);- --font-sans: Outfit, sans-serif;- --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;- --font-mono: monospace;- --radius: 0.5rem;- --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.09);- --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.09);- --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 1px 2px -1px hsl(0 0% 0% / 0.17);- --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 1px 2px -1px hsl(0 0% 0% / 0.17);- --shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 2px 4px -1px hsl(0 0% 0% / 0.17);- --shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 4px 6px -1px hsl(0 0% 0% / 0.17);- --shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 8px 10px -1px hsl(0 0% 0% / 0.17);- --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.43);- --tracking-normal: 0.025em;+.cytoscape-navigatorOverlay {+ position: absolute;+ top: 0;+ right: 0;+ bottom: 0;+ left: 0;+ z-index: 103;}-.dark {- --background: oklch(0.18 0 0);- --foreground: oklch(0.93 0.01 255.51);- --card: oklch(0.20 0 0);- --card-foreground: oklch(0.93 0.01 255.51);- --popover: oklch(0.26 0 0);- --popover-foreground: oklch(0.73 0 0);- --primary: oklch(0.44 0.10 156.76);- --primary-foreground: oklch(0.92 0.01 167.16);- --secondary: oklch(0.26 0 0);- --secondary-foreground: oklch(0.99 0 0);- --muted: oklch(0.24 0 0);- --muted-foreground: oklch(0.71 0 0);- --accent: oklch(0.31 0 0);- --accent-foreground: oklch(0.99 0 0);- --destructive: oklch(0.31 0.09 29.79);- --destructive-foreground: oklch(0.94 0.00 34.31);- --border: oklch(0.28 0 0);- --input: oklch(0.26 0 0);- --ring: oklch(0.80 0.18 151.71);- --chart-1: oklch(0.80 0.18 151.71);- --chart-2: oklch(0.71 0.14 254.62);- --chart-3: oklch(0.71 0.16 293.54);- --chart-4: oklch(0.84 0.16 84.43);- --chart-5: oklch(0.78 0.13 181.91);- --sidebar: oklch(0.18 0 0);- --sidebar-foreground: oklch(0.63 0 0);- --sidebar-primary: oklch(0.44 0.10 156.76);- --sidebar-primary-foreground: oklch(0.92 0.01 167.16);- --sidebar-accent: oklch(0.31 0 0);- --sidebar-accent-foreground: oklch(0.99 0 0);- --sidebar-border: oklch(0.28 0 0);- --sidebar-ring: oklch(0.80 0.18 151.71);- --font-sans: Outfit, sans-serif;- --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;- --font-mono: monospace;- --radius: 0.5rem;- --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.09);- --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.09);- --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 1px 2px -1px hsl(0 0% 0% / 0.17);- --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 1px 2px -1px hsl(0 0% 0% / 0.17);- --shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 2px 4px -1px hsl(0 0% 0% / 0.17);- --shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 4px 6px -1px hsl(0 0% 0% / 0.17);- --shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 8px 10px -1px hsl(0 0% 0% / 0.17);- --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.43);-}--@theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);- --color-card: var(--card);- --color-card-foreground: var(--card-foreground);- --color-popover: var(--popover);- --color-popover-foreground: var(--popover-foreground);- --color-primary: var(--primary);- --color-primary-foreground: var(--primary-foreground);- --color-secondary: var(--secondary);- --color-secondary-foreground: var(--secondary-foreground);- --color-muted: var(--muted);- --color-muted-foreground: var(--muted-foreground);- --color-accent: var(--accent);- --color-accent-foreground: var(--accent-foreground);- --color-destructive: var(--destructive);- --color-destructive-foreground: var(--destructive-foreground);- --color-border: var(--border);- --color-input: var(--input);- --color-ring: var(--ring);- --color-chart-1: var(--chart-1);- --color-chart-2: var(--chart-2);- --color-chart-3: var(--chart-3);- --color-chart-4: var(--chart-4);- --color-chart-5: var(--chart-5);- --color-sidebar: var(--sidebar);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-ring: var(--sidebar-ring);-- --font-sans: var(--font-sans);- --font-mono: var(--font-mono);- --font-serif: var(--font-serif);-- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --shadow-2xs: var(--shadow-2xs);- --shadow-xs: var(--shadow-xs);- --shadow-sm: var(--shadow-sm);- --shadow: var(--shadow);- --shadow-md: var(--shadow-md);- --shadow-lg: var(--shadow-lg);- --shadow-xl: var(--shadow-xl);- --shadow-2xl: var(--shadow-2xl);-- --tracking-tighter: calc(var(--tracking-normal) - 0.05em);- --tracking-tight: calc(var(--tracking-normal) - 0.025em);- --tracking-normal: var(--tracking-normal);- --tracking-wide: calc(var(--tracking-normal) + 0.025em);- --tracking-wider: calc(var(--tracking-normal) + 0.05em);- --tracking-widest: calc(var(--tracking-normal) + 0.1em);+body {+ letter-spacing: var(--tracking-normal);}body {@@ -893,7 +119,7 @@ body {--card-foreground: oklch(0.32 0 0);--popover: oklch(1.00 0 0);--popover-foreground: oklch(0.32 0 0);- --primary: oklch(0.64 0.17 36.44);+ --primary: oklch(0.64 0.1202 223.94);--primary-foreground: oklch(1.00 0 0);--secondary: oklch(0.97 0.00 264.54);--secondary-foreground: oklch(0.45 0.03 256.80);@@ -936,11 +162,11 @@ body {.dark {--background: oklch(0.27 0.02 268.40);--foreground: oklch(0.92 0 0);- --card: oklch(0.29 0.02 268.40);+ --card: oklch(0.25 0.02 268.40);--card-foreground: oklch(0.92 0 0);--popover: oklch(0.29 0.02 268.40);--popover-foreground: oklch(0.92 0 0);- --primary: oklch(0.64 0.17 36.44);+ --primary: oklch(0.64 0.1202 223.94);--primary-foreground: oklch(1.00 0 0);--secondary: oklch(0.31 0.03 266.71);--secondary-foreground: oklch(0.92 0 0);