diff --git a/.travis.yml b/.travis.yml index 0fbaaf3d9f..01e60584af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,5 @@ addons: code_climate: repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091 - after_script: - - cat coverage/lcov.info | codeclimate \ No newline at end of file + after_script: + - cat coverage/lcov.info | codeclimate \ No newline at end of file diff --git a/README.md b/README.md index 8edd2e9e04..01174c26a9 100644 --- a/README.md +++ b/README.md @@ -238,11 +238,15 @@ It is possible to style links for instance a link that is going back in the flow ``` linkStyle 3 stroke:#ff3,stroke-width:4px; -`` +``` ## Interaction -It is possible to bind a click event to a node: click nodeId callback. +It is possible to bind a click event to a node: + +``` +click nodeId callback +``` * nodeId is the id of the node * callback is the name of a javascript function defined on the page displaying the graph, the function will be called with the nodeId as parameter. diff --git a/test/web.html b/test/web.html index f6f8d017b4..1adaf268cb 100644 --- a/test/web.html +++ b/test/web.html @@ -16,13 +16,13 @@
-