@@ -58,7 +58,7 @@ import type {MinimapOptions} from './flatmap-types'
5858import { FLATMAP_LEGEND } from './legend'
5959import type { FlatmapLegendEntry } from './legend'
6060import { UserInteractions } from './interactions'
61- import { MapTermGraph , SparcTermGraph } from './knowledge'
61+ import { MapTermGraph } from './knowledge'
6262import { KNOWLEDGE_SOURCE_SCHEMA , FlatMapServer } from './mapserver'
6363import { loadMarkerIcons } from './markers'
6464import { APINATOMY_PATH_PREFIX , PathType } from './pathways'
@@ -188,7 +188,6 @@ export type MapDescription = {
188188 style : FlatMapStyleSpecification
189189 options : MapDescriptionOptions
190190 layers : FlatMapLayer [ ]
191- sparcTermGraph : SparcTermGraph
192191 annotations : FlatMapAnnotations
193192 callback : FlatMapCallback
194193 pathways : FlatMapPathways
@@ -260,7 +259,7 @@ export class FlatMap
260259 this . #layers = mapDescription . layers
261260 this . #options = mapDescription . options
262261 this . #pathways = mapDescription . pathways
263- this . #mapTermGraph = new MapTermGraph ( mapDescription . sparcTermGraph )
262+ this . #mapTermGraph = new MapTermGraph ( )
264263
265264 const sckanProvenance = mapDescription . details . connectivity
266265 if ( ! sckanProvenance ) {
0 commit comments