Skip to content

CanvasAnvil is an open source AI diagram maker and flowchart generator - an infinite-canvas diagram editor and self-hosted drawio alternative that writes editable .drawio files. Text to diagram, then fix nodes, layout and labels in place. Also AI presentations, interior design CAD/BOM, posters and infographics.

415 B
Raw Blame
/** Shapes shared by the file-extraction modules. */

export interface ExtractedVisualAsset {
    id: string
    sourceFileName: string
    sourceType: "pdf" | "word" | "latex" | "third_party"
    page?: number
    order: number
    dataUrl: string
    textHint: string
}

export type VisualCategory =
    | "framework"
    | "result_table"
    | "mechanism"
    | "key_visual"
    | "data_structure"
    | "other"