# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= Mahabharata = | |
The example graph consists of characters in Game of Thrones (GOT) | |
Key nodes - Relations, Characters, their houses, status of (Dead, Captured or Hurt), Properties like Title and Prefix | |
The Data is pulled from multiple websites - http://towerofthehand.com, http://gameofthrones.wikia.com/wiki/Game_of_Thrones_Wiki | |
//console | |
[source,cypher] | |
---- |