Knowledge Graph Layer (KnowledgeGraphLayer)

Knowledge graph layer can be created by referencing a Knowledge Graph Service. A Knowledge graph layer is a group layer with collections of feature layers and tables representing geospatial and non-geospatial entity and relationship types.

Referenced by: operationalLayers

Properties

Property Details
blendMode Blend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.
Valid values: average, color, color-burn, color-dodge, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor
customParameters A sequence of custom parameters appended to the URL of all requests related to a layer.
definitionSetMap A uri pointing to a resource containing graphTypeName to object identifier set dictionary persisted as pbf. The object identifier set for the corresponding graphTypeName will be used to filter features in each sub layer or table. If the graphTypeName is missing, all features are included. Only graphTypeNames of sub layers and sub tables included in this Knowledge Graph Layer are relevant. Missing definitionSetMap is interpreted as an empty definitionSetMap, which implies all features are included for each relevant sub layer or table.
Must be one of the following values:
  • String
effect Effect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
id A unique identifying string for the layer.
itemId Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
layers[] An array of Knowledge Graph sub layers, each representing graph entity type or relationship in knowledge graph server.
layerType String indicating the layer type.
Valid value of this property KnowledgeGraphLayer
maxScale A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator.
minScale A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator.
opacity The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
refreshInterval Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.
tables[] An array of Knowledge Graph sub tables, each representing non spatial entity type or relationship in knowledge graph server.
title A user-friendly string title for the layer that can be used in a table of contents.
url The URL to the KnowledgeGraphServer.
visibility Boolean property determining whether the layer is initially visible in the web map.
visibilityTimeExtent Represents time extent that will control when a layer should be visible based on webmap's current time. Visibility time extent only affects the layer visibility and will not filter the data.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.