g3-toolkit API Reference
    Preparing search index...

    Interface Holon

    A holon in the four-graph model (Interior, Boundary, Projection, Context).

    interface Holon {
        id: string;
        interiorEdges?: {
            id?: string;
            properties?: PropertyMap;
            source: string;
            target: string;
            type: string;
        }[];
        interiorNodes?: { id: string; properties: PropertyMap; types: string[] }[];
        label: string;
        portals: Portal[];
        properties: PropertyMap;
        types: string[];
    }
    Index

    Properties

    id: string
    interiorEdges?: {
        id?: string;
        properties?: PropertyMap;
        source: string;
        target: string;
        type: string;
    }[]

    Interior graph edges.

    Type Declaration

    • Optionalid?: string

      Stable edge id, used as the UGM edge id of the interior projection (issue #48). Omitted, the graph generates one and the same interior edge gets a different id on every projection. Must be unique across the holon's interior edges and should not reuse an interior node id (one Cytoscape id space, as for Portal.id); on a duplicate the first edge wins and the later one is skipped, the way an edge with a missing endpoint is already skipped.

    • Optionalproperties?: PropertyMap
    • source: string
    • target: string
    • type: string
    interiorNodes?: { id: string; properties: PropertyMap; types: string[] }[]

    Interior graph nodes (simplified flat representation).

    label: string
    portals: Portal[]

    Portals connecting this holon to others.

    properties: PropertyMap
    types: string[]