Update: 3/4/2025
Five publicly available code samples are now available for key ArcGIS Knowledge classes and methods within the Maps SDK for JavaScript in the ArcGIS Developer site. These samples also provide live knowledge graph services you can hit with the login credentials provided. So no need to spin up your own servers before seeing it in action.
Check them out and let us know what you think! Better yet, share your own samples! 🙂
These samples cover:
Note that the 'streaming' query and search methods are key to performance when working with large knowledge graphs and provide optimal user experiences. These samples add depth to the existing Knowledge documentation for the Maps SDK for JavaScript.
Be sure to check out this 2024 Developer Summit technical development session walking through some of the basics, and start in the documentation for the core concepts here: Introduction to Knowledge Graph.
Introducing Web Link Charts
We are excited to announce the release of web link charts in Maps SDK for JavaScript 4.32! Web link charts contain a link chart layer with the data from your knowledge graph and are loaded in a link chart view. Web link charts are a new core view (like MapView and SceneView) that are specifically for visually representing and analyzing all or part of a knowledge graph. They extend WebMaps and are built on the same core technology allowing you to leverage existing tools and patterns while also adding some additional link chart specific capabilities for refining your link chart visualizations and conducting graph analysis.
Layouts: Different layouts provide different visualizations to better understand the patterns in your data. For example, geographic layout arranges spatial entities using their geometry with their connected nonspatial data clustered around them while chronological layout arranges entities and relationships according to time.
Expand: Finds and adds all directly connected entities "one-hop" away from the given entities and adds the entities and their connecting relationships to the link chart.
Connect: Adds direct relationships between the given entities to the link chart.
Add and Remove Records: Update the data in your link chart by adding or removing entities and relationships.
Link charts also have a new web component for easily displaying a link chart from a portal content item with a layout switcher, handling all the rendering with default layout settings.
Video Resources
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.