mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
72.61k stars 6.62k forks source link

Comment in subgraph #319

Closed TonyHeflin closed 6 years ago

TonyHeflin commented 8 years ago

i checked the open issues and see anything resembling this. Putting a comment in a subgraph causes rendering to fail.

Simple example I tested with on the live editor.

subgraph Approval Table
  tAp(Approvals)
  tAp --- fAP_ID[ID]
  tAp --- fAP_Name[Name]
  tAp --- fAP_Desc[Description]
 %% tAp --- fAP_UserId[User ID]
  tAp --- fAP_TaskId[Task ID]
  tAp --- fAP_TaskType[Task Type]
  tAp --- fAP_Status[Status]
  tAp --- fAP_Type[Approval Type]
end

Thanks

tylerlong commented 6 years ago

Can a subgraph exist without a graph?

Could you please reproduce the issue in https://mermaidjs.github.io/mermaid-live-editor/ and post the link back here?

TonyHeflin commented 6 years ago

You can close this. I vaguely remember this and I believe the subgraph I submitted was one of many in a larger graph. I did a quick test and could not reproduce the problem and I don't have any of the original material.

Thanks